@font-face {
  font-family: "Onest";
  src: url("/assets/fonts/onest-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Onest";
  src: url("/assets/fonts/onest-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cormorant Infant";
  src: url("/assets/fonts/cormorant-infant-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Cormorant Infant";
  src: url("/assets/fonts/cormorant-infant-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #203634;
  --ink-soft: #38514e;
  --muted: #526764;
  --paper: #fffdf9;
  --paper-cool: #f6faf7;
  --wash: #fff0e6;
  --pink: #d95665;
  --pink-deep: #9c344c;
  --teal-deep: #173e3c;
  --line: #d7e1dc;
  --white: #ffffff;
  --display: "Cormorant Infant", Georgia, serif;
  --text: "Onest", "Segoe UI", sans-serif;
  --shadow-soft: 0 16px 36px rgb(28 69 60 / 14%);
  --shadow-strong: 0 24px 58px rgb(20 58 53 / 23%);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--pink) #edf2ef;
  scrollbar-width: thin;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--text);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

body::-webkit-scrollbar { width: 10px; }
body::-webkit-scrollbar-track { background: #edf2ef; }
body::-webkit-scrollbar-thumb { border: 2px solid #edf2ef; border-radius: 999px; background: var(--pink); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .24em; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--pink); outline-offset: 4px; }
::selection { background: #ffcbd1; color: #252525; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  min-width: max-content;
  min-height: 60px;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 58px;
  height: 60px;
  border-radius: 50%;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}

.brand span {
  max-width: 14rem;
  font-family: var(--display);
  font-size: 1.34rem;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -.025em;
  white-space: nowrap;
}

.nav-wide {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: .94rem;
  font-weight: 600;
  letter-spacing: -.008em;
}

.nav-wide a {
  min-height: 44px;
  display: inline-flex;
  position: relative;
  align-items: center;
  padding: 0 9px;
  text-decoration: none;
}

.nav-wide a::after {
  content: "";
  position: absolute;
  right: 9px;
  bottom: 7px;
  left: 9px;
  height: 2px;
  border-radius: 2px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .24s var(--ease-out);
}

.phone { white-space: nowrap; font-variant-numeric: tabular-nums; }
.nav-mobile { display: none; position: relative; }

.nav-mobile summary {
  min-width: 56px;
  min-height: 44px;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.nav-mobile summary::-webkit-details-marker { display: none; }

.nav-mobile nav {
  position: absolute;
  z-index: 24;
  top: 48px;
  right: 0;
  min-width: 238px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.nav-mobile a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 9px;
  text-decoration: none;
  font-size: .86rem;
  font-weight: 700;
  transition: color .18s ease, background-color .18s ease;
}

.nav-mobile a:hover { color: var(--pink-deep); background: var(--wash); }

.hero {
  min-height: min(720px, calc(100vh - 92px));
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background: #176f75 url("/assets/images/hero.jpg") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(96deg, rgb(9 58 59 / 63%), rgb(109 32 58 / 47%));
}

.hero__content {
  width: min(720px, calc(100% - 40px));
  padding: 72px 0;
  text-align: center;
  animation: hero-unveil .75s var(--ease-out) both;
}

.hero h1,
.section-heading,
.gallery-hero h1 {
  font-family: var(--display);
  font-weight: 600;
}

.hero h1 {
  max-width: 13ch;
  margin: 0 auto 22px;
  font-size: clamp(3.5rem, 6.7vw, 5.9rem);
  line-height: .9;
  letter-spacing: -.032em;
  text-wrap: balance;
}

.hero p {
  max-width: 38rem;
  margin: 0 auto;
  font-size: clamp(1rem, 1.8vw, 1.24rem);
  font-weight: 700;
  letter-spacing: .025em;
  line-height: 1.45;
  text-transform: uppercase;
}

.hero .price { margin-top: 34px; color: #ffd9d8; font-size: 1.06rem; font-variant-numeric: tabular-nums; }

@keyframes hero-unveil {
  from { opacity: .05; filter: blur(7px); clip-path: inset(0 0 18% 0); transform: translateY(18px); }
  to { opacity: 1; filter: blur(0); clip-path: inset(0); transform: translateY(0); }
}

section { padding: clamp(76px, 9vw, 124px) 0; }

.section-heading {
  margin: 0 0 30px;
  font-size: clamp(2.7rem, 4.5vw, 4.25rem);
  line-height: .94;
  letter-spacing: -.026em;
  text-wrap: balance;
}

.section-intro { max-width: 43rem; margin: -16px 0 42px; color: var(--muted); font-size: 1.02rem; }
.about { background: var(--paper-cool); }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(300px, 1.05fr);
  align-items: center;
  gap: clamp(40px, 7vw, 88px);
}

.about figure { margin: 0; overflow: hidden; border-radius: 16px; box-shadow: var(--shadow-soft); }

.about figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .65s var(--ease-out), filter .65s var(--ease-out);
}

.about p { max-width: 67ch; margin: 0; color: var(--ink-soft); font-size: 1.03rem; line-height: 1.72; }
.about p + p { margin-top: 1.2em; }
.varieties { background: var(--paper); }

.variety-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.variety {
  min-width: 0;
  position: relative;
  z-index: 0;
  padding: 28px 13px 30px;
  text-align: center;
  transition: z-index 0s, color .2s ease, background-color .2s ease, box-shadow .32s var(--ease-out), transform .32s var(--ease-out);
}

.variety + .variety { border-left: 1px solid var(--line); }

.variety img {
  width: 88px;
  height: 88px;
  margin: 0 auto 18px;
  object-fit: cover;
  border-radius: 50%;
  transition: transform .38s var(--ease-out), box-shadow .38s var(--ease-out);
}

.variety h3 { margin: 0; font-size: .85rem; font-weight: 750; letter-spacing: .02em; text-transform: uppercase; }
.variety p { margin: 7px 0 0; color: var(--muted); font-size: .79rem; line-height: 1.4; }
.variety strong { display: block; margin-top: 9px; color: var(--pink-deep); font-size: .82rem; font-variant-numeric: tabular-nums; }
.offers { background: var(--wash); }

.offer-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }

.offer {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px 26px;
  border-radius: 14px;
  background: #fffaf6;
  box-shadow: 0 8px 24px rgb(117 69 53 / 8%);
  transition: color .2s ease, background-color .2s ease, box-shadow .32s var(--ease-out), transform .32s var(--ease-out);
}

.offer:nth-child(2n) { background: #fff5ee; }
.offer h3 { margin: 0; font-family: var(--display); font-size: 2rem; font-weight: 650; line-height: .94; letter-spacing: -.018em; text-wrap: balance; }
.offer .offer-price { margin: 24px 0 0; color: var(--pink-deep); font-size: 1.05rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.offer p { margin: 6px 0 0; color: var(--muted); font-size: .9rem; }
.offer small { color: var(--muted); font-size: .82rem; }

.wholesale {
  max-width: 44ch;
  margin: 42px 0 0;
  font-family: var(--display);
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.05;
  letter-spacing: -.015em;
}

.wholesale strong { color: var(--pink-deep); }
.contact { background: var(--paper); }

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(270px, .8fr);
  align-items: center;
  gap: clamp(34px, 7vw, 82px);
  padding: clamp(36px, 6vw, 68px);
  border-radius: 16px;
  color: var(--white);
  background: var(--teal-deep);
  box-shadow: var(--shadow-strong);
}

.contact-copy { max-width: 42rem; }
.contact .section-heading { margin-bottom: 20px; color: var(--white); }
.contact p { max-width: 58ch; margin: 0; color: #d8e7e4; font-size: 1.02rem; line-height: 1.68; }
.contact-actions { display: grid; gap: 12px; justify-items: stretch; }

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 19px;
  border: 1px solid var(--white);
  border-radius: 999px;
  background: var(--white);
  color: var(--teal-deep);
  text-align: center;
  text-decoration: none;
  font-size: .91rem;
  font-weight: 750;
  line-height: 1.25;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .25s var(--ease-out), transform .25s var(--ease-out);
}

.button--outline { border-color: #7fa09b; background: transparent; color: var(--white); }
.button:active { transform: translateY(1px) scale(.99); }
.site-footer { padding: 34px 0; border-top: 1px solid var(--line); color: var(--muted); text-align: center; font-size: .82rem; }
.gallery-page { background: #fbfcf9; }
.gallery-hero { padding: 82px 0 50px; text-align: center; }
.gallery-hero h1 { margin: 0; font-size: clamp(3.4rem, 6vw, 5.7rem); line-height: .9; letter-spacing: -.03em; }
.gallery-hero p { margin: 18px auto 0; max-width: 38rem; color: var(--muted); }
.gallery { columns: 3 260px; column-gap: 20px; padding-bottom: 96px; }

.gallery figure {
  break-inside: avoid;
  margin: 0 0 20px;
  overflow: hidden;
  border-radius: 14px;
  background: #eaf0eb;
  transition: box-shadow .36s var(--ease-out), transform .36s var(--ease-out);
}

.gallery img { width: 100%; height: auto; transition: filter .5s var(--ease-out), transform .5s var(--ease-out); }

@media (hover: hover) {
  .brand:hover img { transform: rotate(-4deg) scale(1.04); box-shadow: 0 8px 22px rgb(35 85 64 / 18%); }
  .nav-wide a:hover { color: var(--pink-deep); }
  .nav-wide a:hover::after { transform: scaleX(1); transform-origin: left; }
  .about figure:hover img { filter: saturate(1.06); transform: scale(1.025); }
  .variety:hover { z-index: 2; background: var(--white); box-shadow: var(--shadow-soft); transform: translateY(-7px); }
  .variety:hover img { transform: scale(1.08); box-shadow: 0 10px 24px rgb(39 91 68 / 18%); }
  .offer:hover { background: var(--white); box-shadow: 0 18px 38px rgb(117 69 53 / 16%); transform: translateY(-6px); }
  .button:hover { border-color: var(--pink); background: var(--pink); color: var(--white); box-shadow: 0 10px 24px rgb(217 86 101 / 22%); transform: translateY(-2px); }
  .button--outline:hover { border-color: var(--white); background: rgb(255 255 255 / 12%); }
  .gallery figure:hover { box-shadow: var(--shadow-soft); transform: translateY(-5px); }
  .gallery figure:hover img { filter: saturate(1.06); transform: scale(1.035); }
}

@media (max-width: 1040px) {
  .brand span { max-width: 10rem; }
  .nav-wide { gap: 0; }
  .nav-wide a { padding-inline: 6px; }
  .nav-wide a::after { right: 6px; left: 6px; }
}

@media (max-width: 960px) {
  .nav-wide { display: none; }
  .nav-mobile { display: block; }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about figure { order: -1; }
  .variety-grid { grid-template-columns: repeat(3, 1fr); }
  .variety:nth-child(4) { border-left: 0; }
  .variety:nth-child(n + 4) { border-top: 1px solid var(--line); }
  .offer-list { grid-template-columns: repeat(2, 1fr); }
  .contact-panel { grid-template-columns: 1fr; }
  .contact-actions { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 30px), 1120px); }
  .site-header { min-height: 78px; }
  .brand { min-width: 0; min-height: 48px; gap: 10px; }
  .brand img { width: 44px; height: 46px; flex: 0 0 auto; }
  .brand span { max-width: 12rem; font-size: 1.14rem; line-height: 1; }
  .hero { min-height: 610px; background-position: 36% center; }
  .hero__content { padding: 64px 0; }
  .hero h1 { font-size: clamp(3.45rem, 16vw, 4.75rem); }
  .hero p { font-size: .9rem; }
  section { padding: 74px 0; }
  .section-heading { margin-bottom: 24px; font-size: 3rem; }
  .about figure img { aspect-ratio: 4 / 3; }
  .about p { font-size: 1rem; }
  .variety-grid { grid-template-columns: repeat(2, 1fr); }
  .variety { padding: 24px 10px 26px; }
  .variety:nth-child(n) { border-left: 0; }
  .variety:nth-child(2n) { border-left: 1px solid var(--line); }
  .variety:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .offer-list { grid-template-columns: 1fr; }
  .offer { min-height: 218px; }
  .contact-panel { gap: 30px; padding: 38px 24px; }
  .contact-actions { grid-template-columns: 1fr; }
  .gallery-hero { padding: 66px 0 42px; }
  .gallery { columns: 2 150px; column-gap: 12px; }
  .gallery figure { margin-bottom: 12px; border-radius: 10px; }
}

@media (max-width: 390px) {
  .brand span { max-width: none; font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__content { animation: none; }
  .brand img,
  .nav-wide a::after,
  .about figure img,
  .variety,
  .variety img,
  .offer,
  .button,
  .gallery figure,
  .gallery img { transition-duration: .12s; transition-property: color, background-color, border-color, box-shadow, filter; }
  .brand:hover img,
  .about figure:hover img,
  .variety:hover,
  .variety:hover img,
  .offer:hover,
  .button:hover,
  .gallery figure:hover,
  .gallery figure:hover img { transform: none; }
}
