/* ============ ПУАНТ — macaron-ателье ============ */
:root {
  --cream: #f7f1f4;
  --white: #fdfafc;
  --ink: #2c2530;
  --lilac: #c9a6d8;
  --mint: #a9d3c4;
  --mist: rgba(44, 37, 48, 0.62);
  --shadow-soft: 0 24px 50px -24px rgba(44, 37, 48, 0.22);
  --r-lg: 34px;
  --r-md: 24px;
  --ease: cubic-bezier(0.25, 0.7, 0.25, 1);
  --serif: 'Playfair Display', Georgia, serif;
  --script: 'Marck Script', cursive;
  --sans: 'Jost', 'Segoe UI', sans-serif;
}

@property --tint { syntax: '<color>'; inherits: true; initial-value: #c9a6d8; }
@property --tint-soft { syntax: '<color>'; inherits: true; initial-value: #e9d8f0; }
@property --tint-deep { syntax: '<color>'; inherits: true; initial-value: #a67fc0; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
html.intro-lock { overflow: hidden; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--lilac); outline-offset: 3px; border-radius: 999px; }

.wrap { width: min(1200px, 91vw); margin-inline: auto; }

/* ---------- появления ---------- */
.rise { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.rise.is-in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.24s; }
.d3 { transition-delay: 0.38s; }
.d4 { transition-delay: 0.52s; }

/* ---------- интро: макарон сходится и расходится ---------- */
.mac-intro {
  position: fixed;
  inset: 0;
  z-index: 120;
  overflow: hidden;
}
.mac-intro .shell {
  position: absolute;
  top: 50%;
  width: 150vmax;
  height: 150vmax;
  border-radius: 50%;
  transform: translateY(-50%) translateX(var(--tx, 0));
  transition: transform 1s var(--ease);
}
.shell-l {
  --tx: -104%;
  background: radial-gradient(circle at 62% 42%, #e9d8f0, var(--lilac) 62%, #b48cc8);
  border-radius: 50% 50% 46% 54% / 52% 48% 52% 48%;
}
.shell-r {
  --tx: 104%;
  background: radial-gradient(circle at 38% 42%, #d8ece4, var(--mint) 62%, #86bda9);
  border-radius: 50% 50% 54% 46% / 48% 52% 48% 52%;
}
.mac-intro.meet .shell-l { --tx: -49.2%; }
.mac-intro.meet .shell-r { --tx: -1.8%; }
.ganache {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 70vmax;
  height: 12vmax;
  border-radius: 50%;
  background: linear-gradient(90deg, #d9a7b9, #e8b7c6 50%, #cfa2c8);
  transform: translate(-50%, -50%) scaleX(0);
  transition: transform 0.55s var(--ease) 0.25s;
}
.mac-intro.meet .ganache { transform: translate(-50%, -50%) scaleX(1); }
.intro-word {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  font-family: var(--script);
  font-size: clamp(3rem, 9vw, 6.4rem);
  color: var(--ink);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.6s var(--ease);
}
.mac-intro.meet .intro-word { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.mac-intro.part .shell-l { transform: translateY(-132%) translateX(-49.2%); transition-duration: 0.9s; }
.mac-intro.part .shell-r { transform: translateY(32%) translateX(-1.8%); transition-duration: 0.9s; }
.mac-intro.part .ganache, .mac-intro.part .intro-word { opacity: 0; transition: opacity 0.4s ease; }
.mac-intro.done { display: none; }

/* ---------- шапка-пилюля ---------- */
.pill-head {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  justify-content: center;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s var(--ease), visibility 0s;
}
.pill-head.is-end { opacity: 0; transform: translateY(-24px); visibility: hidden; transition: opacity 0.4s ease, transform 0.4s var(--ease), visibility 0s linear 0.4s; }
.pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 26px);
  background: rgba(253, 250, 252, 0.82);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(201, 166, 216, 0.4);
  border-radius: 999px;
  padding: 8px 10px 8px 26px;
  box-shadow: var(--shadow-soft);
  max-width: 94vw;
}
.wordmark {
  font-family: var(--script);
  font-size: 1.9rem;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
}
.wordmark small {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mist);
}
.pill-nav { display: flex; gap: 4px; white-space: nowrap; }
.pill-nav a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--mist);
  transition: background 0.3s ease, color 0.3s ease;
}
.pill-nav a:hover, .pill-nav a.is-active { background: rgba(201, 166, 216, 0.24); color: var(--ink); }
.pill-btn {
  flex: none;
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  padding: 12px 26px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.pill-btn:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 12px 24px -10px rgba(44, 37, 48, 0.5); }
.pill-btn:active { transform: scale(0.97); }
@media (max-width: 860px) {
  .pill { padding-left: 18px; }
  .wordmark small { display: none; }
  .pill-nav { overflow-x: auto; scrollbar-width: none; }
  .pill-nav::-webkit-scrollbar { display: none; }
}
@media (max-width: 640px) {
  .pill-btn { display: none; }
}

/* ---------- герой ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 150px 0 130px;
}
.layers { position: absolute; inset: 0; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  will-change: transform;
}
.blob-1 { width: 46vw; height: 46vw; left: -14vw; top: -10vw; background: radial-gradient(circle at 40% 35%, #ecdcef, var(--lilac) 70%, transparent); opacity: 0.5; }
.blob-2 { width: 38vw; height: 38vw; right: -10vw; top: 16vh; background: radial-gradient(circle at 55% 40%, #e0f0e9, var(--mint) 72%, transparent); opacity: 0.55; }
.blob-3 { width: 30vw; height: 30vw; left: 22vw; bottom: -12vw; background: radial-gradient(circle at 45% 45%, #f6e2e9, #e8b7c6 72%, transparent); opacity: 0.45; }
.float-mac { position: absolute; width: clamp(90px, 11vw, 150px); will-change: transform; animation: mac-float 7s ease-in-out infinite; }
.float-mac.m1 { left: 9%; top: 24%; }
.float-mac.m2 { right: 11%; top: 30%; animation-delay: -2.4s; animation-duration: 8.4s; }
.float-mac.m3 { right: 24%; bottom: 22%; animation-delay: -4.6s; animation-duration: 6.2s; }
@keyframes mac-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -22px; } }
.shell-top, .shell-bot { fill: #e6d3ee; }
.float-mac.m2 .shell-top, .float-mac.m2 .shell-bot { fill: #d5eae1; }
.float-mac.m3 .shell-top, .float-mac.m3 .shell-bot { fill: #f3dde5; }
.shell-fill { fill: #cfa2c8; }
.float-mac.m2 .shell-fill { fill: #9cc6b3; }
.float-mac.m3 .shell-fill { fill: #e0a9bd; }
#sugar { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero-in { position: relative; width: min(900px, 92vw); }
.hero-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 30px;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 7.6vw, 6rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.glow-line { position: relative; display: block; }
.glow-line .rise { display: inline-block; }
.breath {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 130%;
  height: 230%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(201, 166, 216, 0.5), rgba(201, 166, 216, 0) 65%);
  transform: translate(-50%, -50%);
  animation: breathe 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes breathe {
  0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(0.9); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.12); }
}
.hero-sub { max-width: 56ch; margin: 30px auto 0; color: var(--mist); }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 42px; }

.soft-btn {
  position: relative;
  display: inline-block;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  padding: 17px 40px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow: 0 16px 30px -14px rgba(44, 37, 48, 0.55);
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease, background 0.35s ease;
}
.soft-btn:hover { transform: translateY(-3px); background: #4a3d52; box-shadow: 0 22px 40px -16px rgba(44, 37, 48, 0.5); }
.soft-btn:active { transform: translateY(0) scale(0.98); }
.soft-btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px rgba(44, 37, 48, 0.5); }
.soft-btn.ghost:hover { box-shadow: inset 0 0 0 2px var(--ink), 0 16px 26px -16px rgba(44, 37, 48, 0.4); }
.soft-btn.small { padding: 13px 28px; font-size: 11.5px; }

.hero-wave { position: absolute; left: 0; right: 0; bottom: -2px; }
.hero-wave svg { display: block; width: 100%; height: 90px; }
.hero-wave path { fill: var(--white); }

/* ---------- секции ---------- */
section { padding: clamp(80px, 12vh, 140px) 0; position: relative; }
.tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mist);
  background: rgba(201, 166, 216, 0.16);
  border-radius: 999px;
  padding: 9px 22px;
  margin-bottom: 28px;
}
.sec-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.14;
  margin-bottom: 50px;
}
.sec-title em { font-style: italic; color: #a67fc0; }

/* ---------- ателье ---------- */
.atelie { background: var(--white); padding-top: clamp(60px, 8vh, 90px); }
.craft-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 30px); }
.craft-card {
  background: linear-gradient(160deg, #fdf9fb, #f5eaf1);
  border-radius: var(--r-lg);
  padding: 40px 34px 34px;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.craft-num {
  position: absolute;
  top: -22px;
  left: 30px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lilac);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.5rem;
  box-shadow: 0 10px 20px -8px rgba(166, 127, 192, 0.8);
}
.craft-card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; margin-bottom: 14px; }
.craft-card p { font-size: 15px; color: var(--mist); }
.craft-fact {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed rgba(44, 37, 48, 0.2);
  font-size: 14px !important;
}
.craft-fact b { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); }
.vitrina {
  margin-top: clamp(46px, 7vh, 76px);
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: linear-gradient(135deg, #ecdcef, #d5eae1);
}
.vitrina img { position: absolute; inset: 0; }
.vitrina figcaption {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: rgba(253, 250, 252, 0.86);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  padding: 12px 26px 14px;
  font-family: var(--script);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--ink);
  box-shadow: 0 12px 24px -14px rgba(44, 37, 48, 0.4);
}

