/* Акварель для себя — Маша Катарсис */

:root {
  --ink: #1c2420;
  --ink-soft: #3d4a44;
  --muted: #6b7872;
  --paper: #f3f0ea;
  --paper-2: #e8e2d6;
  --wash: #d4e4df;
  --wash-deep: #9bb8ae;
  --coral: #c45c4a;
  --coral-deep: #a34436;
  --rose: #c9877a;
  --indigo: #5a6e8a;
  --gold: #c4a574;
  --line: rgba(28, 36, 32, 0.12);
  --white: #faf8f4;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --max: 68rem;
  --narrow: 38rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

.section[id],
#top {
  scroll-margin-top: 5.5rem;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1.05rem, 0.95rem + 0.35vw, 1.15rem);
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(155, 184, 174, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(196, 92, 74, 0.08), transparent 50%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(212, 228, 223, 0.5), transparent 60%),
    var(--paper);
  -webkit-font-smoothing: antialiased;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

h1 { font-size: clamp(3rem, 8vw, 5.5rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.45rem); }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.container.narrow {
  width: min(100% - 2.5rem, var(--narrow));
}

.section { padding: clamp(4rem, 10vw, 7.5rem) 0; }

.section-kicker {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  margin: 0 0 0.85rem;
}

.lead {
  font-size: clamp(1.12rem, 1rem + 0.4vw, 1.32rem);
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

.closing {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--ink-soft);
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1.25rem, 4vw, 2.5rem);
  background: transparent;
  /* blur на ::before — иначе fixed-меню на мобилке запирается в шапке */
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(243, 240, 234, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
  pointer-events: none;
}

.site-header.is-scrolled::before {
  border-bottom-color: var(--line);
  background: rgba(243, 240, 234, 0.92);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--ink-soft);
  transition: color 0.2s;
}

.nav a:hover { color: var(--ink); }

.nav-cta {
  color: var(--coral) !important;
  font-weight: 600 !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 1.35rem;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.7rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--coral);
  color: var(--white);
  border-color: var(--coral);
}

.btn-primary:hover {
  background: var(--coral-deep);
  border-color: var(--coral-deep);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-secondary:hover {
  background: var(--ink);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(250, 248, 243, 0.45);
}

.btn-ghost:hover {
  background: rgba(250, 248, 243, 0.12);
  border-color: var(--white);
}

.btn-lg {
  padding: 1.15rem 2.1rem;
  font-size: 1.05rem;
}

/* ========== HERO + WATERCOLOR BLEED ========== */

.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.06);
  animation: hero-drift 22s var(--ease) infinite alternate;
}

@keyframes hero-drift {
  from { transform: scale(1.06) translate(0, 0); }
  to { transform: scale(1.1) translate(-1.2%, -0.8%); }
}

.hero-dim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(28, 36, 32, 0.28) 0%, rgba(28, 36, 32, 0.18) 35%, rgba(28, 36, 32, 0.78) 100%),
    radial-gradient(ellipse 70% 50% at 20% 80%, rgba(155, 184, 174, 0.22), transparent 60%);
}

.watercolor-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  mix-blend-mode: soft-light;
  opacity: 0.4;
}

.bloom {
  position: absolute;
  border-radius: 50%;
  filter: url(#soft-bleed);
  opacity: 0;
  transform: scale(0.15);
  will-change: transform, opacity;
}

.bloom-1 {
  width: min(70vw, 520px);
  height: min(70vw, 520px);
  left: -8%;
  top: 10%;
  background: radial-gradient(circle, rgba(196, 92, 74, 0.7) 0%, rgba(196, 92, 74, 0.2) 45%, transparent 70%);
  animation: bloom-spread 2.8s var(--ease) 0.2s forwards;
}

.bloom-2 {
  width: min(85vw, 640px);
  height: min(85vw, 640px);
  right: -12%;
  top: -5%;
  background: radial-gradient(circle, rgba(155, 184, 174, 0.75) 0%, rgba(90, 110, 138, 0.25) 40%, transparent 68%);
  animation: bloom-spread 3.2s var(--ease) 0.45s forwards;
}

.bloom-3 {
  width: min(55vw, 420px);
  height: min(55vw, 420px);
  left: 35%;
  bottom: 5%;
  background: radial-gradient(circle, rgba(196, 165, 116, 0.55) 0%, transparent 70%);
  animation: bloom-spread 2.6s var(--ease) 0.7s forwards;
}

.bloom-4 {
  width: min(45vw, 340px);
  height: min(45vw, 340px);
  left: 8%;
  bottom: 25%;
  background: radial-gradient(circle, rgba(90, 110, 138, 0.5) 0%, transparent 65%);
  animation: bloom-spread 3s var(--ease) 0.9s forwards;
}

.bloom-5 {
  width: min(50vw, 380px);
  height: min(50vw, 380px);
  right: 15%;
  bottom: 15%;
  background: radial-gradient(circle, rgba(196, 92, 74, 0.4) 0%, rgba(155, 184, 174, 0.2) 50%, transparent 70%);
  animation: bloom-spread 2.9s var(--ease) 1.1s forwards;
}

@keyframes bloom-spread {
  0% { opacity: 0; transform: scale(0.12); }
  35% { opacity: 0.7; }
  100% { opacity: 0.4; transform: scale(1); }
}

.ink-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: multiply;
  opacity: 0.28;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 7rem 0 4.5rem;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin: 0 0 0.35rem;
  color: var(--white);
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.15s forwards;
}

