:root {
  --blue: #202f83;
  --ink: #172146;
  --muted: #596173;
  --soft: #edf3f5;
  --line: #d8dce5;
  --button: #7291a6;
  --sand: #dbbd8a;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: var(--white);
}

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topbar {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 9px 24px;
  color: var(--white);
  background: var(--blue);
  font-size: 15px;
  flex-wrap: wrap;
}

.brand {
  max-width: 1140px;
  margin: 0 auto;
  padding: 22px 24px 18px;
  border-bottom: 1px dotted #aeb4c1;
  text-align: center;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: #4867a2;
}

.brand-symbol {
  position: relative;
  display: inline-grid;
  width: 55px;
  height: 42px;
  place-items: center;
}

.brand-symbol i {
  position: absolute;
  width: 44px;
  height: 9px;
  border: 3px solid #4867a2;
}

.brand-symbol i:nth-child(1) {
  top: 3px;
  left: 5px;
}

.brand-symbol i:nth-child(2) {
  top: 16px;
  right: 5px;
}

.brand-symbol i:nth-child(3) {
  bottom: 4px;
  left: 5px;
}

.brand-name {
  font-size: 30px;
  letter-spacing: 6px;
  font-weight: 300;
}

.main-nav {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  border-bottom: 1px dotted #aeb4c1;
}

.main-nav a {
  min-width: 120px;
  padding: 16px 18px;
  color: #172146;
  font-size: 14px;
  text-align: center;
  text-transform: uppercase;
  border-top: 3px solid transparent;
}

.main-nav a:hover,
.main-nav .active {
  color: #486f8a;
  border-top-color: #86a6bd;
}

.hero {
  padding-top: 48px;
  overflow: hidden;
}

.hero h1 {
  max-width: 1140px;
  margin: 0 auto 28px;
  padding: 0 24px;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 14px;
  font-size: 30px;
  font-weight: 700;
}

.hero-slider {
  position: relative;
  min-height: 380px;
  background: #e6e1dc;
}

.slides {
  position: relative;
  max-width: 900px;
  height: 390px;
  margin: 0 auto;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity .45s ease, transform .45s ease;
}

.slide.is-active {
  opacity: 1;
  transform: translateX(0);
  z-index: 1;
}

.slide-copy {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  width: 56%;
  min-height: 178px;
  padding: 30px;
  color: var(--white);
  background: rgba(83, 124, 150, .72);
}

.slide-copy span {
  font-size: 80px;
  font-weight: 800;
  line-height: 1;
}

.slide-copy p {
  margin: 0;
  color: var(--white);
  font-size: 16px;
  line-height: 1.55;
}

.slide-link {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  min-width: 320px;
  padding: 24px 28px;
  color: var(--white);
  background: var(--sand);
  font-weight: 700;
  text-align: center;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 120px;
  height: 60px;
  border: 0;
  color: var(--white);
  background: #05070b;
  font-size: 32px;
  cursor: pointer;
  transform: translateY(-50%);
}

.slider-arrow.prev {
  left: calc(50% - 570px);
}

.slider-arrow.next {
  right: calc(50% - 570px);
}

.dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 24px 0 86px;
}

.dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #8a8d92;
  cursor: pointer;
}

.dots .is-active {
  background: #06070b;
}

.intro {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 56px;
  align-items: center;
  padding: 0 24px 110px;
}

.intro-image {
  min-height: 385px;
}

.intro-copy h2 {
  margin: 0 0 24px;
  font-size: 54px;
  line-height: 1.1;
  font-weight: 300;
}