/* ---------- коллекция (перекраска) ---------- */
.collectia {
  background:
    radial-gradient(60% 80% at 80% 10%, var(--tint-soft) 0%, transparent 60%),
    linear-gradient(180deg, var(--white), var(--cream));
  transition: --tint 0.9s var(--ease), --tint-soft 0.9s var(--ease), --tint-deep 0.9s var(--ease);
}
.coll-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.coll-head .sec-title { margin-bottom: 0; }
.swatches { display: flex; gap: 12px; flex-wrap: wrap; }
.sw {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--sw);
  box-shadow: 0 8px 16px -8px rgba(44, 37, 48, 0.4), inset 0 -6px 10px rgba(44, 37, 48, 0.12), inset 0 6px 10px rgba(255, 255, 255, 0.5);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.sw span {
  position: absolute;
  left: 50%;
  bottom: -24px;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
  display: none;
  white-space: nowrap;
}
.sw:hover { transform: translateY(-4px) scale(1.08); }
.sw:hover span, .sw.is-on span { display: block; }
.sw.is-on { box-shadow: 0 0 0 3px var(--white), 0 0 0 6px var(--sw), 0 10px 18px -8px rgba(44, 37, 48, 0.4); transform: translateY(-4px); }
.swatches { margin-bottom: 26px; }