.hero h1 {
  margin-bottom: 0.75rem;
  color: var(--white);
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.3s forwards;
}

.hero-meta {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  color: rgba(250, 248, 244, 0.9);
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.45s forwards;
}

.hero-lead {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-style: italic;
  margin-bottom: 1.25rem;
  max-width: 28rem;
  color: rgba(250, 248, 244, 0.95);
  line-height: 1.4;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.55s forwards;
}

.hero-continue {
  padding: clamp(2.5rem, 8vw, 3.5rem) 0;
  background: var(--paper);
  color: var(--ink);
}

.hero-continue p {
  color: var(--ink-soft);
  margin-bottom: 1rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

.hero-excuses {
  list-style: none;
  margin: 0.5rem 0 1.25rem;
  padding: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink-soft);
}

.hero-excuses li { padding: 0.12rem 0; }

.hero-quote {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  margin: 0.85rem 0;
  color: var(--ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.8s forwards;
  text-shadow: none;
}

.hero-actions .btn-ghost {
  background: transparent;
  border-color: rgba(250, 248, 244, 0.45);
  color: var(--white);
}

.hero-actions .btn-ghost:hover {
  background: rgba(250, 248, 244, 0.12);
  border-color: var(--white);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(1.4rem); }
  to { opacity: 1; transform: translateY(0); }
}

/* For whom */

.for-whom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 4vw, 2.5rem) clamp(2rem, 5vw, 3.5rem);
  margin: 2.5rem 0;
}

.for-whom-grid article {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.for-whom-grid p {
  color: var(--ink-soft);
  margin: 0;
}

.for-whom-closing {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  max-width: 32rem;
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--paper-2);
}

.about-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.about-photo:hover img { transform: scale(1.03); }

.about-roles {
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.about-sub {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.insta-link {
  color: var(--coral);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.2s;
}

.insta-link:hover { color: var(--coral-deep); }

/* Approach + galleries */

.dash-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.dash-list li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.5rem;
  border-bottom: 1px solid var(--line);
}

.dash-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--coral);
}

.approach-closing { max-width: 36rem; }

.approach {
  background:
    radial-gradient(ellipse 80% 40% at 50% 100%, rgba(197, 216, 208, 0.28), transparent 55%),
    var(--paper);
}

/* ========== CAROUSEL ========== */

.carousel {
  position: relative;
  margin-top: 2.75rem;
  width: 100%;
}

.carousel-viewport {
  overflow: hidden;
  background: var(--paper-2);
  box-shadow:
    0 0 0 1px rgba(28, 36, 32, 0.06),
    0 14px 36px rgba(28, 36, 32, 0.08);
}

.carousel-track {
  display: flex;
  transition: transform 0.45s var(--ease);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 1.25rem 1.25rem 1.5rem;
  box-sizing: border-box;
  background: var(--paper-2);
}

.carousel-slide img {
  max-width: 100%;
  max-height: min(70vh, 36rem);
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  cursor: zoom-in;
}

.carousel-slide figcaption {
  margin-top: 1rem;
  max-width: 36rem;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-70%);
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: rgba(243, 240, 234, 0.92);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(28, 36, 32, 0.12);
  transition: background 0.2s, transform 0.2s;
}

.carousel-btn:hover {
  background: var(--white);
  transform: translateY(-70%) scale(1.05);
}

.carousel-prev { left: 0.65rem; }
.carousel-next { right: 0.65rem; }

