/* MASLO OPTOM — премиальный минимализм. Один фон на весь сайт — цвет фона фотографий товаров (#FCF0DC — между верхней и нижней кромкой фона 6 фото);
   края фото растворяются в фоне маской (сами фото не меняются). Без рамок и тёмных секций: тонкие линии, воздух. */
:root {
  --bg: #FCF0DC; --tint: rgba(255, 255, 255, .42);
  --ink: #163D31; --text: #3A372F; --muted: #7C705C; --line: rgba(22, 61, 49, .14);
  --gold: #A8843F; --btn: #163D31; --btn-2: #1F5040;
  --sans: Onest, Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  --gap: clamp(20px, 3vw, 40px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.narrow { max-width: 760px; }

/* типографика: одна гарнитура, единая шкала */
h1, h2, h3 { color: var(--ink); font-weight: 600; margin: 0 0 .5em; letter-spacing: -.025em; }
h1 { font-size: clamp(2.6rem, 6.2vw, 5.2rem); line-height: 1.02; letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); line-height: 1.12; }
h3 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 58ch; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; font-weight: 600; color: var(--gold); margin: 0 0 1.1rem; }
.note { color: var(--muted); font-size: .93rem; margin-top: 2rem; }

/* кнопки и ссылки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: 1.05em 1.9em; border-radius: 999px; border: 1px solid var(--btn);
  background: var(--btn); color: #FCF0DC; font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: background .2s; }
.btn:hover { background: var(--btn-2); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--btn); color: #FCF0DC; }
.btn-s { padding: .8em 1.3em; font-size: .9rem; white-space: nowrap; }
.btn-wide { width: 100%; padding: 1.15em; }
.link-tel { font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.link-tel:hover { border-color: var(--ink); }
i { font-style: normal; }

/* шапка — тот же фон */
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(252, 240, 220, .9); backdrop-filter: saturate(1.2) blur(12px); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 28px; height: 74px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 1rem/1 var(--sans); letter-spacing: .16em; color: var(--ink); }
.logo b { color: var(--gold); font-weight: 600; margin-left: .3em; }
.logo-mark { width: 22px; height: 22px; border-radius: 50% 50% 50% 6px; background: linear-gradient(135deg, #D8B56A, var(--gold)); transform: rotate(45deg); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-size: .94rem; color: var(--text); white-space: nowrap; }
.nav a:hover { color: var(--ink); }
.hdr-act { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.langs { display: inline-flex; gap: 2px; }
.langs a { padding: .3em .55em; font-size: .8rem; font-weight: 600; text-decoration: none; color: var(--muted); border-radius: 6px; }
.langs a.on { color: var(--ink); background: var(--tint); }
.tel { font-weight: 600; text-decoration: none; white-space: nowrap; color: var(--ink); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 1.6px; background: var(--ink); margin: auto; position: relative; content: ""; }
.burger span::before { position: absolute; top: -6px; } .burger span::after { position: absolute; top: 6px; }

/* фото: края растворяются в фоне — без «прямоугольника» */
.photo, .card-pic img {
  /* эллипс: центр с бутылкой непрозрачен, углы и края плавно уходят в фон; верхняя кромка — тонкое растворение 3,5 % */
  -webkit-mask-image: radial-gradient(ellipse 52% 70% at 50% 48%, #000 58%, rgba(0, 0, 0, .5) 78%, transparent 96%), linear-gradient(to bottom, transparent 0, #000 3.5%);
  -webkit-mask-composite: source-in;
  mask-image: radial-gradient(ellipse 52% 70% at 50% 48%, #000 58%, rgba(0, 0, 0, .5) 78%, transparent 96%), linear-gradient(to bottom, transparent 0, #000 3.5%);
  mask-composite: intersect;
}

/* первый экран */
.hero { padding: clamp(40px, 6vw, 88px) 0 clamp(32px, 4vw, 56px); }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--gap); align-items: center; }
.hero-offer { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--text); max-width: 34ch; margin: 1.4rem 0 0; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 2.2rem; }
.conds { list-style: none; padding: 0; margin: 2.6rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 12px 36px; }
.conds li { position: relative; padding-left: 18px; font-size: .97rem; color: var(--ink); font-weight: 500; }
.conds li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.hero-pic { margin: 0; }
.hero-pic img { width: 100%; max-width: 620px; margin-left: auto; }
.hero-s { padding-bottom: 8px; }
.hero-s h1 { font-size: clamp(2.2rem, 5vw, 4rem); max-width: 18ch; }
.crumbs { padding-top: 22px; font-size: .86rem; color: var(--muted); }
.crumbs a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }

/* секции — один фон, разделение пространством */
.sec { padding: clamp(56px, 8vw, 112px) 0; }
.sec-tight { padding: 24px 0; }
.sec-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 52px); }
.two { display: grid; grid-template-columns: .85fr 1.15fr; gap: var(--gap); align-items: start; }
.prose p { font-size: 1.06rem; }
.cols3, .cols4 { list-style: none; padding: 0; margin: 0; display: grid; gap: 0 var(--gap); }
.cols3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cols3 > *, .cols4 > * { border-top: 1px solid var(--line); padding: 26px 0 8px; }
.cols3 dt, .prose-cols h2 { font-size: 1.25rem; font-weight: 600; color: var(--ink); margin-bottom: 10px; letter-spacing: -.01em; }
.cols3 dd { margin: 0; }
.prose-cols h2 { font-size: 1.3rem; }
.cols4 p { color: var(--muted); font-size: .96rem; margin: 0; }
.steps span { font-size: .82rem; font-weight: 600; color: var(--gold); letter-spacing: .08em; }
.steps h3 { margin: 12px 0 8px; }