.flavor-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 30px); margin-top: 20px; }
.flavor {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 34px 30px 30px;
  box-shadow: var(--shadow-soft);
  transform-style: preserve-3d;
  perspective: 800px;
}
.flavor-inner { transform-style: preserve-3d; }
.fl-mac {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 92px;
  margin-bottom: 22px;
  transform: translateZ(34px);
}
.fl-mac i { height: 26px; border-radius: 50%; background: color-mix(in srgb, var(--f) 72%, white); box-shadow: inset 0 -4px 6px rgba(44, 37, 48, 0.14); }
.fl-mac b { height: 16px; border-radius: 8px; background: color-mix(in srgb, var(--f) 80%, var(--ink)); margin: -3px 6px; }
.flavor h3 { font-family: var(--serif); font-weight: 500; font-size: 1.45rem; margin-bottom: 10px; }
.flavor > p { font-size: 14.5px; color: var(--mist); }
.fl-price { margin-top: 18px; font-family: var(--serif); font-size: 1.5rem; color: var(--tint-deep); transition: color 0.9s ease; }
.fl-price small { font-family: var(--sans); font-size: 12px; color: var(--mist); margin-left: 6px; }
.box-line {
  margin-top: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--tint-soft);
  border-radius: var(--r-md);
  padding: 26px 34px;
  transition: background 0.9s ease;
}
.box-line p { font-size: 15.5px; }
@media (max-width: 980px) { .craft-grid, .flavor-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .craft-grid, .flavor-grid { grid-template-columns: 1fr; } }

