/* ==========================================================================
   vavada6725.com — рецептурная витрина
   палитра: аптечное стекло #101815 · янтарный флакон #c8853a · крем #efe8da
   префикс: .apth-
   ========================================================================== */

:root {
  --apth-glass: #101815;
  --apth-glass-2: #16211d;
  --apth-glass-3: #1d2b25;
  --apth-amber: #c8853a;
  --apth-amber-hi: #e0a45c;
  --apth-cream: #efe8da;
  --apth-cream-dim: #b6b0a4;
  --apth-line: #2c3b34;
  --apth-shadow: 0 18px 40px rgba(4, 9, 7, .45);
  --apth-rad: 3px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--apth-glass);
  background-image:
    repeating-linear-gradient(180deg, rgba(200, 133, 58, .05) 0 1px, transparent 1px 46px),
    radial-gradient(1100px 520px at 78% -8%, rgba(200, 133, 58, .13), transparent 62%);
  color: var(--apth-cream);
  font-family: 'Rambla', 'Trebuchet MS', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.68;
}

h1, h2, h3, .apth-logo__txt, .apth-step__n {
  font-family: 'Amiri', 'Times New Roman', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  letter-spacing: .1px;
}

h1 { font-size: 2.55rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.18rem; }

p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

a { color: var(--apth-amber-hi); text-decoration: none; }
a:hover { color: var(--apth-cream); }

.apth-wrap {
  width: min(1140px, 100% - 44px);
  margin-inline: auto;
}

.apth-over {
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--apth-amber);
  margin: 0 0 .55rem;
}

.apth-txt { color: #d7d1c4; max-width: 76ch; }

/* --------------------------------------------------------- шапка */
.apth-top {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(16, 24, 21, .94);
  border-bottom: 1px solid var(--apth-line);
  backdrop-filter: blur(7px);
}

.apth-top__in {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 68px;
}

.apth-logo { display: flex; align-items: center; gap: 11px; color: var(--apth-cream); }

.apth-logo__vial {
  width: 20px;
  height: 30px;
  flex: none;
  background: linear-gradient(180deg, var(--apth-amber-hi), var(--apth-amber));
  clip-path: polygon(30% 0, 70% 0, 70% 26%, 100% 60%, 100% 100%, 0 100%, 0 60%, 30% 26%);
  box-shadow: 0 0 0 1px rgba(239, 232, 218, .25);
}

.apth-logo__txt { font-size: 1.42rem; display: flex; flex-direction: column; }

.apth-logo__sub {
  font-family: 'Rambla', sans-serif;
  font-weight: 400;
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--apth-cream-dim);
  line-height: 1;
}

.apth-nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }

.apth-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: var(--apth-cream-dim);
  font-size: .92rem;
  border-bottom: 2px solid transparent;
}

.apth-nav a:hover { color: var(--apth-cream); border-bottom-color: var(--apth-amber); }

/* --------------------------------------------------------- кнопки */
.apth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: var(--apth-rad);
  background: linear-gradient(180deg, var(--apth-amber-hi), var(--apth-amber));
  color: #17100655;
  color: #170f06;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .01em;
  border: 1px solid #a96c28;
  box-shadow: 0 8px 22px rgba(200, 133, 58, .24);
}

