:root {
  --paper: #fcf8f2;
  --paper-deep: #f5eee7;
  --blush: #f3e3e5;
  --blush-deep: #e7cbd2;
  --sage: #dce8dc;
  --sage-deep: #aac5ae;
  --lavender: #e9e2ef;
  --sky: #e2edf0;
  --malachite: #2f6f5c;
  --malachite-dark: #234e42;
  --rose: #9a6373;
  --gold: #b78a4b;
  --ink: #33433b;
  --muted: #69776f;
  --line: rgba(53, 84, 70, .15);
  --white: rgba(255, 255, 255, .82);
  --shadow: 0 24px 70px rgba(84, 70, 67, .11);
  --shadow-soft: 0 12px 36px rgba(84, 70, 67, .08);
  --radius: 28px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 95px; }
body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image: var(--custom-page-bg, none), radial-gradient(circle at 8% 12%, rgba(243, 215, 223, .34), transparent 24%), radial-gradient(circle at 92% 28%, rgba(189, 217, 198, .26), transparent 23%);
  background-size: cover, auto, auto;
  background-attachment: fixed;
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
body.has-custom-background {
  background-image: linear-gradient(rgba(252, 248, 242, .48), rgba(252, 248, 242, .58)), var(--custom-page-bg), radial-gradient(circle at 8% 12%, rgba(243, 215, 223, .34), transparent 24%), radial-gradient(circle at 92% 28%, rgba(189, 217, 198, .26), transparent 23%);
  background-size: cover, cover, auto, auto;
  background-position: center, center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: .16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; color: #2e453b; }
h1 { font-size: clamp(3.2rem, 7vw, 6.7rem); letter-spacing: -.055em; margin-bottom: 28px; }
h1 em { color: var(--rose); font-weight: 400; }
h2 { font-size: clamp(2.35rem, 4.5vw, 4.5rem); letter-spacing: -.035em; margin-bottom: 22px; }
h3 { font-size: 1.55rem; margin-bottom: 10px; }

.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.left { text-align: left; margin-left: 0 !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; left: 15px; top: -70px; z-index: 9999; padding: 12px 18px; background: var(--malachite-dark); color: white; border-radius: 12px; transition: top .2s; }
.skip-link:focus { top: 12px; }
.eyebrow { margin-bottom: 13px; color: var(--rose); font-size: .78rem; font-weight: 750; letter-spacing: .18em; text-transform: uppercase; }
.section-intro { max-width: 770px; margin: 0 auto; color: var(--muted); font-size: 1.1rem; }
.paper-section, .tinted-section { position: relative; padding: 110px 0; }
.paper-section { background: rgba(252, 248, 242, .78); }
.tinted-section { background: linear-gradient(145deg, rgba(239, 227, 230, .72), rgba(222, 235, 224, .68)); border-block: 1px solid rgba(122, 144, 127, .1); }
.section-heading { display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; align-items: end; margin-bottom: 52px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { color: var(--muted); margin-bottom: 8px; font-size: 1.06rem; }
.section-action { margin-top: 42px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 13px 24px;
  border: 1px solid var(--malachite);
  border-radius: 999px;
  background: var(--malachite);
  color: #fff;
  font-weight: 720;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(47, 111, 92, .18);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.button:hover { transform: translateY(-2px); background: var(--malachite-dark); box-shadow: 0 14px 32px rgba(47, 111, 92, .23); }
.button:active { transform: translateY(0); }
.button-soft { background: rgba(255,255,255,.68); color: var(--malachite-dark); border-color: rgba(47,111,92,.24); box-shadow: none; }
.button-soft:hover { background: #fff; }
.button-ghost { background: transparent; color: var(--malachite-dark); box-shadow: none; }
.button-ghost:hover { background: rgba(255,255,255,.7); }
.button-small { min-height: 40px; padding: 9px 17px; font-size: .9rem; }
.text-button, .icon-link { border: 0; background: none; padding: 8px; color: var(--malachite-dark); cursor: pointer; text-decoration: none; }
.text-link { color: var(--malachite); font-weight: 720; text-underline-offset: 5px; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid rgba(154, 99, 115, .34); outline-offset: 3px; }

.announcement { background: #2f6f5c; color: white; font-size: .91rem; }
.announcement-inner { min-height: 44px; display: flex; gap: 13px; align-items: center; justify-content: center; }
.announcement-inner div { display: flex; gap: 10px; }
.announcement-inner strong { font-family: var(--serif); font-size: 1rem; }
.announcement-inner a { margin-left: auto; font-weight: 700; }
.announcement-flower { color: #f2d4dc; }

.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--line); background: rgba(252, 248, 242, .9); backdrop-filter: blur(20px); }
.nav-row { min-height: 82px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex: 0 0 auto; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand span { display: grid; line-height: 1.12; }
.brand b { font: 600 1.18rem var(--serif); letter-spacing: .02em; }
.brand small { margin-top: 4px; color: var(--muted); font-size: .65rem; letter-spacing: .13em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 1.6vw, 25px); flex: 1; }
.main-nav a { color: #50635a; font-size: .88rem; text-decoration: none; white-space: nowrap; }
.main-nav a:hover { color: var(--rose); }
.nav-account { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--sage); padding: 12px; }
.menu-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 4px 0; background: var(--malachite-dark); border-radius: 2px; }

.hero { position: relative; min-height: 780px; overflow: hidden; padding: 85px 0 105px; display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 76px; align-items: center; position: relative; z-index: 2; }
.hero-lead { max-width: 680px; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin: 35px 0; }
.hero-facts { display: flex; gap: 34px; padding: 0; margin: 35px 0 0; list-style: none; }
.hero-facts li { display: grid; gap: 2px; }
.hero-facts strong { font: 500 1.55rem var(--serif); color: var(--malachite); }
.hero-facts span { max-width: 130px; color: var(--muted); font-size: .76rem; line-height: 1.35; }
.hero-art { position: relative; padding: 20px 0 45px; }
.portrait-frame { position: relative; width: min(100%, 470px); margin-inline: auto; }
.portrait-frame > img:first-child { width: 100%; height: 600px; object-fit: cover; object-position: center 27%; border-radius: 48% 48% 43% 43% / 33% 33% 24% 24%; box-shadow: var(--shadow); border: 10px solid rgba(255,255,255,.68); }
.signature-orbit { position: absolute; border-radius: 50%; mix-blend-mode: multiply; filter: saturate(.78); box-shadow: 0 16px 40px rgba(75, 63, 87, .12); }
.orbit-one { width: 190px; left: -95px; bottom: -26px; animation: gentle-float 7s ease-in-out infinite; }
.orbit-two { width: 125px; right: -48px; top: 42px; animation: gentle-float 8s 1.2s ease-in-out infinite reverse; }
.botanical { position: absolute; color: rgba(122,151,124,.55); font: 100px var(--serif); }
.botanical-one { right: -35px; bottom: 15px; transform: rotate(20deg); }
.botanical-two { left: -40px; top: 10px; font-size: 150px; transform: rotate(-25deg); }
.hero-art blockquote { max-width: 390px; margin: 30px auto 0; padding: 18px 22px; border-left: 2px solid var(--gold); color: #70625e; font: italic 1.08rem/1.6 var(--serif); background: rgba(255,255,255,.55); }
.watercolor { position: absolute; border-radius: 50%; filter: blur(3px); opacity: .55; }
.watercolor-a { width: 530px; height: 440px; right: -120px; top: 70px; background: radial-gradient(ellipse at 35% 45%, rgba(210,231,214,.9), rgba(239,215,222,.45) 48%, transparent 70%); transform: rotate(-13deg); }
.watercolor-b { width: 440px; height: 330px; left: -180px; bottom: -80px; background: radial-gradient(ellipse, rgba(230,217,237,.7), rgba(245,228,218,.45) 55%, transparent 72%); }
@keyframes gentle-float { 50% { transform: translateY(-12px) rotate(3deg); } }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 52px; }
.soft-card { background: var(--white); border: 1px solid rgba(82,108,95,.12); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.step-card { padding: 36px; }
.step-card > span { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--blush); color: var(--rose); font: 600 1rem var(--serif); }
.step-card h3 { margin-top: 24px; }
.step-card p { color: var(--muted); margin-bottom: 0; }

.webinar-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: 26px; }
.webinar-list { display: grid; gap: 16px; }
.webinar-card { display: grid; grid-template-columns: 105px 1fr auto; gap: 24px; align-items: center; padding: 24px 26px; }
.webinar-date { display: grid; place-items: center; min-height: 92px; border-radius: 22px; background: var(--sage); color: var(--malachite-dark); text-align: center; }
.webinar-date b { font: 500 2rem var(--serif); line-height: 1; }
.webinar-date span { margin-top: 5px; font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; }
.webinar-info h3 { margin-bottom: 7px; }
.webinar-info p { color: var(--muted); margin-bottom: 4px; }
.webinar-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.webinar-tags span { padding: 5px 10px; border-radius: 999px; background: var(--blush); color: var(--rose); font-size: .72rem; }
.webinar-note { padding: 38px; align-self: start; }
.webinar-note .note-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 22px; border-radius: 50%; background: var(--lavender); color: #725c83; font-size: 1.5rem; }
.webinar-note p { color: var(--muted); }
.loading-card { padding: 35px; color: var(--muted); }

.kindness-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 55px; align-items: start; }
.fund-progress { margin: 28px 0; }
.fund-progress > div { height: 10px; overflow: hidden; border-radius: 99px; background: #e8e2dd; }
.fund-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--rose), var(--gold)); }
.fund-progress p { display: flex; justify-content: space-between; color: var(--muted); font-size: .86rem; margin-top: 9px; }
.fund-progress strong { color: var(--rose); }
.donation-form { padding: 30px; margin-top: 28px; }
.donation-form h3 { margin-bottom: 20px; }
.amount-pills { display: flex; gap: 8px; margin-bottom: 17px; }
.amount-pills button { border: 1px solid var(--line); border-radius: 99px; padding: 7px 14px; background: var(--paper); cursor: pointer; }
.amount-pills button:hover, .amount-pills button.active { background: var(--sage); border-color: var(--sage-deep); }
label { display: grid; gap: 7px; margin-bottom: 15px; color: #536259; font-size: .84rem; font-weight: 650; }
input, textarea, select { width: 100%; border: 1px solid rgba(67,91,79,.18); border-radius: 13px; padding: 12px 14px; background: rgba(255,255,255,.8); color: var(--ink); }
textarea { resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.photo-studio { padding: 38px; position: sticky; top: 112px; }
.studio-head { display: flex; align-items: start; justify-content: space-between; gap: 15px; }
.privacy-badge { padding: 6px 10px; border-radius: 99px; background: var(--sage); color: var(--malachite-dark); font-size: .68rem; }
.photo-drop { min-height: 120px; place-items: center; text-align: center; border: 1.5px dashed rgba(47,111,92,.32); border-radius: 22px; padding: 20px; background: rgba(220,232,220,.28); cursor: pointer; }
.photo-drop input { position: absolute; opacity: 0; pointer-events: none; width: 1px; }
.photo-drop strong, .photo-drop small { display: block; }
.photo-drop small { color: var(--muted); font-weight: 400; }
.drop-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: white; color: var(--malachite); font-size: 1.4rem; }
.signature-preview { position: relative; aspect-ratio: 1; margin: 18px 0; overflow: hidden; border-radius: 22px; background: #f7f1eb; }
.signature-preview canvas { display: none; width: 100%; height: 100%; object-fit: cover; }
.signature-preview.has-preview canvas { display: block; }
.signature-preview.has-preview .preview-placeholder { display: none; }
.preview-placeholder { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 12px; color: var(--muted); }
.preview-placeholder img { width: 74%; border-radius: 50%; opacity: .58; mix-blend-mode: multiply; }
.studio-actions { display: flex; gap: 10px; }
.studio-actions .button { flex: 1; }
.studio-access-note { margin:13px 0 0; padding:12px 14px; border-radius:14px; background:rgba(220,232,220,.34); color:var(--muted); font-size:.78rem; line-height:1.5; }
.studio-access-note b { color:var(--malachite-dark); }
.form-status { min-height: 22px; margin: 11px 0 0; color: var(--malachite); font-size: .86rem; }
.form-status.error { color: #a84352; }

.pattern-showcase { margin: 48px auto 0; }
.pattern-showcase__media { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 34px; background: #eee5e3; box-shadow: var(--shadow); }
.pattern-showcase__image { display: block; width: 100%; height: auto; }
.pattern-showcase__caption { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.pattern-showcase__caption span { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.62); color: var(--muted); font-size: .82rem; }

.directions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 55px; }
.direction-card { position: relative; min-height: 265px; overflow: hidden; display: grid; grid-template-columns: 190px 1fr; align-items: center; gap: 27px; padding: 28px; border-radius: 32px; border: 1px solid var(--line); }
.direction-card > span { position: absolute; right: 20px; top: 10px; font: 500 4.5rem var(--serif); color: rgba(255,255,255,.55); }
.direction-card img { width: 185px; height: 185px; object-fit: cover; border-radius: 50%; mix-blend-mode: multiply; }
.direction-card h3 { font-size: 2rem; }
.direction-card p { margin: 0; color: #5b6b62; }
.direction-card.calm { background: #e2eef0; }
.direction-card.love { background: #f2dde3; }
.direction-card.loyalty { background: #e2eadf; }
.direction-card.creativity { background: #e9e1ef; }

.tariffs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 23px; margin-top: 54px; align-items: stretch; }
.tariff-card { position: relative; padding: 38px; border: 1px solid var(--line); border-radius: 32px; background: rgba(255,255,255,.68); box-shadow: var(--shadow-soft); display: flex; flex-direction: column; }
.tariff-card.featured { transform: translateY(-12px); border-color: rgba(154,99,115,.28); background: rgba(255,250,249,.9); box-shadow: var(--shadow); }
.tariff-ribbon { position: absolute; top: 18px; right: 18px; border-radius: 99px; padding: 6px 10px; background: var(--blush); color: var(--rose); font-size: .67rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.tariff-kicker { color: var(--rose); font-size: .78rem; font-weight: 750; text-transform: uppercase; letter-spacing: .1em; }
.tariff-card h3 { font-size: 2.6rem; }
.tariff-desc { color: var(--muted); min-height: 55px; }
.tariff-price { margin: 18px 0 20px; font: 500 2.35rem var(--serif); color: var(--malachite-dark); }
.tariff-card ul { padding: 0; margin: 0 0 24px; list-style: none; flex: 1; }
.tariff-card li { position: relative; padding: 9px 0 9px 26px; border-bottom: 1px solid rgba(70,90,79,.09); color: #58675f; }
.tariff-card li::before { content: "✓"; position: absolute; left: 0; color: var(--malachite); font-weight: 800; }
.promo-field { margin-top: auto; }
.promo-result { min-height: 20px; margin: 8px 0 0; color: var(--malachite); font-size: .78rem; }
.pricing-note { margin-top: 26px; text-align: center; color: var(--muted); font-size: .82rem; }

.gallery-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; }
.gallery-tile { position: relative; aspect-ratio: .86; overflow: hidden; border-radius: 26px; color: white; text-decoration: none; box-shadow: var(--shadow-soft); }
.gallery-tile:nth-child(even) { transform: translateY(22px); }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-tile:hover img { transform: scale(1.04); }
.gallery-tile span { position: absolute; inset: auto 10px 10px; padding: 9px 12px; border-radius: 14px; background: rgba(45,61,54,.65); backdrop-filter: blur(8px); font-size: .77rem; }

.map-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; align-items: center; }
.moscow-illustration { position:relative; display:block; aspect-ratio:3/2; overflow:hidden; border:10px solid rgba(255,255,255,.72); border-radius:40px; background:#ecebdd; box-shadow:var(--shadow); color:var(--ink); text-decoration:none; isolation:isolate; }
.moscow-illustration::after { content:""; position:absolute; z-index:1; inset:42% 0 0; background:linear-gradient(180deg,transparent,rgba(36,58,49,.1)); pointer-events:none; }
.moscow-illustration picture,
.moscow-illustration img { display:block; width:100%; height:100%; }
.moscow-illustration img { object-fit:cover; transition:transform .65s ease,filter .65s ease; }
.moscow-illustration:hover img { transform:scale(1.018); filter:saturate(1.04); }
.map-art-cta { position:absolute; z-index:2; right:20px; bottom:20px; display:grid; gap:2px; min-width:225px; padding:13px 17px; border:1px solid rgba(255,255,255,.8); border-radius:17px; background:rgba(255,252,247,.9); box-shadow:0 12px 28px rgba(54,70,61,.15); backdrop-filter:blur(10px); }
.map-art-cta small { color:var(--rose); font-size:.64rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.map-art-cta b { display:flex; align-items:center; justify-content:space-between; gap:14px; color:var(--malachite-dark); font-size:.84rem; }
.map-art-cta i { font-style:normal; font-size:1.1rem; transition:transform .25s; }
.moscow-illustration:hover .map-art-cta i { transform:translateX(4px); }

.author-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 75px; align-items: center; }
.author-image { position: relative; }
.author-image::before { content: ""; position: absolute; inset: -25px 35px 35px -25px; z-index: -1; border-radius: 48% 52% 49% 51% / 42% 45% 55% 58%; background: var(--blush); }
.author-image img { width: 100%; max-height: 640px; object-fit: cover; object-position: center 24%; border-radius: 46% 54% 45% 55% / 38% 42% 58% 62%; box-shadow: var(--shadow); }
.author-role { color: var(--rose); font-family: var(--serif); font-size: 1.25rem; }
.author-copy > p:not(.eyebrow):not(.author-role) { color: var(--muted); font-size: 1.05rem; }

.chest-section { padding: 80px 0 30px; overflow: hidden; background: linear-gradient(180deg, var(--paper), #f5e6e5); }
.chest-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 25px; align-items: center; }
.chest-copy { padding-left: 35px; }
.chest-copy p:last-child { color: var(--muted); }
.chest-image { width: 100%; }

.site-footer { padding: 65px 0; background: #eef0e7; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr 1fr .75fr; gap: 48px; }
.footer-grid h3 { font-family: var(--sans); font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-grid a:not(.brand) { color: #5d6c64; text-decoration: none; }
.footer-grid a:hover { color: var(--rose); }
.footer-grid p { color: #65746c; margin-bottom: 0; }
.footer-brand { margin-bottom: 10px; }

.modal { width: min(520px, calc(100% - 30px)); max-height: calc(100vh - 40px); overflow: auto; border: 1px solid var(--line); border-radius: 30px; padding: 42px; background: #fffaf6; color: var(--ink); box-shadow: 0 35px 100px rgba(38,50,44,.25); }
.modal::backdrop { background: rgba(42,55,48,.45); backdrop-filter: blur(8px); }
.modal h2 { font-size: 2.5rem; }
.modal form .button { width: 100%; margin-top: 4px; }
.modal-close { position: absolute; right: 18px; top: 15px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--paper-deep); color: var(--muted); font-size: 1.4rem; cursor: pointer; }
.check-label { grid-template-columns: auto 1fr; align-items: start; gap: 10px; font-weight: 450; }
.check-label input { width: auto; margin-top: 5px; }
.check-label a { color: var(--malachite); }
.toast-region { position: fixed; right: 20px; bottom: 20px; z-index: 1000; display: grid; gap: 10px; }
.toast { max-width: 370px; padding: 15px 18px; border-radius: 16px; background: var(--malachite-dark); color: white; box-shadow: var(--shadow); animation: toast-in .3s ease; }
.toast.error { background: #954b5a; }
@keyframes toast-in { from { transform: translateY(15px); opacity: 0; } }
.cookie-banner { position: fixed; left: 50%; bottom: 18px; z-index: 500; width: min(630px, calc(100% - 30px)); transform: translate(-50%, 140%); transition: transform .35s; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 18px; border: 1px solid var(--line); border-radius: 20px; background: #fffaf6; box-shadow: var(--shadow); }
.cookie-banner.visible { transform: translate(-50%, 0); }
.cookie-banner p { margin: 0; font-size: .84rem; color: var(--muted); }

.reveal { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .main-nav { display: none; position: absolute; top: 82px; left: 20px; right: 20px; padding: 22px; border-radius: 22px; background: #fffaf6; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .main-nav.open { display: flex; }
  .menu-toggle { display: block; margin-left: auto; }
  .hero-grid { gap: 35px; }
}

@media (max-width: 860px) {
  .paper-section, .tinted-section { padding: 80px 0; }
  .hero { padding-top: 55px; }
  .hero-grid, .kindness-grid, .map-grid, .author-grid, .chest-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 540px; margin-inline: auto; }
  .hero-facts { justify-content: center; }
  .section-heading { grid-template-columns: 1fr; gap: 15px; }
  .steps-grid, .tariffs-grid { grid-template-columns: 1fr; }
  .tariff-card.featured { transform: none; }
  .webinar-layout { grid-template-columns: 1fr; }
  .photo-studio { position: static; }
  .directions-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-tile:nth-child(even) { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .chest-copy { padding: 0; text-align: center; max-width: 700px; margin-inline: auto; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 28px, 1180px); }
  h1 { font-size: clamp(2.85rem, 15vw, 4.4rem); }
  h2 { font-size: clamp(2.1rem, 11vw, 3.2rem); }
  .announcement-inner { justify-content: flex-start; padding-block: 8px; }
  .announcement-inner div { display: grid; gap: 0; }
  .announcement-inner span:not(.announcement-flower), .announcement-inner a { display: none; }
  .nav-row { min-height: 70px; }
  .main-nav { top: 70px; }
  .brand small, .nav-account .text-button { display: none; }
  .nav-account .button { padding-inline: 13px; font-size: .8rem; }
  .hero { min-height: auto; padding-bottom: 75px; }
  .hero-copy { text-align: center; }
  .hero-actions { display: grid; }
  .hero-facts { gap: 15px; }
  .hero-facts strong { font-size: 1.2rem; }
  .portrait-frame > img:first-child { height: 470px; }
  .orbit-one { left: -15px; width: 120px; }
  .orbit-two { right: -5px; width: 95px; }
  .steps-grid { gap: 14px; }
  .step-card { padding: 26px; text-align: center; }
  .webinar-card { grid-template-columns: 76px 1fr; padding: 18px; gap: 14px; }
  .webinar-card .button { grid-column: 1 / -1; }
  .webinar-date { min-height: 76px; }
  .donation-form, .photo-studio { padding: 24px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .studio-head { display: block; }
  .privacy-badge { display: inline-block; margin-bottom: 12px; }
  .studio-actions { display: grid; }
  .pattern-showcase { margin-top: 28px; }
  .pattern-showcase__media { border-radius: 22px; }
  .direction-card { grid-template-columns: 100px 1fr; min-height: 190px; padding: 20px; }
  .direction-card img { width: 100px; height: 100px; }
  .direction-card h3 { font-size: 1.5rem; }
  .direction-card > span { font-size: 3rem; }
  .tariff-card { padding: 29px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-tile:last-child { display: none; }
  .moscow-illustration { min-height:0; border-width:6px; border-radius:26px; }
  .map-art-cta { right:12px; bottom:12px; left:12px; min-width:0; padding:11px 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .modal { padding: 35px 22px 25px; }
  .cookie-banner { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Палитра, снятая с фотографии в мини-мастерской */
.signature-palette { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0 4px; }
.palette-chip { width: 34px; height: 34px; border-radius: 10px; border: 1px solid rgba(82,108,95,.18); box-shadow: 0 4px 12px rgba(60,50,48,.1); }