/* ---------- торты ---------- */
.torty { background: var(--white); }
.torty-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(30px, 5vw, 70px); align-items: start; }
.cake-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 110px;
}
.cake-frame img { aspect-ratio: 1 / 1; background: linear-gradient(135deg, #f0dfe8, #dcd0e6); }
.cake-frame figcaption {
  font-family: var(--script);
  font-size: 1.3rem;
  padding: 16px 24px 20px;
  background: var(--white);
  color: var(--mist);
}
.cake-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 15px 2px;
  border-bottom: 1px dashed rgba(44, 37, 48, 0.22);
  font-size: 15.5px;
  transition: padding-left 0.3s var(--ease);
}
.cake-list li:hover { padding-left: 10px; }
.cake-list .dots { flex: 1; border-bottom: 1px dotted rgba(44, 37, 48, 0.35); transform: translateY(-4px); }
.cake-list b { font-weight: 600; white-space: nowrap; }
.cake-list b small { font-weight: 400; font-size: 12px; color: var(--mist); margin-left: 6px; }
.steps { counter-reset: st; margin-top: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 26px; }
.steps li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--mist); }
.steps em {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-style: normal;
  font-family: var(--serif);
  background: linear-gradient(140deg, var(--mint), #8fc4ae);
  color: var(--ink);
  font-size: 15px;
}
@media (max-width: 900px) { .torty-in { grid-template-columns: 1fr; } .cake-frame { position: static; } }

/* ---------- рецептура ---------- */
.receptura {
  background:
    radial-gradient(50% 60% at 12% 20%, rgba(169, 211, 196, 0.28), transparent 60%),
    radial-gradient(45% 55% at 88% 75%, rgba(201, 166, 216, 0.25), transparent 60%),
    var(--cream);
}
.rings { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 3vw, 36px); }
.ring {
  position: relative;
  text-align: center;
  padding: 24px 16px 28px;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
}
.ring svg { display: block; width: 118px; height: 118px; margin: 0 auto; transform: rotate(-90deg); }
.r-bg { fill: none; stroke: rgba(201, 166, 216, 0.25); stroke-width: 10; }
.r-fg {
  fill: none;
  stroke: var(--lilac);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: var(--len) 360;
  stroke-dashoffset: var(--len);
  transition: stroke-dashoffset 1.6s var(--ease) 0.3s;
}
.ring:nth-child(even) .r-fg { stroke: var(--mint); }
.ring.is-in .r-fg { stroke-dashoffset: 0; }
.ring b {
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  height: 118px;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.55rem;
}
.ring span { display: block; font-size: 13.5px; color: var(--mist); padding: 16px 6px 0; min-height: 76px; }
.recipe-note { margin-top: 44px; font-size: 15px; color: var(--mist); max-width: 72ch; }
@media (max-width: 900px) { .rings { grid-template-columns: 1fr 1fr; } }

