/* ═══════════════════════════════════════════
   Людмила Ладыженко — редизайн ladyzenko.ru
   ═══════════════════════════════════════════ */

:root {
  --bg: #FAF6EF;
  --bg-soft: #F3ECDF;
  --surface: #FFFFFF;
  --ink: #2B241C;
  --ink-soft: #6B6055;
  --accent: #C4622D;
  --accent-dark: #9E4A1E;
  --accent-soft: #F5E3D3;
  --gold: #D9A441;
  --sage: #5F6F52;
  --dark: #241D16;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 18px 50px -20px rgba(43, 36, 28, .22);
  --shadow-sm: 0 8px 24px -10px rgba(43, 36, 28, .18);
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Manrope", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─────────── Typography helpers ─────────── */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.eyebrow--light { color: var(--gold); }
.eyebrow--light::before { background: var(--gold); }

.section { padding: 96px 0; }

.section__head { max-width: 760px; margin-bottom: 56px; }

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.01em;
}
.section__title em {
  font-style: italic;
  color: var(--accent);
}

.section__descr {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 18px;
  max-width: 560px;
}

/* ─────────── Buttons ─────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 26px -10px rgba(196, 98, 45, .65);
}
.btn--primary:hover { background: var(--accent-dark); color: #fff; }

.btn--ghost {
  border-color: rgba(43, 36, 28, .25);
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn--light {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn--light:hover { color: var(--accent); }

.btn--lg { padding: 17px 34px; font-size: 16px; }
.btn--small { padding: 9px 20px; font-size: 14px; background: var(--accent-soft); color: var(--accent-dark); }
.btn--small:hover { background: var(--accent); color: #fff; }

/* ─────────── Header ─────────── */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.header.is-scrolled {
  background: rgba(250, 246, 239, .86);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(43, 36, 28, .08);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
}
.logo__mark {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 22px;
  font-style: italic;
  flex-shrink: 0;
}
.logo__text {
  display: flex;
  flex-direction: column;
  font-size: 15px;
  line-height: 1.25;
}
.logo__text em {
  font-style: normal;
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
  font-size: 14.5px;
  transition: background .2s, color .2s;
}
.nav a:hover { background: var(--accent-soft); color: var(--accent-dark); }

.header__cta { flex-shrink: 0; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
}
.burger span {
  width: 24px; height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ─────────── Hero ─────────── */

.hero {
  position: relative;
  padding: 170px 0 90px;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  top: -240px; right: -180px;
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(217, 164, 65, .28), rgba(196, 98, 45, .12) 45%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.hero__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.25;
  margin-bottom: 26px;
}
.hero__title strong {
  display: inline-block;
  font-size: clamp(56px, 8.5vw, 108px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 6px 0;
}
.hero__title span { color: var(--ink-soft); }

.hero__lead {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 480px;
  margin-bottom: 34px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 46px;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 44px;
}
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats b {
  font-family: var(--font-serif);
  font-size: 30px;
  color: var(--accent);
  line-height: 1.15;
}
.hero__stats span {
  font-size: 13.5px;
  color: var(--ink-soft);
  font-weight: 600;
}

.hero__visual { position: relative; }

.hero__photo {
  position: relative;
  border-radius: 240px 240px var(--radius) var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  max-width: 460px;
  margin-left: auto;
}
.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,.4);
  pointer-events: none;
}
.hero__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.hero__card {
  position: absolute;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  animation: float 5.5s ease-in-out infinite;
}
.hero__card-icon {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 17px;
  flex-shrink: 0;
}
.hero__card--1 { left: -14px; bottom: 88px; }
.hero__card--2 { right: -8px; top: 62px; animation-delay: 2.6s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: 26px; height: 44px;
  border: 2px solid rgba(43,36,28,.3);
  border-radius: 999px;
}
.hero__scroll span {
  position: absolute;
  left: 50%; top: 8px;
  width: 4px; height: 8px;
  margin-left: -2px;
  background: var(--accent);
  border-radius: 2px;
  animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(16px); opacity: 0; }
  100% { opacity: 0; }
}

/* ─────────── About ─────────── */

.about { background: var(--surface); border-radius: 56px 56px 0 0; }

.about__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 64px;
  align-items: start;
}

.about__story p { margin-bottom: 18px; font-size: 17.5px; }
.about__story p:first-child {
  font-family: var(--font-serif);
  font-size: 23px;
  line-height: 1.45;
  color: var(--ink);
}

