:root {
  /* Palette: six colours taken from the Эдем emblem */
  --cream: #fbf7f1;      /* сливки — page */
  --cream-2: #f3e7da;    /* крем — second ground */
  --rose: #e8bfae;       /* пудра — the emblem's ribbon */
  --copper: #b06f3c;     /* медь — lines, large figures, ornaments */
  --copper-ink: #8c5426; /* тёмная медь — copper TEXT (5.6:1 on cream) */
  --choco: #3b2219;      /* шоколад — text and buttons */

  /* Derived shades (not new colours) */
  --ink: var(--choco);
  --ink-soft: #715b50;
  --line: #e9dccd;
  --white: var(--white);
  --choco-2: var(--choco);
  --peach: var(--cream-2);
  --copper-light: #d9a26c; /* copper on chocolate only */
  --error: #b3261e;
  --success: #3d7a4a;

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Three radii, two shadows */
  --radius: 24px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  /* Signature shape: the arch of the Эдем emblem */
  --arch: 999px 999px var(--radius) var(--radius);
  --shadow: 0 18px 44px -26px rgba(59, 34, 25, 0.35);
  --shadow-lift: 0 40px 90px -36px rgba(59, 34, 25, 0.5);

  /* Type scale (display serif) */
  --fs-h2: clamp(2.2rem, 4.2vw, 3.2rem);
  --fs-h3: 1.875rem;
  --fs-h4: 1.5rem;

  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--choco);
  color: var(--cream);
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

.icon { width: 18px; height: 18px; flex: none; }

.muted { color: var(--ink-soft); font-size: 0.925rem; }

.todo {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #9a4d1c;
  background: rgba(255, 237, 213, 0.9);
  border: 1px dashed #d99a5f;
  border-radius: var(--radius-sm);
  padding: 3px 8px;
}
.todo--block { display: block; margin: 20px 0; padding: 10px 14px; }

/* Typography */
.eyebrow,
.split__text .eyebrow {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  color: var(--copper-ink);
}

.section__title,
.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.section__title { font-size: var(--fs-h2); margin-bottom: 18px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid var(--choco);
  border-radius: 999px;
  background: var(--choco);
  color: var(--cream);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn { position: relative; isolation: isolate; overflow: hidden; }
.btn--shine::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 236, 214, 0.38) 48%, transparent 76%);
  transform: translateX(-130%);
  transition: transform 0.65s ease;
  pointer-events: none;
}
.btn--shine:hover::after { transform: translateX(130%); }
.btn--glass { background: var(--white); border-color: rgba(176, 111, 60, 0.35); color: var(--choco); }
.btn--glass:hover { background: var(--cream-2); border-color: var(--copper); color: var(--choco); }
.btn .icon { transition: transform 0.3s var(--ease); }
.btn:hover { background: var(--copper); border-color: var(--copper); }
.btn:hover .icon { transform: translateX(4px); }
.btn:active { transform: scale(0.98); }
.btn--sm { padding: 10px 20px; font-size: 0.875rem; }
.btn--ghost { background: transparent; color: var(--choco); }
.btn--ghost:hover { background: var(--choco); color: var(--cream); border-color: var(--choco); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.round-btn {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: none;
  border: 0;
  border-radius: 50%;
  background: var(--choco);
  color: var(--cream);
  cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.round-btn:hover { background: var(--copper); }
.round-btn--muted { background: var(--ink-soft); }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 241, 0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.header.is-scrolled {
  border-color: var(--line);
  box-shadow: var(--shadow);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-h);
}
.header__logo img { height: 56px; width: auto; }
.header__actions { display: flex; align-items: center; gap: 16px; }
.header__phone {
  display: none;
  font-weight: 600;
  font-size: 0.925rem;
  text-decoration: none;
  white-space: nowrap;
}
.header__phone:hover { color: var(--copper-ink); }

.nav {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  padding: 12px 20px 28px;
  background: rgba(251, 247, 241, 0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.nav.is-open { opacity: 1; transform: none; visibility: visible; }
.nav__list a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-decoration: none;
}
.nav__phone {
  display: inline-block;
  margin-top: 20px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--copper-ink);
}

.burger {
  display: grid;
  place-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
}
.burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--choco);
  transition: transform 0.3s var(--ease);
}
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.header__actions .btn { display: none; }

