/* ==========================================================
   FLORAL SHOP — ОСНОВНЫЕ НАСТРОЙКИ
   Цвета, ширина сайта и скругления меняются здесь.
========================================================== */
:root {
  --ink: #302923;
  --muted: #746b63;
  --paper: #fffdf9;
  --cream: #f7f2eb;
  --sage: #e4ebe2;
  --sage-dark: #667461;
  --plum: #70435c;
  --pink: #b75b76;
  --line: #e8ddd2;
  --white: #fff;
  --shadow: 0 18px 50px rgba(62, 47, 38, 0.1);
  --radius: 28px;
  --container: 1180px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}
body.modal-open {
  overflow: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
.container {
  width: min(var(--container), calc(100% - 40px));
  margin: auto;
}
.section {
  padding: 100px 0;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--pink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
}
h1 {
  font-size: clamp(44px, 6vw, 82px);
  letter-spacing: -0.045em;
}
h2 {
  font-size: clamp(34px, 4vw, 56px);
  letter-spacing: -0.035em;
}
h3 {
  line-height: 1.25;
}
.button {
  display: inline-flex;
  min-height: 50px;
  padding: 12px 26px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--plum);
  border-radius: 999px;
  background: var(--plum);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s;
}
.button:hover {
  transform: translateY(-2px);
  background: #5e354d;
}
.button--ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--plum);
}
.button--ghost:hover {
  background: #fff;
}
.button--small {
  min-height: 42px;
  padding: 9px 20px;
}

/* ВЕРХНЯЯ ПАНЕЛЬ ГОТОВОГО РЕШЕНИЯ */
.demo-bar {
  min-height: 44px;
  padding: 7px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
}
.demo-bar p {
  margin: 0;
  display: flex;
  gap: 10px;
}
.demo-bar span {
  opacity: 0.72;
}
.demo-bar a {
  padding: 5px 15px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 99px;
  font-weight: 700;
}

/* ШАПКА */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 253, 249, 0.9);
  border-bottom: 1px solid rgba(232, 221, 210, 0.8);
  backdrop-filter: blur(15px);
}
.header-inner {
  height: 78px;
  display: flex;
  align-items: center;
  gap: 34px;
}
.brand {
  width: 96px;
  height: 70px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.brand img {
  width: 94px;
  height: 94px;
  object-fit: contain;
}
.desktop-nav {
  margin-left: auto;
  display: flex;
  gap: 28px;
  font-size: 14px;
}
.desktop-nav a {
  transition: 0.2s;
}
.desktop-nav a:hover {
  color: var(--pink);
}
.menu-button,
.mobile-nav {
  display: none;
}

/* HERO */
.hero {
  padding: 54px 0 34px;
  background: linear-gradient(135deg, #fbf8f3, #eef2eb);
}
.hero-grid {
  min-height: 660px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 52px;
}
.hero-copy {
  padding: 34px 0;
}
.hero-lead {
  max-width: 600px;
  color: var(--muted);
  font-size: 19px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0;
}
.hero-trust {
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  list-style: none;
  color: var(--sage-dark);
  font-size: 13px;
  font-weight: 700;
}
.hero-trust li:before {
  content: "✓";
  margin-right: 7px;
  color: var(--pink);
}
.hero-picture {
  height: 610px;
  border-radius: 46% 54% 32% 68%/38% 38% 62% 62%;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* БЫСТРЫЙ ВЫБОР */
.quick {
  padding: 26px 0;
  background: #fff;
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}
.quick-grid a {
  padding: 20px 24px;
  border-right: 1px solid var(--line);
  transition: 0.2s;
}
.quick-grid a:last-child {
  border: 0;
}
.quick-grid a:hover {
  background: var(--cream);
}
.quick-grid span,
.quick-grid small {
  display: block;
}
.quick-grid span {
  font-weight: 800;
}
.quick-grid small {
  color: var(--muted);
}

/* ЗАГОЛОВКИ И КАТАЛОГ */
.section-heading {
  margin-bottom: 48px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: end;
}
.section-heading h2 {
  margin-bottom: 0;
}
.section-heading > p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 35px rgba(62, 47, 38, 0.06);
  transition: 0.3s;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.product-card > img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.product-body {
  padding: 23px;
}
.product-body small {
  color: var(--pink);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}
.product-body h3 {
  margin: 7px 0;
  font-family: Georgia, serif;
  font-size: 25px;
}
.product-body p {
  min-height: 52px;
  color: var(--muted);
  font-size: 14px;
}
.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.product-bottom strong {
  color: var(--plum);
}
.product-bottom button {
  padding: 8px 16px;
  border: 0;
  border-radius: 99px;
  background: var(--sage);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}
.demo-note {
  margin: 26px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

/* ИНДИВИДУАЛЬНЫЙ ПОДБОР */
.individual {
  background: var(--cream);
}
.individual-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
}
.individual-grid > div > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}
.check-list {
  padding: 0;
  list-style: none;
}
.check-list li {
  margin: 13px 0;
}
.check-list li:before {
  content: "✓";
  display: inline-grid;
  width: 25px;
  height: 25px;
  margin-right: 10px;
  place-items: center;
  border-radius: 50%;
  background: var(--sage);
  color: var(--plum);
  font-weight: 900;
}
.selection-form {
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 19px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
}
input,
select,
textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  color: var(--ink);
  outline: none;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(183, 91, 118, 0.1);
}
.form-wide {
  grid-column: 1/-1;
}
.selection-form small {
  color: var(--muted);
  text-align: center;
}

/* ПРЕИМУЩЕСТВА И ШАГИ */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.benefit-grid article {
  padding: 29px;
  border: 1px solid var(--line);
  border-radius: 22px;
}
.benefit-grid span {
  color: var(--pink);
  font-size: 12px;
  font-weight: 900;
}
.benefit-grid h3 {
  margin: 20px 0 8px;
}
.benefit-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.process {
  background: var(--sage);
}
.steps {
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  list-style: none;
}
.steps li {
  padding: 29px;
  display: flex;
  gap: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.7);
}
.steps b {
  flex: 0 0 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--plum);
  color: #fff;
}
.steps p {
  margin: 0;
  color: var(--muted);
}