.about__how {
  margin-top: 36px;
  padding: 28px 30px;
  background: var(--bg);
  border-radius: var(--radius);
}
.about__how h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  margin-bottom: 16px;
}
.about__how li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  color: var(--ink-soft);
}
.about__how li b { color: var(--ink); }
.about__how li::before {
  content: "✦";
  position: absolute;
  left: 0; top: 1px;
  color: var(--accent);
  font-size: 14px;
}

.about__help {
  background: var(--dark);
  color: #EFE7DA;
  border-radius: var(--radius);
  padding: 40px 38px;
  position: sticky;
  top: 100px;
}
.about__help h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 24px;
}
.help-list li {
  position: relative;
  padding: 12px 0 12px 32px;
  border-bottom: 1px solid rgba(255,255,255,.09);
  font-size: 15.5px;
  line-height: 1.5;
}
.help-list li:last-child { border-bottom: 0; }
.help-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 20px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--gold), var(--accent));
}

/* ─────────── News band ─────────── */

.news { padding: 40px 0; }

.news__band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  background: linear-gradient(120deg, var(--sage), #43503A);
  color: #F2EFE6;
  border-radius: var(--radius);
  padding: 46px 52px;
  box-shadow: var(--shadow);
}
.news__band h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(21px, 2.6vw, 29px);
  line-height: 1.3;
  max-width: 640px;
}

/* ─────────── School / Accordion ─────────── */

.school { background: var(--surface); }

.accordion {
  border-top: 1px solid rgba(43,36,28,.1);
}

.acc { border-bottom: 1px solid rgba(43,36,28,.1); }

.acc summary {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 26px 6px;
  cursor: pointer;
  list-style: none;
  transition: background .2s;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { background: rgba(196, 98, 45, .04); }

.acc__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  color: rgba(43,36,28,.32);
  min-width: 44px;
  transition: color .25s;
}
.acc[open] .acc__num { color: var(--accent); }

.acc__title {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.3vw, 25px);
  font-weight: 600;
  flex: 1;
  line-height: 1.3;
}

.acc__plus {
  position: relative;
  width: 38px; height: 38px;
  border: 1.5px solid rgba(43,36,28,.2);
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform .3s, background .3s, border-color .3s;
}
.acc__plus::before, .acc__plus::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.acc__plus::before { width: 14px; height: 1.8px; }
.acc__plus::after { width: 1.8px; height: 14px; transition: opacity .2s; }
.acc[open] .acc__plus {
  transform: rotate(180deg);
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.acc[open] .acc__plus::after { opacity: 0; }

.acc__body {
  padding: 4px 6px 34px 76px;
  max-width: 860px;
  color: var(--ink-soft);
}
.acc__body p { margin-bottom: 14px; }

.school__cta { text-align: center; margin-top: 52px; }

/* ─────────── Video facade ─────────── */

.video-slot {
  position: relative;
  margin-top: 20px;
  aspect-ratio: 16 / 9;
  max-width: 640px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 15%, rgba(217,164,65,.5), transparent 55%),
    linear-gradient(135deg, #3A2E22, #241D16);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-slot iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
  z-index: 3;
}

.video-slot__poster {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.video-slot::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(20,16,12,.55), rgba(20,16,12,.08) 45%, rgba(20,16,12,.12));
  pointer-events: none;
}
.video-slot__play {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,.14);
  border: 1.5px solid rgba(255,255,255,.5);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  transition: background .25s, transform .25s;
}
.video-slot__play:hover { background: var(--accent); border-color: var(--accent); transform: scale(1.05); }

.video-slot--card { margin-top: 0; max-width: none; }
.video-slot--card p {
  position: absolute;
  left: 18px; bottom: 14px;
  z-index: 2;
  color: rgba(255,255,255,.92);
  font-size: 14px;
  font-weight: 700;
  pointer-events: none;
  text-shadow: 0 1px 8px rgba(0,0,0,.5);
}
.video-slot--card .video-slot__play {
  width: 62px; height: 62px;
  padding: 0;
  border-radius: 50%;
  font-size: 18px;
  display: grid;
  place-items: center;
}
.video-slot--dark { max-width: none; margin: 0; height: 100%; }

