@font-face {
  font-family: "HelveticaNeueCyr";
  src: url("assets/fonts/HelveticaThin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "HelveticaNeueCyr";
  src: url("assets/fonts/HelveticaNeueCyr-Roman.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "HelveticaNeueCyr";
  src: url("assets/fonts/HelveticaMedium_0.ttf") format("truetype");
  font-weight: 550;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Panton";
  src: url("assets/fonts/Panton-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Panton";
  src: url("assets/fonts/Panton-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-text: #111111;
  --color-muted: #747276;
  --color-soft: #f4f5f3;
  --color-stone: #e7e4df;
  --color-ink: #171719;
  --color-ink-2: #232326;
  --color-line: #9a9692;
  --color-accent: #b4574f;
  --color-accent-2: #d68643;
  --container: 1180px;
  --section-gap: 104px;
  --font-main: "HelveticaNeueCyr", Arial, Helvetica, sans-serif;
  --font-display: "Panton", "HelveticaNeueCyr", Arial, Helvetica, sans-serif;
  --shadow-soft: 0 18px 60px rgba(17, 17, 17, .10);
  --shadow-card: 0 14px 34px rgba(17, 17, 17, .08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background: #f7f7f5;
  font-family: var(--font-main);
  font-size: 19px;
  line-height: 1.25;
}

main {
  max-width: 1680px;
  margin: 0 auto;
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0, #ffffff 18%, #f7f7f5 18%, #f7f7f5 100%);
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 28px 0 22px;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(17, 17, 17, .07);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 20px;
  white-space: nowrap;
}

.brand-logo {
  width: 180px;
  height: auto;
}

.brand-coffee {
  font-size: 34px;
  line-height: 1;
  font-weight: 100;
  letter-spacing: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #5e5b5d;
  font-size: 16px;
  font-weight: 550;
}

.main-nav a {
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--color-text);
  border-color: rgba(17, 17, 17, .14);
  background: #fff;
}

.hero {
  padding: 28px 0 0;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  align-items: center;
  gap: 68px;
  min-height: 650px;
  padding: 78px 72px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 78% 18%, rgba(180, 87, 79, .34), transparent 28%),
    linear-gradient(135deg, #151517 0%, #2a292b 58%, #3d3634 100%);
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
}

.hero-grid::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -170px;
  width: 640px;
  height: 640px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 50%;
}

.hero-copy,
.hero-media {
  position: relative;
  z-index: 1;
}

.hero h1,
.line-lead {
  margin: 0;
  color: inherit;
  font-size: 64px;
  line-height: 1.02;
  font-weight: 100;
}

.hero h1 {
  max-width: 760px;
}

.intro-text {
  max-width: 660px;
  margin-top: 34px;
  color: rgba(255, 255, 255, .78);
  font-size: 19px;
  line-height: 1.36;
}

.intro-text p {
  margin: 0 0 12px;
  text-align: justify;
}

.hero-media {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-media img {
  width: min(380px, 100%);
  filter: drop-shadow(0 30px 46px rgba(0, 0, 0, .48));
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 42px;
}

.tag-list a,
.buy-button,
.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 1.5px solid rgba(17, 17, 17, .18);
  border-radius: 999px;
  color: var(--color-text);
  background: #fff;
  font: 700 17px/1 var(--font-display);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}

.tag-list a {
  min-width: 168px;
  padding: 0 20px;
  border-color: rgba(255, 255, 255, .24);
  color: #fff;
  background: rgba(255, 255, 255, .10);
}

.tag-list a:hover,
.tag-list a:focus-visible {
  transform: translateY(-1px);
  background: #fff;
  color: var(--color-text);
}

.feature-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, .10);
  border-radius: 22px;
  background: rgba(17, 17, 17, .10);
  box-shadow: var(--shadow-card);
}

.feature-panel article {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 20px;
  min-width: 0;
  padding: 30px 32px;
  background: #fff;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #f1efec;
}

.feature-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.feature-panel h2 {
  margin: 0 0 5px;
  color: var(--color-text);
  font-size: 17px;
  line-height: 1.08;
}

.feature-panel p {
  margin: 0;
  color: var(--color-muted);
  font-size: 17px;
  line-height: 1.2;
  font-weight: 550;
}

.line-section {
  padding-top: var(--section-gap);
}

.section-title {
  display: grid;
  grid-template-columns: minmax(70px, 148px) 1fr;
  align-items: center;
  gap: 18px;
  margin-left: calc((min(1680px, 100vw) - min(var(--container), calc(100vw - 48px))) / -2);
}

.section-title span {
  display: block;
  height: 24px;
  background: linear-gradient(90deg, var(--color-accent), #5c595d);
}

.section-title h2 {
  font-family: var(--font-display);
  margin: 0;
  font-size: 36px;
  line-height: 1.05;
  font-weight: 700;
}

.line-lead {
  margin-top: 28px;
  color: #6d6b6e;
  font-size: 60px;
}

.line-subtitle {
  margin: 10px 0 0;
  color: var(--color-muted);
  font-size: 21px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 30px;
  margin-top: 42px;
}

.product-grid-six {
  row-gap: 54px;
}

@media (min-width: 901px) {
  .product-grid {
    position: relative;
    top: -50px;
    margin-bottom: -50px;
  }
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 660px;
  padding: 30px 28px 28px;
  overflow: hidden;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, .08);
  border-bottom: 0;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 160px;
  background: linear-gradient(180deg, #f1f0ed, rgba(255, 255, 255, 0));
  pointer-events: none;
}

.product-card.marketplace {
  min-height: 742px;
  padding-top: 24px;
  background:
    linear-gradient(180deg, rgba(28, 28, 30, .54) 0, rgba(214, 214, 214, .96) 24%, rgba(214, 214, 214, .96) 100%);
}

.product-card.marketplace::before {
  display: none;
}

.market-label {
  position: relative;
  z-index: 1;
  min-height: 70px;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .18);
  font-size: 27px;
  line-height: 1.2;
  font-weight: 100;
  text-transform: uppercase;
}

.market-label::first-line {
  font-size: 32px;
}

.product-card img {
  position: relative;
  z-index: 1;
  width: 210px;
  height: 354px;
  object-fit: contain;
  margin-bottom: 22px;
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .20));
}