/* ---------- школа ---------- */
.shkola { background: var(--white); }
.scroller { overflow-x: auto; scrollbar-width: thin; border-radius: var(--r-lg); box-shadow: var(--shadow-soft); }
.lessons { width: 100%; min-width: 560px; border-collapse: collapse; background: linear-gradient(160deg, #fdf9fb, #f3e9f1); }
.lessons th {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mist);
  padding: 22px 26px 14px;
}
.lessons td { padding: 18px 26px; font-size: 15px; border-top: 1px dashed rgba(44, 37, 48, 0.15); }
.lessons tr { transition: background 0.3s ease; }
.lessons tbody tr:hover { background: rgba(201, 166, 216, 0.14); }
.lessons td:last-child { font-family: var(--serif); font-size: 1.15rem; white-space: nowrap; }

/* ---------- гости ---------- */
.gosti {
  background:
    radial-gradient(55% 65% at 85% 15%, rgba(169, 211, 196, 0.3), transparent 60%),
    radial-gradient(45% 55% at 10% 85%, rgba(232, 183, 198, 0.3), transparent 60%),
    var(--cream);
}
.bubble-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 34px); }
.bubble {
  background: var(--white);
  border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 8px;
  padding: 34px 30px 28px;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.bubble p { font-size: 15.5px; line-height: 1.65; }
.bubble footer { margin-top: 20px; font-family: var(--script); font-size: 1.25rem; color: #a67fc0; }
@media (max-width: 900px) { .bubble-grid { grid-template-columns: 1fr; } }

/* ---------- визит ---------- */
.vizit { background: var(--ink); color: var(--cream); border-radius: var(--r-lg) var(--r-lg) 0 0; }
.viz-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.viz-title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 5.6vw, 4.2rem); line-height: 1.12; }
.viz-title em { font-style: italic; color: var(--lilac); }
.viz-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.viz-card {
  background: rgba(253, 250, 252, 0.06);
  border: 1px solid rgba(253, 250, 252, 0.14);
  border-radius: var(--r-md);
  padding: 24px 26px;
}
.viz-card h3 { font-size: 11px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--mint); margin-bottom: 12px; }
.viz-card p { font-size: 14.5px; line-height: 1.75; }
.viz-card a { border-bottom: 1px dotted rgba(253, 250, 252, 0.4); transition: color 0.3s ease, border-color 0.3s ease; }
.viz-card a:hover { color: var(--lilac); border-color: var(--lilac); }
@media (max-width: 900px) { .viz-in { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .viz-cards { grid-template-columns: 1fr; } }

/* ---------- футер ---------- */
.foot { background: var(--ink); color: rgba(247, 241, 244, 0.72); padding: 30px 0 34px; border-top: 1px solid rgba(253, 250, 252, 0.12); }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.foot-mark { font-family: var(--script); font-size: 2.2rem; color: var(--cream); }
.foot-nav { display: flex; gap: 8px; flex-wrap: wrap; }
.foot-nav a {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(253, 250, 252, 0.18);
  color: var(--cream);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.foot-nav a:hover { background: rgba(201, 166, 216, 0.25); border-color: var(--lilac); }
.foot-contacts { font-size: 13.5px; text-align: right; }
.foot-contacts a { color: var(--cream); border-bottom: 1px dotted rgba(253, 250, 252, 0.35); }
.foot-contacts a:hover { color: var(--lilac); }
.foot-bottom { width: min(1200px, 91vw); margin: 26px auto 0; padding-top: 20px; border-top: 1px dashed rgba(253, 250, 252, 0.14); font-size: 12px; letter-spacing: 0.06em; }
@media (max-width: 760px) { .foot-in { flex-direction: column; text-align: center; } .foot-contacts { text-align: center; } }

/* ---------- prefers-reduced-motion ---------- */
@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;
    transition-delay: 0s !important;
  }
  .rise { opacity: 1; transform: none; }
  .mac-intro { display: none; }
  .breath { opacity: 0.7; }
  .r-fg { stroke-dashoffset: 0; }
}
