:root {
  /* яркий продающий красный (чуть затемнён) */
  --burgundy: #d22a26;
  --burgundy-dark: #a10f13;
  --burgundy-light: #ea7a73;
  --cream: #fff5f4;
  --gold: #d4a94e;
  --ink: #3c2323;
  --muted: #a37f7c;
  --line: #f9dcd9;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Montserrat', system-ui, sans-serif; color: var(--ink); background: var(--cream); line-height: 1.6; }
h1, h2, h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; line-height: 1.15; }
a { color: var(--burgundy); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 860px; }

.btn {
  display: inline-block; background: linear-gradient(135deg, #e04840, var(--burgundy-dark)); color: #fff;
  border: 2px solid transparent; padding: 13px 28px; border-radius: 32px; font-weight: 600; font-size: 15px;
  text-decoration: none; cursor: pointer; font-family: inherit; transition: .2s;
  box-shadow: 0 6px 18px rgba(210,42,38,.28);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(210,42,38,.38); }
.btn--ghost { background: transparent; color: var(--burgundy); border-color: var(--burgundy); box-shadow: none; }
.btn--ghost:hover { background: var(--burgundy); color: #fff; transform: none; box-shadow: 0 6px 18px rgba(210,42,38,.28); }
.btn--sm { padding: 8px 18px; font-size: 14px; }
.btn--full { width: 100%; text-align: center; }

/* хуки быстрой связи (по всему сайту) */
.hooks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.hook { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 24px;
  font-weight: 600; font-size: 14px; text-decoration: none; color: #fff; transition: .2s; }
.hook:hover { transform: translateY(-2px); filter: brightness(1.06); }
.hook svg { width: 16px; height: 16px; flex: none; }
.hook--call { background: linear-gradient(135deg, #e04840, var(--burgundy-dark)); }
.hook--viber { background: #7360f2; }
.hook--tg { background: #229ED9; }
.hook--ig { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.hero .hook--call { background: #fff; color: var(--burgundy); }
.note--col { flex-direction: column; align-items: flex-start; }
.note--col .hooks { margin-top: 4px; }

/* header */
.hdr { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.hdr__in { display: flex; align-items: center; gap: 28px; height: 72px; }
/* логотип POLUBVI (арт-деко, как на фирменном знаке) */
.logo { display: flex; flex-direction: column; align-items: center; gap: 3px; text-decoration: none;
  color: var(--burgundy); line-height: 1; }
.logo__top { font-family: 'Montserrat', sans-serif; font-weight: 500; font-size: 11px; letter-spacing: .22em; white-space: nowrap; }
.logo__main { font-family: 'Poiret One', 'Cormorant Garamond', serif; font-weight: 400;
  font-size: 31px; letter-spacing: .1em; -webkit-text-stroke: 0.7px currentColor; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--ink); font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--burgundy); }
.hdr__cta { display: flex; align-items: center; gap: 12px; }
.hdr__phone { font-weight: 600; text-decoration: none; color: var(--ink); white-space: nowrap; }
.hdr__socials { display: flex; gap: 7px; }
.hdr__ico { width: 30px; height: 30px; border-radius: 9px; display: flex; align-items: center;
  justify-content: center; color: #fff; transition: .2s; }
.hdr__ico:hover { transform: translateY(-2px); }
.hdr__ico svg { width: 16px; height: 16px; }
.hdr__ico--tg { background: #229ED9; }
.hdr__ico--ig { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.burger { display: none; background: none; border: 0; width: 40px; height: 40px; flex: none; cursor: pointer; position: relative; }
.burger span, .burger span::before, .burger span::after {
  content: ''; position: absolute; left: 8px; width: 24px; height: 2px; background: var(--ink); transition: .2s;
}
.burger span { top: 19px; }
.burger span::before { top: -7px; left: 0; }
.burger span::after { top: 7px; left: 0; }

/* hero — фото живых роз + красная вуаль для читаемости текста */
.hero {
  background:
    linear-gradient(100deg, rgba(110,8,11,.88) 0%, rgba(140,12,15,.62) 45%, rgba(140,12,15,.18) 78%, rgba(110,8,11,.12) 100%),
    url('/assets/img/hero-roses.webp') center 45% / cover no-repeat;
  color: #fff; overflow: hidden; position: relative;
}
.hero__txt { text-shadow: 0 1px 14px rgba(80,5,8,.55); }
.hero::before, .hero::after {
  content: ''; position: absolute; border-radius: 50%; background: rgba(255,255,255,.09); pointer-events: none;
}
.hero::before { width: 420px; height: 420px; top: -160px; right: -80px; }
.hero::after { width: 260px; height: 260px; bottom: -120px; left: 8%; }
.hero__in { display: flex; align-items: center; gap: 40px; padding: 76px 20px 104px; position: relative; z-index: 1; }
.hero__kicker { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; opacity: .85; margin-bottom: 14px; }
.hero h1 { font-size: 54px; margin-bottom: 18px; }
.hero h1 span { color: #ffd98e; font-style: italic; }
.hero__sub { font-size: 17px; opacity: .92; max-width: 480px; margin-bottom: 28px; }
.hero__btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn { background: #fff; color: var(--burgundy); border-color: #fff; }
.hero .btn:hover { background: #fde3df; border-color: #fde3df; }
.hero .btn--ghost { background: transparent; color: #fff; }
.hero .btn--ghost:hover { background: rgba(255,255,255,.15); }
.hero__art { display: none; }

/* usp — карточки с наложением на hero */
.usp { position: relative; z-index: 5; }
.usp__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0 20px; margin-top: -52px; }
.usp__item { display: flex; align-items: center; gap: 13px; background: #fff; border-radius: 16px;
  padding: 16px 18px; box-shadow: 0 10px 28px rgba(210,42,38,.12); }
.usp__ico { flex: none; width: 46px; height: 46px; border-radius: 50%; background: #fdeeea;
  display: flex; align-items: center; justify-content: center; color: var(--burgundy); }
.usp__ico svg { width: 23px; height: 23px; display: block; }
.usp__item div b { display: block; font-size: 14px; }
.usp__item div span { font-size: 12.5px; color: var(--muted); line-height: 1.4; display: block; }

/* sections */
.sec { padding: 56px 0; }
.sec--tint { background: #fdeeea; }
.sec--seo { background: #fff; }
.sec__title { font-size: 38px; text-align: center; margin-bottom: 34px; }
.sec__title--left { text-align: left; }
.sec__more { text-align: center; margin-top: 30px; }
.sec__eyebrow { font-family: 'Marck Script', cursive; font-size: 24px; color: var(--burgundy);
  text-align: center; margin-bottom: 2px; }

/* product grid & card */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { background: #fff; border-radius: 18px; overflow: hidden; text-decoration: none; color: var(--ink);
  box-shadow: 0 2px 10px rgba(210,42,38,.08); transition: .2s; position: relative; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(210,42,38,.2); }
.card__img { aspect-ratio: 1; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__name { padding: 12px 14px 2px; font-weight: 600; font-size: 15px; }
.card__price { padding: 0 14px 12px; color: var(--burgundy); font-weight: 600; }
.card__btn { margin: 0 14px 14px; text-align: center; background: linear-gradient(135deg, #e04840, var(--burgundy-dark));
  color: #fff; padding: 9px 0; border-radius: 22px; font-weight: 600; font-size: 14px; transition: .2s; }
.card__btn:hover { filter: brightness(1.1); }
.card__badge { position: absolute; top: 10px; left: 10px; background: var(--gold); color: #fff;
  font-size: 12px; padding: 3px 10px; border-radius: 12px; }

/* categories chips */
.cats { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cats__item { background: #fff; border: 1px solid var(--line); padding: 12px 22px; border-radius: 30px;
  text-decoration: none; color: var(--ink); font-weight: 500; transition: .2s; }
.cats__item:hover { background: var(--burgundy); color: #fff; border-color: var(--burgundy); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 28px; }
.chip { border: 1px solid var(--line); background: #fff; padding: 8px 18px; border-radius: 24px;
  text-decoration: none; color: var(--ink); font-size: 14px; }
.chip--on, .chip:hover { background: var(--burgundy); color: #fff; border-color: var(--burgundy); }

/* delivery */
.delivery { display: grid; grid-template-columns: 1.4fr 1fr; gap: 44px; align-items: center; }
.list { list-style: none; margin: 0 0 24px; }
.list li { padding: 7px 0 7px 28px; position: relative; }
.list li::before { content: '✿'; position: absolute; left: 0; color: var(--burgundy); }
.delivery__card { background: linear-gradient(135deg, #e04840, var(--burgundy-dark)); color: #fff;
  border-radius: 20px; padding: 30px; box-shadow: 0 14px 34px rgba(210,42,38,.3); }
.delivery__row { display: flex; justify-content: space-between; align-items: center; padding: 13px 0;
  border-bottom: 1px dashed rgba(255,255,255,.35); }
.delivery__row:last-child { border-bottom: 0; }
.delivery__row b { color: #ffd98e; font-size: 19px; }

/* faq */
.faq__item { background: #fff; border-radius: 14px; margin-bottom: 12px; border: 1px solid var(--line); transition: .2s; }
.faq__item[open] { background: #fdefec; border-color: var(--burgundy-light); box-shadow: 0 6px 18px rgba(210,42,38,.1); }
.faq__item summary { cursor: pointer; padding: 16px 20px; font-weight: 600; font-size: 15px; list-style: none; position: relative; padding-right: 48px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '✿'; position: absolute; right: 18px; top: 15px; font-size: 18px; color: var(--burgundy); transition: .25s; }
.faq__item[open] summary::after { transform: rotate(180deg); }
.faq__item p { padding: 0 20px 18px; color: #5c3b35; line-height: 1.7; }

/* блог */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { background: #fff; border-radius: 16px; padding: 22px; text-decoration: none; color: var(--ink);
  box-shadow: 0 2px 10px rgba(210,42,38,.08); display: flex; flex-direction: column; gap: 10px; transition: .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(210,42,38,.16); }
.post-card__title { font-family: 'Cormorant Garamond', serif; font-size: 21px; font-weight: 600; line-height: 1.25; }
.post-card__excerpt { font-size: 13.5px; color: var(--muted); flex: 1; line-height: 1.5; }
.post-card__more { color: var(--burgundy); font-weight: 600; font-size: 14px; }
.post h1 { font-size: 38px; margin-bottom: 8px; }
.post__meta { color: var(--muted); font-size: 13px; margin-bottom: 22px; }
@media (max-width: 960px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .posts { grid-template-columns: 1fr; } .post h1 { font-size: 30px; } }

/* html-карта сайта */
.map-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.map-grid h2 { font-size: 22px; margin: 14px 0 8px; }
.map-grid ul { list-style: none; }
.map-grid li { padding: 3px 0; font-size: 14px; }
.map-grid a { text-decoration: none; }
.map-grid a:hover { text-decoration: underline; }
@media (max-width: 720px) { .map-grid { grid-template-columns: 1fr 1fr; } }

/* misc */
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.cat-desc { max-width: 760px; color: #5c3b35; margin-bottom: 8px; }
.empty { background: #fff; border-radius: 16px; padding: 28px; }
.note { margin-top: 36px; background: #fdefec; border: 1px dashed var(--burgundy-light); border-radius: 16px;
  padding: 20px 24px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.seo-text h2 { font-size: 28px; margin: 26px 0 12px; }
.seo-text p, .seo-text li { line-height: 1.75; }
.seo-text p, .seo-text ul { margin-bottom: 14px; }
.seo-text ul { padding-left: 22px; }

/* product page */
.prod { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.prod__main { border-radius: 16px; overflow: hidden; background: #fff; }
.prod__main img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.prod__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.prod__thumbs img { width: 76px; height: 76px; object-fit: cover; border-radius: 10px; cursor: pointer; border: 2px solid transparent; }
.prod__thumbs img:hover { border-color: var(--burgundy); }
.prod__info h1 { font-size: 38px; margin-bottom: 10px; }
.prod__price { font-size: 28px; font-weight: 700; color: var(--burgundy); margin-bottom: 6px; }
.prod__stock { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.prod__msgrs { margin: 16px 0 22px; font-size: 14px; color: var(--muted); display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.prod__msgrs a { font-weight: 600; }
.prod__block { margin-bottom: 14px; }
.prod__delivery { background: #fff; border-radius: 12px; padding: 18px 20px; display: grid; gap: 8px; font-size: 14px; margin-top: 20px; }

/* contacts */
.contacts { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; }
.contacts__info p { margin-bottom: 16px; }
.contacts__phone { font-size: 22px; font-weight: 700; }
.contacts__map iframe { border-radius: 16px; border: 0; }

/* footer */
.ftr { background: linear-gradient(135deg, var(--burgundy-dark), #7d0a0e); color: #f8d7d3; padding: 48px 0 36px; margin-top: 40px; }
.ftr a { color: #fadfdc; text-decoration: none; display: block; padding: 3px 0; font-size: 14px; }
.ftr a:hover { color: #fff; }
.ftr__grid { display: grid; grid-template-columns: 1.2fr 0.9fr 1fr 1fr 1.1fr; gap: 28px; }
.ftr__h { font-weight: 700; color: #fff; margin-bottom: 10px; }
.ftr__txt { font-size: 14px; margin-bottom: 12px; }
.ftr__txt a { display: inline; }
.ftr__legal { font-size: 12px; opacity: .7; margin-top: 12px; }
.logo--ftr { margin-bottom: 12px; align-items: flex-start; color: #fff; }
.socials { display: flex; gap: 14px; }
.socials a { display: inline; font-weight: 600; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; }
.modal[hidden] { display: none; }
.modal__bg { position: absolute; inset: 0; background: rgba(59,36,34,.55); }
.modal__box { position: relative; background: #fff; border-radius: 22px; padding: 32px; width: min(420px, calc(100vw - 32px)); box-shadow: 0 24px 60px rgba(59,36,34,.35); }
.modal__x { position: absolute; top: 10px; right: 16px; background: none; border: 0; font-size: 28px; cursor: pointer; color: var(--muted); }
.modal__title { font-size: 24px; margin-bottom: 6px; }
.modal__sub { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.modal__box label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.modal__box input, .modal__box textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px;
  padding: 11px 14px; font: inherit; margin-top: 4px; }
.modal__box input:focus, .modal__box textarea:focus { outline: 2px solid var(--burgundy-light); border-color: transparent; }
.modal__agree { font-size: 11px; color: var(--muted); margin-top: 10px; text-align: center; }
.modal__ok { text-align: center; font-size: 17px; font-weight: 600; padding: 28px 0; }
.hp { position: absolute; left: -9999px; height: 0; width: 0; overflow: hidden; }

/* липкий мобильный бар: позвонить + viber */
.mbar { display: none; }
@media (max-width: 720px) {
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: flex; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
    box-shadow: 0 -6px 24px rgba(210,42,38,.18); }
  .mbar__btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 6px; border-radius: 14px; font-weight: 700; font-size: 15px;
    text-decoration: none; color: #fff; }
  .mbar__btn--call { background: linear-gradient(135deg, #e04840, var(--burgundy-dark)); }
  .mbar__btn--viber { background: #7360f2; }
  .mbar__btn:active, .mbar__sq:active { transform: scale(.95); }
  .mbar__sq { flex: 0 0 50px; height: 50px; align-self: center; display: flex; align-items: center;
    justify-content: center; border-radius: 14px; color: #fff; }
  .mbar__sq svg { width: 27px; height: 27px; }
  .mbar__btn { min-height: 50px; }
  .mbar__sq--tg { background: #229ED9; }
  .mbar__sq--ig { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
}

/* responsive */
@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .usp__grid { grid-template-columns: repeat(2, 1fr); }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 42px; }
  .hero__art { display: none; }
  .prod, .contacts, .delivery { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff;
    flex-direction: column; padding: 16px 20px; gap: 14px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .burger { display: block; margin-left: auto; }
  .hdr__cta .btn { display: none; }
  .hdr__cta { margin-left: auto; gap: 8px; }
  .hdr__phone { display: block; font-size: 13px; white-space: nowrap; }
  .hdr__ico { width: 27px; height: 27px; border-radius: 8px; }
  .hdr__ico svg { width: 14px; height: 14px; }
  .hdr__in { gap: 8px; }
  .hero .hooks { justify-content: flex-start; }
  .hook { padding: 8px 13px; font-size: 13px; }
  .logo__top { font-size: 9px; }
  .logo__main { font-size: 25px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .sec { padding: 38px 0; }
  .sec__title { font-size: 30px; }
  .hero__in { padding: 48px 20px 84px; }
  .hero h1 { font-size: 34px; }
  .usp__grid { grid-template-columns: 1fr; gap: 10px; margin-top: -46px; }
}
@media (max-width: 480px) {
  .ftr__grid { grid-template-columns: 1fr; gap: 22px; }
  .logo__top { font-size: 8px; letter-spacing: .18em; }
}