.carousel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.carousel-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.carousel-dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(28, 36, 32, 0.2);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.carousel-dot[aria-selected="true"] {
  background: var(--coral);
  transform: scale(1.15);
}

.carousel-counter {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  white-space: nowrap;
}

/* Процесс */
.process-block {
  margin-top: clamp(3.5rem, 8vw, 5rem);
  padding-top: clamp(2rem, 5vw, 3rem);
  border-top: 1px solid var(--line);
}

.process-title {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  margin-bottom: 0.75rem;
}

.process-lead {
  max-width: 36rem;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}

.process-gallery {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 1.25rem;
  align-items: start;
}

.process-item {
  margin: 0;
}

.process-item img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow:
    0 0 0 1px rgba(28, 32, 28, 0.06),
    0 14px 32px rgba(28, 32, 28, 0.1);
  transition: transform 0.8s var(--ease), filter 0.5s;
  filter: saturate(1.04) contrast(1.02);
  cursor: zoom-in;
}

.process-item:hover img {
  transform: translateY(-3px);
  filter: saturate(1.1) contrast(1.03);
}

.process-item figcaption {
  margin-top: 0.85rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

.gallery {
  display: grid;
  gap: 0.75rem;
  margin-top: 3rem;
}

.gallery figure {
  margin: 0;
  overflow: hidden;
  background: var(--paper-2);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.gallery figure:hover img { transform: scale(1.04); }

.gallery-duo {
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.gallery-duo figure {
  aspect-ratio: 4 / 5;
}

.gallery-duo-tall figure {
  aspect-ratio: 3 / 4;
}

.gallery-masonry {
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 12rem;
}

.gallery-masonry figure:nth-child(1) { grid-row: span 2; }
.gallery-masonry figure:nth-child(2) { grid-row: span 1; }
.gallery-masonry figure:nth-child(3) { grid-row: span 2; }
.gallery-masonry figure:nth-child(4) { grid-row: span 1; }
.gallery-masonry figure:nth-child(5) { grid-row: span 1; }
.gallery-masonry figure:nth-child(6) { grid-row: span 1; }

.gallery-wide {
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 14rem 12rem;
}

.gallery-wide .gallery-hero {
  grid-row: span 2;
}

.gallery-wide .gallery-hero img,
.gallery-wide figure img {
  min-height: 100%;
}

.atmosphere {
  background:
    radial-gradient(ellipse 60% 40% at 0% 30%, rgba(155, 184, 174, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 35% at 100% 70%, rgba(196, 120, 90, 0.06), transparent 50%);
}



/* верхний ряд: 2 горизонтальных */

/* ниже: 6 вертикальных по 3 в ряд */




.video-slot {
  margin-top: 1.5rem;
}

.video-slot video {
  width: 100%;
  max-height: 32rem;
  object-fit: cover;
  background: var(--ink);
}

/* Program */

.program-list {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
}

.program-list li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
}

.program-list li:last-child { border-bottom: 1px solid var(--line); }

.program-num {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--wash-deep);
  line-height: 1.2;
}

.program-list p {
  margin: 0;
  color: var(--ink-soft);
}

/* Takeaway */

.check-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.35rem 2.5rem;
}

.check-list li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.6rem;
  border-bottom: 1px solid var(--line);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--wash-deep);
}

.check-list.compact {
  display: block;
  margin-bottom: 1.75rem;
}

.check-list.compact li {
  font-size: 0.98rem;
  color: var(--ink-soft);
}

.takeaway-final {
  margin-top: 2.5rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-style: italic;
}

.takeaway-final strong {
  font-style: normal;
  font-weight: 500;
  display: inline-block;
  margin-top: 0.35rem;
}

/* Format */

.format-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2rem 0 2rem;
  padding: 0;
}

.format-facts > div {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.format-facts dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.format-facts dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
}

/* Tariffs */

.tariff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: 2.5rem;
}

.tariff {
  padding: 2rem 0 0;
  border-top: 2px solid var(--line);
  display: flex;
  flex-direction: column;
}

.tariff-featured { border-top-color: var(--coral); }

.tariff-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.3rem;
}

.tariff-featured .tariff-label { color: var(--coral); }

.tariff h3 {
  font-size: 2.15rem;
  margin-bottom: 0.35rem;
}

.tariff-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin-bottom: 0.85rem;
}

.tariff-desc {
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}

.tariff-price { margin-bottom: 1.75rem; }

.price-early-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.25rem;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  margin: 0;
}

.price-old {
  font-size: 1.15rem;
  color: var(--muted);
  text-decoration: line-through;
}