/* ─────────── Services ─────────── */

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.service__time {
  align-self: flex-start;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--accent-soft);
  color: var(--accent-dark);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.service h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1.25;
  margin-bottom: 18px;
}
.service h3 small {
  display: block;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-top: 6px;
}

.service li {
  position: relative;
  padding: 8px 0 8px 26px;
  font-size: 15.5px;
  color: var(--ink-soft);
}
.service li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

.service--accent {
  background: var(--dark);
  color: #EFE7DA;
}
.service--accent h3 { color: var(--gold); }
.service--accent li { color: rgba(239,231,218,.8); }
.service--accent .service__time { background: rgba(217,164,65,.18); color: var(--gold); }

.services__cta {
  margin-top: 48px;
  text-align: center;
}
.services__cta p {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 15px;
}

/* ─────────── Products ─────────── */

.lectures { background: var(--surface); }

.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.product {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.product__img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.product__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.product:hover .product__img img { transform: scale(1.05); }

.product__badge {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  background: var(--sage);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.product__badge--sale { background: var(--accent); }

.product h3 {
  font-family: var(--font-serif);
  font-size: 18.5px;
  line-height: 1.3;
  padding: 18px 20px 0;
}
.product p {
  padding: 10px 20px 0;
  font-size: 14px;
  color: var(--ink-soft);
  flex: 1;
}

.product__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 20px 22px;
}
.product__price { display: flex; align-items: baseline; gap: 8px; }
.product__price b { font-size: 19px; }
.product__price s { font-size: 13px; color: var(--ink-soft); }

.lectures__promos { margin-top: 72px; }
.lectures__promos h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  margin-bottom: 26px;
}
.promos__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* ─────────── Book band ─────────── */

.book { padding: 40px 0; }

.book__band {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 44px;
  align-items: center;
  background: linear-gradient(120deg, #3A2E22, var(--dark));
  border-radius: var(--radius);
  padding: 56px;
  color: #EFE7DA;
  box-shadow: var(--shadow);
}
.book__band h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.25;
  margin-bottom: 18px;
}
.book__band > .book__text p:not(.eyebrow) {
  color: rgba(239,231,218,.75);
  margin-bottom: 28px;
  max-width: 480px;
}
.book__video .video-slot { aspect-ratio: 16 / 10; }

/* ─────────── Media grid ─────────── */

.media__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ─────────── Articles ─────────── */

.articles { background: var(--surface); }

.articles__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid rgba(43,36,28,.07);
  border-radius: var(--radius);
  padding: 30px 28px;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s, background .25s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  background: #fff;
}

.card__tag {
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.card h3 {
  font-family: var(--font-serif);
  font-size: 21px;
  line-height: 1.3;
  margin-bottom: 12px;
}
.card p {
  font-size: 14.5px;
  color: var(--ink-soft);
  flex: 1;
}
.card__more {
  margin-top: 20px;
  font-size: 14px;
  font-weight: 800;
  color: var(--accent);
}

/* ─────────── Gallery ─────────── */

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  padding: 0 8px;
}
.gallery__grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  cursor: zoom-in;
  transition: transform .3s ease, filter .3s ease;
}
.gallery__grid img:hover { transform: scale(1.03); filter: brightness(1.06); }

/* ─────────── Diplomas ─────────── */

.diplomas { background: var(--surface); }

.diplomas__scroller {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 6px 24px 26px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}
.diplomas__scroller img {
  height: 240px;
  width: auto;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
  cursor: zoom-in;
  transition: transform .25s;
}
.diplomas__scroller img:hover { transform: translateY(-6px); }

/* ─────────── Ask band ─────────── */

.ask { padding: 40px 0 96px; }

.ask__band {
  text-align: center;
  background:
    radial-gradient(circle at 85% 10%, rgba(217,164,65,.28), transparent 50%),
    var(--accent-soft);
  border-radius: var(--radius);
  padding: 68px 40px;
}
.ask__band h2 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 14px;
}
.ask__band p {
  color: var(--ink-soft);
  max-width: 480px;
  margin: 0 auto 32px;
}
.ask__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* ─────────── Contacts ─────────── */

.contacts { background: var(--surface); padding-bottom: 110px; }

.contacts__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}

.contacts__note {
  margin-top: 16px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  color: var(--ink-soft);
}