.apth-btn:hover { filter: brightness(1.08); color: #170f06; }

.apth-btn--sm { min-height: 44px; padding: 0 16px; font-size: .9rem; flex: none; }
.apth-btn--lg { min-height: 60px; padding: 0 40px; font-size: 1.1rem; }

.apth-btn--ghost {
  background: transparent;
  color: var(--apth-cream);
  border: 1px solid var(--apth-line);
  box-shadow: none;
}

.apth-btn--ghost:hover { border-color: var(--apth-amber); color: var(--apth-cream); }

/* --------------------------------------------------------- hero */
.apth-hero { padding: 62px 0 58px; }

.apth-hero__grid {
  display: grid;
  grid-template-columns: 1.32fr .88fr;
  gap: 42px;
  align-items: start;
}

.apth-hero h1 { margin-bottom: 20px; }

.apth-lead { font-size: 1.06rem; color: #ddd7ca; max-width: 62ch; }

.apth-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.apth-hero__card {
  border: 1px solid var(--apth-line);
  border-top: 4px solid var(--apth-amber);
  background: linear-gradient(180deg, var(--apth-glass-2), var(--apth-glass));
  padding: 24px 24px 20px;
  box-shadow: var(--apth-shadow);
}

.apth-hero__card-t {
  font-family: 'Amiri', serif;
  font-size: 1.28rem;
  color: var(--apth-amber-hi);
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--apth-line);
}

.apth-recipe { margin: 0; }

.apth-recipe > div {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px dotted #2a382f;
}

.apth-recipe dt { color: var(--apth-cream-dim); font-size: .93rem; }

.apth-recipe dd {
  margin: 0 0 0 auto;
  font-family: 'Amiri', serif;
  font-size: 1.16rem;
  color: var(--apth-cream);
}

.apth-hero__card-f {
  margin: 14px 0 0;
  font-size: .8rem;
  color: var(--apth-cream-dim);
  letter-spacing: .03em;
}

/* --------------------------------------------------------- секции */
.apth-sec { padding: 56px 0; border-top: 1px solid var(--apth-line); }
.apth-sec--alt { background: rgba(22, 33, 29, .58); }
.apth-sec h2 { margin-bottom: 18px; }

/* --------------------------------------------------------- витрина */
.apth-shelf {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  gap: 16px;
  margin: 26px 0;
}

.apth-slip {
  background: var(--apth-cream);
  color: #23180d;
  padding: 16px 17px 13px;
  border-radius: var(--apth-rad);
  border-left: 5px solid var(--apth-amber);
  box-shadow: 0 10px 24px rgba(4, 9, 7, .38);
}

.apth-slip h3 {
  font-size: 1.14rem;
  color: #1c1409;
  margin-bottom: 9px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(35, 24, 13, .22);
}

.apth-slip li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: .89rem;
  padding: 3px 0;
}

.apth-slip li span {
  color: #6f6252;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .66rem;
  flex: none;
  width: 82px;
}

.apth-slip li em { font-style: normal; color: #2a1e10; }

/* --------------------------------------------------------- таблицы */
.apth-tblwrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 22px 0;
  border: 1px solid var(--apth-line);
}

.apth-tbl { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .95rem; }

.apth-tbl th {
  text-align: left;
  padding: 13px 15px;
  background: #1b2822;
  color: var(--apth-amber-hi);
  font-family: 'Amiri', serif;
  font-size: 1rem;
  border-bottom: 2px solid var(--apth-amber);
  white-space: nowrap;
}

.apth-tbl td {
  padding: 12px 15px;
  border-bottom: 1px dotted #2c3b34;
  color: #dad4c7;
}

