:root {
  --blue: #00417c;
  --green: #9dc430;
  --ink: #292e33;
  --muted: #79828a;
  --light-muted: #aab1b8;
  --line: #dfe4e8;
  --page: #f5f7fa;
  --white: #ffffff;
  --footer: #292e33;
  --container: 1246px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Blogger Sans", "DIN Pro", Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
}

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

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

.page-container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 60px;
  background: var(--blue);
  box-shadow: 0 3px 10px rgba(20, 20, 20, 0.05);
}

.site-header__inner {
  display: grid;
  grid-template-columns: 260px minmax(180px, 1fr) 260px;
  align-items: center;
  gap: 24px;
  height: 60px;
}

.logo {
  width: 152px;
  height: 36px;
}

.logo picture,
.logo img {
  display: block;
  width: 100%;
  height: 100%;
}

.logo img {
  object-fit: contain;
}

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

.main-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  background: transparent;
  color: var(--white);
  font-size: 16px;
  line-height: 1.38;
  white-space: nowrap;
  cursor: pointer;
}

.nav-dropdown,
.phone-menu {
  position: relative;
  z-index: 4;
}

.small-chevron {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.nav-dropdown.is-open .small-chevron,
.phone-menu.is-open .small-chevron {
  transform: translateY(2px) rotate(-135deg);
}

.nav-dropdown__menu,
.phone-menu__list {
  position: absolute;
  z-index: 10;
  display: none;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(20, 20, 20, 0.12);
}

.nav-dropdown.is-open .nav-dropdown__menu,
.phone-menu.is-open .phone-menu__list {
  display: block;
}

.nav-dropdown__menu {
  top: calc(100% + 18px);
  left: 50%;
  width: 248px;
  transform: translateX(-50%);
}

.nav-dropdown__item,
.phone-menu__item {
  display: block;
  border-radius: 4px;
  color: var(--ink);
  line-height: 1.12;
  white-space: nowrap;
}

.nav-dropdown__item,
.phone-menu__item {
  padding: 13px 16px;
}

.nav-dropdown__item:hover,
.phone-menu__item:hover {
  background: var(--page);
}

.phone-menu {
  justify-self: end;
}

.phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 4px 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  white-space: nowrap;
}

.phone-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex: 0 0 auto;
}

.phone-menu__list {
  top: calc(100% + 18px);
  right: 0;
  width: 248px;
}

.burger-btn {
  display: none;
  width: 16px;
  height: 16px;
  padding: 0;
  background: transparent;
}

.burger-btn span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 3px 0;
  border-radius: 2px;
  background: var(--white);
}

.mobile-menu {
  display: none;
}

.hero-section {
  padding: 16px 0 0;
}

.hero-banner {
  width: 100%;
  height: 456px;
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0 -3px 10px rgba(20, 20, 20, 0.05);
}

.contacts-section {
  padding: 48px 0;
}

.contacts-section--wholesale {
  padding-top: 0;
}

.content-section {
  padding: 16px 0 32px;
}

.content-card {
  padding: 36px 20px 32px;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 -3px 10px rgba(20, 20, 20, 0.05);
}

.content-card h1 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.15;
}

.content-card h2 {
  margin: 22px 0 10px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.15;
}

.content-card h3 {
  margin: 22px 0 10px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
}

.content-card p {
  margin: 0 0 12px;
  line-height: 1.5;
}

.content-card ul,
.content-card ol {
  margin: 0 0 14px;
  padding-left: 18px;
}

.content-card li {
  margin: 0 0 8px;
  line-height: 1.45;
}

.content-card a {
  color: var(--blue);
  text-decoration: underline;
}

.content-divider {
  height: 1px;
  margin: 18px 0;
  background: rgba(41, 46, 51, 0.35);
}

.contact-list {
  padding-left: 32px !important;
}

.section-title {
  margin: 0 0 20px;
  font-size: 32px;
  line-height: 1.12;
  color: var(--ink);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 240px);
  justify-content: space-between;
  gap: 32px;
  padding: 28px 0 0;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 240px;
  height: 174px;
  padding: 36px 20px 20px;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 -3px 10px rgba(20, 20, 20, 0.05);
  text-align: center;
}

.contact-card__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 27px;
  flex: 0 0 27px;
}

.contact-card__head img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.contact-card__head h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: -0.48px;
  color: var(--ink);
}

.contact-card:nth-child(3) .contact-card__head {
  gap: 24px;
}

.contact-card:nth-child(3) .contact-card__head h2 {
  font-size: 20px;
  letter-spacing: -0.4px;
}

.contact-card__divider {
  display: block;
  width: 145px;
  height: 2px;
  margin: 16px 0;
  border-radius: 3px;
  background: var(--line);
}

.contact-card p {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.12;
  letter-spacing: -0.36px;
}

.contact-card a:hover {
  color: var(--blue);
}

