/* Orolio – pagrindinis stilius */

:root {
  --stone: #F1EFEA;      /* fonas */
  --sage: #D8DFD2;       /* šalavijas */
  --sage-deep: #A9B7A0;
  --blush: #EEDDD6;      /* dulkėta rožinė */
  --dough: #EDE1CB;
  --dough-light: #F7F0E3;
  --dough-dark: #D6C6A8;
  --ink: #33322F;        /* grafitas */
  --ink-soft: #6B6862;
  --paper: #FBFAF8;
  --mist: #E9E7E2;
  --basil: #8FA488;
  --line: #DEDAD3;

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }
a:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--ink); color: var(--paper);
  padding: 8px 14px; z-index: 20; border-radius: 4px;
}
.skip:focus { left: 8px; }

/* Tipografija */

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0; }
h1 {
  font-size: clamp(2.6rem, 6.4vw, 5.2rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 96;
}
h2 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 0.4em;
}
h3 { font-size: 1.35rem; font-weight: 600; margin-bottom: 0.35em; }
p { margin: 0 0 1em; max-width: 62ch; }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 34ch; color: var(--ink); }
.section__lead { color: var(--ink-soft); margin-bottom: 2.2rem; }

/* Mygtukai */

.btn {
  display: inline-block;
  font: 700 1rem/1 var(--sans);
  text-decoration: none;
  padding: 15px 24px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  transition: background-color .15s, color .15s;
}
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: transparent; color: var(--ink); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }

.link { font-weight: 700; text-underline-offset: 4px; }

/* Viršus */

.top {
  background: var(--sage);
  position: sticky; top: 0; z-index: 10;
}
.top__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 68px;
}
.logo {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 1.9rem;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.nav { display: flex; gap: clamp(12px, 2.4vw, 28px); align-items: center; font-weight: 500; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.nav__cta {
  border: 2px solid var(--ink); border-radius: 999px; padding: 7px 16px;
}
.nav__cta:hover { background: var(--ink); color: var(--paper); text-decoration: none !important; }

@media (max-width: 720px) {
  .nav a:not(.nav__cta) { display: none; }
}

/* Hero */

.hero {
  background: var(--sage);
  position: relative;
  padding: clamp(32px, 6vw, 72px) 0 clamp(56px, 8vw, 96px);
}
.hero__in {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}
.hero__text h1 { margin-bottom: 0.32em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }
.hero__art { margin: 0; }
.ravioli-grid { width: 100%; max-width: 460px; margin-left: auto; overflow: visible; }

/* vienintelis judesys – ravioliai „sugula“ įkrovus */
.r { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .r { animation: lay .7s cubic-bezier(.2,.8,.2,1) both; }
  .r1 { animation-delay: .05s; }
  .r2 { animation-delay: .17s; }
  .r3 { animation-delay: .29s; }
  .r4 { animation-delay: .41s; }
  .leaf { animation: leaf .6s .75s ease-out both; }
}
@keyframes lay {
  from { opacity: 0; transform: translateY(-14px) rotate(-6deg) scale(.94); }
  to   { opacity: 1; transform: none; }
}
@keyframes leaf { from { opacity: 0; } to { opacity: 1; } }

/* dantytas hero kraštas, kaip raviolio */
.crimp-edge {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 18px;
  background:
    radial-gradient(circle at 12px 18px, var(--paper) 11px, transparent 11.5px) 0 0 / 24px 18px repeat-x;
}

@media (max-width: 820px) {
  .hero__in { grid-template-columns: 1fr; }
  .ravioli-grid { max-width: 300px; margin: 8px auto 0; }
}

/* Sekcijos */

.section { padding: clamp(56px, 9vw, 112px) 0; }

/* Gaminiai */

.product-list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.product {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: clamp(14px, 3vw, 32px);
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.product__icon { width: 64px; height: 64px; }
.product h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 500; }
.product p { margin: 0; color: var(--ink-soft); }
.tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.tag {
  font-size: .85rem; font-weight: 700;
  padding: 4px 11px; border-radius: 999px;
  background: var(--mist); white-space: nowrap;
}
.tag--frozen { background: #DDE4EA; }
.tag--fresh { background: var(--sage); }

@media (max-width: 640px) {
  .product { grid-template-columns: 52px 1fr; }
  .product__icon { width: 48px; height: 48px; }
  .tags { grid-column: 2; justify-content: flex-start; }
}

/* Verslui */

.b2b { background: var(--blush); }
.b2b__in {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 6vw, 80px); align-items: start;
}
.ticks { list-style: none; padding: 0; margin: 1.4rem 0 2rem; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: .6rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 14px; height: 14px; border-radius: 3px;
  background: var(--dough-light);
  box-shadow: inset 0 0 0 3px var(--dough-dark);
}

.home-note {
  background: var(--paper);
  border-radius: 16px;
  padding: 26px 26px 22px;
}
.home-note p { color: var(--ink-soft); }

@media (max-width: 820px) { .b2b__in { grid-template-columns: 1fr; } }

/* Kaip gaminame */

.how__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 48px); margin-top: 1.6rem;
}
.how__grid > div { border-top: 1.5px solid var(--ink); padding-top: 18px; }
.how__grid p { color: var(--ink-soft); }
@media (max-width: 820px) { .how__grid { grid-template-columns: 1fr; } }

/* Kontaktai */

.contact { background: var(--sage); }
.contact__grid {
  display: grid; grid-template-columns: repeat(2, auto);
  justify-content: start; gap: clamp(24px, 6vw, 80px); margin-top: 1.4rem;
}
.contact h3 { font-family: var(--sans); font-size: .95rem; font-weight: 700; color: var(--ink-soft); }
.big-link {
  font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  text-decoration: none; border-bottom: 2px solid currentColor;
  word-break: break-word;
}
.big-link:hover { border-bottom-color: transparent; }
@media (max-width: 820px) { .contact__grid { grid-template-columns: 1fr; } }

/* Apačia */

.foot { background: var(--stone); color: var(--ink); padding: 48px 0 36px; font-size: .95rem; }
.foot__in { display: grid; grid-template-columns: auto 1fr; gap: 24px 48px; align-items: start; }
.foot__logo { font: italic 700 1.7rem/1 var(--serif); color: var(--ink); margin: 0; }
.req { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px 28px; }
.req dt { font-size: .8rem; opacity: .65; }
.req dd { margin: 0; }
.foot__small { grid-column: 1 / -1; margin: 12px 0 0; opacity: .55; font-size: .85rem; }
@media (max-width: 640px) { .foot__in { grid-template-columns: 1fr; } }