.apth-tbl tbody tr:nth-child(even) { background: rgba(29, 43, 37, .38); }
.apth-tbl tfoot td { background: #1b2822; color: var(--apth-cream); }

/* --------------------------------------------------------- шаги */
.apth-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(262px, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.apth-step {
  position: relative;
  padding: 22px 22px 16px;
  border: 1px solid var(--apth-line);
  background: var(--apth-glass-2);
  border-radius: var(--apth-rad);
}

.apth-step__n {
  position: absolute;
  top: -16px;
  left: 20px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--apth-amber);
  color: #170f06;
  font-size: 1.24rem;
  border-radius: 50%;
}

.apth-step h3 { margin: 12px 0 8px; color: var(--apth-cream); }
.apth-step p { margin: 0; color: #cfc9bc; font-size: .95rem; }

/* --------------------------------------------------------- доступ */
.apth-doors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.apth-door {
  padding: 20px 22px;
  background: var(--apth-glass);
  border: 1px solid var(--apth-line);
  border-top: 3px solid var(--apth-amber);
}

.apth-door h3 { color: var(--apth-amber-hi); margin-bottom: 9px; }
.apth-door p { margin: 0; color: #cfc9bc; font-size: .96rem; }

/* --------------------------------------------------------- live */
.apth-live {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.apth-lv {
  padding: 18px 19px;
  border: 1px dashed var(--apth-line);
  background: rgba(29, 43, 37, .42);
  border-radius: var(--apth-rad);
}

.apth-lv h3 { color: var(--apth-cream); margin-bottom: 7px; }
.apth-lv p { margin: 0; font-size: .93rem; color: #cbc5b8; }

/* --------------------------------------------------------- отзывы */
.apth-revs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.apth-rev {
  background: var(--apth-cream);
  color: #241a0e;
  padding: 22px 22px 16px;
  border-radius: var(--apth-rad);
  box-shadow: 0 12px 26px rgba(4, 9, 7, .4);
}

.apth-rev__q { margin: 0 0 12px; font-size: .97rem; }

.apth-rev__a {
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid rgba(36, 26, 14, .25);
  font-size: .82rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: #7a5a2c;
}

/* --------------------------------------------------------- финал */
.apth-final {
  padding: 60px 0;
  border-top: 1px solid var(--apth-line);
  background:
    radial-gradient(760px 300px at 50% 0%, rgba(200, 133, 58, .18), transparent 70%),
    var(--apth-glass-2);
}

.apth-final__in { text-align: center; }
.apth-final__in h2 { margin-bottom: 14px; }
.apth-final__in p { max-width: 66ch; margin-inline: auto; color: #d7d1c4; }
.apth-final__in .apth-btn { margin-top: 12px; }

.apth-final__note { margin-top: 18px; font-size: .86rem; color: var(--apth-cream-dim); }

/* --------------------------------------------------------- faq */
.apth-faq { margin-top: 22px; border-top: 1px solid var(--apth-line); }

.apth-faq details { border-bottom: 1px solid var(--apth-line); }

.apth-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 46px 16px 2px;
  min-height: 44px;
  position: relative;
  font-family: 'Amiri', serif;
  font-size: 1.1rem;
  color: var(--apth-cream);
}

.apth-faq summary::-webkit-details-marker { display: none; }

.apth-faq summary::after {
  content: '+';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--apth-amber);
  line-height: 1;
}

.apth-faq details[open] summary::after { content: '–'; }
.apth-faq summary:hover { color: var(--apth-amber-hi); }

.apth-faq details p {
  margin: 0;
  padding: 0 46px 18px 2px;
  color: #cbc5b8;
  font-size: .96rem;
}

/* --------------------------------------------------------- author + подвал */
.apth-author {
  padding: 52px 0;
  border-top: 1px solid var(--apth-line);
  background: rgba(22, 33, 29, .58);
}

.apth-author h2 { font-size: 1.6rem; margin-bottom: 16px; }
.apth-author .apth-txt { font-size: .96rem; }

.apth-18 {
  border-left: 3px solid var(--apth-amber);
  padding-left: 16px;
  color: var(--apth-cream-dim);
}

.apth-foot {
  padding: 32px 0 40px;
  border-top: 1px solid var(--apth-line);
  background: #0b120f;
}

.apth-foot__legal { font-size: .84rem; color: #9a9488; max-width: 92ch; }
.apth-foot__c { font-size: .84rem; color: var(--apth-cream-dim); margin: 14px 0 0; }

/* --------------------------------------------------------- адаптив */
@media (max-width: 980px) {
  .apth-hero__grid { grid-template-columns: 1fr; gap: 30px; }
  h1 { font-size: 2.15rem; }
  h2 { font-size: 1.72rem; }
}

@media (max-width: 760px) {
  .apth-top__in { flex-wrap: wrap; padding: 10px 0; }
  .apth-nav { order: 3; width: 100%; margin-left: 0; }
  .apth-btn--sm { margin-left: auto; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .apth-wrap { width: min(1140px, 100% - 28px); }
  h1 { font-size: 1.82rem; }
  h2 { font-size: 1.46rem; }
  .apth-hero { padding: 38px 0 34px; }
  .apth-sec, .apth-final, .apth-author { padding: 40px 0; }
  .apth-shelf, .apth-steps, .apth-doors, .apth-live, .apth-revs { grid-template-columns: 1fr; }
  .apth-cta .apth-btn { width: 100%; }
  .apth-faq summary { font-size: 1.02rem; }
  .apth-faq details p { padding-right: 8px; }
}
