/* Inner pages: page hero, About, Contact, placeholders */

:root { --danger: #b42318; --danger-bg: #fef3f2; }

/* ---------- Page hero (simple) ---------- */
.page-hero { display: grid; gap: var(--s-3); padding-top: var(--s-4); padding-bottom: var(--s-6); }
.page-hero h1 { font-size: var(--fs-2xl); font-weight: 700; letter-spacing: -0.02em; }
.page-hero__lead { max-width: 60ch; font-size: var(--fs-md); color: var(--ink-2); }
@media (min-width: 960px) { .page-hero { padding-bottom: var(--s-7); } }

/* =========================================================
   About
   ========================================================= */
.about-hero { padding-bottom: var(--s-2); }
.about-hero__panel {
  position: relative; display: grid; gap: var(--s-6); align-items: center; overflow: hidden;
  padding: var(--s-7) var(--s-5) 0; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 100%); color: #fff;
}
.about-hero__panel::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(224, 135, 163, .28), transparent);
}
.about-hero__content { position: relative; display: grid; gap: var(--s-3); max-width: 540px; }
.about-hero__content .eyebrow { color: var(--pink-200); }
.about-hero__content h1 { color: #fff; font-size: var(--fs-2xl); font-weight: 700; letter-spacing: -0.02em; }
.about-hero__content p { font-size: var(--fs-md); color: var(--green-200); line-height: 1.65; }
.about-hero__products { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: var(--s-3); }
.about-hero__bottle { width: 30%; max-width: 170px; aspect-ratio: 3 / 4; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); }
.about-hero__bottle:nth-child(2) { width: 36%; max-width: 210px; }
.about-hero__bottle img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .about-hero__panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: var(--s-8) var(--s-8) 0; min-height: 420px; }
  .about-hero__content { padding-bottom: var(--s-8); }
  .about-hero__products { align-self: end; }
}

.about-intro__grid { display: grid; gap: var(--s-6); align-items: center; }
.about-intro__title { font-size: var(--fs-xl); line-height: 1.25; max-width: 20ch; }
.about-intro__title em { font-style: normal; color: var(--pink-500); }
.about-intro__text { margin-top: var(--s-4); max-width: 56ch; font-size: var(--fs-md); color: var(--ink-2); line-height: 1.7; }
.mission { position: relative; padding: var(--s-6); border-radius: var(--radius-lg); background: var(--green-900); color: #fff; overflow: hidden; }
.mission::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(closest-side, rgba(224, 135, 163, .3), transparent); }
.mission__label { display: inline-flex; align-items: center; gap: var(--s-2); font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--pink-200); }
.mission__label svg { width: 18px; height: 18px; }
.mission p { position: relative; margin-top: var(--s-4); font-family: var(--font-head); font-size: var(--fs-lg); font-weight: 500; line-height: 1.4; }
@media (min-width: 960px) { .about-intro__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-8); } }

.values { list-style: none; display: grid; gap: var(--s-4); }
.value { position: relative; padding: var(--s-5); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.value:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.value__num { position: absolute; top: var(--s-5); right: var(--s-5); font-family: var(--font-head); font-weight: 600; font-size: var(--fs-sm); color: var(--line-strong); }
.value__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: var(--s-4); border-radius: 14px; background: var(--green-100); color: var(--green-700); }
.value:nth-child(even) .value__icon { background: var(--pink-100); color: var(--pink-600); }
.value__icon svg { width: 24px; height: 24px; }
.value h3 { font-size: var(--fs-md); margin-bottom: var(--s-2); }
.value p { font-size: var(--fs-sm); color: var(--muted); line-height: 1.65; }
@media (min-width: 640px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .values { grid-template-columns: repeat(4, 1fr); gap: var(--s-5); } }