.price-now {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1;
}

.price-later {
  font-size: 0.92rem;
  color: var(--muted);
  margin-top: 0.4rem;
}

.tariff .btn { align-self: flex-start; }

.tariff-pay {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  width: 100%;
  margin-top: 0.25rem;
}

.tariff-pay .btn {
  align-self: stretch;
  width: 100%;
  text-align: center;
}

.yapay-mount {
  width: 100%;
  min-height: 0;
}

.yapay-mount:empty {
  display: none;
}

.yapay-fallback[hidden] {
  display: none !important;
}

.tariff-installment {
  margin-top: 0;
}

.tariff-pay-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
  max-width: 22rem;
}

.tariff-pay-note a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.tariff-pay-note a:hover {
  color: var(--coral-deep);
}

/* Final CTA */

.final-cta {
  text-align: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(194, 90, 72, 0.1), transparent 55%),
    linear-gradient(180deg, rgba(197, 216, 208, 0.35), transparent);
}

.final-cta .hero-excuses {
  display: inline-block;
  text-align: left;
  margin: 1rem auto 1.5rem;
}

.final-cta .btn { margin-top: 1.5rem; }

/* FAQ */

.faq-list { margin-top: 2rem; }

.faq-item {
  border-top: 1px solid var(--line);
  padding: 0;
}

.faq-item:last-child { border-bottom: 1px solid var(--line); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 2rem 1.25rem 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  position: relative;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--coral);
  transition: transform 0.25s;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 0 1.35rem;
  color: var(--ink-soft);
  margin: 0;
}

/* Footer */

.site-footer {
  padding: 3rem 0;
  border-top: 1px solid var(--line);
}

.footer-inner {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.footer-contacts {
  margin: 1rem 0 0;
}

.footer-contacts p {
  margin: 0 0 0.35rem;
}

.footer-legal {
  margin: 1.35rem auto 0;
  max-width: 36rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--muted);
  text-align: left;
}

.footer-legal p {
  margin: 0 0 0.35rem;
}

.footer-legal dt {
  font-weight: 500;
  color: var(--ink-soft);
  margin: 0.65rem 0 0.1rem;
}

.footer-legal dd {
  margin: 0;
}

.footer-legal .footer-legal-title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

@media (max-width: 700px) {
  .footer-legal {
    text-align: left;
  }
}

.footer-inner a {
  color: var(--ink-soft);
  text-decoration: none;
}

.footer-inner a:hover { color: var(--coral); }

.footer-copy {
  margin-top: 1.25rem;
  font-size: 0.85rem;
}

/* Offer page */

.offer-page {
  padding: clamp(5rem, 12vw, 7rem) 0 4rem;
}

.offer-page h1 {
  margin-bottom: 0.5rem;
}

.offer-meta {
  color: var(--muted);
  margin-bottom: 2rem;
}

.offer-page h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

.offer-page p,
.offer-page li {
  color: var(--ink-soft);
}

.offer-page ul {
  padding-left: 1.2rem;
}

.offer-back {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--coral);
  text-decoration: none;
  font-weight: 500;
}

.offer-back:hover { text-decoration: underline; }

.offer-page h3 {
  margin-top: 1.35rem;
  margin-bottom: 0.6rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--ink);
}

.offer-requisites {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
  max-width: none;
}

.offer-page a {
  color: var(--coral);
  text-decoration: none;
}

.offer-page a:hover { text-decoration: underline; }

.offer-page .footer-legal a {
  color: var(--coral);
}

/* ========== LIGHTBOX ========== */

