:root {
  --blue: #047fc0;
  --blue-dark: #00649d;
  --blue-soft: #0d94d4;
  --brown: #866340;
  --line: #d8e1e6;
  --text: #1b2a32;
  --muted: #63737c;
  --paper: #ffffff;
  --bg: #f5f5f2;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 10px 10px, rgba(0, 0, 0, .045) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(#fbfbf9, var(--bg));
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.55;
}

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

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

.top-line {
  height: 6px;
  border-top: 1px solid #22515a;
  border-bottom: 1px solid #6d3f33;
  background: #fdfdfb;
}

.shell {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.brand {
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: grid;
  gap: 2px;
}

.logo-mark {
  width: 260px;
  height: 82px;
  object-fit: contain;
  object-position: left center;
}

.tagline {
  margin-left: 12px;
  color: #9b7b52;
  font-size: 13px;
}

.quick-contact {
  color: var(--muted);
  text-align: right;
  font-size: 13px;
}

.quick-contact strong {
  display: block;
  color: var(--blue-dark);
  font-size: 20px;
}

.nav-wrap {
  background: linear-gradient(#0486c8, #006da8);
  border-top: 1px solid #20a4df;
  border-bottom: 1px solid #005988;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .15);
}

.nav {
  min-height: 52px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 16px;
}

.menu {
  display: flex;
  flex-wrap: wrap;
}

.menu a {
  min-width: 112px;
  display: grid;
  place-items: center;
  padding: 0 20px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .25);
  border-left: 1px solid rgba(255, 255, 255, .13);
  border-right: 1px solid rgba(0, 0, 0, .14);
}

.menu a[aria-current="page"],
.menu a:hover {
  background: linear-gradient(#9a7451, #755234);
}

.social {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 8px;
}

.social span {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 3px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 1px 1px rgba(0, 0, 0, .28);
}

.social span:nth-child(1) { background: #385898; }
.social span:nth-child(2) { background: #ea5791; }
.social span:nth-child(3) { background: #c4302b; }
.social span:nth-child(4) { background: #f39c12; }
.social span:nth-child(5) { background: #1da1f2; }

.page {
  background: var(--paper);
  min-height: 640px;
  box-shadow: 0 0 9px rgba(0, 0, 0, .12);
}

.hero {
  min-height: 172px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr);
  align-items: center;
  gap: 26px;
  padding: 26px 32px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero h1 {
  margin: 0 0 10px;
  color: #075e88;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 400;
}

.hero p {
  max-width: 610px;
  margin: 0;
  color: #49575d;
}

.layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 26px;
  padding: 28px 22px 36px;
}

.sidebar {
  background: linear-gradient(#0694d1, #0084c1);
  color: #fff;
  padding: 18px 16px;
}

.sidebar h2,
.widget h2 {
  margin: 0 0 16px;
  font-size: 21px;
  font-weight: 400;
  letter-spacing: .2px;
}

.service-menu {
  display: grid;
}

.service-menu a {
  padding: 7px 0;
  border-bottom: 1px solid rgba(0, 81, 125, .45);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .16);
  font-size: 13px;
}

.service-menu a:hover,
.service-menu a[aria-current="page"] {
  color: #fff7c7;
}

.sidebar-contact {
  margin-top: 28px;
}

.contact-mini {
  background: #fff;
  color: #1b2a32;
  border: 1px solid #0b6fa4;
  padding: 12px;
}

.contact-mini strong {
  display: block;
  color: #075e88;
  font-size: 18px;
  margin-bottom: 8px;
}

.contact-mini span {
  display: block;
  font-size: 13px;
  line-height: 1.45;
}

.content h2,
.detail h1 {
  margin: 0 0 14px;
  color: #075e88;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 400;
}

.service-list {
  display: grid;
  gap: 0;
}

.service-item {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 18px;
  padding: 0 0 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid #e4e8eb;
}

.service-item:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}

.thumb {
  min-height: 150px;
  border: 1px solid #d9dfe2;
  background: #f7f9fa;
  overflow: hidden;
  position: relative;
}

.hero-photo,
.service-photo,
.detail-photo {
  width: 100%;
  display: block;
  border: 1px solid #d9dfe2;
  background: #f7f9fa;
  object-fit: cover;
}

.hero-photo {
  min-height: 132px;
  height: 160px;
}

.service-photo {
  height: 158px;
}

.detail-photo {
  height: 230px;
}

.thumb::before,
.thumb::after {
  content: "";
  position: absolute;
}

.thumb.print::before {
  left: 18px;
  right: 18px;
  top: 20px;
  height: 38px;
  background: #242b31;
  box-shadow: 0 62px 0 #eef1f4;
}

.thumb.print::after {
  left: 48px;
  right: 48px;
  top: 50px;
  height: 86px;
  background: conic-gradient(from 130deg, #e52c4b, #ffd44d, #25b760, #0e92d5, #6951c5, #e52c4b);
  border: 1px solid rgba(0, 0, 0, .12);
}

.thumb.roll::before {
  left: 22px;
  right: 22px;
  top: 18px;
  height: 26px;
  background: #303840;
}

.thumb.roll::after {
  left: 42px;
  right: 42px;
  top: 42px;
  height: 92px;
  background:
    radial-gradient(circle, #e43d3d 0 4px, transparent 5px) 0 0 / 28px 24px,
    radial-gradient(circle, #2478c4 0 4px, transparent 5px) 14px 12px / 28px 24px,
    #fff;
  border: 1px solid #d6d6d6;
}

.thumb.mug::before {
  width: 78px;
  height: 90px;
  left: 28px;
  bottom: 22px;
  border-radius: 4px 4px 22px 22px;
  background: linear-gradient(90deg, #fff, #e7edf0);
  border: 1px solid #cad2d6;
  box-shadow: 66px 0 0 #15191d;
}

.thumb.mug::after {
  width: 28px;
  height: 42px;
  left: 94px;
  bottom: 46px;
  border: 8px solid #d3dce1;
  border-left: 0;
  border-radius: 0 28px 28px 0;
}

.thumb.shirt::before {
  left: 48px;
  top: 22px;
  width: 120px;
  height: 106px;
  background: #fff;
  clip-path: polygon(28% 0, 42% 12%, 58% 12%, 72% 0, 100% 26%, 84% 43%, 84% 100%, 16% 100%, 16% 43%, 0 26%);
  border: 1px solid #d9dfe2;
}

.thumb.shirt::after {
  left: 86px;
  top: 62px;
  width: 46px;
  height: 32px;
  background: linear-gradient(90deg, #e33a3a, #0d94d4);
}

.thumb.event::before {
  inset: 18px;
  background:
    radial-gradient(circle at 34% 26%, #f04444 0 17px, transparent 18px),
    radial-gradient(circle at 58% 23%, #ffd34a 0 18px, transparent 19px),
    radial-gradient(circle at 74% 36%, #159bd7 0 16px, transparent 17px),
    linear-gradient(90deg, transparent 0 44%, #444 45% 47%, transparent 48% 100%),
    linear-gradient(110deg, transparent 0 46%, #444 47% 49%, transparent 50% 100%);
}

.thumb.design::before {
  inset: 22px;
  background:
    linear-gradient(90deg, #0d94d4 0 25%, #fff 25% 50%, #e33a3a 50% 75%, #ffd34a 75%),
    #fff;
  box-shadow: 0 54px 0 #e8edf0;
}

.thumb.design::after {
  left: 48px;
  right: 48px;
  bottom: 30px;
  height: 11px;
  background: #1c2d36;
}

.service-copy h3 {
  margin: 0 0 8px;
  color: #075e88;
  font-size: 22px;
  font-weight: 400;
}

.service-copy p {
  margin: 0 0 16px;
  color: #222;
}

.btn {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 18px;
  color: #fff;
  background: linear-gradient(#0a89ca, #006da8);
  border: 1px solid #006397;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
}

.detail {
  display: grid;
  gap: 18px;
}

.detail-lead {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

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

.feature,
.ref-card,
.contact-box {
  border: 1px solid #dbe2e6;
  background: #fbfcfd;
  padding: 16px;
  border-radius: 4px;
}

.feature h3,
.ref-card h3,
.contact-box h3 {
  margin: 0 0 7px;
  color: #075e88;
  font-size: 17px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 18px;
}

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

.form input,
.form textarea {
  width: 100%;
  border: 1px solid #cfd8de;
  padding: 10px 11px;
  font: inherit;
}

.form textarea {
  min-height: 132px;
  resize: vertical;
}

.footer {
  padding: 18px 0 32px;
  color: #63737c;
  font-size: 13px;
}

@media (max-width: 980px) {
  .layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .shell {
    width: 100%;
  }

  .brand,
  .hero,
  .layout,
  .detail-lead,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .brand {
    height: auto;
    padding: 18px 16px;
  }

  .quick-contact {
    text-align: left;
  }

  .nav {
    display: block;
  }

  .menu a {
    width: 50%;
    min-height: 46px;
    min-width: 0;
  }

  .social {
    padding: 10px 16px;
  }

  .hero {
    padding: 22px 16px;
  }

  .layout {
    padding: 18px 16px 28px;
  }

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

  .feature-grid,
  .refs {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .menu a {
    width: 100%;
  }

  .hero h1 {
    font-size: 25px;
  }
}
