:root {
  color-scheme: light;
  --ink: #15171b;
  --muted: #5f6874;
  --paper: #f5f7fb;
  --panel: #ffffff;
  --line: #dfe6ef;
  --blue: #1b6fd6;
  --blue-deep: #0f4f8a;
  --cyan: #1b9db4;
  --sun: #f2ca54;
  --shadow: 0 22px 54px rgba(21, 33, 50, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at top left, rgba(27, 111, 214, 0.13), transparent 31rem),
    linear-gradient(180deg, #f7f9fd 0%, #eef3f8 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    linear-gradient(rgba(15, 79, 138, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 79, 138, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  max-width: 11ch;
  font-size: 5.1rem;
  line-height: 0.95;
}

h2 {
  max-width: 860px;
  font-size: 3rem;
  line-height: 1.05;
}

h3 {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 10;
  display: flex;
  width: min(1180px, calc(100% - 36px));
  min-height: 68px;
  margin: 18px auto 0;
  padding: 8px;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(15, 79, 138, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 35px rgba(21, 33, 50, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  min-width: 210px;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand__mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #ffffff;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.82rem;
}

.main-nav {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.main-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: #36404c;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: #e9f2ff;
  color: var(--blue-deep);
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.header-cta {
  min-width: 128px;
  padding: 10px 18px;
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 14px 26px rgba(27, 111, 214, 0.22);
}

main {
  width: min(1180px, calc(100% - 36px));
  margin: 20px auto 72px;
}

.hero {
  display: grid;
  min-height: 80svh;
  padding: 54px;
  align-items: center;
  gap: 48px;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.9fr);
  border: 1px solid rgba(15, 79, 138, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 246, 253, 0.9)),
    var(--panel);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero__lead {
  max-width: 620px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 1.15rem;
}

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

.button {
  padding: 12px 20px;
  border: 1px solid transparent;
}

.button--primary {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(27, 111, 214, 0.25);
}

.button--ghost {
  border-color: var(--line);
  background: #ffffff;
  color: var(--blue-deep);
}

.hero__points {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  color: #3f4854;
  list-style: none;
}

.hero__points li {
  position: relative;
  padding-left: 22px;
}

.hero__points li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  content: "";
}

.hero__visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(15, 79, 138, 0.16);
  border-radius: 8px;
  background: #d9e8f8;
  box-shadow: 0 18px 42px rgba(21, 33, 50, 0.13);
}

.hero__visual img {
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.hero__badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: min(300px, calc(100% - 36px));
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: rgba(7, 31, 55, 0.78);
  color: #ffffff;
  backdrop-filter: blur(12px);
}

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

.hero__badge span {
  margin-bottom: 4px;
  color: #bfe8f2;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 18px 0 74px;
}

.quick-stats article,
.service-card,
.project-card {
  border: 1px solid rgba(15, 79, 138, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 36px rgba(21, 33, 50, 0.08);
}

.quick-stats article {
  padding: 26px;
}

.quick-stats span {
  display: block;
  color: var(--blue-deep);
  font-size: 1.6rem;
  font-weight: 900;
}

.quick-stats p {
  margin: 6px 0 0;
  color: var(--muted);
}

.section {
  padding: 74px 0 0;
}

.section__heading {
  margin-bottom: 30px;
}

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

.service-card {
  min-height: 220px;
  padding: 28px;
}

.service-card span {
  display: inline-flex;
  width: 42px;
  height: 32px;
  margin-bottom: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid #c8d9ee;
  border-radius: 8px;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 900;
}

.service-card p,
.project-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.feature-band {
  display: grid;
  margin-top: 86px;
  align-items: stretch;
  gap: 18px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.feature-band__image,
.feature-band__copy,
.about,
.contact {
  border: 1px solid rgba(15, 79, 138, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.feature-band__image {
  min-height: 480px;
  overflow: hidden;
}

.feature-band__image img {
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.feature-band__copy {
  display: flex;
  min-height: 480px;
  padding: 42px;
  flex-direction: column;
  justify-content: center;
}

.feature-band__copy p:not(.eyebrow) {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.product-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.product-list span {
  padding: 9px 12px;
  border: 1px solid #c9d8ea;
  border-radius: 8px;
  background: #f7fbff;
  color: #314154;
  font-size: 0.93rem;
  font-weight: 800;
}

.projects {
  padding-top: 86px;
}

.project-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
}

.project-card {
  min-height: 250px;
  padding: 28px;
}

.project-card--image {
  overflow: hidden;
  padding: 0;
  grid-row: span 2;
}

.project-card--image img {
  height: 100%;
  min-height: 516px;
  object-fit: cover;
}

.project-card span {
  display: inline-block;
  margin-bottom: 46px;
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.about {
  display: grid;
  margin-top: 86px;
  padding: 50px;
  gap: 42px;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.about__text p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.about__text p + p {
  margin-top: 18px;
}

.contact {
  display: grid;
  margin-top: 18px;
  padding: 42px;
  align-items: center;
  gap: 28px;
  grid-template-columns: 1fr 0.86fr;
  background:
    linear-gradient(135deg, rgba(15, 79, 138, 0.94), rgba(27, 157, 180, 0.86)),
    var(--blue-deep);
  color: #ffffff;
}

.contact .eyebrow {
  color: #d4f5ff;
}

.contact h2 {
  max-width: 640px;
}

.contact__copy p:not(.eyebrow) {
  max-width: 620px;
  margin: 18px 0 0;
  color: #e8f6ff;
}

.contact__panel {
  display: grid;
  gap: 10px;
}

.contact__panel a,
.contact__panel span {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.site-footer {
  padding: 26px 0 0;
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 800;
}

@media (max-width: 1040px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }

  .hero,
  .feature-band,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

@media (max-width: 800px) {
  main,
  .site-header {
    width: min(100% - 24px, 1180px);
  }

  h1 {
    max-width: 12ch;
    font-size: 3.45rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .hero,
  .about,
  .contact,
  .feature-band__copy {
    padding: 28px;
  }

  .quick-stats,
  .service-grid,
  .project-layout {
    grid-template-columns: 1fr;
  }

  .project-card--image {
    grid-row: auto;
  }

  .project-card--image img,
  .feature-band__image,
  .feature-band__image img {
    min-height: 300px;
  }
}

@media (max-width: 560px) {
  .site-header {
    position: static;
    margin-top: 12px;
  }

  .brand {
    min-width: 0;
  }

  .header-cta {
    width: 100%;
  }

  .main-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  h1 {
    font-size: 2.72rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero {
    gap: 30px;
  }

  .hero__visual,
  .hero__visual img {
    min-height: 360px;
  }

  .quick-stats {
    margin-bottom: 46px;
  }

  .section,
  .projects {
    padding-top: 52px;
  }
}
