:root {
  --orange: #f18815;
  --panel: #e9e9e9;
  --black: #000;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 320px;
  background: var(--white);
  color: var(--black);
  font-family: "Oswald", "Arial Narrow", sans-serif;
}

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

.site-header {
  /*display: grid;
  place-items: center;*/
  background: var(--black);
}

.header-logo {
  width: 292px;
  margin: 0 auto;
}

.hero {
  position: relative;
  height: 100dvh;
  width: 100%;
  overflow: hidden;
  background: var(--black);
  outline: none;
}

.hero:focus-visible {
  box-shadow: inset 0 0 0 3px var(--orange);
}

.hero__slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  z-index: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 550ms ease, visibility 550ms ease;
}

.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.hero-slide--baker img {
  object-position: 54% center;
}

.hero-slide--bar img {
  object-position: 58% center;
}

.slider-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 42px;
  height: 72px;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translateY(-50%);
  cursor: pointer;
  transition: opacity 180ms ease, transform 180ms ease;
}

.slider-arrow:hover {
  opacity: 0.72;
}

.slider-arrow:focus-visible,
.slider-dot:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.slider-arrow::before {
  content: "";
  position: absolute;
  top: 12px;
  width: 36px;
  height: 36px;
  border-top: 6px solid var(--white);
  border-right: 6px solid var(--white);
}

.slider-arrow--left {
  left: 72px;
}

.slider-arrow--left::before {
  left: 10px;
  transform: rotate(-135deg);
}

.slider-arrow--right {
  right: 72px;
}

.slider-arrow--right::before {
  right: 10px;
  transform: rotate(45deg);
}

.slider-dots {
  position: absolute;
  z-index: 3;
  bottom: 28px;
  left: 50%;
  display: flex;
  gap: 12px;
  transform: translateX(-50%);
}

.slider-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}

.slider-dot.is-active {
  background: var(--white);
  transform: scale(1.18);
}

.intro {
  min-height: 500px;
  padding: 100px 40px 0;
  background: var(--black);
  color: var(--white);
  text-align: center;
}

.intro__content {
  margin: 0 auto;
}

.intro h1,
.sectors-panel h2,
.sector-card h3,
.intro p {
  margin: 0;
}

.intro h1 {
  font-size: 50px;
  line-height: 1.08;
  font-weight: 700;
}

.intro p {
  margin-top: 15px;
  color: #d8d8d8;
  font-size: 34px;
  font-weight: 300;
  line-height: 1.45;
}

.intro p span {
  color: var(--orange);
}

.sectors {
  background: linear-gradient(to bottom, ##ffffff00 0 598px, var(--orange) 598px 100%);
}

.sectors-panel {
  width: calc(100% - 152px);
  max-width: 1576px;
  min-height: 1187px;
  margin: -100px auto 0;
  padding: 109px 110px 130px;
  position: relative;
  background: var(--panel);
}

.sectors-panel h2 {
  text-align: center;
  font-size: 52px;
  line-height: 1;
  font-weight: 700;
}

.sector-grid {
  max-width: 1360px;
  margin: 124px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 155px 50px;
}

.sector-card {
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--orange);
  text-align: center;
}

.sector-card img {
  width: auto;
  height: 118px;
  object-fit: contain;
}

.sector-card h3 {
  margin-top: 24px;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 300;
}

.sector-card--bar img,
.sector-card--ristorante img,
.sector-card--lavanderia img {
  height: 105px;
}

.sector-card--gdo img {
  height: 110px;
}

.site-footer {
  min-height: 486px;
  max-width: 100%;
  margin: -100px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 45px;
  background: var(--orange);
}

.contact {
  order: 1;
  margin: 0;
  font-size: 24px;
  line-height: 1.45;
  font-style: normal;
  font-weight: 400;
}

.contact strong {
  font-weight: 700;
}

.footer-logo {
  order: 2;
  width: 435px;
}

.label-mobile {
  display: none;
}

@media (max-width: 700px) {
  .site-header {

  }

  .header-logo {
    width: 151px;
  }

  .hero {
    height: 318px;
    width: 100%;
  }

  .hero-slide--chef img {
    object-position: 52% center;
  }

  .hero-slide--baker img {
    object-position: 58% center;
  }

  .hero-slide--bar img {
    object-position: 66% center;
  }

  .slider-arrow {
    width: 28px;
    height: 48px;
  }

  .slider-arrow::before {
    top: 12px;
    width: 17px;
    height: 17px;
    border-width: 2px;
  }

  .slider-arrow--left {
    left: 17px;
  }

  .slider-arrow--right {
    right: 17px;
  }

  .slider-dots {
    bottom: 15px;
    gap: 9px;
  }

  .slider-dot {
    width: 8px;
    height: 8px;
    border-width: 1px;
  }

  .intro {
    min-height: 263px;
    padding: 20px 19px 0;
  }

  .intro h1 {
    font-size: 19px;
    line-height: 1.1;
  }

  .intro p {
    max-width: 365px;
    margin: 7px auto 0;
    font-size: 16px;
    line-height: 1.4;
  }

  .desktop-only {
    display: none;
  }

  .label-desktop {
    display: none;
  }

  .label-mobile {
    display: inline;
  }

  .sectors {
    background: linear-gradient(to bottom, #ffffff00 0 510px, var(--orange) 510px 100%);
  }

  .sectors-panel {
    width: calc(100% - 36px);
    min-height: 740px;
    margin-top: -108px;
    padding: 34px 32px 60px;
  }

  .sectors-panel h2 {
    font-size: 23px;
  }

  .sector-grid {
    margin-top: 33px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
  }

  .sector-card {
    height: 130px;
  }

  .sector-card img,
  .sector-card--bar img,
  .sector-card--ristorante img,
  .sector-card--lavanderia img,
  .sector-card--gdo img {
    width: auto;
    height: 55px;
  }

  .sector-card h3 {
    margin-top: 15px;
    font-size: 15px;
  }

  .sector-card--gelato {
    grid-column: 1;
    grid-row: 2;
  }

  .sector-card--ristorante {
    grid-column: 2;
    grid-row: 2;
  }

  .sector-card--hotel {
    grid-column: 1;
    grid-row: 3;
  }

  .sector-card--pizzeria {
    grid-column: 2;
    grid-row: 3;
  }

  .sector-card--lavanderia {
    grid-column: 1;
    grid-row: 4;
  }

  .sector-card--gdo {
    grid-column: 2;
    grid-row: 4;
  }

  .site-footer {
    min-height: 324px;
    flex-direction: column;
    justify-content: flex-start;
    padding: 120px 20px 30px;
  }

  .footer-logo {
    order: 1;
    width: 153px;
  }

  .contact {
    order: 2;
    margin-top: 20px;
    font-size: 11px;
    line-height: 1.65;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .slider-arrow,
  .slider-dot {
    transition: none;
  }
}

@media (min-width: 701px) and (max-width: 1200px) {
  .site-header {
  }

  .hero {
    height: 68vw;
    width: 100%;
  }

  .intro {
    min-height: 440px;
  }

  .intro h1 {
    font-size: 38px;
  }

  .intro p {
    font-size: 23px;
  }

  .sectors-panel {
    width: calc(100% - 80px);
    min-height: 900px;
    margin-top: -130px;
    padding: 80px;
  }

  .sector-grid {
    margin-top: 80px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 80px 50px;
  }

  .sector-card {
    height: 210px;
  }

  .sector-card img {
    height: 85px;
  }

  .sector-card h3 {
    font-size: 23px;
  }
}