.offer { display: grid; gap: var(--s-5); padding: var(--s-5); border-radius: var(--radius-lg); background: var(--green-900); color: #fff; }
@media (min-width: 960px) { .offer { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: center; gap: var(--s-7); padding: var(--s-7); } }
.offer__intro { display: grid; gap: var(--s-3); justify-items: start; }
.offer__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .1); color: var(--pink-200); }
.offer__icon svg { width: 22px; height: 22px; }
.offer__title { color: #fff; font-size: var(--fs-lg); }
.offer__text { color: var(--green-200); line-height: 1.65; margin-bottom: var(--s-2); }
.offer__products { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
@media (min-width: 640px) { .offer__products { grid-template-columns: repeat(4, 1fr); } }
.offer__product { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius); overflow: hidden; background: #fff; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.offer__product:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.offer__thumb { aspect-ratio: 1; overflow: hidden; background: #f1f2f5; }
.offer__thumb img { width: 100%; height: 100%; object-fit: cover; }
.offer__name { padding: var(--s-3); font-family: var(--font-head); font-size: var(--fs-sm); font-weight: 600; color: var(--green-900); line-height: 1.35; }

.story { display: grid; gap: var(--s-6); }
.story__aside { display: grid; gap: var(--s-3); align-content: start; }
.story__aside h2 { font-size: var(--fs-xl); }
@media (min-width: 960px) {
  .story { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-8); }
  .story__aside { position: sticky; top: 120px; }
}

/* =========================================================
   Contact
   ========================================================= */
.contact { display: grid; gap: var(--s-5); padding-bottom: var(--s-8); align-items: start; }
@media (min-width: 1000px) { .contact { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-6); } }

.channels { list-style: none; display: grid; gap: var(--s-3); }
@media (min-width: 640px) and (max-width: 999px) { .channels { grid-template-columns: repeat(3, 1fr); } }
.channel {
  display: grid; grid-template-columns: auto 1fr; column-gap: var(--s-4); row-gap: 2px; align-items: center;
  height: 100%; padding: var(--s-5); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line);
  transition: border-color .2s, box-shadow .25s var(--ease), transform .25s var(--ease);
}
.channel:hover { border-color: var(--green-200); box-shadow: var(--shadow); transform: translateY(-2px); }
.channel__icon { grid-row: span 3; align-self: start; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--green-100); color: var(--green-700); }
.channel__icon svg { width: 22px; height: 22px; }
.channel__label { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.channel__value { font-family: var(--font-head); font-weight: 600; color: var(--green-900); line-height: 1.4; overflow-wrap: anywhere; }
.channel__action { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--s-1); font-size: var(--fs-sm); font-weight: 500; color: var(--pink-600); }
.channel__action svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.channel:hover .channel__action svg { transform: translateX(3px); }
@media (min-width: 640px) and (max-width: 999px) {
  .channel { grid-template-columns: 1fr; }
  .channel__icon { grid-row: auto; margin-bottom: var(--s-3); }
}

.form-card { padding: var(--s-5); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); scroll-margin-top: 100px; }
@media (min-width: 640px) { .form-card { padding: var(--s-6) var(--s-7); } }
.form-card__head { margin-bottom: var(--s-5); }
.form-card__head h2 { font-size: var(--fs-lg); }
.form-card__head p { margin-top: var(--s-1); color: var(--muted); font-size: var(--fs-sm); }

.form { display: grid; gap: var(--s-4); }
.form__row { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.field { display: grid; gap: 6px; align-content: start; }
.field label { font-size: var(--fs-sm); font-weight: 500; color: var(--ink-2); }
.field__req { color: var(--pink-600); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px;
  border: 1.5px solid var(--line-strong); background: var(--bg);
  font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: #8c968f; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-600); background: #fff; box-shadow: 0 0 0 4px var(--green-100); }
.field__hint { font-size: var(--fs-xs); color: var(--muted); }
.field__error { display: flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 500; color: var(--danger); }
.field__error svg { width: 15px; height: 15px; flex: none; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--danger); background: var(--danger-bg); }
.field.has-error input:focus, .field.has-error textarea:focus { box-shadow: 0 0 0 4px rgba(180, 35, 24, .12); }

.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select svg { position: absolute; right: 14px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }

.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-2); }
.form__req { font-size: var(--fs-xs); color: var(--muted); }
.form__req span { color: var(--pink-600); }
.form__foot .btn { min-width: 180px; }
.btn.is-busy { opacity: .75; cursor: progress; }
@media (max-width: 480px) { .form__foot .btn { width: 100%; } }