/* Hero */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - var(--header-h));
  background: linear-gradient(180deg, var(--cream-2), var(--cream));
  overflow: hidden;
  isolation: isolate;
}
/* Slowly shimmering copper / beige light behind the hero */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: -25%;
  z-index: -1;
  pointer-events: none;
  will-change: transform;
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 96%);
  mask-image: linear-gradient(180deg, #000 60%, transparent 96%);
}
.hero::before {
  background:
    radial-gradient(28% 26% at 50% 38%, rgba(217, 162, 108, 0.34), transparent 70%),
    radial-gradient(30% 28% at 24% 62%, rgba(176, 111, 60, 0.16), transparent 70%);
  animation: hero-drift-a 18s ease-in-out infinite alternate;
}
.hero::after {
  background:
    radial-gradient(34% 30% at 76% 22%, rgba(236, 201, 185, 0.6), transparent 70%),
    radial-gradient(30% 26% at 70% 72%, rgba(246, 214, 180, 0.45), transparent 70%);
  animation: hero-drift-b 24s ease-in-out infinite alternate;
}
@keyframes hero-drift-a {
  0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.85; }
  50% { transform: translate3d(4%, -3%, 0) scale(1.08); opacity: 1; }
  100% { transform: translate3d(-5%, 3%, 0) scale(1.03); opacity: 0.9; }
}
@keyframes hero-drift-b {
  0% { transform: translate3d(0, 0, 0) scale(1.04); opacity: 1; }
  50% { transform: translate3d(-6%, 4%, 0) scale(1); opacity: 0.75; }
  100% { transform: translate3d(3%, -4%, 0) scale(1.1); opacity: 0.95; }
}
.hero__inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding-block: 12px clamp(24px, 4vh, 48px);
}
.hero__art { flex: 1; display: grid; place-items: center; width: 100%; min-height: 150px; padding-block: 8px 20px; }
.hero__copy { display: flex; flex-direction: column; align-items: center; max-width: 860px; }