/* каталог: крупные фото, без рамок */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px) var(--gap); }
.card { min-width: 0; display: flex; flex-direction: column; }
.card-pic { display: block; aspect-ratio: 1; margin-bottom: 18px; }
.card-pic img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s ease; }
.card-pic:hover img { transform: scale(1.025); }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.card-head h3 { margin: 0; font-size: 1.3rem; }
.card-head span { color: var(--muted); font-size: .92rem; white-space: nowrap; }
.card-cta { margin-top: 14px; align-self: flex-start; font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.card-cta:hover { border-color: var(--ink); }
.card-cta i { transition: margin .2s; } .card-cta:hover i { margin-left: 4px; }
/* бренды без фото — маленький текстовый блок под сеткой карточек (не вместо них) */
.also { margin: clamp(32px, 4vw, 48px) 0 0; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .96rem; max-width: 90ch; }
.also b { color: var(--ink); font-weight: 600; }
.also a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.also a:hover { border-color: var(--ink); }
/* категории на главной: подсолнечное (карточки) и фритюрное (по запросу) */
.cat + .cat { margin-top: clamp(48px, 6vw, 80px); }
.cat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.cat-head h3 { margin: 0; font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
.cat-head h3 a { color: var(--ink); text-decoration: none; }
.cat-head h3 a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.cat-head span { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.fry-row { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 20px var(--gap); align-items: center; border-top: 1px solid var(--line); padding-top: 26px; }
.fry-row p { margin: 0; color: var(--text); max-width: 60ch; }
.fry-act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.link-more { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.link-more:hover { border-color: var(--ink); }
/* посадочная фритюрного: описание поставок + что указать в заявке */
.offer { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--gap); align-items: start; }
.offer .prose p:first-child { margin-top: 0; }
.offer-ask { border-top: 1px solid var(--line); padding-top: 22px; }
.offer-ask-h { margin: 0 0 14px; font-weight: 600; color: var(--ink); }
.conds.conds-1 { grid-template-columns: 1fr; gap: 10px; margin: 0 0 26px; }
.dirs { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 36px; }
.dirs a { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 3px; }
.dirs a:hover { border-color: var(--ink); }

/* вопросы */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-weight: 500; font-size: 1.06rem; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 18px; font-size: 1.5rem; font-weight: 300; color: var(--gold); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); padding-right: 40px; }

/* форма — лёгкий тон на том же фоне */
.form-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: var(--gap); align-items: start; }
.contacts { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.tel-big { display: inline-block; font-size: 1.6rem; font-weight: 600; letter-spacing: -.01em; color: var(--ink); text-decoration: none; margin-bottom: 6px; }
.contacts p { color: var(--muted); }
.form { background: var(--tint); border-radius: 24px; padding: clamp(22px, 3vw, 36px); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.fld { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; font-size: .9rem; font-weight: 500; color: var(--ink); }
.fld em { font-style: normal; color: var(--muted); font-weight: 400; }
.fld input, .fld textarea { font: 400 1rem/1.4 var(--sans); padding: .9em 1em; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .55); color: var(--text); width: 100%; }
.fld input::placeholder, .fld textarea::placeholder { color: #A89A82; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(168, 132, 63, .18); }
.fld.bad input { border-color: #A23B2A; }
.chk { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin: 4px 0 20px; }
.chk input { margin-top: .25em; accent-color: var(--btn); width: 17px; height: 17px; }
.chk a { color: var(--ink); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.picked { border-left: 2px solid var(--gold); padding: .2em 0 .2em 1em; font-size: .94rem; }
.form-msg { padding: .85em 1em; border-radius: 12px; font-weight: 500; }
.form-msg.ok { background: rgba(22, 61, 49, .08); color: var(--ink); }
.form-msg.bad { background: rgba(162, 59, 42, .08); color: #8A2F20; }

/* новости */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.news-grid article { border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-direction: column; }
.news-grid time { color: var(--muted); font-size: .82rem; }
.news-grid a { font-weight: 600; color: var(--ink); text-decoration: none; display: block; margin: 8px 0 14px; line-height: 1.45; }
.news-grid a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.news-grid .src { margin-top: auto; font-size: .8rem; color: var(--muted); display: flex; justify-content: space-between; }

/* подвал — тот же фон */
.ftr { border-top: 1px solid var(--line); padding: 56px 0 96px; color: var(--muted); }
.ftr-in { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: var(--gap); }
.ftr .logo { margin-bottom: 14px; }
.ftr-links { display: flex; flex-direction: column; gap: 9px; }
.ftr-links a { text-decoration: none; color: var(--text); }
.ftr-links a:hover { color: var(--ink); }
.copy { font-size: .84rem; }
.fab { display: none; }

/* планшет */
@media (max-width: 1180px) {
  .nav { display: none; position: absolute; top: 74px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; padding: 8px 24px 22px; gap: 0; }
  .nav a { padding: 14px 0; border-top: 1px solid var(--line); font-size: 1.05rem; color: var(--ink); }
  .nav a:first-child { border-top: 0; }
  .hdr.open .nav { display: flex; }
  .burger { display: inline-block; }
  .tel { display: none; }
}
@media (max-width: 1080px) {
  .cols4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero-in, .two, .form-wrap, .offer, .fry-row { grid-template-columns: 1fr; }
  .hero-pic img { margin: 0 auto; max-width: 520px; }
  .grid, .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols3 { grid-template-columns: 1fr; }
  .ftr-in { grid-template-columns: 1fr; }
  .r-type { display: none; }
  .fab { display: flex; position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 50; justify-content: center; padding: 1.05em; border-radius: 999px;
    background: var(--btn); color: #FCF0DC; font-weight: 600; text-decoration: none; box-shadow: 0 14px 30px -16px rgba(22, 61, 49, .55); }
}
/* телефон */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .hdr-in { height: 64px; gap: 12px; }
  .nav { top: 64px; }
  .btn-s { display: none; }
  .hero-cta .btn { width: 100%; }
  .conds { grid-template-columns: 1fr; gap: 10px; margin-top: 2rem; }
  .conds li { font-size: .95rem; }
  .grid, .news-grid, .cols4 { grid-template-columns: 1fr; }
  .card-pic { max-width: 440px; margin-inline: auto; width: 100%; }
  .row2 { grid-template-columns: 1fr; }
  .faq summary { font-size: 1rem; }
}