.form-alert { display: flex; gap: var(--s-3); align-items: flex-start; margin-bottom: var(--s-4); padding: var(--s-3) var(--s-4); border-radius: 12px; background: var(--danger-bg); color: var(--danger); font-size: var(--fs-sm); }
.form-alert svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.form-alert a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.form-done { display: grid; justify-items: center; gap: var(--s-3); padding: var(--s-7) var(--s-4); text-align: center; }
.form-done__icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--green-100); color: var(--green-700); }
.form-done__icon svg { width: 36px; height: 36px; }
.form-done h2 { font-size: var(--fs-xl); }
.form-done p { color: var(--muted); max-width: 40ch; }

.map-section { padding-top: 0; }
.map { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); }
.map iframe { display: block; width: 100%; height: clamp(320px, 42vw, 460px); border: 0; filter: saturate(.85); }
.map__card { display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-4) var(--s-5); background: var(--surface); border-top: 1px solid var(--line); }
.map__card strong { font-family: var(--font-head); color: var(--green-900); }
.map__card p { font-size: var(--fs-sm); color: var(--muted); }
.map__pin { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--pink-500); color: #fff; }
.map__pin svg { width: 20px; height: 20px; }
@media (min-width: 768px) {
  .map__card { position: absolute; left: var(--s-5); bottom: var(--s-5); max-width: 360px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
}

/* =========================================================
   Products catalog
   ========================================================= */
.catalog { padding-bottom: var(--s-8); }
.catalog__tools { display: grid; gap: var(--s-4); margin-bottom: var(--s-5); }
.catalog__count { font-size: var(--fs-sm); color: var(--muted); }
@media (min-width: 768px) {
  .catalog__tools { grid-template-columns: minmax(280px, 420px) 1fr; align-items: center; }
  .catalog__tools .search { max-width: none; }
  .catalog__tools .filters { grid-column: 1 / -1; grid-row: 2; margin: 0; padding: 2px; flex-wrap: wrap; overflow: visible; }
  .catalog__count { justify-self: end; }
}
.filter__count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 4px; padding: 0 6px; border-radius: var(--radius-pill); background: var(--surface-2); color: var(--muted); font-size: 11px; font-weight: 600; }
.filter.is-active .filter__count { background: rgba(255, 255, 255, .16); color: #fff; }

.catalog__grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
@media (min-width: 720px) { .catalog__grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-4); } }
@media (min-width: 1100px) { .catalog__grid { grid-template-columns: repeat(4, 1fr); gap: var(--s-5); } }
.pcat[hidden] { display: none; }

.pcat__link {
  display: flex; flex-direction: column; height: 100%; overflow: hidden;
  border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.pcat__link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green-200); }
.pcat__img { aspect-ratio: 1; overflow: hidden; background: #f1f2f5; }
.pcat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.pcat__link:hover .pcat__img img { transform: scale(1.04); }
.pcat__placeholder { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(135deg, var(--green-50), var(--green-100)); color: var(--green-600); }
.pcat__placeholder svg { width: 40%; height: 40%; opacity: .5; }
.pcat__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: var(--s-4); }
.pcat__cat { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--pink-600); }
.pcat__name { font-family: var(--font-head); font-size: var(--fs-base); font-weight: 600; line-height: 1.3; color: var(--green-900); }
.pcat__type { font-size: var(--fs-sm); color: var(--muted); line-height: 1.5; }
.pcat__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: var(--s-2); font-size: var(--fs-sm); font-weight: 600; color: var(--green-700); }
.pcat__cta svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.pcat__link:hover .pcat__cta svg { transform: translateX(3px); }
@media (max-width: 480px) {
  .pcat__body { padding: var(--s-3); }
  .pcat__name { font-size: var(--fs-sm); }
  .pcat__type { font-size: var(--fs-xs); }
}

.catalog__empty { display: grid; justify-items: center; gap: var(--s-3); padding: var(--s-8) var(--s-4); text-align: center; color: var(--muted); border: 1.5px dashed var(--line-strong); border-radius: var(--radius-lg); }
.catalog__empty[hidden] { display: none; }
.catalog__empty svg { width: 32px; height: 32px; color: var(--green-600); }