.messengers {
  display: grid;
  gap: 6px;
}

.messengers a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.messengers img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.site-footer {
  background: var(--footer);
  color: var(--white);
}

.site-footer__inner {
  padding: 52px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 382px 382px 382px;
  justify-content: space-between;
  min-height: 239px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(223, 228, 232, 0.16);
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.footer-col h3 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 16px;
  line-height: 1.12;
  letter-spacing: -0.32px;
}

.footer-col a,
.footer-col span {
  color: var(--light-muted);
  line-height: 1.38;
  letter-spacing: -0.32px;
}

.footer-col a:hover,
.footer-col .footer-value {
  color: var(--white);
}

.footer-numbers a {
  font-size: 16px;
}

.footer-label {
  color: var(--light-muted) !important;
  font-size: 14px;
  line-height: 1.38;
  letter-spacing: -0.28px !important;
}

.footer-label--spaced {
  margin-top: 10px;
}

.social-title {
  margin-top: 14px !important;
  margin-bottom: 0 !important;
}

.social-list {
  display: flex;
  gap: 10px;
}

.social-list a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green);
}

.social-list img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  padding-top: 36px;
  color: var(--light-muted);
}

.footer-bottom p {
  margin: 0;
  line-height: 1.38;
  letter-spacing: -0.32px;
}

.mobile-copy {
  display: none;
}

@media (max-width: 1180px) {
  .site-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }

  .contact-card {
    width: 100%;
  }

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

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .page-container {
    width: 328px;
  }

  .site-header {
    min-height: 48px;
  }

  .site-header__inner {
    position: relative;
    display: block;
    width: 328px;
    height: 48px;
  }

  .logo {
    position: absolute;
    left: 0;
    top: 8px;
    width: 63px;
    height: 32px;
  }

  .main-nav {
    display: none;
  }

  .phone-menu {
    position: absolute;
    left: 50%;
    top: 11px;
    transform: translateX(-50%);
  }

  .phone-btn {
    min-height: 26px;
    gap: 8px;
    padding: 4px 0;
    font-size: 14px;
  }

  .phone-menu__list {
    left: 50%;
    right: auto;
    width: 248px;
    transform: translateX(-50%);
  }

  .burger-btn {
    display: block;
    position: absolute;
    top: 16px;
    right: 0;
  }

  .mobile-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 12;
    display: none;
    width: 248px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(20, 20, 20, 0.12);
  }

  .mobile-menu.is-open {
    display: block;
  }

  .mobile-menu__link {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 13px 16px;
    border-radius: 4px;
    background: transparent;
    color: var(--ink);
    text-align: left;
    line-height: 1.12;
    white-space: nowrap;
  }

  .mobile-menu__link:hover {
    background: var(--page);
  }

  .hero-section {
    height: 260px;
    padding: 16px 0 8px;
  }

  .hero-section .page-container {
    border-radius: 15px;
  }

  .hero-banner {
    width: 330px;
    max-width: none;
    height: 236px;
    margin-left: -1px;
    border-radius: 15px;
    box-shadow: 0 -3px 20px rgba(20, 20, 20, 0.05);
    object-fit: contain;
  }

  .contacts-section {
    width: 328px;
    margin: 0 auto;
    padding: 10px 0 32px;
  }

  .contacts-section--wholesale {
    padding-top: 0;
  }

  .content-section {
    width: 328px;
    margin: 0 auto;
    padding: 16px 0 32px;
  }

  .content-card {
    padding: 24px 18px 28px;
  }

  .content-card h1 {
    font-size: 24px;
  }

  .content-card h2 {
    font-size: 21px;
  }

  .content-card h3 {
    font-size: 18px;
  }

  .section-title {
    margin-bottom: 12px;
    font-size: 22px;
  }

  .contact-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
  }

  .contact-card {
    width: 328px;
    height: 174px;
    padding: 24px 20px 20px;
  }

  .contact-card__head {
    height: 31px;
    flex-basis: 31px;
  }

  .contact-card__head img {
    width: 28px;
    height: 28px;
  }

  .contact-card__head h2,
  .contact-card:nth-child(3) .contact-card__head h2 {
    font-size: 28px;
    letter-spacing: -0.56px;
  }

  .contact-card__divider {
    margin: 16px 0;
  }

  .site-footer__inner {
    width: 328px;
    padding: 32px 0;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: 0;
    padding: 32px 0;
    border-bottom: 1px solid rgba(223, 228, 232, 0.25);
  }

  .footer-buyers,
  .footer-numbers {
    display: flex;
  }

  .footer-info {
    gap: 4px;
  }

  .footer-info h3 {
    margin-bottom: 16px;
  }

  .social-title {
    margin-top: 24px !important;
    margin-bottom: 8px !important;
  }

  .footer-bottom {
    padding-top: 32px;
  }

  .desktop-copy {
    display: none;
  }

  .mobile-copy {
    display: block;
  }
}