/* Forged copper lettering: the PNG masks a hammered texture and a moving gleam */
.forge {
  --forge-depth: drop-shadow(0 1.5px 0 rgba(110, 48, 18, 0.55)) drop-shadow(0 20px 24px rgba(90, 45, 20, 0.28));
  position: relative;
  width: clamp(220px, min(80vw, calc((100svh - var(--header-h) - 590px) * 1.66)), 560px);
  filter: var(--forge-depth);
}
.forge::before {
  content: "";
  position: absolute;
  inset: -12% -8%;
  background: radial-gradient(closest-side, rgba(255, 128, 48, 0.55), rgba(255, 128, 48, 0) 70%);
  opacity: 0;
  pointer-events: none;
  animation: forge-glow 2.6s ease-out 0.2s both;
}
.forge__metal { position: relative; isolation: isolate; animation: forge-cool 2.6s ease-out 0.2s both; }
.forge__base { width: 100%; }
.forge__hammer,
.forge__sheen {
  position: absolute;
  inset: 0;
  -webkit-mask: url("../images/edem-script.webp") center / 100% 100% no-repeat;
  mask: url("../images/edem-script.webp") center / 100% 100% no-repeat;
  pointer-events: none;
}
.forge__hammer { background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27220%27%20height%3D%27220%27%3E%3Cfilter%20id%3D%27h%27%20x%3D%270%27%20y%3D%270%27%20width%3D%27100%25%27%20height%3D%27100%25%27%3E%3CfeTurbulence%20type%3D%27fractalNoise%27%20baseFrequency%3D%270.075%27%20numOctaves%3D%272%27%20seed%3D%2711%27%20stitchTiles%3D%27stitch%27%2F%3E%3CfeDiffuseLighting%20lighting-color%3D%27%23ffffff%27%20surfaceScale%3D%272.6%27%20diffuseConstant%3D%271.05%27%3E%3CfeDistantLight%20azimuth%3D%27225%27%20elevation%3D%2748%27%2F%3E%3C%2FfeDiffuseLighting%3E%3C%2Ffilter%3E%3Crect%20width%3D%27100%25%27%20height%3D%27100%25%27%20filter%3D%27url(%23h)%27%2F%3E%3C%2Fsvg%3E") 0 0 / 150px 150px; mix-blend-mode: overlay; opacity: 0.9; }
.forge__sheen {
  background: linear-gradient(105deg, transparent 38%, rgba(255, 226, 190, 0.8) 47%, #fff 50%, rgba(255, 226, 190, 0.8) 53%, transparent 62%) 160% 0 / 260% 100% no-repeat;
  mix-blend-mode: screen;
  opacity: 0.75;
  animation: forge-sheen 2.4s ease-in-out 2.6s 1 both;
}
@keyframes forge-cool {
  0% { filter: brightness(1.55) saturate(1.7) hue-rotate(-14deg); }
  100% { filter: brightness(1) saturate(1) hue-rotate(0deg); }
}
@keyframes forge-glow { 0% { opacity: 0.95; } 100% { opacity: 0; } }
@keyframes forge-sheen {
  0% { background-position: 160% 0; }
  100% { background-position: -60% 0; }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 8px 16px;
  border: 1px solid rgba(176, 111, 60, 0.28);
  border-radius: 999px;
  background: linear-gradient(90deg, #ecc9b9 0%, #f6e4d3 55%, #fbf7f1 100%);
  color: var(--choco);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.badge__star {
  width: 15px;
  height: 15px;
  fill: var(--copper);
  filter: drop-shadow(0 0 4px rgba(217, 162, 108, 0.8));
  animation: in-star 0.9s var(--ease) 0.7s both;
}

.hero__title { font-size: clamp(1.85rem, 8.2vw, 4.4rem); line-height: 1.04; }
.nowrap { white-space: nowrap; }
.hero__line { display: block; overflow: hidden; padding: 0.04em 0.05em 0.1em; }
@media (max-width: 380px) { .badge { letter-spacing: 0.08em; font-size: 0.68rem; padding-inline: 12px; } }
.hero__line > span { display: inline-block; }
.hero__title em {
  display: inline-block;
  font-style: italic;
  color: var(--copper);
  animation: in-em 1.3s var(--ease) 1.15s both;
}
.hero__lead { max-width: 34rem; margin-top: 16px; font-size: 1.05rem; color: var(--ink-soft); }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 16px;
  padding-block: 22px 26px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.stat { display: grid; gap: 2px; }
.stat__num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 500; line-height: 1.1; color: var(--copper-ink); }
.stat__text { font-size: 0.85rem; color: var(--ink-soft); line-height: 1.4; }

/* Paper grain over the whole page */
.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27160%27%20height%3D%27160%27%3E%3Cfilter%20id%3D%27g%27%3E%3CfeTurbulence%20type%3D%27fractalNoise%27%20baseFrequency%3D%270.9%27%20numOctaves%3D%273%27%20stitchTiles%3D%27stitch%27%2F%3E%3CfeColorMatrix%20values%3D%270%200%200%200%200.23%200%200%200%200%200.13%200%200%200%200%200.1%200%200%200%201%200%27%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D%27100%25%27%20height%3D%27100%25%27%20filter%3D%27url(%23g)%27%2F%3E%3C%2Fsvg%3E") 0 0 / 160px 160px;
}

/* Entrance: elements are visible by default; the fill mode hides them only while animating */
.appear {
  animation-duration: 1.1s;
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  animation-delay: var(--d, 0.08s);
}
.appear--scale { animation-name: in-scale; }
.appear--soft { animation-name: in-soft; }
.appear--mask { animation-name: in-mask; }
.appear--pop { animation-name: in-pop; }
.appear--btn { animation-name: in-btn; }
.appear--side { animation-name: in-side; }
.appear--stat { animation-name: in-stat; }
.appear--forge { animation-name: in-forge; animation-duration: 1.6s; }
.appear.is-in { animation: none; opacity: 1; transform: none; }

@keyframes in-scale { from { opacity: 0; transform: scale(0.86); } }
@keyframes in-soft { from { opacity: 0; transform: translateY(14px); } }
@keyframes in-mask { from { opacity: 0; transform: translateY(70%); } }
@keyframes in-pop { 0% { opacity: 0; transform: scale(0.9); } 70% { opacity: 1; transform: scale(1.03); } }
@keyframes in-btn { from { opacity: 0; transform: translateY(18px) scale(0.95); } }
@keyframes in-side { from { opacity: 0; transform: translateX(22px); } }
@keyframes in-stat { from { opacity: 0; transform: translateY(20px); } }
@keyframes in-forge { from { opacity: 0; transform: translateY(14px) scale(0.95); } }
@keyframes in-star { 0% { transform: scale(0.2) rotate(-50deg); } 65% { transform: scale(1.2) rotate(8deg); } }
@keyframes in-em { from { opacity: 0.3; filter: blur(5px); } }

/* Sections */
.section { padding-block: 80px; }
/* Tinted sections reuse the hero's soft copper / peach light instead of a flat fill */
.section--tint,
.section--glow {
  position: relative;
  isolation: isolate;
}
.section--tint::before,
.section--glow::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%);
}
.section--tint::before,
.section--glow::before { background: var(--cream-2); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
/* Small copper arch under centred section titles — the emblem shape as a divider */
.section__head .section__title::after {
  content: "";
  display: block;
  width: 26px;
  height: 13px;
  margin: 16px auto 0;
  border: 1px solid var(--copper);
  border-bottom: 0;
  border-radius: 13px 13px 0 0;
  opacity: 0.7;
}
.section__lead { color: var(--ink-soft); }
.section__foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 48px;
  text-align: center;
}
.section__foot a:not(.btn) { font-weight: 600; text-decoration: none; }