.lb-trigger {
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 4rem 3rem;
  background: rgba(12, 14, 16, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox[hidden] {
  display: none;
}

.lightbox.is-open[hidden] {
  display: flex;
}

.lightbox-figure {
  margin: 0;
  max-width: min(92vw, 1100px);
  max-height: 82vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.lightbox-img {
  max-width: 100%;
  max-height: 76vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  background: #1a1a1a;
}

.lightbox-caption {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(255, 253, 248, 0.85);
  text-align: center;
  max-width: 36rem;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 0;
  background: rgba(255, 253, 248, 0.1);
  color: #fffdf8;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s, transform 0.2s;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255, 253, 248, 0.2);
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.75rem;
  line-height: 1;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  font-size: 2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-prev { left: 0.75rem; }
.lightbox-next { right: 0.75rem; }

.lightbox-nav:hover {
  transform: translateY(-50%) scale(1.05);
}

.lightbox-counter {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: rgba(255, 253, 248, 0.65);
}

@media (max-width: 700px) {
  .lightbox {
    padding: 3.5rem 0.75rem 2.5rem;
  }

  .lightbox-nav {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.6rem;
  }

  .lightbox-prev { left: 0.25rem; }
  .lightbox-next { right: 0.25rem; }
}

/* Reveal */

.reveal {
  opacity: 0;
  transform: translateY(1.4rem);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */

@media (max-width: 900px) {
  .logo,
  .menu-toggle {
    position: relative;
    z-index: 110;
  }

  .menu-toggle { display: flex; }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 105;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.6rem;
    padding: 5rem 1.5rem 2rem;
    background: rgba(243, 240, 234, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s, visibility 0.3s;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav a {
    font-family: var(--font-display);
    font-size: 1.7rem;
    color: var(--ink);
  }

  .about-grid,
  .for-whom-grid,
  .check-list,
  .tariff-grid,
  .format-facts {
    grid-template-columns: 1fr;
  }

  .format-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .frame-wall {
    grid-template-columns: repeat(2, 1fr);
  }

  .frame-wall > .picture,
  .frame-wall > .picture:nth-child(1),
  .frame-wall > .picture:nth-child(2),
  .frame-wall > .picture:nth-child(3),
  .frame-wall > .picture:nth-child(4),
  .frame-wall > .picture:nth-child(5),
  .frame-wall > .picture:nth-child(6) {
    grid-column: span 1;
  }

  .frame-wall > .picture .picture-frame {
    transform: none !important;
  }

  .frame-wall > .picture:hover .picture-frame {
    transform: translateY(-4px) !important;
  }

  .gallery-duo {
    grid-template-columns: 1fr;
  }

  .gallery-duo figure {
    aspect-ratio: 4 / 3;
  }

  .gallery-masonry {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 10rem;
  }

  .process-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-wide {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .gallery-wide .gallery-hero {
    grid-column: span 2;
    grid-row: auto;
    min-height: 16rem;
  }

  .about-photo { max-width: 22rem; }

  .program-list li {
    grid-template-columns: 3.25rem 1fr;
  }

  /*
    Мобильный герой: высота = пропорции фото (без cover на весь экран).
    Текст и кнопки лежат поверх низа кадра — без серой «дыры».
  */
  .hero {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
    height: auto;
    overflow: hidden;
  }

  .hero-media,
  .watercolor-layer,
  .hero-content {
    grid-column: 1;
    grid-row: 1;
  }

  .hero-media {
    position: relative;
    inset: auto;
    z-index: 0;
  }

  .hero-media img {
    position: relative;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: unset;
    object-position: center center;
    transform: none;
    animation: none;
  }

  .hero-dim {
    background:
      linear-gradient(
        180deg,
        rgba(28, 36, 32, 0.18) 0%,
        rgba(28, 36, 32, 0.1) 42%,
        rgba(28, 36, 32, 0.55) 78%,
        rgba(28, 36, 32, 0.7) 100%
      );
  }

  .watercolor-layer {
    position: absolute;
    inset: 0;
    z-index: 1;
    height: auto;
    width: auto;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    align-self: end;
    width: min(100% - 2rem, var(--max));
    margin: 0 auto;
    padding: 3.5rem 0 1.35rem;
  }

  .hero-brand {
    font-size: 1.25rem;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 8vw, 2.35rem);
    margin-bottom: 0.45rem;
  }

  .hero-meta {
    margin-bottom: 0.65rem;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }

  .hero-lead {
    margin-bottom: 0.85rem;
    font-size: 1.05rem;
    max-width: 20rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    margin-top: 0;
    width: 12.5rem;
  }

  .hero-actions .btn {
    width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 520px) {
  .gallery-masonry {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-wide {
    grid-template-columns: 1fr;
  }

  .gallery-wide .gallery-hero {
    grid-column: auto;
  }
}


@media (max-width: 700px) {
  .carousel-btn {
    width: 2.4rem;
    height: 2.4rem;
    font-size: 1.35rem;
  }

  .carousel-slide {
    min-height: 0;
    padding: 0.75rem;
  }

  .carousel-slide img {
    max-height: min(62vh, 28rem);
    width: auto;
    height: auto;
  }

  .carousel-slide figcaption {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .hero-media img,
  .bloom,
  .hero-brand,
  .hero h1,
  .hero-meta,
  .hero-lead,
  .hero-actions,
  .reveal {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .bloom { opacity: 0.4; transform: scale(1); }
}
