:root {
  --ink: #302923;
  --ink-soft: #4c423a;
  --muted: #71675f;
  --cream: #f4eee4;
  --cream-light: #fbf8f2;
  --card: #fffaf3;
  --amber: #c76c31;
  --amber-dark: #a95422;
  --logo-orange: #f46b27;
  --brown: #3a302a;
  --line: rgba(48, 41, 35, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: "Open Sans", Arial, sans-serif; font-size: 18px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.shell { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }

.logo { display: inline-flex; align-items: center; font-family: Arial, sans-serif; font-weight: 950; font-size: 32px; line-height: 1; letter-spacing: -.055em; text-transform: uppercase; }
.logo__pin { width: 39px; height: 47px; margin: 0 1px 0 -1px; padding-top: 3px; display: grid; place-items: start center; color: var(--cream); background: var(--logo-orange); clip-path: polygon(50% 100%, 4% 39%, 7% 19%, 21% 5%, 42% 0, 63% 3%, 81% 14%, 94% 32%, 89% 54%); }

.header { min-height: 88px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.header__route { display: inline-flex; gap: 9px; align-items: center; color: var(--ink-soft); font-size: 15px; font-weight: 600; }
.header__route:hover { color: var(--amber-dark); }

.hero { overflow: hidden; background: radial-gradient(circle at 82% 28%, rgba(199,108,49,.08), transparent 24%), var(--cream-light); }
.hero__grid { min-height: 670px; padding: 64px 0 78px; display: grid; grid-template-columns: 56% 44%; align-items: center; }
.hero__content { position: relative; z-index: 2; padding-right: 40px; }
.eyebrow, .section-tag { margin: 0 0 20px; color: var(--amber-dark); font-size: 15px; line-height: 1.4; font-weight: 600; }
.eyebrow { display: flex; align-items: center; gap: 11px; }
.eyebrow > span { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
h1 { max-width: 660px; margin: 0; font-size: clamp(48px, 5.5vw, 72px); line-height: 1.05; letter-spacing: -.045em; font-weight: 700; }
.hero__lead { max-width: 620px; margin: 25px 0 31px; color: var(--muted); font-size: clamp(19px, 1.65vw, 22px); line-height: 1.58; }
.hero__actions { display: flex; align-items: center; gap: 27px; }
.button { min-height: 54px; width: fit-content; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; border-radius: 10px; font-size: 15px; font-weight: 700; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--accent { color: #fff; background: var(--amber); box-shadow: 0 9px 24px rgba(169,84,34,.14); }
.button--accent:hover { background: var(--amber-dark); }
.text-link { padding: 7px 0 5px; border-bottom: 1px solid rgba(169,84,34,.45); color: var(--ink-soft); font-size: 15px; font-weight: 600; }
.text-link:hover { color: var(--amber-dark); border-color: var(--amber-dark); }
.hero__note { margin: 42px 0 0; padding-left: 17px; border-left: 3px solid rgba(199,108,49,.5); color: var(--muted); font-size: 15px; line-height: 1.65; }
.hero__note strong { color: var(--ink-soft); font-weight: 700; }
.hero__visual { min-height: 525px; position: relative; align-self: end; }
.hero__soft-shape { position: absolute; inset: 38px 8% 8px 7%; border-radius: 46% 54% 45% 55% / 54% 47% 53% 46%; background: #e7d5bf; }
.hero__soft-shape::after { content: ""; position: absolute; width: 72%; height: 72%; right: -12%; top: -10%; border: 1px solid rgba(169,84,34,.2); border-radius: 50%; }
.hero__mascot { position: absolute; z-index: 2; left: 50%; bottom: 1px; width: min(430px, 37vw); max-height: 510px; object-fit: contain; object-position: bottom center; transform: translateX(-49%); filter: drop-shadow(0 18px 22px rgba(48,41,35,.12)); }
.hero__caption { position: absolute; z-index: 3; right: -6px; bottom: 30px; padding: 14px 18px; display: flex; align-items: center; gap: 11px; border: 1px solid rgba(48,41,35,.1); border-radius: 13px; color: var(--muted); background: rgba(255,250,243,.94); box-shadow: 0 12px 34px rgba(48,41,35,.09); font-size: 13px; line-height: 1.45; }
.hero__caption strong { color: var(--ink); font-size: 14px; }
.hero__caption-dot { width: 10px; height: 10px; flex: 0 0 auto; border-radius: 50%; background: var(--amber); }

.reasons { padding: 110px 0 120px; background: var(--cream); }
.section-head { margin-bottom: 50px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 90px; align-items: end; }
.section-head h2, .fresh h2, .contacts h2 { margin: 0; font-size: clamp(36px, 4vw, 52px); line-height: 1.16; letter-spacing: -.035em; font-weight: 700; }
.section-head > p { max-width: 490px; margin: 0 0 3px; color: var(--muted); font-size: 17px; line-height: 1.68; }
.reasons__grid { display: grid; grid-template-columns: 1.18fr .82fr; grid-template-rows: repeat(2, 228px); gap: 16px; }
.reason { min-width: 0; position: relative; overflow: hidden; padding: 27px 28px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.reason--beer { grid-row: 1 / span 2; background: #efe0cf; }
.reason__number { position: relative; z-index: 2; color: var(--amber-dark); font-size: 13px; font-weight: 600; }
.reason__copy { position: relative; z-index: 2; margin-top: auto; max-width: 57%; }
.reason h3 { margin: 0 0 14px; font-size: 25px; line-height: 1.25; font-weight: 700; }
.reason p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.reason__mascot { position: absolute; z-index: 1; right: -18px; bottom: -54px; width: 48%; height: auto; pointer-events: none; filter: drop-shadow(0 15px 20px rgba(48,41,35,.09)); }
.reason--beer .reason__copy { max-width: 49%; }
.reason--beer .reason__mascot { right: -16px; bottom: -78px; width: 58%; }
.reason--fresh .reason__mascot { right: -4px; bottom: -82px; width: 46%; }
.reason--snacks .reason__mascot { right: -15px; bottom: -85px; width: 47%; }

.fresh { padding: 105px 0; color: #fff; background: var(--brown); }
.fresh__grid { display: grid; grid-template-columns: 1fr .88fr; gap: 100px; align-items: start; }
.section-tag--light { color: #e2ae86; }
.fresh__intro > p:last-child { max-width: 610px; margin: 25px 0 0; color: rgba(255,255,255,.76); font-size: 18px; line-height: 1.7; }
.fresh__proof { border-top: 1px solid rgba(255,255,255,.16); }
.fresh__proof > div { padding: 23px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.fresh__proof span { color: #efc29d; font-size: 15px; font-weight: 700; }
.fresh__proof p { margin: 7px 0 0; color: rgba(255,255,255,.72); font-size: 16px; line-height: 1.55; }

.gallery { padding: 110px 0 120px; background: var(--cream-light); }
.gallery__head { margin-bottom: 48px; }
.gallery__grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 285px; gap: 14px; }
.gallery__item { position: relative; overflow: hidden; border-radius: 14px; background: #ddd1c2; }
.gallery__item:nth-child(1) { grid-column: span 8; }
.gallery__item:nth-child(2) { grid-column: span 4; }
.gallery__item:nth-child(3), .gallery__item:nth-child(4), .gallery__item:nth-child(5) { grid-column: span 4; }
.gallery__item:nth-child(6) { grid-column: span 12; }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(35,29,25,.62), transparent 40%); opacity: .38; transition: opacity .25s ease; }
.gallery__item img { width: 100%; height: 100%; display: block; object-fit: cover; filter: saturate(.83) contrast(.98) sepia(.04); transition: transform .5s ease, filter .25s ease; }
.gallery__item span { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 16px; display: flex; align-items: center; justify-content: space-between; color: #fff; font-size: 13px; font-weight: 600; opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .25s ease; }
.gallery__item:hover img { transform: scale(1.025); filter: saturate(.95) contrast(1); }
.gallery__item:hover::after, .gallery__item:hover span { opacity: 1; }
.gallery__item:hover span { transform: translateY(0); }

.contacts { padding: 100px 0; color: #fff; background: #2d2622; }
.contacts__grid { display: grid; grid-template-columns: 1fr .9fr; gap: 105px; align-items: end; }
.contacts h2 { font-size: clamp(42px, 4.6vw, 61px); }
.contacts__grid > div:first-child > p:last-child { max-width: 540px; margin: 24px 0 0; color: rgba(255,255,255,.62); font-size: 17px; line-height: 1.65; }
.contacts__details { border-top: 1px solid rgba(255,255,255,.17); }
.contacts__details > div { padding: 20px 0; display: grid; grid-template-columns: 145px 1fr; gap: 20px; border-bottom: 1px solid rgba(255,255,255,.17); }
.contacts__details span { color: #d8a680; font-size: 13px; }
.contacts__details strong { font-size: 16px; font-weight: 600; }
.button--light { margin-top: 28px; color: var(--ink); background: var(--cream); }
.button--light:hover { background: #fff; }
.contacts__map { margin-top: 58px; overflow: hidden; border: 1px solid rgba(255,255,255,.15); border-radius: 18px; background: #211c19; }
.contacts__map iframe { width: 100%; height: 380px; display: block; border: 0; background: #eadbc9; }
.contacts__map-footer { min-height: 72px; padding: 15px 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.contacts__map-footer span { color: rgba(255,255,255,.58); font-size: 14px; }
.contacts__map-footer a { display: inline-flex; align-items: center; gap: 10px; color: #efc29d; font-size: 14px; font-weight: 700; }
.contacts__map-footer a:hover { color: #fff; }

.footer { padding: 27px 0; color: #fff; background: #211c19; }
.footer__inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 35px; align-items: center; }
.footer .logo { font-size: 21px; }
.footer .logo__pin { width: 27px; height: 32px; padding-top: 1px; }
.footer p { margin: 0; color: rgba(255,255,255,.48); font-size: 13px; }
.footer__inner > span { justify-self: end; font-size: 14px; font-weight: 700; }

@media (max-width: 960px) {
  .shell { width: min(100% - 42px, 760px); }
  .hero__grid { min-height: 610px; grid-template-columns: 58% 42%; }
  .hero__content { padding-right: 20px; }
  .hero__visual { min-height: 470px; }
  .hero__mascot { width: min(390px, 44vw); max-height: 455px; }
  .hero__caption { right: -10px; }
  .section-head, .fresh__grid, .contacts__grid { grid-template-columns: 1fr; gap: 42px; }
  .section-head > p { max-width: 630px; }
  .fresh__intro > p:last-child { max-width: 690px; }
  .reasons, .gallery { padding: 85px 0 95px; }
  .fresh, .contacts { padding: 85px 0; }
  .reasons__grid { grid-template-columns: 1fr 1fr; grid-template-rows: 340px 260px; }
  .reason--beer { grid-column: span 2; grid-row: auto; }
  .reason--beer .reason__mascot { width: min(390px, 52%); bottom: -90px; }
  .reason--fresh .reason__mascot, .reason--snacks .reason__mascot { width: 45%; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__item:nth-child(n) { grid-column: span 1; }
  .gallery__item:nth-child(1), .gallery__item:nth-child(6) { grid-column: span 2; }
}

@media (max-width: 650px) {
  body { font-size: 16px; }
  .shell { width: calc(100% - 30px); }
  .header { min-height: 76px; }
  .logo { font-size: 25px; }
  .logo__pin { width: 31px; height: 38px; padding-top: 2px; }
  .header__route { font-size: 0; }
  .header__route svg { width: 24px; height: 24px; }
  .hero__grid { min-height: 0; padding: 56px 0 65px; display: block; }
  .hero__content { padding-right: 0; }
  .eyebrow, .section-tag { margin-bottom: 15px; font-size: 14px; }
  h1 { font-size: clamp(42px, 13vw, 56px); line-height: 1.08; }
  .hero__lead { margin: 21px 0 26px; font-size: 18px; }
  .hero__actions { align-items: stretch; flex-direction: column; gap: 16px; }
  .button { width: 100%; }
  .text-link { width: fit-content; }
  .hero__note { margin-top: 32px; }
  .hero__visual { min-height: 430px; margin-top: 30px; }
  .hero__soft-shape { inset: 28px 2% 4px; }
  .hero__mascot { width: min(410px, 95vw); max-height: 415px; }
  .hero__caption { right: 0; bottom: 13px; }
  .section-head { margin-bottom: 34px; }
  .section-head h2, .fresh h2, .contacts h2 { font-size: 35px; line-height: 1.2; }
  .section-head > p, .fresh__intro > p:last-child { font-size: 16px; }
  .reasons__grid { display: grid; grid-template-columns: 1fr; grid-template-rows: none; }
  .reason, .reason--beer { grid-column: auto; grid-row: auto; min-height: 275px; }
  .reason__copy, .reason--beer .reason__copy { max-width: 62%; }
  .reason__mascot, .reason--beer .reason__mascot, .reason--fresh .reason__mascot, .reason--snacks .reason__mascot { right: -22px; bottom: -54px; width: 49%; }
  .reason--beer .reason__mascot { bottom: -62px; width: 53%; }
  .gallery__grid { display: block; }
  .gallery__item { height: 265px; display: block; margin-bottom: 11px; }
  .gallery__item--wide { height: 335px; }
  .gallery__item span { opacity: 1; transform: none; }
  .gallery__item::after { opacity: .72; }
  .contacts__details > div { grid-template-columns: 1fr; gap: 6px; }
  .contacts__map { margin-top: 40px; }
  .contacts__map iframe { height: 300px; }
  .contacts__map-footer { align-items: flex-start; flex-direction: column; gap: 10px; }
  .footer__inner { grid-template-columns: 1fr auto; }
  .footer p { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