/* Products */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 20px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  transition: border-color 0.3s var(--ease);
}
.card:hover { border-color: rgba(176, 111, 60, 0.45); }
.card__body { padding: 16px 8px 8px; }
.card__title { font-family: var(--font-display); font-size: var(--fs-h4); font-weight: 600; line-height: 1.2; }
.card__text { font-size: 0.9rem; color: var(--ink-soft); }

/* Photo placeholders */
.ph {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  color: var(--choco-2);
}
.ph--rose { background: color-mix(in srgb, var(--rose) 40%, var(--cream)); }
.ph--cream { background: var(--cream-2); }
.ph--copper { background: color-mix(in srgb, var(--copper) 22%, var(--cream)); }
.ph--rose.ph--tall { border: 1px solid rgba(176, 111, 60, 0.18); box-shadow: var(--shadow); }
.ph--tall { aspect-ratio: 1; max-width: 520px; margin-inline: auto; border-radius: var(--arch); }

/* Custom cake in cross-section: sponge, fillings and decoration change in turn */
.cake-hero {
  --sponge: #7a4a33;
  --filling: #e3a3a1;
  --frost: #6e4230;
  --decor: #b9535a;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: min(84%, 400px);
}
.cake-hero[data-theme="1"] { --sponge: #c79a66; --filling: #5e3826; --frost: #fbf3ea; --decor: #fffaf4; }
.cake-hero[data-theme="2"] { --sponge: #f1dcb4; --filling: #efd38a; --frost: #efc0b5; --decor: #f7d9d2; }
.cake-hero[data-theme="3"] { --sponge: #dcae6a; --filling: #eea75a; --frost: #f6dcc3; --decor: #d6a066; }
.cake-hero[data-theme="4"] { --sponge: #7a4a33; --filling: #c98a4b; --frost: #b4504c; --decor: #c4625c; }
.cake-hero[data-theme="5"] { --sponge: #f1dcb4; --filling: #a8434c; --frost: #fbf3ea; --decor: #ecb9b0; }
.cake-hero[data-theme="6"] { --sponge: #c79a66; --filling: #d9737a; --frost: #6e4230; --decor: #e6c08a; }

.cake-hero__svg { display: block; width: 100%; height: auto; }
.cake-hero__svg * { transition: fill 1.1s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.cake__sponge { fill: var(--sponge); }
.cake__pores { fill: #000; opacity: 0.12; }
.cake__filling { fill: var(--filling); }
.cake__frost { fill: var(--frost); }
.cake__outline { fill: none; stroke: #7a4e36; stroke-width: 1.2; stroke-linejoin: round; }
.cake__plate-rim { fill: #f1e2d4; stroke: #b98a6c; stroke-width: 1; }
.cake__plate { fill: #fffaf4; stroke: #d8bfa9; stroke-width: 0.8; }
.cake__contact { fill: rgba(90, 45, 20, 0.22); filter: blur(3px); }
.cake__shadow { fill: rgba(90, 45, 20, 0.16); filter: blur(5px); }

.cake__decor { opacity: 0; transform: translateY(6px); }
.cake-hero[data-decor="rosettes"] .cake__decor--rosettes,
.cake-hero[data-decor="petals"] .cake__decor--petals,
.cake-hero[data-decor="berries"] .cake__decor--berries,
.cake-hero[data-decor="wings"] .cake__decor--wings { opacity: 1; transform: none; }
.cake__decor--rosettes circle { fill: var(--decor); stroke: #7a4e36; stroke-width: 0.9; }
.cake__decor--rosettes path { fill: none; stroke: #7a4e36; stroke-width: 0.8; stroke-linecap: round; opacity: 0.6; }
.cake__decor--petals ellipse { fill: var(--decor); stroke: #7a4e36; stroke-width: 0.7; }
.cake__decor--berries circle { fill: var(--decor); stroke: #7a4e36; stroke-width: 0.8; }
.cake__decor--berries .cake__shine { fill: #fff; stroke: none; opacity: 0.55; }
.cake__decor--wings path { fill: var(--decor); stroke: #7a4e36; stroke-width: 0.8; stroke-linejoin: round; }
.cake__decor--wings .cake__feather { fill: none; stroke: #7a4e36; stroke-width: 0.6; stroke-linecap: round; opacity: 0.55; }
.cake__wing-heart { fill: #fffaf4; stroke: #7a4e36; stroke-width: 0.8; }

.cake-hero__legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin: 0; }
.cake-hero__legend div { display: grid; justify-items: center; }
.cake-hero__legend dt { font-size: 0.75rem; color: var(--ink-soft); }
.cake-hero__legend dd { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--copper); transition: opacity 0.4s; }
.cake-hero__legend dd.is-changing { opacity: 0; }
@media (max-width: 599px) {
  .ph--cake { aspect-ratio: auto; padding: 28px 12px 24px; }
  .cake-hero { width: 100%; gap: 10px; }
  .cake-hero__svg { width: 86%; }
  .cake-hero__legend { flex-wrap: nowrap; gap: 0 10px; }
  .cake-hero__legend dt { font-size: 0.7rem; }
  .cake-hero__legend dd { font-size: 0.98rem; text-align: center; line-height: 1.2; }
}

@media (prefers-reduced-motion: reduce) {
  .cake-hero__svg * { transition: none; }
}
.ph__icon {
  width: 42%;
  max-width: 150px;
  height: auto;
  aspect-ratio: 1;
  opacity: 0.85;
  transition: transform 0.6s var(--ease);
}
.ph .todo { position: absolute; left: 10px; bottom: 10px; right: 10px; text-align: center; }

/* Split layout */
.split { display: grid; gap: 40px; align-items: center; }
.split__text p { color: var(--ink-soft); margin-bottom: 16px; }
.split__text .btn { margin-top: 12px; }
.split__media img { width: min(100%, 560px); margin-inline: auto; filter: drop-shadow(0 30px 40px rgba(59, 34, 25, 0.25)); }

.checks { display: grid; gap: 10px; margin: 24px 0; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 16px;
  height: 9px;
  border-left: 2px solid var(--copper);
  border-bottom: 2px solid var(--copper);
  transform: rotate(-45deg);
}

/* Custom cakes */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.chips li {
  padding: 8px 18px;
  border: 1px solid rgba(176, 111, 60, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  color: var(--copper-ink);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.chips li:hover { background: var(--copper); border-color: var(--copper); color: var(--white); }

.ways { display: grid; gap: 14px; margin-bottom: 28px; }
.ways li { position: relative; padding-left: 22px; color: var(--ink-soft); }
.ways li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--copper);
}
.ways strong { color: var(--ink); font-weight: 600; }
.ways a { color: var(--copper-ink); font-weight: 600; text-decoration: none; }
.ways a:hover { text-decoration: underline; }

/* "Founded" medallion in the about section */
.since {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(100%, 360px);
  aspect-ratio: 4 / 5;
  margin-inline: auto;
  padding: 32px 24px;
  border: 1px solid rgba(176, 111, 60, 0.3);
  border-radius: var(--arch);
  background: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
}
.since::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(176, 111, 60, 0.18);
  border-radius: 999px 999px calc(var(--radius) - 8px) calc(var(--radius) - 8px);
  pointer-events: none;
}
.since__label { font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  color: var(--copper-ink); }
.since__place { font-size: 0.85rem; color: var(--ink-soft); }
.since__year {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: clamp(4.6rem, 9vw, 6.6rem);
  font-weight: 500;
  line-height: 1;
  background: linear-gradient(165deg, #e8b17c 0%, #b06f3c 42%, #f1c592 58%, #8f4d24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 1px rgba(110, 48, 18, 0.25));
}
.since__date { font-family: var(--font-display); font-style: italic; font-size: 1.6rem; color: var(--choco); }
.since__rule { width: 48px; height: 1px; margin: 18px 0 14px; background: var(--copper); opacity: 0.5; }

/* Awards */
.awards {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.awards > .round-btn { display: none; }
.awards__stage { display: grid; gap: 28px; width: 100%; max-width: 820px; align-items: center; }
.awards__frame {
  position: relative;
  background: var(--white);
  border-radius: var(--arch);
  overflow: hidden;
  max-width: 340px;
  width: 100%;
  margin-inline: auto;
  box-shadow: var(--shadow);
}
.awards__img { position: relative; transition: opacity 0.35s var(--ease), transform 0.5s var(--ease); }
.awards__img.is-switching { opacity: 0; transform: scale(0.97); }
.awards__info { text-align: center; }
.awards__year { font-family: var(--font-display); font-size: 4rem; line-height: 1; color: var(--copper-ink); }
.awards__title { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 500; margin: 6px 0 8px; }
.awards__text { color: var(--ink-soft); min-height: 1.6em; }
.awards__dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.awards__dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--line);
  cursor: pointer;
  transition: width 0.3s var(--ease), background 0.3s;
}
.awards__dots button[aria-selected="true"] { width: 28px; background: var(--copper); }

.medals {
  display: grid;
  gap: 1px;
  margin-top: 56px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.medals li { background: var(--cream); padding: 16px 20px; font-size: 0.925rem; color: var(--ink-soft); }
.medals span {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--choco);
  margin-right: 10px;
}

/* Contact list */
.contact-list { display: grid; gap: 2px; }
.contact-list > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2px 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.contact-list dt { color: var(--ink-soft); font-size: 0.9rem; }
.contact-list dd { font-weight: 600; }
.contact-list dd a { font-weight: 600; text-decoration: none; white-space: nowrap; }
.contact-list dd a:hover { color: var(--copper-ink); }

/* Forms */
.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
}
.form__title { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 500; margin-bottom: 20px; }
.form__row { display: grid; gap: 0 16px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
.field label span { color: var(--copper-ink); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  font-size: 1rem;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%233b2219' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 44px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--copper);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(176, 111, 60, 0.14);
}
.field.is-invalid input,
.field.is-invalid textarea { border-color: var(--error); }
.field__error { color: var(--error); font-size: 0.8rem; min-height: 0; margin-top: 4px; }
.field__error:empty { display: none; }

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 4px 0 6px;
  cursor: pointer;
}
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--copper); flex: none; }
.form .btn--block { margin-top: 12px; }
.form__status { margin-top: 12px; font-size: 0.9rem; font-weight: 600; }
.form__status:empty { display: none; }
.form__status.is-success { color: var(--success); }
.form__status.is-error { color: var(--error); }

/* Contacts */
.contacts { display: grid; gap: 40px; }
.contacts__block { margin-bottom: 32px; }
.contacts__label {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  color: var(--copper-ink);
}
.contacts__big { font-family: var(--font-display); font-size: var(--fs-h3); line-height: 1.2; margin-bottom: 8px; }
.contacts__mail { font-weight: 600; font-size: 1.1rem; text-decoration: none; }
.contacts__mail:hover { color: var(--copper-ink); }
.contacts__side { display: grid; gap: 24px; align-content: start; }

.map {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-2);
  border: 1px solid var(--line);
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map__placeholder {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  height: 100%;
  padding: 20px;
  text-align: center;
  background: var(--cream-2);
}
.map__pin { width: 34px; height: 34px; color: var(--copper-ink); }
.map__text { max-width: 30rem; font-size: 0.9rem; color: var(--ink-soft); }
.map__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* Cookie consent */
.cookie {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 150;
  max-width: 460px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lift);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
}
.cookie.is-open { opacity: 1; transform: none; }
.cookie__title { font-family: var(--font-display); font-size: var(--fs-h4); font-weight: 500; line-height: 1.1; margin-bottom: 6px; }
.cookie__text { font-size: 0.9rem; line-height: 1.55; color: var(--ink-soft); }
.cookie__actions { display: flex; gap: 10px; margin-top: 16px; }
.cookie__actions .btn { flex: 1; }
.link-btn { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.link-btn:hover { color: var(--copper-ink); }
@media (min-width: 600px) {
  .cookie { left: 24px; right: auto; bottom: 24px; }
}

/* Order / wholesale contact cards */
.order-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px;
  box-shadow: var(--shadow);
  scroll-margin-top: calc(var(--header-h) + 24px);
  transition: box-shadow 0.6s var(--ease), border-color 0.6s var(--ease);
}
.order-card.is-highlight { border-color: var(--copper); box-shadow: 0 0 0 4px rgba(176, 111, 60, 0.15), var(--shadow); }
.order-card__title { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 500; line-height: 1.1; margin-bottom: 10px; }
.order-card__lead { color: var(--ink-soft); }
.order-card__picked {
  margin-top: 12px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--cream-2);
  font-size: 0.9rem;
  color: var(--choco);
}
.order-card__number {
  display: block;
  margin: 10px 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 2.7rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--choco);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.25s;
}
.order-card__number:hover { color: var(--copper-ink); }
.order-card__number--accent { margin: 4px 0 6px; color: var(--copper-ink); }
.order-card__number--accent:hover { color: var(--choco); }

.order-card__feature {
  padding: 18px 20px;
  border: 1px solid rgba(176, 111, 60, 0.28);
  border-radius: var(--radius);
  background: var(--cream-2);
}
.order-card__tag { font-size: 0.85rem; font-weight: 600; color: var(--copper-ink); }
.order-card__hint { font-size: 0.9rem; color: var(--ink-soft); }

.order-card__apps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.app-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(176, 111, 60, 0.35);
  border-radius: 999px;
  background: var(--cream);
  color: var(--choco);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.app-btn .icon { color: var(--copper-ink); transition: color 0.25s; }
.app-btn:hover { background: var(--choco); border-color: var(--choco); color: var(--cream); }
.app-btn:hover .icon { color: var(--copper-light); }
.order-card__status { min-height: 1.4em; margin-top: 8px; font-size: 0.85rem; color: var(--success); }

.order-card__or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 6px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.order-card__or::before,
.order-card__or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.order-card__phone {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--choco);
  text-decoration: none;
  white-space: nowrap;
}
.order-card__phone:hover { color: var(--copper-ink); }
.order-card__phone--mail { font-size: 1.5rem; }
.order-card__phone + .order-card__apps { margin-top: 12px; }
.order-card__feature + .order-card__apps { margin-top: 14px; }
.order-card__picked + .order-card__feature { margin-top: 12px; }

@media (min-width: 600px) {
  .order-card { padding: 36px 34px; }
}

/* Footer */
.footer {
  position: relative;
  isolation: isolate;
  color: var(--ink-soft);
  padding-top: 64px;
  font-size: 0.925rem;
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--cream-2);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 45%);
  mask-image: linear-gradient(180deg, transparent 0, #000 45%);
}
.footer a { text-decoration: none; transition: color 0.2s; }
.footer a:hover { color: var(--copper-ink); }
.footer__grid { display: grid; gap: 36px; padding-bottom: 48px; }
.footer__brand img { width: 150px; margin-bottom: 16px; }
.footer__title {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  color: var(--copper-ink);
}
.footer__list { display: grid; gap: 8px; }
.footer__list--small { font-size: 0.85rem; line-height: 1.5; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-block: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}

/* ≥ 600px */
@media (min-width: 600px) {
  .container { padding-inline: 32px; }
  .form { padding: 36px 32px; }
  .form__row { grid-template-columns: 1fr 1fr; }
  .medals { grid-template-columns: repeat(2, 1fr); }
  .header__actions .btn { display: inline-flex; }
}

/* ≥ 900px */
@media (min-width: 900px) {
  :root { --header-h: 88px; }
  .section { padding-block: 120px; }

  .hero__stats { grid-template-columns: repeat(4, 1fr); padding-block: 26px 30px; text-align: left; }
  .stat { padding-left: 20px; border-left: 1px solid var(--line); }
  .stat:first-child { padding-left: 0; border-left: 0; }

  .products { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .split { grid-template-columns: 1fr 1fr; gap: 80px; }
  .split--reverse .split__media { order: 2; }
  .split--top { align-items: start; }

  .awards > .round-btn { display: grid; }
  .awards__stage { grid-template-columns: 340px 1fr; gap: 56px; }
  .awards__info { text-align: left; }
  .awards__dots { justify-content: flex-start; }
  .medals { grid-template-columns: repeat(4, 1fr); }

  .contacts { grid-template-columns: 1fr 1.1fr; gap: 64px; }
  .footer__grid { grid-template-columns: 1.2fr 0.8fr 1fr 1.4fr; }
}

/* ≥ 1100px: full desktop nav */
@media (min-width: 1100px) {
  .burger { display: none; }
  .header__phone { display: inline; }
  .nav {
    position: static;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    transition: none;
  }
  .nav__list { display: flex; gap: 28px; }
  .nav__list a {
    position: relative;
    padding: 6px 0;
    border: 0;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
  }
  .nav__list a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--copper);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease);
  }
  .nav__list a:hover::after,
  .nav__list a.is-active::after { transform: scaleX(1); transform-origin: left; }
  .nav__phone { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .appear, .forge__metal, .hero__title em, .badge__star { opacity: 1 !important; transform: none !important; filter: none !important; }
  .forge::before { display: none; }
  .hero::before, .hero::after { animation: none; }
}

/* Catalog managed from the admin panel */
.catalog-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin: -16px 0 36px;
}
.catalog-tabs button {
  padding: 9px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.catalog-tabs button:hover { border-color: var(--choco); }
.catalog-tabs button[aria-pressed="true"] { background: var(--choco); border-color: var(--choco); color: var(--cream); }

.catalog-tabs[hidden] { display: none; }

/* Icon sprite: kept in the DOM for <use>, but takes no space (hidden is ignored on SVG) */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Target of "Наверх" / logo links (the sticky header itself cannot be scrolled to) */
.top-anchor { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }

/* Studio credit under the footer */
.credit {
  padding: 14px 20px 18px;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--ink-soft);
  opacity: 0.8;
}
.credit a { color: inherit; font-weight: 600; text-decoration: none; transition: color 0.2s; }
.credit a:hover { color: var(--copper-ink); text-decoration: underline; text-underline-offset: 3px; }
