@font-face {
  font-family: "Onest";
  src: url("../assets/fonts/onest-latin.woff2") format("woff2");
  font-display: swap;
  font-weight: 100 900;
}

:root {
  --pink: #e52387;
  --pink-dark: #c61270;
  --blue: #36a9dc;
  --blue-soft: #dff4fd;
  --blue-card: #35a9dc;
  --yellow: #d7c719;
  --ink: #050505;
  --muted: #a9abad;
  --container: 1290px;
  --shadow: 0 16px 42px rgb(0 0 0 / 10%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Onest", Arial, sans-serif;
  line-height: 1.55;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: #fff;
  background: var(--pink);
  border-radius: 8px;
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.button {
  display: inline-flex;
  min-height: 44px;
  padding: 11px 25px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 6px;
  color: #000;
  background: var(--yellow);
  font-weight: 600;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: #e4d420;
  box-shadow: 0 9px 22px rgb(0 0 0 / 15%);
  transform: translateY(-2px);
}

.button--pink {
  color: #fff;
  background: var(--pink);
}

.button--pink:hover,
.button--pink:focus-visible {
  background: var(--pink-dark);
}

.button--blue {
  color: #fff;
  background: #278eb9;
}

.button--white {
  background: #fff;
}

.site-header {
  position: relative;
  z-index: 30;
  height: 112px;
  color: #fff;
  background: rgb(8 8 9 / 96%);
}

.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 38px;
}

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

.main-nav {
  justify-self: center;
}

.main-nav ul {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: clamp(42px, 6vw, 85px);
  list-style: none;
}

.main-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--pink);
}

