:root {
  --page: #ebe8e3;
  --dark: #21342d;
  --muted: #52605b;
  --line: #c9c3bc;
  --accent: #d6c79f;
  --cream: #f1eee9;
  --canvas: 1570px;
}

@font-face {
  font-family: "Castoro";
  src: url("../fonts/castoro/Castoro-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Catamaran";
  src: url("../fonts/catamaran/Catamaran-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Clicker Script";
  src: url("../fonts/clicker-script/ClickerScript-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  color: var(--dark);
  background: var(--page);
  font-family: "Catamaran", Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
}

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

.hero {
  position: relative;
  min-height: 870px;
  overflow: hidden;
  background: var(--page);
}

.hero-media {
  position: absolute;
  inset: 0 0 auto auto;
  width: min(88vw, 1360px);
  height: 870px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right top;
}

.hero-panel {
  position: relative;
  z-index: 3;
  width: calc(max(52px, (100vw - var(--canvas)) / 2) + 650px);
  padding: 50px 0 0 max(52px, calc((100vw - var(--canvas)) / 2));
}

.hero-panel > * {
  max-width: 650px;
}

.hero-logo-link {
  display: inline-block;
  margin-bottom: 20px;
  text-decoration: none;
}

.hero-logo {
  width: 270px;
  height: auto;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--muted);
  font-family: "Catamaran", Arial, Helvetica, sans-serif;
  font-size: 35px;
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-title {
  margin-bottom: 22px;
  color: var(--dark);
  font-family: "Castoro", Georgia, "Times New Roman", serif;
  font-size: 100px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.12;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-desc {
  margin-bottom: 44px;
  color: var(--dark);
  font-family: "Catamaran", Arial, Helvetica, sans-serif;
  font-size: 35px;
  font-weight: 400;
  font-style: normal;
  line-height: 164%;
  letter-spacing: 0;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 470px;
  min-width: 345px;
  min-height: 74px;
  padding: 18px 36px;
  gap: 32px;
  color: #f5f3ed;
  background: var(--dark);
  font-size: 23px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.section {
  width: min(100% - 104px, var(--canvas));
  margin: 0 auto;
}

.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 42px;
  color: #3a4642;
  font-size: 27px;
  font-weight: 600;
  line-height: 1.18;
  text-transform: uppercase;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 86px;
  height: 1px;
  background: var(--accent);
}

.offer {
  padding: 54px 0 82px;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(46px, 6vw, 110px);
}

.offer-card {
  color: #394642;
  font-family: "Catamaran", Arial, Helvetica, sans-serif;
  font-size: 17px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.58;
  letter-spacing: 0;
  text-align: center;
}

.offer-icon {
  display: grid;
  place-items: center;
  width: 116px;
  height: 116px;
  margin: 0 auto 22px;
  border: 2px solid #b9b8b3;
  border-radius: 50%;
  background: #f1efea;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.18);
}

.offer-icon img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.offer-card h3 {
  margin: 0 auto 16px;
  max-width: 270px;
  color: #46524e;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
}

.text-section {
  padding: 64px 0;
}

.intro-section {
  padding-top: 82px;
  padding-bottom: 48px;
}

.haccp-info {
  padding-top: 12px;
}

.support-section {
  padding-top: 58px;
  padding-bottom: 76px;
}

.text-title {
  margin-bottom: 28px;
  color: #46524e;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
}

.text-block {
  max-width: 1390px;
  color: #46524e;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.72;
}

.text-block p + p {
  margin-top: 28px;
}

.support-list {
  display: grid;
  gap: 30px;
}

.support-item h3 {
  display: inline-block;
  margin-bottom: 12px;
  color: #46524e;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

.details {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  border-top: 1px solid var(--line);
}

.details-column {
  padding: 58px 0 72px;
}

.details-column + .details-column {
  padding-left: clamp(64px, 7vw, 120px);
  border-left: 1px solid var(--line);
}

.trust-list,
.audience-list {
  list-style: none;
}

.trust-list {
  display: grid;
  gap: 20px;
  max-width: 610px;
}

.trust-list li {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 72px;
  padding-left: 118px;
  color: #46524e;
  font-family: "Catamaran", Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: 400;
  font-style: normal;
  line-height: 164%;
  letter-spacing: 0.02em;
}

.trust-list li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 72px;
  height: 62px;
  background: url("../icons/haccp/check.svg") center / contain no-repeat;
  transform: translateY(-50%);
}

.audience-list {
  display: grid;
  gap: 28px;
}

.audience-list li {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: center;
  gap: 20px;
  color: #46524e;
  font-family: "Catamaran", Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: 400;
  font-style: normal;
  line-height: 164%;
  letter-spacing: 0.02em;
}

.audience-list img {
  width: 80px;
  height: auto;
  max-height: 80px;
  object-fit: contain;
}

.image-break {
  height: 300px;
  overflow: hidden;
}

.image-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.contact {
  color: #e9e4d7;
  background: var(--dark);
}

.contact-inner {
  width: min(100% - 104px, var(--canvas));
  margin: 0 auto;
  padding: 54px 0 72px;
}

.contact-lead {
  max-width: 980px;
  margin-bottom: 34px;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.04em;
}

.script {
  margin-bottom: 10px;
  font-family: "Clicker Script", "Brush Script MT", cursive;
  font-size: 64px;
  line-height: 1.2;
}

.script::after {
  content: "";
  display: block;
  width: 86px;
  height: 2px;
  margin-top: 10px;
  background: var(--accent);
}

.contact-line {
  height: 1px;
  margin: 34px 0;
  background: rgba(233, 228, 215, 0.45);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 80px;
  text-decoration: none;
}

.contact-item + .contact-item {
  padding-left: 90px;
  border-left: 1px solid rgba(233, 228, 215, 0.45);
}

.contact-icon {
  min-width: 52px;
  color: #f2ead7;
  font-size: 58px;
  line-height: 1;
}

.contact-item strong {
  display: block;
  margin-bottom: 3px;
  font-size: 25px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

.contact-item span:last-child {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

@media (max-width: 1050px) {
  .hero-panel {
    width: min(56vw, 620px);
    padding-left: 54px;
  }

  .hero-title {
    font-size: 64px;
  }

  .hero-btn {
    max-width: 390px;
    font-size: 20px;
  }

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

@media (max-width: 760px) {
  .hero {
    min-height: auto;
    display: flex;
    flex-direction: column-reverse;
  }

  .hero::before {
    display: none;
  }
  
  .hero-media {
    position: static;
    width: 100%;
    height: 420px;
  }

  .hero-panel {
    width: 100%;
    padding: 34px 28px 46px;
  }

  .hero-logo-link {
    margin-bottom: 58px;
  }

  .hero-title {
    font-size: 52px;
  }

  .hero-desc,
  .contact-lead {
    font-size: 22px;
  }

  .section,
  .contact-inner {
    width: min(100% - 40px, var(--canvas));
  }

  .text-section {
    padding: 52px 0;
  }

  .intro-section {
    padding-top: 58px;
  }

  .text-block {
    font-size: 16px;
  }

  .offer-grid,
  .details,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .details-column + .details-column,
  .contact-item + .contact-item {
    padding-left: 0;
    border-left: 0;
  }

  .details-column + .details-column {
    border-top: 1px solid var(--line);
  }

  .contact-grid {
    gap: 24px;
  }
}

@media (max-width: 520px) {
  .hero-media {
    height: 330px;
  }

  .hero-logo {
    width: 190px;
  }

  .eyebrow {
    font-size: 18px;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-btn {
    width: 100%;
    max-width: none;
    min-width: 0;
    font-size: 18px;
  }

  .offer-grid {
    gap: 34px;
  }

  .offer-card {
    font-size: 16px;
  }

  .offer-card h3,
  .text-title {
    font-size: 21px;
  }

  .contact-item {
    align-items: flex-start;
  }
}