.intro-copy p {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.48;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  min-height: 50px;
  padding: 14px 30px;
  font-size: 15px;
  border-radius: 28px;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.filled {
  color: var(--white);
  background: var(--button);
}

.button.outline {
  min-width: 168px;
  min-height: 45px;
  color: #1b2132;
  border: 1px solid #1b2132;
  border-radius: 8px;
  background: transparent;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.catalog {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px 84px;
}

.section-heading {
  max-width: 970px;
  margin: 0 auto 78px;
  text-align: center;
}

.section-heading p {
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: 11px;
  font-size: 26px;
  font-weight: 500;
}

.section-heading span {
  color: var(--muted);
  font-size: 21px;
  line-height: 1.5;
}

.product-row {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 90px;
  align-items: center;
  margin-bottom: 80px;
}

.product-row.reverse img {
  order: 2;
}

.product-row.reverse div {
  text-align: right;
}

.product-row img {
  height: 360px;
  border-radius: 8px;
}

.product-row h3 {
  margin: 0 0 22px;
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: 26px;
  font-weight: 400;
}

.product-row p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.contact-cta {
  padding: 70px 24px 86px;
  text-align: center;
  background: #f4f5fa;
}

.contact-cta h2 {
  margin: 0 0 18px;
  font-size: 35px;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.contact-cta p {
  max-width: 650px;
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.45;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 250px;
}

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

.footer-contact {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 42px 24px;
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  flex-wrap: wrap;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 26px 24px;
  color: #4e5360;
  background: var(--white);
  font-size: 13px;
  flex-wrap: wrap;
}

.footer-bottom nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.contact-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #eef4f7 0%, #ffffff 54%, #e8eef2 100%);
}

.contact-window {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 42px 20px;
}

.contact-panel {
  width: min(680px, 100%);
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 22px 70px rgba(23, 33, 70, .12);
}

.contact-brand {
  margin-bottom: 32px;
}

.contact-panel h1 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 36px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.contact-panel p {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 10px;
  padding: 14px 15px;
  color: var(--ink);
  border: 1px solid #cbd3dc;
  border-radius: 6px;
  font: inherit;
  background: #fbfcfd;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(114, 145, 166, .35);
  border-color: var(--button);
  background: var(--white);
}

.contact-form textarea {
  resize: vertical;
}

.form-submit {
  margin-top: 8px;
  border: 0;
  cursor: pointer;
}

.thank-you-panel {
  padding: 24px 0 8px;
}

.thank-you-panel h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.thank-you-panel p {
  margin: 0 0 16px;
}

.thank-you-panel strong {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--white);
  border-radius: 999px;
  background: var(--button);
}

.close-note {
  color: var(--muted);
  font-size: 15px;
}

.catalog-page {
  background: var(--white);
}

.catalog-header {
  max-width: 1140px;
  margin: 0 auto;
  padding: 14px 24px 10px;
  text-align: center;
}

.catalog-logo {
  display: inline-block;
  width: 178px;
  height: auto;
  margin-bottom: 10px;
}

.catalog-logo img {
  height: auto;
  object-fit: contain;
}

.catalog-menu {
  display: flex;
  justify-content: center;
  padding: 12px 0;
  border-top: 1px dotted #9fa6af;
  border-bottom: 1px dotted #9fa6af;
}

.catalog-menu-button {
  width: 42px;
  height: 30px;
  padding: 0;
  color: #15171c;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: default;
}

.catalog-hero-title {
  padding: 54px max(24px, calc((100vw - 1140px) / 2)) 48px;
  color: var(--white);
  background: #6f8ea2;
}

.catalog-hero-title p {
  margin: 0 0 12px;
  font-size: 31px;
  text-transform: uppercase;
}

.catalog-hero-title h1 {
  margin: 0;
  font-size: 45px;
  line-height: 1;
  text-transform: uppercase;
}

.catalog-hero img {
  width: 100%;
  height: 570px;
  object-fit: cover;
}

.catalog-intro {
  max-width: 840px;
  margin: 0 auto;
  padding: 64px 24px 66px;
}

.catalog-intro p {
  margin: 0 0 42px;
  color: #2f3540;
  font-size: 24px;
  line-height: 1.45;
}

.catalog-full-link {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border: 1px solid #6f8ea2;
  border-radius: 4px;
  color: #1f2a34;
  background: var(--white);
}

.product-catalog {
  max-width: 1080px;
  margin: 0 auto;
  padding: 36px 24px 84px;
  border-top: 1px solid #c8cdd2;
}

.catalog-group {
  margin-bottom: 52px;
}

.catalog-group h2 {
  margin: 0 0 24px;
  padding: 11px 28px;
  color: var(--white);
  background: #6f8ea2;
  font-size: 24px;
  line-height: 1.1;
  text-transform: uppercase;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px 24px;
}

.catalog-card {
  text-align: center;
}

.catalog-card a {
  display: block;
  aspect-ratio: 1 / 1;
  margin: 0 auto 22px;
  overflow: hidden;
  border: 1px solid #1b1f24;
  border-radius: 13px;
  background: #fafafa;
}

.catalog-card img {
  padding: 18px;
  object-fit: contain;
}

.catalog-card p {
  margin: 0 0 12px;
  color: #606978;
  font-size: 12px;
  text-transform: uppercase;
}

.catalog-card h3 {
  margin: 0;
  color: #1f2430;
  font-size: 15px;
  font-weight: 400;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .topbar {
    justify-content: flex-start;
    gap: 12px 18px;
  }

  .brand-name {
    font-size: 24px;
    letter-spacing: 4px;
  }

  .main-nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
  }

  .main-nav a {
    min-width: 50%;
  }

  .hero {
    padding-top: 34px;
  }

  .hero h1 {
    text-align: left;
    letter-spacing: 8px;
    font-size: 24px;
  }

  .slides {
    height: 540px;
    max-width: none;
  }

  .slide-copy {
    width: calc(100% - 28px);
    grid-template-columns: 96px 1fr;
    margin: 14px;
    padding: 22px;
  }

  .slide-copy span {
    font-size: 62px;
  }

  .slide-link {
    left: 14px;
    right: 14px;
    min-width: 0;
  }

  .slider-arrow {
    top: auto;
    bottom: 86px;
    width: 62px;
    height: 52px;
    transform: none;
  }

  .slider-arrow.prev {
    left: 14px;
  }

  .slider-arrow.next {
    right: 14px;
  }

  .intro,
  .product-row,
  .product-row.reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .intro {
    padding-bottom: 74px;
  }

  .intro-copy h2 {
    font-size: 40px;
  }

  .product-row.reverse img {
    order: 0;
  }

  .product-row.reverse div {
    text-align: left;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
    height: 420px;
  }
}

