:root {
  --ink: #1f2933;
  --muted: #5f6b7a;
  --line: #dce4ea;
  --paper: #ffffff;
  --soft: #f3f7f9;
  --teal: #245f83;
  --teal-dark: #183348;
  --steel: #34495e;
  --accent: #f3b33d;
  --shadow: 0 14px 34px rgba(31, 41, 51, 0.1);
  --shadow-hover: 0 20px 42px rgba(31, 41, 51, 0.14);
  --media-bg: #edf3f5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.58;
}

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

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.top-strip {
  background: #eef3f5;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.top-strip__inner {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.top-strip__contact {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--steel);
}

.main-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(31, 41, 51, 0.08);
  backdrop-filter: blur(14px);
}

.main-nav__inner {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand img {
  width: 185px;
  height: auto;
}

.main-nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.main-nav__links a {
  padding: 10px 14px;
  color: var(--steel);
  border-radius: 6px;
}

.main-nav__links a:hover,
.main-nav__links a:focus {
  color: var(--teal-dark);
  background: #edf3f7;
  outline: none;
}

.hero {
  min-height: 470px;
  background-image: url("../images/hero-webstart.jpg");
  background-position: center;
  background-size: cover;
}

.hero__overlay {
  min-height: 470px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(10, 26, 34, 0.82), rgba(10, 26, 34, 0.54) 48%, rgba(10, 26, 34, 0.18));
}

.hero__content {
  color: #ffffff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 600px;
  margin: 0;
  font-size: clamp(30px, 3.7vw, 44px);
  line-height: 1.1;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 620px;
  margin: 20px 0 0;
  color: #e8f3f5;
  font-size: 17px;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 800;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus {
  transform: translateY(-1px);
  outline: none;
}

.button--primary {
  color: #17212b;
  background: var(--accent);
}

.button--primary:hover,
.button--primary:focus {
  background: #ffc85c;
}

.button--secondary {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.button--secondary:hover,
.button--secondary:focus {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.section {
  padding: 70px 0;
}

.section--muted {
  background: var(--soft);
}

.intro__grid,
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 58px;
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(20px, 2.05vw, 25px);
  line-height: 1.22;
  letter-spacing: 0;
}

.intro__text p,
.section-heading p,
.contact p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.intro__text p + p {
  margin-top: 16px;
}

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

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

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

.offer-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.offer-card:hover {
  border-color: #c9d8df;
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.offer-card__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px 14px 0;
}

.offer-card__head img {
  order: -1;
  width: 100%;
  height: 142px;
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(232, 241, 244, 0.86)),
    var(--media-bg);
  border-radius: 6px;
  box-sizing: border-box;
  object-fit: contain;
}

.offer-card__body {
  flex: 1;
  padding: 12px 18px 20px;
  text-align: center;
}

.offer-card h3 {
  margin: 0;
  padding: 0 4px;
  font-size: 17px;
  line-height: 1.28;
  letter-spacing: 0;
  text-align: center;
}

.offer-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}

.feature-band {
  min-height: 260px;
  display: flex;
  align-items: center;
  color: #ffffff;
  background-image:
    linear-gradient(90deg, rgba(4, 19, 38, 0.76), rgba(4, 33, 60, 0.5)),
    url("../images/network-strip.jpeg");
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

.feature-band__inner {
  display: flex;
  align-items: center;
}

.feature-band p {
  max-width: 760px;
  margin: 0;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.45;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.28);
}

.training {
  background: #ffffff;
}

.training__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 70px;
  align-items: start;
}

.training__content p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.training__content h2 {
  max-width: 430px;
  font-size: clamp(18px, 1.75vw, 22px);
  line-height: 1.24;
}

.training__image {
  max-width: 390px;
  margin: 28px 0 0;
  overflow: hidden;
  padding: 14px;
  background: var(--media-bg);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.training__image img {
  width: 100%;
  max-height: 210px;
  height: auto;
  object-fit: contain;
}

.training__services {
  padding-top: 5px;
}

.training__services h3 {
  margin: 0 0 22px;
  font-size: 21px;
  line-height: 1.2;
}

.training__services ul {
  display: grid;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.training__services li {
  position: relative;
  padding-left: 54px;
}

.service-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #151c24;
}

.service-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.service-icon--windows svg {
  width: 25px;
  height: 25px;
}

.service-icon--tools,
.service-icon--network,
.service-icon--virtual {
  color: var(--teal-dark);
}

.training__services strong {
  display: block;
  margin-bottom: 4px;
  font-size: 17px;
  line-height: 1.35;
}

.training__services span {
  display: block;
  color: var(--muted);
  font-size: 16px;
}

.contact {
  background:
    linear-gradient(135deg, #ffffff 0%, #ffffff 50%, #edf2f6 50%, #edf2f6 100%);
}

.contact h2 {
  margin-bottom: 16px;
}

.contact-box {
  display: grid;
  justify-self: end;
  width: min(100%, 360px);
  gap: 6px;
  margin: 0;
  padding: 24px 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  font-style: normal;
}

.contact-box span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-box a {
  width: fit-content;
  color: var(--teal-dark);
  font-size: 19px;
  font-weight: 800;
}

.contact-box a + span {
  margin-top: 12px;
}

.site-footer {
  padding: 28px 0;
  color: #d8e4ec;
  background: var(--teal-dark);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-footer p {
  margin: 0;
}

.fine-print {
  max-width: 620px;
  color: #adbdc9;
  font-size: 12px;
}

@media (max-width: 920px) {
  html {
    scroll-padding-top: 150px;
  }

  .top-strip__inner,
  .main-nav__inner,
  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav__inner {
    min-height: auto;
    padding: 18px 0;
  }

  .main-nav__links {
    flex-wrap: wrap;
  }

  .hero,
  .hero__overlay {
    min-height: 520px;
  }

  .intro__grid,
  .training__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

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

  .training__grid {
    gap: 42px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .top-strip__contact {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .brand img {
    width: 165px;
  }

  .main-nav__links {
    width: 100%;
    gap: 6px;
  }

  .main-nav__links a {
    padding: 8px 10px;
    font-size: 13px;
  }

  .hero,
  .hero__overlay {
    min-height: 520px;
  }

  .hero__overlay {
    background: linear-gradient(180deg, rgba(10, 26, 34, 0.86), rgba(10, 26, 34, 0.56));
  }

  .hero__lead {
    font-size: 17px;
  }

  .section {
    padding: 56px 0;
  }

  .feature-band {
    min-height: 250px;
    background-attachment: scroll;
    background-position: center;
  }

  .feature-band__inner {
    align-items: center;
  }

  .feature-band p {
    font-size: 15px;
  }

  .training__services li {
    padding-left: 44px;
  }

  .service-icon {
    width: 26px;
    height: 26px;
  }

  .service-icon svg {
    width: 23px;
    height: 23px;
  }

  .offer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .offer-card__head img {
    height: 160px;
  }

  .contact-box {
    justify-self: stretch;
    width: 100%;
    padding: 22px;
  }

  .contact-box a {
    font-size: 19px;
  }
}
