:root {
  --charcoal: #24272c;
  --text: #34373b;
  --muted: #62666b;
  --gray: #f5f5f5;
  --line: #dedede;
  --yellow: #f4c400;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0,0,0,.055);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: inherit; }

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

.narrow { max-width: 820px; }

.skip-link {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 9999;
  background: var(--charcoal);
  color: white;
  padding: 10px 14px;
  border-radius: 4px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid #eeeeee;
  backdrop-filter: blur(8px);
}

.header-inner {
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  width: 245px;
  display: block;
  line-height: 0;
}

.brand img {
  width: 100%;
  height: auto;
  display: block;
}

nav {
  display: flex;
  align-items: center;
  gap: 46px;
}

nav a {
  color: #1f2124;
  text-decoration: none;
  font-size: .98rem;
  font-weight: 600;
}

nav a:hover,
nav a:focus-visible { color: #aa8b00; }

.hero {
  background: var(--white);
  min-height: 475px;
  display: grid;
  place-items: center;
  text-align: center;
}

.hero-inner { padding: 92px 0 105px; }

.hero h1 {
  max-width: 850px;
  margin: 0 auto 22px;
  color: var(--charcoal);
  font-size: clamp(2.35rem, 5vw, 4.25rem);
  line-height: 1.13;
  letter-spacing: -.04em;
}

.hero p {
  margin: 0;
  color: #2f3236;
  font-size: clamp(1rem, 2vw, 1.42rem);
  font-weight: 400;
}

.hero p span {
  color: var(--yellow);
  padding-inline: .35em;
}

.accent-line {
  width: min(310px, 54vw);
  height: 2px;
  margin: 42px auto 0;
  background: var(--yellow);
}

.section { padding: 82px 0; }

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

.section h2 {
  margin: 0 0 48px;
  color: var(--charcoal);
  text-align: center;
  font-size: clamp(1.9rem, 3vw, 2.45rem);
  line-height: 1.2;
  letter-spacing: -.025em;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  justify-content: center;
}

.service-card {
  min-height: 205px;
  padding: 34px 20px 27px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 20px;
  background: var(--white);
  border: 1px solid #dbdbdb;
  border-radius: 9px;
  box-shadow: 0 2px 5px rgba(0,0,0,.025);
  text-align: center;
}

.service-card:nth-child(5) { grid-column: 2; }

.service-card svg {
  width: 65px;
  height: 65px;
  color: #22262a;
}

.service-card .icon-image {
  width: 65px;
  height: 65px;
  object-fit: contain;
  display: block;
}

.service-card h3 {
  margin: 0;
  color: #26292d;
  font-size: 1rem;
  line-height: 1.4;
}

.about { text-align: center; }

.about h2 { margin-bottom: 22px; }

.about p {
  margin: 0 auto;
  color: #45494e;
  font-size: 1.03rem;
  line-height: 1.75;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.contact-item {
  position: relative;
  padding: 0 38px;
  text-align: center;
}

.contact-item + .contact-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  bottom: 4px;
  width: 1px;
  background: #cfcfcf;
}

.contact-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 13px;
  padding: 10px;
  border: 1.5px solid #32363a;
  border-radius: 50%;
}

.contact-icon svg {
  width: 100%;
  height: 100%;
  color: #24282c;
}

.contact-item h3 {
  margin: 0 0 10px;
  color: #282c30;
  font-size: 1rem;
}

.contact-item p {
  margin: 0;
  color: #34383d;
  line-height: 1.65;
}

.contact-item a {
  text-decoration: none;
}

.contact-item a:hover,
.contact-item a:focus-visible { text-decoration: underline; }

footer {
  border-top: 1px solid #d7d7d7;
  background: #fff;
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
}

.footer-inner img {
  width: 180px;
  height: auto;
}

.footer-inner div {
  display: grid;
  gap: 6px;
  font-size: .9rem;
}

.footer-inner strong { color: #202327; }
.footer-inner span { color: #45494d; }

@media (hover: hover) {
  .service-card {
    transition: transform .2s ease, box-shadow .2s ease;
  }
  .service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
  }
}

@media (max-width: 900px) {
  .header-inner { min-height: 102px; }
  .brand { width: 205px; }
  nav { gap: 28px; }

  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card:nth-child(5) { grid-column: auto; }
  .service-card:last-child { grid-column: 1 / -1; width: calc(50% - 13px); justify-self: center; }

  .contact-item { padding-inline: 20px; }
}

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

  .container { width: min(100% - 30px, 1120px); }

  .header-inner {
    min-height: 134px;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding: 12px 0 15px;
  }

  .brand { width: 190px; }
  nav { gap: 25px; }
  nav a { font-size: .9rem; }

  .hero { min-height: 410px; }
  .hero-inner { padding: 76px 0 82px; }
  .hero h1 { font-size: clamp(2rem, 10vw, 2.85rem); }
  .hero p { font-size: .92rem; }
  .hero p span { padding-inline: .12em; }
  .accent-line { margin-top: 34px; }

  .section { padding: 66px 0; }
  .section h2 { margin-bottom: 34px; }

  .service-grid { grid-template-columns: 1fr; gap: 18px; }
  .service-card { min-height: 175px; }
  .service-card:last-child { grid-column: auto; width: 100%; }

  .contact-grid { grid-template-columns: 1fr; gap: 0; }
  .contact-item { padding: 28px 10px; }
  .contact-item + .contact-item::before {
    left: 12%;
    right: 12%;
    top: 0;
    bottom: auto;
    width: auto;
    height: 1px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
  .footer-inner img { width: 165px; }
}