.product-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 7px;
  font-size: 25px;
  line-height: 1.12;
  font-weight: 550;
}

.product-card .origin {
  margin: 0 0 12px;
  color: var(--color-muted);
  font-weight: 550;
}

.product-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 18px;
  line-height: 1.22;
}

.buy-button {
  width: 176px;
  margin-top: 28px;
  padding: 0 14px;
  color: #fff;
  background: var(--color-ink);
  border-color: var(--color-ink);
}

.buy-button:hover,
.buy-button:focus-visible,
.submit-button:hover,
.submit-button:focus-visible {
  transform: translateY(-1px);
  color: #fff;
  background: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: 0 12px 28px rgba(180, 87, 79, .24);
}

.contact-section {
  margin-top: 92px;
  padding: 76px 0 82px;
  background: linear-gradient(135deg, #1a1a1c, #2a292b);
  color: #fff;
}

.contact-marker {
  grid-template-columns: minmax(70px, 148px) 1fr;
}

.contact-marker h2 {
  font-family: var(--font-display);
  color: #fff;
  text-align: center;
  font-size: 31px;
  font-weight: 700;
}
.contact-marker span{
  opacity: 0;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 24px;
  width: min(980px, 100%);
  margin: 38px auto 0;
}

.lead-form label:not(.privacy-consent) {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: rgba(255, 255, 255, .78);
  font-size: 15px;
  font-weight: 550;
}

.lead-form label:not(.privacy-consent) input {
  width: 100%;
  height: 56px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font: 18px/1 var(--font-main);
  outline: none;
}

.lead-form label:not(.privacy-consent) input:focus {
  border-color: rgba(255, 255, 255, .72);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .10);
}

.privacy-consent {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
  color: rgba(255, 255, 255, .72);
  font-size: 15px;
  line-height: 1.25;
  text-align: center;
}

.privacy-consent input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--color-accent);
  flex: 0 0 auto;
}

.privacy-consent a {
  border-bottom: 1px solid currentColor;
}

.privacy-consent a:hover,
.privacy-consent a:focus-visible {
  color: #fff;
}

.submit-button {
  grid-column: 2;
  width: 190px;
  margin: 8px auto 0;
  cursor: pointer;
  color: var(--color-text);
  background: #fff;
  border-color: #fff;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: rgba(255, 255, 255, .72);
  text-align: center;
  font-size: 16px;
}

.site-footer {
  padding: 44px 0 62px;
  background: #f7f7f5;
}

.footer-inner {
  /*display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 80px;*/
  color: #6f6d70;
  font-size: 18px;
  font-weight: 550;
  max-width: 960px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner p:last-child {
  text-align: center;
}

.cookie-notice {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  width: min(520px, calc(100% - 48px));
  padding: 16px 18px;
  border: 1px solid rgba(17, 17, 17, .12);
  border-radius: 16px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .14);
}

.cookie-notice.is-hidden {
  display: none;
}

.cookie-notice p {
  margin: 0;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.25;
}

.cookie-close {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--color-ink);
  border-radius: 999px;
  background: var(--color-ink);
  color: #fff;
  font: 700 15px/1 var(--font-display);
  cursor: pointer;
}

.cookie-close:hover,
.cookie-close:focus-visible {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.message-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.message-modal.is-open {
  display: flex;
}

.message-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 11, .62);
  backdrop-filter: blur(8px);
}

.message-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  padding: 34px 30px 28px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 90px rgba(0, 0, 0, .34);
  text-align: center;
}

.message-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f1f0ed;
  cursor: pointer;
}

.message-modal__close::before,
.message-modal__close::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 16px;
  width: 14px;
  height: 2px;
  background: #5e5b5d;
}