/* ДОСТАВКА, ОТЗЫВЫ, FAQ */
.delivery-grid,
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: start;
}
.delivery-grid > div > p {
  color: var(--muted);
}
.delivery-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.delivery-cards article {
  padding: 30px;
  border-radius: 22px;
  background: var(--cream);
}
.delivery-cards p {
  margin: 0;
  color: var(--muted);
}
.reviews {
  background: var(--cream);
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.review-grid blockquote {
  margin: 0;
  padding: 30px;
  border-radius: 22px;
  background: #fff;
}
.review-grid blockquote p {
  font-family: Georgia, serif;
  font-size: 19px;
}
.review-grid footer {
  color: var(--muted);
  font-size: 13px;
}
.accordion details {
  border-top: 1px solid var(--line);
}
.accordion details:last-child {
  border-bottom: 1px solid var(--line);
}
.accordion summary {
  padding: 22px 40px 22px 0;
  font-weight: 800;
  cursor: pointer;
}
.accordion p {
  padding: 0 35px 20px 0;
  color: var(--muted);
}

/* НИЖНИЕ CTA */
.contact-box,
.solution-grid {
  padding: 50px 58px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 50px;
  align-items: center;
  border-radius: 34px;
}
.contact-box {
  background: var(--plum);
  color: #fff;
}
.contact-box .eyebrow {
  color: #f0b5c7;
}
.contact-box h2 {
  margin-bottom: 12px;
}
.contact-box p {
  margin: 0;
  opacity: 0.8;
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}
.contact-box .button {
  background: #fff;
  color: var(--plum);
  border-color: #fff;
}
.solution-cta {
  padding: 0 0 100px;
}
.solution-grid {
  background: linear-gradient(135deg, #edf2ea, #f8eee9);
}
.solution-grid h2 {
  margin-bottom: 12px;
}
.solution-grid > div:last-child {
  display: grid;
  justify-items: start;
  gap: 14px;
}
.text-link {
  color: var(--plum);
  font-weight: 800;
}

/* ФУТЕР */
.site-footer {
  padding: 60px 0 100px;
  background: var(--ink);
  color: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 45px;
}
.footer-grid > div {
  display: grid;
  align-content: start;
  gap: 9px;
}
.footer-grid strong {
  margin-bottom: 9px;
}
.footer-grid a,
.footer-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}
.footer-brand img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.mobile-order {
  display: none;
}

/* МОДАЛЬНОЕ ОКНО */
.modal[hidden],
.order-success[hidden] {
  display: none;
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 24, 20, 0.7);
  backdrop-filter: blur(6px);
}
.modal-dialog {
  position: relative;
  width: min(520px, 100%);
  max-height: 90vh;
  overflow: auto;
  padding: 38px;
  border-radius: 28px;
  background: #fff;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--cream);
  font-size: 25px;
  cursor: pointer;
}
.modal-dialog form {
  display: grid;
  gap: 15px;
}
.modal-dialog .button {
  width: 100%;
}
.modal-dialog small {
  color: var(--muted);
  text-align: center;
}
.order-success {
  text-align: center;
}
.order-success > span {
  display: grid;
  width: 65px;
  height: 65px;
  margin: auto;
  place-items: center;
  border-radius: 50%;
  background: var(--sage);
  color: var(--plum);
  font-size: 28px;
  font-weight: 900;
}
.order-success h2 {
  margin: 20px 0 10px;
}
.order-success p {
  color: var(--muted);
}

