/* ─── RESET ─── */
.glow-cm *, .glow-cm *::before, .glow-cm *::after { box-sizing: border-box; margin: 0; padding: 0; }
.glow-cm {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.55;
  color: #1A1A1A;
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}
.glow-cm img { display: block; max-width: 100%; height: auto; }
.glow-cm p   { margin-bottom: 14px; }
.glow-cm p:last-child { margin-bottom: 0; }
.glow-cm a   { color: inherit; text-decoration: none; }

/* Мікс-типографіка: em = курсивний серіф */
.glow-cm em {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
}

/* ─── LAYOUT ─── */
.cm-wrap { max-width: 1080px; margin: 0 auto; padding: 0 36px; }

/* ─── EYEBROW ─── */
.cm-eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #999;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.cm-eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}

/* ─── HEADINGS ─── */
.cm-h1 {
  font-size: clamp(38px, 5.5vw, 64px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}
.cm-h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.cm-h2-center { text-align: center; }
.cm-section-lead {
  text-align: center;
  font-size: 14px;
  color: #888;
  font-weight: 300;
  max-width: 500px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

/* ─── BUTTON ─── */
.cm-btn {
  display: inline-block;
  padding: 13px 28px;
  border: 1px solid #B8B8B8;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 400;
  font-family: inherit;
  background: transparent;
  color: #1A1A1A;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
  letter-spacing: 0.01em;
  text-align: center;
}
.cm-btn:hover { background: #1A1A1A; color: #FFF; border-color: #1A1A1A; }
.cm-btn--full  { display: block; width: 100%; }
.cm-btn--dark  { background: #1A1A1A; color: #FFF; border-color: #1A1A1A; }
.cm-btn--dark:hover { background: #333; border-color: #333; }

/* ─── LIGHT BOX ─── */
.cm-box {
  background: #F4F4F4;
  border-radius: 8px;
  padding: 56px 48px;
}

/* ═══════════════════════════════════════════════
   02 · HERO
   ═══════════════════════════════════════════════ */
.cm-hero {
  background:
    url('/image/catalog/glow-contract/img1_nobg.png') 81% center / 26% auto no-repeat,
    linear-gradient(155deg, #E9ECF3 30%, #EAE6DC 100%);
  padding: 80px 0 100px;
  min-height: 520px;
}
.cm-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.cm-hero__eyebrow { margin-bottom: 28px; }
.cm-hero__sub {
  font-size: 16px;
  font-weight: 400;
  color: #1A1A1A;
  margin-bottom: 16px;
}
.cm-hero__desc { font-size: 14px; color: #444; line-height: 1.7; }
.cm-hero__cta  { margin-top: 40px; }

/* ═══════════════════════════════════════════════
   03 · TRUST STRIP
   ═══════════════════════════════════════════════ */
.cm-trust {
  margin-top: 0;
  border-top: 1px solid #E8E8E8;
  border-bottom: 1px solid #E8E8E8;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.cm-trust__item {
  padding: 28px 16px;
  border-right: 1px solid #E8E8E8;
  text-align: center;
}
.cm-trust__item:last-child { border-right: none; }
.cm-trust__title { font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.cm-trust__desc  { font-size: 12px; color: #888; }

/* ═══════════════════════════════════════════════
   04 · ЗНАЧЕННЯ 01–04
   ═══════════════════════════════════════════════ */
.cm-values { padding: 88px 0; }
.cm-values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid #E8E8E8;
  margin-top: 48px;
}
.cm-value__card {
  padding: 40px 28px;
  border-right: 1px solid #E8E8E8;
  text-align: center;
}
.cm-value__card:last-child { border-right: none; }
.cm-value__num {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #1A1A1A;
  margin-bottom: 20px;
}
.cm-value__title { font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.cm-value__desc  { font-size: 13px; color: #777; line-height: 1.6; }

/* ═══════════════════════════════════════════════
   05 · ЩО МИ ВИРОБЛЯЄМО — 6 карток
   ═══════════════════════════════════════════════ */
.cm-categories { padding: 0 0 88px; }
.cm-cat__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.cm-cat__card {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #EBEBEB;
}
.cm-cat__img {
  width: 100%;
  aspect-ratio: 557 / 470;
  overflow: hidden;
}
.cm-cat__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cm-cat__body { padding: 18px 22px 22px; }
.cm-cat__title {
  font-size: 16px;
  font-weight: 500;
  color: #1A1A1A;
  margin-bottom: 6px;
}
.cm-cat__desc {
  font-size: 13px;
  line-height: 1.45;
  color: #888;
}

/* ═══════════════════════════════════════════════
   06 · ТЕМНА СЕКЦІЯ «НАШ ДОСВІД»
   ═══════════════════════════════════════════════ */
.cm-dark {
  background: #1C1C1C;
  color: #FFFFFF;
  padding: 88px 0;
}
.cm-dark__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.cm-dark .cm-eyebrow { color: #555; }
.cm-dark .cm-h2      { color: #FFFFFF; margin-bottom: 24px; }
.cm-dark__desc { font-size: 14px; color: #888; line-height: 1.75; }
.cm-dark__stats {
  display: flex;
  gap: 0;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #2E2E2E;
}
.cm-dark__stat {
  flex: 1;
  padding-right: 24px;
  border-right: 1px solid #2E2E2E;
  margin-right: 24px;
}
.cm-dark__stat:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.cm-dark__stat-num {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 6px;
}
.cm-dark__stat-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #555;
}
.cm-dark__img {
  display: flex;
  align-items: center;
  justify-content: center;
}
.cm-dark__img img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.4));
}

/* ═══════════════════════════════════════════════
   07 · ЯК МИ ПРАЦЮЄМО
   ═══════════════════════════════════════════════ */
.cm-timeline-section { padding: 88px 0; }
.cm-timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  position: relative;
  margin-top: 48px;
}
.cm-timeline::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 9%;
  right: 9%;
  border-top: 1px solid #DEDEDE;
  z-index: 0;
}
.cm-step { text-align: center; position: relative; z-index: 1; padding: 0 4px; }
.cm-step__icon {
  width: 56px; height: 56px;
  margin: 0 auto 14px;
  border: 1px solid #DEDEDE;
  border-radius: 12px;
  background: #FFF;
  display: flex; align-items: center; justify-content: center;
}
.cm-step__icon svg {
  width: 22px; height: 22px;
  stroke: #555; fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.cm-step__roman { font-size: 11px; color: #BBBBBB; letter-spacing: 0.08em; margin-bottom: 8px; }
.cm-step__title { font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.cm-step__desc  { font-size: 12px; color: #888; line-height: 1.5; }
.cm-timeline__note {
  text-align: center;
  margin-top: 40px;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 14px;
  color: #888;
}

/* ═══════════════════════════════════════════════
   08 · З КИМ МИ ПРАЦЮЄМО
   ═══════════════════════════════════════════════ */
.cm-forwho { padding: 0 0 88px; }
.cm-forwho__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 16px;
}
.cm-segment {
  border: 1px solid #E8E8E8;
  border-radius: 8px;
  overflow: hidden;
}
.cm-segment__img {
  height: 240px;
  overflow: hidden;
  background: #F0EDE8;
}
.cm-segment__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.cm-segment:hover .cm-segment__img img { transform: scale(1.03); }
.cm-segment__body { padding: 28px 32px 36px; }
.cm-segment__eyebrow {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #888;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.cm-segment__eyebrow::before {
  content: "";
  width: 14px; height: 1px;
  background: #888;
}
.cm-segment__title { font-size: 22px; font-weight: 500; margin-bottom: 10px; letter-spacing: -0.01em; }
.cm-segment__desc  { font-size: 14px; color: #666; line-height: 1.6; }

/* ═══════════════════════════════════════════════
   09 · БРЕНДИ, ЯКІ МИ ВЖЕ ВИПУСТИЛИ
   ═══════════════════════════════════════════════ */
.cm-brands-section { padding: 88px 0; }
.cm-brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.cm-brand-card { }
.cm-brand-card__img {
  height: 200px;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 16px;
}
.cm-brand-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.cm-brand-card__name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.cm-brand-card__desc { font-size: 13px; color: #777; }

/* ═══════════════════════════════════════════════
   10 · ЦИТАТА
   ═══════════════════════════════════════════════ */
.cm-quote {
  background: #F0E9DF;
  padding: 88px 0;
}
.cm-quote__inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.cm-quote__mark {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 56px;
  color: #C4AD93;
  line-height: 0.8;
  margin-bottom: 20px;
  letter-spacing: -0.05em;
}
.cm-quote__text {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: clamp(18px, 2.4vw, 28px);
  line-height: 1.5;
  color: #2A2A2A;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}
.cm-quote__author {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #999;
}

/* ═══════════════════════════════════════════════
   11 · FAQ
   ═══════════════════════════════════════════════ */
.cm-faq-section { padding: 88px 0; }
.cm-faq__list { margin-top: 32px; }
.cm-faq__item { border-bottom: 1px solid #E5E5E5; }
.cm-faq__item:first-child { border-top: 1px solid #E5E5E5; }
.cm-faq__q {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 400;
  color: #1A1A1A;
  gap: 16px;
}
.cm-faq__q::-webkit-details-marker { display: none; }
.cm-faq__plus {
  flex-shrink: 0;
  width: 18px; height: 18px;
  position: relative;
}
.cm-faq__plus::before,
.cm-faq__plus::after {
  content: "";
  position: absolute;
  background: #1A1A1A;
  left: 50%; top: 50%;
  transition: transform .2s ease, opacity .2s ease;
}
.cm-faq__plus::before { width: 1px; height: 14px; transform: translate(-50%, -50%); }
.cm-faq__plus::after  { width: 14px; height: 1px; transform: translate(-50%, -50%); }
.cm-faq__item[open] .cm-faq__plus::before { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.cm-faq__a {
  padding: 0 0 20px;
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  max-width: 680px;
}

/* ═══════════════════════════════════════════════
   12 · ФОРМА
   ═══════════════════════════════════════════════ */
.cm-form-section { padding: 88px 0; }
.cm-form__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.cm-form__left .cm-h2 { margin-bottom: 16px; }
.cm-form__left-desc { font-size: 14px; color: #555; line-height: 1.7; margin-bottom: 32px; }
.cm-form__bottle-img { overflow: hidden; }
.cm-form__bottle-img img { width: 100%; height: 270px; object-fit: contain; object-position: left center; }
.cm-form__micro { margin-top: 20px; font-size: 13px; color: #888; line-height: 1.6; }

.cm-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cm-form__field { display: flex; flex-direction: column; }
.cm-form__field--full { grid-column: 1 / -1; }
.cm-form input:not([type="checkbox"]),
.cm-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #DCDCDC;
  border-radius: 3px;
  font-size: 14px;
  font-family: inherit;
  font-weight: 300;
  background: #FAFAFA;
  color: #1A1A1A;
  transition: border-color .15s, background .15s;
}
.cm-form input:not([type="checkbox"])::placeholder,
.cm-form textarea::placeholder { color: #AAA; }
.cm-form input:not([type="checkbox"]):focus,
.cm-form textarea:focus { outline: none; border-color: #1A1A1A; background: #FFF; }
.cm-form textarea { min-height: 100px; resize: vertical; }
.cm-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  font-size: 12px;
  color: #888;
  line-height: 1.5;
}
.cm-form__consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: #1A1A1A;
}
.cm-form__submit { margin-top: 20px; }
/* Підсвітка обов'язкових полів при помилці */
.cm-form input.is-error,
.cm-form textarea.is-error {
  border-color: #E05252 !important;
  background: #FFF8F8 !important;
  outline: none;
}
.cm-form input.is-error:focus,
.cm-form textarea.is-error:focus {
  box-shadow: 0 0 0 3px rgba(224,82,82,.15);
}

.cm-form__success {
  display: none;
  padding: 20px;
  border: 1px solid #DCDCDC;
  border-radius: 3px;
  text-align: center;
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}
.cm-form.is-sent .cm-form__success { display: block; }
.cm-form.is-sent .cm-form__body { display: none; }

/* ─── STICKY MOBILE ─── */
.cm-sticky {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #FFF;
  border-top: 1px solid #E8E8E8;
  padding: 10px 16px;
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0,0,0,.07);
}
.cm-sticky__row { display: flex; gap: 8px; max-width: 480px; margin: 0 auto; }
.cm-sticky input {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid #DDD;
  border-radius: 3px;
  font-size: 14px;
  font-family: inherit;
}
.cm-sticky .cm-btn { flex-shrink: 0; padding: 10px 18px; font-size: 13px; }

/* ═══════════════ АДАПТИВ ═══════════════ */
@media (max-width: 1000px) {
  .cm-wrap { padding: 0 24px; }
  .cm-hero__inner, .cm-dark__inner, .cm-form__inner { grid-template-columns: 1fr; gap: 40px; }
  .cm-hero__img img { min-height: 280px; }
  .cm-trust { grid-template-columns: 1fr 1fr; }
  .cm-trust__item:nth-child(2) { border-right: none; }
  .cm-trust__item:nth-child(1),
  .cm-trust__item:nth-child(2) { border-bottom: 1px solid #E8E8E8; }
  .cm-values__grid { grid-template-columns: 1fr 1fr; }
  .cm-value__card:nth-child(2) { border-right: none; }
  .cm-value__card:nth-child(3) { border-right: 1px solid #E8E8E8; }
  .cm-cat__grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .cm-timeline { grid-template-columns: repeat(3, 1fr); }
  .cm-timeline::before { display: none; }
  .cm-brands-grid { grid-template-columns: 1fr 1fr; }
  .cm-box { padding: 40px 28px; }
  .cm-dark__stats { gap: 24px; }
  .cm-dark__inner { gap: 40px; }
}
@media (max-width: 640px) {
  .cm-wrap { padding: 0 16px; }
  .cm-hero {
    background-position: center bottom;
    background-size: 90% auto;
    padding: 48px 0 260px;
    min-height: auto;
  }
  .cm-hero__inner { grid-template-columns: 1fr; gap: 0; }
  .cm-hero__inner > div:last-child { display: none; }
  .cm-values { padding: 64px 0; }
  .cm-values__grid { grid-template-columns: 1fr 1fr; }
  .cm-value__num { font-size: 44px; }
  .cm-cat__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cm-cat__body { padding: 14px 16px 18px; }
  .cm-timeline { grid-template-columns: 1fr 1fr; }
  .cm-forwho__grid { grid-template-columns: 1fr; }
  .cm-brands-grid { grid-template-columns: 1fr 1fr; }
  .cm-form__grid { grid-template-columns: 1fr; }
  .cm-box { padding: 28px 20px; }
  .cm-quote { padding: 64px 0; }
  .cm-dark__stats { flex-direction: column; gap: 20px; }
  .cm-dark__stat { border-right: none; padding-right: 0; margin-right: 0; border-bottom: 1px solid #2E2E2E; padding-bottom: 20px; margin-bottom: 0; }
  .cm-dark__stat:last-child { border-bottom: none; }
  .cm-sticky { display: block; }
  .glow-cm { padding-bottom: 72px; }
  .cm-segment__img { height: 200px; }
}