.message-modal__close::before {
  transform: rotate(45deg);
}

.message-modal__close::after {
  transform: rotate(-45deg);
}

.message-modal__icon {
  position: relative;
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #dff2e5;
}

.message-modal__icon::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 19px;
  width: 20px;
  height: 11px;
  border-left: 4px solid #2f7b4b;
  border-bottom: 4px solid #2f7b4b;
  border-radius: 1px;
  transform: rotate(-45deg);
}

.message-modal.is-error .message-modal__icon {
  background: var(--color-accent);
}

.message-modal.is-error .message-modal__icon::before,
.message-modal.is-error .message-modal__icon::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 27px;
  width: 22px;
  height: 3px;
  margin: 0;
  border: 0;
  background: #fff;
  transform: rotate(45deg);
}

.message-modal.is-error .message-modal__icon::after {
  transform: rotate(-45deg);
}

.message-modal__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 27px;
  line-height: 1.12;
}

.message-modal__text {
  margin: 0;
  color: var(--color-muted);
  font-size: 18px;
  line-height: 1.35;
}

.message-modal__button {
  min-width: 150px;
  min-height: 48px;
  margin-top: 24px;
  border: 1px solid var(--color-ink);
  border-radius: 999px;
  background: var(--color-ink);
  color: #fff;
  font: 700 16px/1 var(--font-display);
  cursor: pointer;
}

.message-modal__button:hover,
.message-modal__button:focus-visible {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.message-modal__close:hover,
.message-modal__close:focus-visible {
  background: #e8e5df;
}

@media (max-width: 1100px) {
  :root {
    --section-gap: 84px;
  }

  .brand-logo {
    width: 170px;
  }

  .brand-coffee {
    font-size: 30px;
  }

  .hero-grid {
    gap: 42px;
    padding: 58px 46px;
  }

  .hero h1,
  .line-lead {
    font-size: 50px;
  }

  .feature-panel article {
    grid-template-columns: 48px 1fr;
    gap: 16px;
    padding: 26px 24px;
  }

  .feature-icon {
    width: 48px;
    height: 48px;
  }

  .feature-icon img {
    width: 30px;
    height: 30px;
  }

  .product-grid {
    gap: 22px;
  }

  .product-card {
    padding-inline: 20px;
  }
}

@media (max-width: 900px) {
  body {
    font-size: 18px;
  }

  .container {
    width: min(100% - 36px, var(--container));
  }

  .site-header {
    position: static;
    padding: 18px 0 18px;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 42px 30px;
    border-radius: 24px;
  }

  .hero-media {
    order: -1;
  }

  .hero-media img {
    width: 230px;
  }

  .intro-text {
    max-width: none;
    margin-top: 26px;
    font-size: 18px;
  }

  .tag-list {
    margin-top: 30px;
    gap: 10px;
  }

  .feature-panel {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    margin-top: 36px;
  }

  .product-card,
  .product-card.marketplace {
    min-height: 0;
  }

  .lead-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .submit-button {
    grid-column: 1 / -1;
  }

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

  .footer-inner p:last-child {
    text-align: left;
  }
}

@media (max-width: 620px) {
  :root {
    --section-gap: 64px;
  }

  body {
    font-size: 17px;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .brand {
    gap: 12px;
  }

  .brand-logo {
    width: 150px;
  }

  .brand-coffee {
    font-size: 26px;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    font-size: 15px;
  }

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

  .hero-grid {
    padding: 34px 22px;
  }

  .hero-grid::after {
    display: none;
  }

  .hero h1,
  .line-lead {
    font-size: 38px;
  }

  .intro-text {
    font-size: 16px;
    line-height: 1.32;
  }

  .section-title {
    grid-template-columns: 54px 1fr;
    gap: 12px;
    margin-left: -14px;
  }

  .section-title span {
    height: 22px;
  }

  .section-title h2 {
    font-size: 27px;
  }

  .tag-list a {
    min-width: 0;
    flex: 1 1 150px;
    min-height: 48px;
    font-size: 15px;
  }

  .product-grid,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .product-grid-six {
    row-gap: 30px;
  }

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

  .product-card.marketplace {
    padding-top: 18px;
  }

  .product-card img {
    width: 178px;
    height: 306px;
  }

  .product-card h3 {
    font-size: 24px;
  }

  .product-card p {
    font-size: 16px;
  }

  .buy-button,
  .submit-button {
    min-height: 48px;
    font-size: 15px;
  }

  .contact-section {
    margin-top: 64px;
    padding-top: 62px;
  }

  .contact-marker h2 {
    text-align: left;
    font-size: 24px;
  }

  .privacy-consent {
    align-items: flex-start;
    text-align: left;
  }

  .cookie-notice {
    right: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 13px;
  }

  .cookie-notice p {
    font-size: 12px;
  }

  .cookie-close {
    min-height: 34px;
    padding: 0 12px;
    font-size: 12px;
  }
}

@media (max-width: 390px) {
  .hero h1,
  .line-lead {
    font-size: 34px;
  }
}