.nav-caret::after {
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.header-cta {
  min-width: 224px;
  border-radius: 10px;
}

.header-cta::before {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 50%;
  content: "↓";
  font-size: 12px;
  line-height: 13px;
  text-align: center;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 42px;
  padding: 9px;
  border: 0;
  background: transparent;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.page-hero {
  min-height: 377px;
  padding: 23px 0 58px;
  display: grid;
  place-items: center;
  color: #fff;
  background:
    linear-gradient(rgb(0 0 0 / 10%), rgb(0 0 0 / 10%)),
    url("../assets/images/hero.webp") center / cover no-repeat;
}

.hero-panel {
  width: min(calc(100% - 48px), 1280px);
  min-height: 296px;
  padding: 40px 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid rgb(208 0 166 / 90%);
  border-radius: 19px;
  background: rgb(4 5 6 / 74%);
  box-shadow: inset 18px 30px 70px rgb(255 255 255 / 8%);
  text-align: center;
}

.hero-panel img {
  width: min(610px, 78%);
}

.hero-panel p {
  margin: 24px 0 0;
  color: var(--pink);
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 800;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--pink);
  font-weight: 750;
}

.news-section {
  padding: 78px 0 102px;
}

.section-title {
  margin: 0;
  font-size: clamp(31px, 3.3vw, 44px);
  line-height: 1.15;
}

.news-grid {
  max-width: 980px;
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.news-card {
  overflow: hidden;
  aspect-ratio: 0.8;
  border: 1px solid rgb(0 0 0 / 12%);
  border-radius: 15px;
  background: #eee;
}

.news-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.news-card:hover img {
  transform: scale(1.035);
}

.catalogue {
  padding: 4px 0 60px;
}

.catalogue-group {
  margin-bottom: 84px;
}

.catalogue-group:last-child {
  margin-bottom: 20px;
}

.catalogue-group h2 {
  margin: 0 0 44px;
  font-size: clamp(28px, 3vw, 38px);
}

.catalogue-group:first-child::before {
  display: block;
  margin-bottom: 16px;
  color: var(--pink);
  content: "Konica Minolta";
  font-size: 21px;
  font-weight: 750;
}

.carousel-shell {
  position: relative;
  padding-inline: 46px;
}

.carousel-viewport {
  overflow: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.carousel-viewport::-webkit-scrollbar {
  display: none;
}

.product-track {
  display: flex;
  gap: 30px;
}

.product-card {
  flex: 0 0 calc((100% - 90px) / 4);
  min-width: 0;
  min-height: 390px;
  padding: 30px 25px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 15px;
  background: var(--muted);
  text-align: center;
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.product-card.is-color {
  background: var(--blue-card);
}

.product-card:hover {
  z-index: 2;
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.product-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.product-card img {
  width: 100%;
  height: 190px;
  margin-bottom: 6px;
  object-fit: contain;
}

.product-card p {
  margin: 0 0 34px;
  font-weight: 700;
}

.product-card .button {
  margin-top: auto;
  min-width: 171px;
  font-weight: 500;
}

.carousel-arrow {
  position: absolute;
  z-index: 3;
  top: 45%;
  width: 42px;
  height: 62px;
  padding: 0;
  border: 0;
  color: var(--pink);
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
}

.carousel-arrow::before {
  display: block;
  width: 28px;
  height: 28px;
  margin: auto;
  border-left: 8px solid currentColor;
  border-bottom: 8px solid currentColor;
  border-radius: 4px;
  content: "";
  transform: rotate(45deg);
}

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

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

.carousel-arrow--next::before {
  transform: rotate(225deg);
}

.carousel-arrow:disabled {
  opacity: 0.25;
  cursor: default;
}

.carousel-dots {
  min-height: 16px;
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f6c6c6;
  cursor: pointer;
}

.carousel-dot.is-active {
  background: #ef1717;
}

.product-page {
  padding: 16px 0 0;
}

.product-shell {
  width: min(calc(100% - 48px), 1270px);
  margin-inline: auto;
  overflow: hidden;
  border-radius: 15px;
  background: var(--blue-soft);
}

.product-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.product-gallery {
  position: relative;
  min-height: 720px;
  padding: 42px 58px 66px;
  display: grid;
  place-items: center;
  background: rgb(255 255 255 / 16%);
}

.gallery-slide {
  position: absolute;
  inset: 42px 60px 70px;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
}

.gallery-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 36px;
  height: 56px;
  border: 0;
  color: var(--pink);
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
}

.gallery-arrow::before {
  display: block;
  width: 20px;
  height: 20px;
  border-left: 5px solid currentColor;
  border-bottom: 5px solid currentColor;
  border-radius: 2px;
  content: "";
  transform: rotate(45deg);
}

.gallery-arrow--prev {
  left: 55px;
}

.gallery-arrow--next {
  right: 55px;
}

.gallery-arrow--next::before {
  transform: rotate(225deg);
}

.gallery-dots {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 34px;
  display: flex;
  gap: 18px;
  transform: translateX(-50%);
}

.gallery-dot {
  width: 5px;
  height: 5px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--pink);
  cursor: pointer;
}

.gallery-dot.is-active {
  background: #000;
}

.product-copy {
  padding: 62px 61px 46px;
  background: rgb(54 169 220 / 8%);
}

.product-category {
  margin: 0 0 16px;
  color: var(--pink);
  font-weight: 750;
}

.product-copy h1 {
  margin: 0 0 20px;
  font-size: clamp(34px, 3vw, 45px);
  line-height: 1.1;
}

.product-description {
  margin: 0 0 48px;
  font-size: 17px;
  line-height: 1.55;
}

.top-features {
  display: grid;
  gap: 25px;
}

.feature-line {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: start;
  gap: 15px;
  font-size: 17px;
  font-weight: 750;
}

.check-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 5px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-size: 17px;
  line-height: 1;
}

.product-actions {
  margin-top: 42px;
  display: flex;
  gap: 54px;
}

.product-actions .button {
  min-width: 192px;
  box-shadow: 0 4px 8px rgb(0 0 0 / 28%);
}

.feature-grid {
  padding: 34px 12px 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 36px;
}

.feature-chip {
  min-height: 47px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 11px;
  background: #fff;
  font-weight: 700;
}

.feature-chip .check-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-width: 0;
  font-size: 12px;
}

.specs {
  padding: 10px 10px 12px;
}

.specs h2 {
  margin: 12px 0 30px;
  color: #4a5568;
  font-size: 34px;
  text-align: center;
}

.specs table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.specs td {
  width: 25%;
  padding: 20px;
  border: 1px solid #dce3eb;
  color: #4a5568;
  font-size: 15px;
}

.specs td:nth-child(odd) {
  color: #2d3748;
  background: #fcfcfc;
  font-weight: 750;
}

.quote-section {
  width: min(calc(100% - 48px), 1290px);
  margin: 90px auto;
  overflow: hidden;
  display: grid;
  grid-template-columns: 430px 1fr;
  border-radius: 15px;
  background: #d6f2fd;
}

.quote-image {
  min-height: 670px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background:
    linear-gradient(rgb(5 9 20 / 15%), rgb(5 9 20 / 48%)),
    url("../assets/images/contact-brand.jpg") center / cover no-repeat;
}

.quote-image strong {
  margin-bottom: 12px;
}

.quote-image p {
  max-width: 330px;
  margin: 0 0 20px;
  font-size: 18px;
}

.socials {
  display: flex;
  gap: 14px;
}

.socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #000;
  font-size: 13px;
  font-weight: 750;
}

.quote-content {
  padding: 59px 60px;
}

.quote-content h2 {
  max-width: 720px;
  margin: 0 0 16px;
  font-size: clamp(31px, 3vw, 43px);
  line-height: 1.18;
}

.quote-content > p:not(.eyebrow) {
  margin: 0 0 54px;
}

.quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 16px;
}

.form-field {
  display: grid;
  gap: 7px;
  font-weight: 600;
}

.form-field--full {
  grid-column: 1 / -1;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid var(--pink);
  border-radius: 10px;
  color: #000;
  background: transparent;
  outline: 0;
}

.quote-form input {
  height: 49px;
}

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