/* АДАПТИВ */
@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }
  .menu-button {
    margin-left: auto;
    width: 44px;
    height: 44px;
    display: grid;
    padding: 10px;
    border: 0;
    background: transparent;
  }
  .menu-button span {
    height: 2px;
    background: var(--ink);
  }
  .header-order {
    margin-left: auto;
  }
  .mobile-nav {
    padding: 15px 20px 25px;
    display: none;
    gap: 5px;
    background: var(--paper);
  }
  .mobile-nav.open {
    display: grid;
  }
  .mobile-nav a {
    padding: 10px;
    border-bottom: 1px solid var(--line);
  }
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-copy {
    text-align: center;
  }
  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions,
  .hero-trust {
    justify-content: center;
  }
  .hero-picture {
    height: 520px;
  }
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .individual-grid,
  .delivery-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 680px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }
  .section {
    padding: 70px 0;
  }
  .demo-bar {
    padding: 8px 14px;
    justify-content: space-between;
  }
  .demo-bar span {
    display: none;
  }
  .demo-bar a {
    white-space: nowrap;
  }
  .header-inner {
    height: 66px;
  }
  .brand {
    width: 80px;
    height: 60px;
  }
  .brand img {
    width: 78px;
    height: 78px;
  }
  .header-order {
    display: none;
  }
  .hero {
    padding-top: 28px;
  }
  .hero-grid {
    gap: 25px;
  }
  .hero-picture {
    height: 400px;
    border-radius: 28px;
  }
  .hero-lead {
    font-size: 17px;
  }
  .hero-actions {
    display: grid;
  }
  .hero-actions .button {
    width: 100%;
  }
  .hero-trust {
    display: grid;
    justify-content: start;
    text-align: left;
  }
  .quick-grid {
    grid-template-columns: 1fr 1fr;
  }
  .quick-grid a {
    border-bottom: 1px solid var(--line);
  }
  .section-heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  .product-body p {
    min-height: 0;
  }
  .individual-grid {
    gap: 35px;
  }
  .selection-form {
    padding: 22px;
    grid-template-columns: 1fr;
  }
  .selection-form > * {
    grid-column: 1;
  }
  .benefit-grid,
  .steps,
  .delivery-cards,
  .review-grid {
    grid-template-columns: 1fr;
  }
  .contact-box,
  .solution-grid {
    padding: 34px 24px;
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .contact-actions {
    justify-content: flex-start;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
  .mobile-order {
    position: fixed;
    z-index: 28;
    right: 15px;
    bottom: 15px;
    display: block;
    padding: 13px 20px;
    border: 0;
    border-radius: 99px;
    background: var(--plum);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(48, 41, 35, 0.28);
  }
  .modal-dialog {
    padding: 32px 22px;
  }
}
@media (max-width: 430px) {
  .quick-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .quick-grid a {
    border-right: 0;
  }
  .footer-brand {
    grid-column: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