.contacts__list { margin-top: 36px; }
.contacts__list li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(43,36,28,.09);
}
.contacts__list span {
  min-width: 110px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.contacts__list a {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  transition: color .2s;
}
.contacts__list a:hover { color: var(--accent); }

.contacts__photo img {
  border-radius: var(--radius) 240px var(--radius) var(--radius);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: var(--shadow);
}

/* ─────────── Footer ─────────── */

.footer {
  background: var(--dark);
  color: rgba(239,231,218,.75);
  padding: 52px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  line-height: 1.45;
}
.footer__brand small { color: rgba(239,231,218,.45); }
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}
.footer__nav a {
  color: rgba(239,231,218,.75);
  font-size: 14px;
  font-weight: 600;
}
.footer__nav a:hover { color: var(--gold); }
.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
}
.footer__contacts a { color: #EFE7DA; font-weight: 700; }
.footer__contacts a:hover { color: var(--gold); }

/* ─────────── Modal ─────────── */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(36, 29, 22, .6);
  backdrop-filter: blur(6px);
}
.modal__dialog {
  position: relative;
  background: var(--bg);
  border-radius: var(--radius);
  max-width: 680px;
  width: 100%;
  max-height: 84vh;
  overflow-y: auto;
  padding: 48px 52px;
  box-shadow: var(--shadow);
  animation: modalIn .3s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 0;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 16px;
  transition: background .2s, color .2s;
}
.modal__close:hover { background: var(--accent); color: #fff; }

.modal__content h2 {
  font-family: var(--font-serif);
  font-size: 30px;
  line-height: 1.2;
  margin-bottom: 20px;
}
.modal__content p, .modal__content ol { margin-bottom: 14px; color: var(--ink-soft); }
.modal__content ol { padding-left: 22px; }
.modal__content li { margin-bottom: 6px; }
.modal__tag {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent) !important;
  margin-bottom: 12px;
}
.modal__sign {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--ink) !important;
  margin-top: 22px;
}

/* ─────────── Lightbox ─────────── */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(20, 16, 12, .92);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(92vw, 1100px);
  max-height: 88vh;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.lightbox button {
  position: absolute;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  border-radius: 50%;
  width: 48px; height: 48px;
  font-size: 20px;
  transition: background .2s;
}
.lightbox button:hover { background: var(--accent); }
.lightbox__close { top: 22px; right: 22px; }
.lightbox__prev { left: 22px; top: 50%; transform: translateY(-50%); font-size: 28px; }
.lightbox__next { right: 22px; top: 50%; transform: translateY(-50%); font-size: 28px; }

/* ─────────── Reveal animation ─────────── */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal--delay { transition-delay: .15s; }
.reveal--delay2 { transition-delay: .3s; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__card { animation: none; }
  html { scroll-behavior: auto; }
}

/* ─────────── Responsive ─────────── */

@media (max-width: 1080px) {
  .products, .promos__grid, .articles__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(4, 1fr); }
  .media__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .nav {
    position: fixed;
    top: 76px;
    left: 0; right: 0;
    flex-direction: column;
    background: var(--bg);
    padding: 18px 24px 28px;
    box-shadow: 0 24px 40px -20px rgba(43,36,28,.25);
    transform: translateY(-130%);
    transition: transform .35s ease;
    z-index: -1;
  }
  .nav.is-open { transform: none; }
  .nav a { padding: 13px 16px; font-size: 16px; }
  .burger { display: flex; }
  .header__cta { margin-left: auto; }
  .header.is-scrolled, .nav { background: rgba(250, 246, 239, .97); }

  .hero { padding-top: 130px; }
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__photo { margin: 0 auto; }
  .hero__card--1 { left: 0; }
  .hero__card--2 { right: 0; }

  .about__grid, .contacts__grid, .book__band { grid-template-columns: 1fr; gap: 40px; }
  .about__help { position: static; }
  .services__grid { grid-template-columns: 1fr; }
  .news__band { flex-direction: column; align-items: flex-start; padding: 38px 32px; }
  .acc__body { padding-left: 6px; }
  .section { padding: 72px 0; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .products, .promos__grid, .articles__grid, .media__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__stats { gap: 14px 28px; }
  .hero__card { display: none; }
  .modal__dialog { padding: 40px 26px; }
  .book__band { padding: 40px 28px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__contacts { text-align: left; }
  .acc summary { gap: 14px; }
  .acc__num { min-width: 34px; font-size: 18px; }
}