.quote-form input:focus,
.quote-form textarea:focus {
  box-shadow: 0 0 0 3px rgb(229 35 135 / 16%);
}

.form-status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: -6px 0 0;
  color: #5e2450;
}

.contact-band {
  padding: 60px 0 0;
  color: #000;
  background: linear-gradient(180deg, #36a9dc 0%, #7d84c8 48%, #e52387 100%);
}

.contact-cta {
  min-height: 160px;
  padding: 35px 55px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  border-radius: 15px;
  color: #fff;
  background: #000;
}

.contact-cta h2 {
  margin: 0 0 7px;
  font-size: 25px;
}

.contact-cta p {
  margin: 0;
  color: rgb(255 255 255 / 76%);
}

.site-footer {
  padding: 94px 0 18px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.8fr 1fr;
  gap: 74px;
}

.footer-brand img {
  width: 255px;
}

.footer-brand p {
  max-width: 255px;
  margin: 28px 0 0;
  font-size: 17px;
}

.footer-column h3 {
  margin: 0 0 16px;
  font-size: 18px;
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list li {
  padding: 9px 0;
  border-bottom: 1px solid rgb(0 0 0 / 45%);
}

.footer-list a:hover {
  color: #fff;
}

.newsletter {
  display: flex;
}

.newsletter input {
  width: 100%;
  min-width: 0;
  padding: 0 15px;
  border: 1px solid #fff;
  border-radius: 10px 0 0 10px;
  color: #fff;
  background: transparent;
}

.newsletter input::placeholder {
  color: rgb(255 255 255 / 72%);
}

.newsletter .button {
  border-radius: 0 10px 10px 0;
}

.footer-socials {
  margin-top: 34px;
}

.copyright {
  margin: 78px 0 0;
  text-align: center;
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .header-inner {
    grid-template-columns: 180px 1fr auto;
    gap: 18px;
  }

  .main-nav ul {
    gap: 30px;
  }

  .header-cta {
    min-width: 190px;
  }

  .product-card {
    flex-basis: calc((100% - 60px) / 3);
  }

  .product-intro {
    grid-template-columns: 46% 54%;
  }

  .product-gallery {
    min-height: 650px;
  }

  .product-copy {
    padding: 50px 40px 40px;
  }

  .product-actions {
    gap: 18px;
  }

  .quote-section {
    grid-template-columns: 340px 1fr;
  }

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

@media (max-width: 820px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .site-header {
    height: 84px;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .brand img {
    width: 138px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 84px 0 auto;
    padding: 20px;
    display: none;
    background: rgb(8 8 9 / 98%);
  }

  .menu-open .main-nav {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .main-nav a {
    padding: 8px 12px;
  }

  .header-cta {
    display: none;
  }

  .page-hero {
    min-height: 345px;
    padding-block: 30px;
  }

  .hero-panel {
    width: calc(100% - 32px);
    min-height: 250px;
    padding: 36px 24px;
  }

  .hero-panel img {
    width: min(620px, 95%);
  }

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

  .product-card {
    flex-basis: calc((100% - 30px) / 2);
  }

  .product-intro {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    min-height: 560px;
  }

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

  .quote-section {
    grid-template-columns: 1fr;
  }

  .quote-image {
    min-height: 420px;
  }

  .contact-cta {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .news-section {
    padding-block: 58px 74px;
  }

  .news-grid {
    margin-top: 38px;
    grid-template-columns: 1fr;
  }

  .carousel-shell {
    padding-inline: 34px;
  }

  .product-card {
    flex-basis: 100%;
  }

  .carousel-arrow--prev {
    left: -10px;
  }

  .carousel-arrow--next {
    right: -10px;
  }

  .product-shell,
  .quote-section {
    width: calc(100% - 24px);
  }

  .product-gallery {
    min-height: 430px;
    padding-inline: 28px;
  }

  .gallery-slide {
    inset: 30px 35px 62px;
  }

  .gallery-arrow--prev {
    left: 18px;
  }

  .gallery-arrow--next {
    right: 18px;
  }

  .product-copy {
    padding: 42px 24px 34px;
  }

  .product-description {
    margin-bottom: 34px;
  }

  .product-actions {
    flex-direction: column;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    padding-inline: 10px;
  }

  .specs table,
  .specs tbody,
  .specs tr,
  .specs td {
    display: block;
    width: 100%;
  }

  .specs tr {
    margin-bottom: 15px;
    border: 1px solid #dce3eb;
  }

  .specs td {
    border: 0;
    border-bottom: 1px solid #e8edf2;
  }

  .quote-content {
    padding: 44px 24px;
  }

  .quote-form {
    grid-template-columns: 1fr;
  }

  .form-field--full {
    grid-column: auto;
  }

  .form-status {
    grid-column: auto;
  }

  .contact-band {
    padding-top: 32px;
  }

  .contact-cta {
    padding: 30px 24px;
  }

  .site-footer {
    padding-top: 64px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .copyright {
    margin-top: 58px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
