:root {
  --brown-950: #2d1712;
  --brown-900: #40231c;
  --brown-800: #5d342a;
  --brown-700: #74483a;
  --beige: #fae6c1;
  --beige-100: #fff8eb;
  --cream: #fffdf8;
  --terracotta: #bd694c;
  --ink: #261c19;
  --muted: #71635e;
  --line: rgba(64, 35, 28, .16);
  --shadow: 0 24px 60px rgba(64, 35, 28, .14);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; color: white; background: var(--brown-950); transform: translateY(-140%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 50; color: var(--brown-900); background: rgba(255, 248, 235, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.brand img { width: 190px; height: auto; }
.brand span { padding-left: 16px; border-left: 1px solid var(--line); color: var(--brown-700); font-size: 13px; letter-spacing: .11em; text-transform: uppercase; white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav a { color: var(--brown-700); font-size: 14px; font-weight: 650; text-decoration: none; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--brown-950); }
.main-nav .nav-cta { padding: 11px 17px; color: var(--beige); background: var(--brown-900); border-radius: 999px; }
.menu-toggle { display: none; padding: 8px 13px; color: var(--brown-900); background: transparent; border: 1px solid var(--line); border-radius: 999px; font: inherit; }

.hero { position: relative; overflow: hidden; background: var(--beige); }
.hero::before { content: ""; position: absolute; width: 520px; height: 520px; top: -300px; left: -180px; border: 1px solid rgba(93,52,42,.2); border-radius: 50%; }
.hero-grid { min-height: 680px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 72px; padding-block: 74px 82px; }
.eyebrow { margin: 0 0 14px; color: var(--terracotta); font-size: 13px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; color: var(--brown-900); font-family: Georgia, "Times New Roman", serif; line-height: 1.08; }
h1 { max-width: 720px; margin-bottom: 24px; font-size: clamp(48px, 6vw, 79px); font-weight: 500; letter-spacing: -.045em; }
h2 { margin-bottom: 18px; font-size: clamp(36px, 4vw, 54px); font-weight: 500; letter-spacing: -.035em; }
h3 { margin-bottom: 10px; font-size: 25px; font-weight: 500; }
.lead { max-width: 640px; margin: 0; color: #5f4c46; font-size: 19px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 54px; padding: 14px 24px; border-radius: 999px; font-weight: 750; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--beige-100); background: var(--brown-900); box-shadow: 0 10px 24px rgba(64,35,28,.2); }
.button-primary:hover { background: var(--brown-800); }
.button-light { color: var(--brown-950); background: var(--beige); }
.text-link { color: var(--brown-900); font-weight: 750; text-underline-offset: 5px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 34px 0 0; padding: 0; color: var(--brown-700); font-size: 13px; font-weight: 700; list-style: none; }
.hero-points li::before { content: "✓"; margin-right: 7px; color: var(--terracotta); }

.product-stage { position: relative; min-height: 520px; display: grid; place-items: center; }
.product-stage::before { content: ""; position: absolute; inset: 12% 0 2% 10%; background: var(--brown-800); border-radius: 48% 52% 49% 51% / 45% 44% 56% 55%; transform: rotate(-5deg); }
.product-card { position: relative; width: min(410px, 86%); padding: 0; overflow: hidden; background: #fff; border: 8px solid rgba(255,255,255,.9); border-radius: var(--radius); box-shadow: var(--shadow); transform: rotate(1.5deg); }
.product-card img { width: 100%; height: 500px; object-fit: cover; object-position: center 58%; }
.stamp { position: absolute; z-index: 3; top: 18px; right: 4px; width: 124px; height: 124px; display: grid; place-content: center; padding: 12px; color: var(--beige); background: var(--terracotta); border: 4px solid var(--beige); outline: 1px solid var(--terracotta); border-radius: 50%; text-align: center; font-size: 12px; line-height: 1.25; text-transform: uppercase; transform: rotate(8deg); }
.stamp strong { font-size: 15px; }
.bean { position: absolute; z-index: 4; display: block; width: 29px; height: 44px; background: var(--brown-950); border-radius: 52% 48% 50% 50%; transform: rotate(35deg); box-shadow: 0 5px 10px rgba(45,23,18,.18); }
.bean::after { content: ""; position: absolute; top: 5px; bottom: 5px; left: 50%; width: 2px; background: var(--beige); border-radius: 50%; transform: rotate(11deg); }
.bean-one { left: 3%; bottom: 14%; }
.bean-two { right: 1%; bottom: 7%; transform: rotate(-22deg) scale(.72); }

.stats { color: var(--beige); background: var(--brown-900); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stats-grid div { min-height: 132px; display: flex; flex-direction: column; justify-content: center; padding: 26px 48px; border-left: 1px solid rgba(250,230,193,.18); }
.stats-grid div:last-child { border-right: 1px solid rgba(250,230,193,.18); }
.stats strong { color: white; font-family: Georgia, "Times New Roman", serif; font-size: 34px; font-weight: 500; line-height: 1.1; }
.stats span { margin-top: 6px; color: rgba(250,230,193,.72); font-size: 13px; font-weight: 700; letter-spacing: .04em; }

.section { padding-block: 110px; }
.section-heading { max-width: 720px; margin-bottom: 48px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-card { padding: 34px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.step-number { display: block; margin-bottom: 50px; color: var(--terracotta); font-size: 13px; font-weight: 850; letter-spacing: .15em; }
.step-card p { margin-bottom: 0; color: var(--muted); }
.section-soft { background: var(--beige-100); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: end; }
.split p:not(.eyebrow) { margin-top: 0; color: var(--muted); font-size: 18px; }

.cta-section { padding: 34px 0 90px; background: var(--beige-100); }
.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 52px 58px; color: var(--beige); background: var(--brown-900); border-radius: var(--radius); }
.cta-box h2 { margin: 0; color: white; }
.cta-box .eyebrow { color: var(--beige); opacity: .68; }

.page-hero { padding: 84px 0 74px; background: var(--beige); }
.page-hero .shell { max-width: 960px; }
.page-hero h1 { max-width: 900px; font-size: clamp(44px, 6vw, 72px); }
.page-hero .lead { max-width: 780px; }
.content-section { padding-block: 86px 110px; }
.content-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.content-card { padding: 34px; background: white; border: 1px solid var(--line); border-radius: 22px; }
.content-card.wide { grid-column: 1 / -1; }
.content-card p:last-child { margin-bottom: 0; }
.content-card .meta { color: var(--terracotta); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.coffee-showcase { display: grid; grid-template-columns: minmax(300px, .82fr) 1fr; align-items: center; gap: clamp(44px, 7vw, 100px); }
.coffee-showcase > div:last-child { max-width: 560px; }
.coffee-showcase > div:last-child > p:not(.eyebrow) { color: var(--muted); font-size: 18px; }
.portrait-frame { position: relative; max-width: 470px; padding: 12px; background: white; border-radius: var(--radius); box-shadow: var(--shadow); transform: rotate(-1.5deg); }
.portrait-frame::before { content: ""; position: absolute; z-index: -1; inset: -26px 28px 30px -26px; background: var(--brown-800); border-radius: 38% 62% 42% 58% / 48% 41% 59% 52%; transform: rotate(4deg); }
.portrait-frame img { width: 100%; height: 500px; object-fit: cover; object-position: center 56%; border-radius: 18px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contact-card { padding: 40px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-card a { color: var(--brown-800); font-size: 20px; font-weight: 750; text-underline-offset: 5px; }

.site-footer { padding: 0 0 24px; color: rgba(255,255,255,.72); background: var(--brown-950); }
.site-footer::before { content: ""; display: block; width: 100%; height: 150px; margin-bottom: 66px; background: linear-gradient(rgba(45,23,18,.16), rgba(45,23,18,.16)), url("/assets/predplatne-hero.webp") center 52% / cover no-repeat; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 70px; }
.footer-brand img { width: 250px; margin-bottom: 20px; }
.site-footer h2 { margin-bottom: 14px; color: var(--beige); font-family: inherit; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.site-footer a { display: block; width: fit-content; margin-block: 7px; color: white; text-underline-offset: 4px; }
.site-footer p { margin: 7px 0; }
.footer-bottom { margin-top: 52px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }

@media (max-width: 980px) {
  .brand span { display: none; }
  .menu-toggle { display: inline-flex; }
  .main-nav { position: absolute; top: 74px; right: 20px; left: 20px; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 12px; background: var(--brown-950); border: 1px solid rgba(250,230,193,.18); border-radius: 18px; box-shadow: 0 18px 40px rgba(0,0,0,.24); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 14px; color: rgba(255,255,255,.76); }
  .main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--beige); }
  .main-nav .nav-cta { margin-top: 8px; color: var(--brown-950); background: var(--beige); text-align: center; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; padding-top: 64px; }
  .hero-copy { max-width: 760px; }
  .product-stage { min-height: 470px; }
  .product-card { width: min(420px, 78%); }
  .split { gap: 48px; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 28px, 1160px); }
  .site-header .shell { width: min(100% - 28px, 1160px); }
  .nav-wrap { min-height: 72px; }
  .brand img { width: 172px; }
  h1 { font-size: clamp(43px, 13vw, 62px); }
  h2 { font-size: 38px; }
  .hero-grid { min-height: auto; padding-block: 52px 62px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .button { width: 100%; }
  .product-stage { min-height: 410px; }
  .product-stage::before { inset: 11% 2% 2% 4%; }
  .product-card { width: 76%; }
  .stamp { top: 2px; right: 1px; width: 106px; height: 106px; }
  .stats-grid { grid-template-columns: 1fr; padding-block: 8px; }
  .stats-grid div { min-height: 96px; padding: 20px 8px; border: 0; border-bottom: 1px solid rgba(250,230,193,.16); }
  .stats-grid div:last-child { border: 0; }
  .section { padding-block: 76px; }
  .steps, .content-grid, .contact-grid, .split, .footer-grid, .coffee-showcase { grid-template-columns: 1fr; }
  .step-number { margin-bottom: 28px; }
  .content-card.wide { grid-column: auto; }
  .split { gap: 12px; }
  .cta-box { align-items: flex-start; flex-direction: column; padding: 38px 28px; }
  .footer-grid { gap: 34px; }
  .portrait-frame { width: 84%; margin-inline: auto; }
}

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