@media (max-width: 560px) {
  .topbar {
    font-size: 13px;
  }

  .brand-mark {
    gap: 12px;
  }

  .brand-symbol {
    transform: scale(.85);
  }

  .brand-name {
    font-size: 20px;
    letter-spacing: 2px;
  }

  .hero h1 {
    letter-spacing: 5px;
    font-size: 21px;
  }

  .slide-copy {
    display: block;
  }

  .slide-copy span {
    display: block;
    margin-bottom: 10px;
    font-size: 54px;
  }

  .intro-copy h2 {
    font-size: 34px;
  }

  .intro-copy p,
  .section-heading span,
  .contact-cta p {
    font-size: 18px;
  }

  .section-heading p {
    letter-spacing: 6px;
    font-size: 21px;
  }

  .product-row {
    margin-bottom: 58px;
  }

  .product-row img,
  .intro-image {
    height: 270px;
    min-height: 270px;
  }

  .footer-contact,
  .footer-bottom {
    display: grid;
  }

  .contact-panel {
    padding: 28px 20px;
  }

  .contact-panel h1 {
    font-size: 28px;
    letter-spacing: 2px;
  }

  .thank-you-panel h2 {
    font-size: 24px;
    letter-spacing: 2px;
  }

  .catalog-menu {
    gap: 18px;
    flex-wrap: wrap;
  }

  .catalog-hero-title {
    padding-top: 42px;
    padding-bottom: 36px;
  }

  .catalog-hero-title p {
    font-size: 25px;
  }

  .catalog-hero-title h1 {
    font-size: 38px;
  }

  .catalog-hero img {
    height: 380px;
  }

  .catalog-intro p {
    font-size: 20px;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
  }
}
