/* 02-page.css — HOME PAGE — MODERN LIGHT / PREMIUM PHONE HERO */

:root {
  --bg: #efefef;
  --bg-soft: #f5f5f5;
  --bg-card: rgba(255, 255, 255, 0.56);
  --bg-card-strong: rgba(255, 255, 255, 0.82);

  --ink: #202020;
  --ink-2: #4c4c4c;
  --ink-3: #7b7b7b;

  --line: rgba(32, 32, 32, 0.09);
  --line-strong: rgba(32, 32, 32, 0.16);
  --line-soft: rgba(255, 255, 255, 0.44);

  --accent: #ff4d4d;
  --accent-hover: #f90202;
  --accent-soft: rgba(255, 77, 77, 0.1);

  --accent-2: #ff4d4d;
  --accent-2-soft: rgba(255, 77, 77, 0.1);

  --shadow-xs: 0 8px 18px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 14px 30px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 22px 54px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 34px 90px rgba(0, 0, 0, 0.12);
  --shadow-device: 0 40px 90px rgba(0, 0, 0, 0.14);

  --radius-sm: 18px;
  --radius-md: 28px;
  --radius-lg: 38px;
  --radius-xl: 46px;

  --maxw: 1240px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --hero-title-run-duration: 9.8s;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 14%, rgba(255,255,255,.82) 0 180px, transparent 360px),
    radial-gradient(circle at 85% 12%, rgba(255,77,77,.045) 0 140px, transparent 320px),
    radial-gradient(circle at 82% 80%, rgba(255,77,77,.05) 0 180px, transparent 360px),
    linear-gradient(180deg, #f0f0f0 0%, #ebebeb 100%);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-repeat: no-repeat;
}

img, video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea, select {
  font: inherit;
}

[hidden] {
  display: none !important;
}

/* PAGE */

.homePage {
  position: relative;
  min-height: 100vh;
  overflow-x: clip;
}

.homePage::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.28),
    rgba(255,255,255,0) 26%,
    rgba(255,255,255,.24) 100%
  );
}

.homePage::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .35;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 96px,
      rgba(0,0,0,.018) 96px,
      rgba(0,0,0,.018) 97px
    );
}

.homeShell {
  position: relative;
  width: 100%;
}

.homeContainer,
.hero__grid {
  width: min(var(--maxw), calc(100% - 40px));
  margin-inline: auto;
}

.homeSection {
  position: relative;
  width: 100%;
  padding: 96px 0;
}

.anchorStub {
  height: 1px;
}

/* REVEAL */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity .75s var(--ease),
    transform .75s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal.d1 { transition-delay: .06s; }
.reveal.d2 { transition-delay: .14s; }
.reveal.d3 { transition-delay: .22s; }

/* HEADINGS */

.sectionHead {
  max-width: 900px;
}

.sectionHead--center {
  margin-inline: auto;
  text-align: center;
}

.sectionKicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.5);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 18px;
  backdrop-filter: blur(8px);
}

.sectionTitle {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 78px);
  line-height: .98;
  font-weight: 500;
  letter-spacing: -.05em;
  color: var(--ink);
  text-wrap: balance;
}

.sectionText {
  max-width: 760px;
  color: var(--ink-2);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.7;
}

.sectionText--center {
  margin-inline: auto;
}

/* BUTTONS */

.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  appearance: none;
  cursor: pointer;
  outline: none;
  text-decoration: none;
  transition:
    transform .28s var(--ease),
    box-shadow .28s var(--ease),
    border-color .28s var(--ease),
    background .28s var(--ease),
    color .28s var(--ease);
}

.btn__icon {
  font-size: 18px;
  line-height: 1;
  transition: transform .24s var(--ease);
}

.btn:hover .btn__icon {
  transform: translateX(4px);
}

.btn:active {
  transform: scale(.985);
}

.btn:focus-visible {
  box-shadow:
    0 0 0 3px rgba(255,255,255,.92),
    0 0 0 6px rgba(255,77,77,.16);
}

.btn--primary {
  background: var(--accent);
  color: #fff !important;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(255,77,77,.20);
}

.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(255,77,77,.24);
}

.btn--ghost {
  background: rgba(255,255,255,.46) !important;
  color: var(--ink) !important;
  border-color: var(--line);
  backdrop-filter: blur(8px);
  font-weight: 700;
}

.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: rgba(255,255,255,.72) !important;
  color: var(--accent-2) !important;
}

.btn--ghost.isActive,
.btn--ghost.gBtnSolid {
  background: rgba(255, 77, 77, 0.08) !important;
  border-color: rgba(255, 77, 77, 0.28) !important;
  color: var(--accent-2) !important;
}

.btn--pulse {
  animation: ctaPulse 3.8s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% {
    box-shadow: 0 14px 28px rgba(255,77,77,.18), 0 0 0 0 rgba(255,77,77,0);
  }
  50% {
    box-shadow: 0 18px 34px rgba(255,77,77,.24), 0 0 0 10px rgba(255,77,77,.08);
  }
}

.actionRow {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.actionRow--center {
  justify-content: center;
}

/* SURFACE / CARDS */

.glassCard,
.templateGrid__empty,
.journeyCard,
.templateGrid .tplCard,
.journeyMini,
.faqSearch,
.finalCta__card,
.planningPromoChip,
.planningPromoMiniCard,
.planningPromoBoard,
.templatesStrip__box {
  position: relative;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.glassCard::before,
.journeyCard::before,
.templateGrid .tplCard::before,
.finalCta__card::before,
.planningPromoBoard::before,
.templatesStrip__box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  border: 1px solid var(--line-soft);
}

/* HERO */

.hero {
  padding-top: 40px;
  padding-bottom: 72px;
  overflow: hidden;
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(460px, 620px);
  align-items: center;
  gap: clamp(32px, 5vw, 76px);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 580px;
  padding-top: 10px;
}

.hero__title {
  margin: 0;
  display: grid;
  gap: 14px;
}

.hero__titleMain,
.hero__titleAccent,
.hero__titleTop,
.hero__titleBottom {
  display: block;
  text-wrap: balance;
}

.hero__titleTop,
.hero__titleBottom {
  max-width: 560px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: .94;
  letter-spacing: -.07em;
  font-weight: 600;
  color: var(--ink);
}

.hero__titleMain {
  display: inline-flex;
  align-items: flex-end;
  width: fit-content;
  max-width: 100%;
  position: relative;
  padding-bottom: 10px;
}

.hero__titleMainText {
  display: inline-block;
  font-size: clamp(40px, 5vw, 76px);
  line-height: .92;
  letter-spacing: -.07em;
  font-weight: 600;
  color: var(--ink);
  background:
    linear-gradient(
      110deg,
      var(--ink) 0%,
      var(--ink) 30%,
      rgba(255,77,77,.75) 42%,
      #ff4d4d 48%,
      #f90202 50%,
      #ff4d4d 52%,
      rgba(255,77,77,.75) 58%,
      var(--ink) 70%,
      var(--ink) 100%
    );
  background-size: 300% 100%;
  background-position: 145% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: heroTitleRun var(--hero-title-run-duration) linear infinite;
  will-change: background-position;
}

.hero__titleMain--lined::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 0;
  bottom: 0;
  height: 4px;
  border-radius: 999px;
  background:
    linear-gradient(
      110deg,
      rgba(255,77,77,.28) 0%,
      rgba(255,77,77,.28) 30%,
      rgba(255,77,77,.7) 42%,
      #ff4d4d 48%,
      #f90202 50%,
      #ff4d4d 52%,
      rgba(255,77,77,.7) 58%,
      rgba(255,77,77,.28) 70%,
      rgba(255,77,77,.28) 100%
    );
  background-size: 300% 100%;
  background-position: 145% 50%;
  box-shadow: 0 6px 18px rgba(255,77,77,.18);
  animation: heroTitleRun var(--hero-title-run-duration) linear infinite;
  will-change: background-position;
}

@keyframes heroTitleRun {
  0% {
    background-position: 145% 50%;
  }

  28% {
    background-position: 145% 50%;
  }

  82% {
    background-position: -45% 50%;
  }

  100% {
    background-position: -45% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__titleMainText,
  .hero__titleMain--lined::after {
    animation: none;
    background-position: 50% 50%;
  }
}

.hero__titleAccent {
  max-width: 470px;
  font-size: clamp(22px, 2.5vw, 34px);
  line-height: 1.02;
  letter-spacing: -.05em;
  font-weight: 500;
  color: var(--accent);
}

.hero__lead {
  margin: 22px 0 0;
  max-width: 470px;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.65;
}

.hero__trustRow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  max-width: 540px;
}

.heroTrust {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.54);
  border: 1px solid rgba(32,32,32,.08);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(0,0,0,.045);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    transform .24s var(--ease),
    box-shadow .24s var(--ease),
    border-color .24s var(--ease);
}

.heroTrust i {
  color: var(--accent);
  font-size: 15px;
}

.hero__actions {
  margin-top: 30px;
}

.hero__visual {
  position: relative;
  z-index: 1;
  min-width: 0;
}

/* HERO VISUAL */

.heroStage {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  overflow: visible;
}

.heroStage--phoneOnly {
  min-height: 720px;
}

.heroAura {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(6px);
}

.heroAura--one {
  width: 420px;
  height: 420px;
  top: 26px;
  right: 28px;
  background: radial-gradient(circle, rgba(255,77,77,.13) 0%, rgba(255,77,77,0) 70%);
  animation: heroAuraFloat 4.2s ease-in-out infinite;
}

.heroAura--two {
  width: 320px;
  height: 320px;
  left: 34px;
  bottom: 74px;
  background: radial-gradient(circle, rgba(255,255,255,.9) 0%, rgba(255,255,255,0) 72%);
  animation: heroAuraFloat 5.1s ease-in-out infinite reverse;
}

.heroStage__phone {
  position: absolute;
  z-index: 3;
  width: 310px;
  transform-origin: 50% 50%;
}

.heroStage__phone--solo {
  position: relative;
  right: auto;
  top: auto;
  transform: rotate(6deg) translateY(0);
  animation: heroPhoneFloat 3.6s ease-in-out infinite;
}

.heroStage__phoneFrame {
  position: relative;
  padding: 10px;
  border-radius: 40px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(241,241,241,.90));
  border: 1px solid #ff4d4d99;
  box-shadow:
    0 34px 80px rgba(0,0,0,.14),
    0 0 0 10px rgba(255,77,77,.05),
    inset 0 1px 0 rgba(255,255,255,.94);
}

.heroStage__phoneFrame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,.55);
  pointer-events: none;
}

.heroStage__phoneNotch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 17px;
  border-radius: 0 0 12px 12px;
  background: rgba(24,24,24,.94);
  z-index: 3;
}

.heroStage__phoneScreen {
  overflow: hidden;
  min-height: 640px;
  border-radius: 30px;
  border: 1px solid rgba(20,20,20,.08);
  background: linear-gradient(180deg, #faf7f5 0%, #f4efec 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.65),
    inset 0 1px 0 rgba(255,255,255,.92);
}

.heroPhoneShot {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 640px;
  object-fit: cover;
  object-position: center top;
}

/* HERO FLOATING MEANINGS */

.heroMeaning {
  position: absolute;
  z-index: 4;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 210px;
  max-width: 240px;
  padding: 14px 15px;
  border-radius: 22px;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(32,32,32,.08);
  box-shadow:
    0 16px 28px rgba(0,0,0,.06),
    inset 0 1px 0 rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.heroMeaning__icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255,77,77,.08);
  color: var(--accent);
  border: 1px solid rgba(255,77,77,.12);
  font-size: 16px;
}

.heroMeaning__text {
  display: grid;
  gap: 2px;
}

.heroMeaning__text strong {
  font-size: 13px;
  line-height: 1.2;
  color: var(--ink);
  font-weight: 800;
}

.heroMeaning__text span {
  font-size: 12px;
  line-height: 1.32;
  color: var(--ink-2);
}

.heroMeaning--one {
  left: 0;
  top: 110px;
  animation: heroChipFloat 3.1s ease-in-out infinite;
}

.heroMeaning--two {
  right: 6px;
  top: 120px;
  animation: heroChipFloat 3.5s ease-in-out infinite reverse;
}

.heroMeaning--three {
  left: 26px;
  bottom: 120px;
  animation: heroChipFloat 3.3s ease-in-out infinite;
}

.heroMeaning--four {
  right: 0;
  bottom: 140px;
  animation: heroChipFloat 3.2s ease-in-out infinite reverse;
}

@keyframes heroPhoneFloat {
  0%, 100% { transform: rotate(6deg) translateY(0); }
  50% { transform: rotate(6deg) translateY(-12px); }
}

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

@keyframes heroAuraFloat {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(0,-10px,0) scale(1.04); }
}

/* TEMPLATES STRIP */

.templatesStrip {
  padding-top: 0;
  padding-bottom: 84px;
}

.templatesStrip__box {
  padding: 28px;
  overflow: hidden;
}

.templatesStrip__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.templatesStrip__text {
  max-width: 760px;
}

.templatesStrip__title {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -.05em;
  font-weight: 500;
  color: var(--ink);
  text-wrap: balance;
}

.templatesStrip__lead {
  margin: 0;
  max-width: 700px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.72;
}

.templatesStrip__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.templatesStrip__grid .tplCard {
  overflow: hidden;
  border-radius: var(--radius-md);
  transition:
    transform .24s var(--ease),
    box-shadow .24s var(--ease),
    border-color .24s var(--ease);
}

.templatesStrip__grid .tplCard:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.templatesStrip__actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

/* JOURNEY */

.journey {
  padding-top: 84px;
  padding-bottom: 92px;
}

.journeyRail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: center;
  margin-top: 36px;
  margin-bottom: 28px;
}

.journeyRail__line {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 34px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.08) 0%,
    rgba(255,77,77,.24) 50%,
    rgba(0,0,0,.08) 100%
  );
  z-index: 0;
}

.journeyRail__item {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 12px;
}

.journeyRail__icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: rgba(255,255,255,.7);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  color: var(--accent-2);
  font-size: 26px;
  transition:
    transform .26s var(--ease),
    box-shadow .26s var(--ease),
    border-color .26s var(--ease);
}

.journeyRail__item:hover .journeyRail__icon {
  transform: translateY(-3px);
  border-color: rgba(255,77,77,.24);
  box-shadow: var(--shadow-sm);
}

.journeyRail__item.isActive .journeyRail__icon {
  background: rgba(255,77,77,.12);
  border-color: #ff4d4d;
  box-shadow: 0 0 0 8px rgba(255, 77, 77, 0.05);
}

.journeyRail__step {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.journeyRail__label {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

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

.journeyCard {
  padding: 28px;
  border-radius: 30px;
  transition:
    transform .26s var(--ease),
    box-shadow .26s var(--ease),
    border-color .26s var(--ease);
}

.journeyCard:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.journeyCard__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.journeyCard__num {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 77, 77, 0.08);
  color: var(--accent-2);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .06em;
  flex: 0 0 44px;
}

.journeyCard__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.48);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 800;
}

.journeyCard__title {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.1;
  font-weight: 600;
  color: var(--ink);
}

.journeyCard__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-2);
}

.journeyCard__features {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.journeyMini {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 16px;
}

.journeyMini i {
  color: var(--accent);
  font-size: 15px;
}

.journeyMini span {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

/* FEEDBACK CTA */

.feedbackCta {
  padding-top: 0;
}

.feedbackCta__card {
  padding: 34px;
  overflow: hidden;
}

.feedbackCta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: center;
}

.feedbackCta__title {
  margin: 0 0 14px;
  font-size: clamp(32px, 4vw, 58px);
  line-height: .98;
  letter-spacing: -.05em;
  font-weight: 500;
  color: var(--ink);
  text-wrap: balance;
}

.feedbackCta__text {
  margin: 0;
  max-width: 760px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.76;
}

.feedbackCta__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.feedbackCta__chips span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.54);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(0,0,0,.04);
}

.feedbackCta__chips i {
  color: var(--accent);
}

.feedbackCta__action {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 16px;
  padding: 22px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top, rgba(255,77,77,.10), transparent 58%),
    rgba(255,255,255,.48);
  border: 1px solid var(--line);
}

.feedbackCta__icon {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: rgba(255,77,77,.08);
  border: 1px solid rgba(255,77,77,.16);
  color: var(--accent);
  font-size: 32px;
  box-shadow: 0 16px 34px rgba(255,77,77,.10);
}

.feedbackCta__action .btn {
  width: 100%;
}

.feedbackCta__action p {
  margin: 0;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .feedbackCta__grid {
    grid-template-columns: 1fr;
  }

  .feedbackCta__action {
    justify-items: stretch;
  }

  .feedbackCta__icon {
    justify-self: center;
  }
}

@media (max-width: 760px) {
  .feedbackCta__card {
    padding: 20px 18px;
  }

  .feedbackCta__title {
    font-size: clamp(28px, 8vw, 38px);
  }

  .feedbackCta__text {
    font-size: 15px;
  }

  .feedbackCta__chips {
    gap: 8px;
  }

  .feedbackCta__chips span {
    width: 100%;
    min-height: 40px;
  }

  .feedbackCta__action {
    border-radius: 22px;
    padding: 18px;
  }
}

/* PLAN WEDDING PROMO */

.planningPromo {
  padding-top: 84px;
  padding-bottom: 86px;
}

.planningPromo__box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 28px;
  align-items: center;
  padding: 34px;
  overflow: hidden;
}

.planningPromo__title {
  margin: 0 0 14px;
  font-size: clamp(36px, 4vw, 62px);
  line-height: .96;
  letter-spacing: -.05em;
  color: var(--ink);
  font-weight: 500;
}

.planningPromo__title span {
  display: block;
  margin-top: 10px;
  color: var(--accent);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.05;
  letter-spacing: 0;
}

.planningPromo__text {
  margin: 0;
  max-width: 560px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.76;
}

.planningPromo__benefits {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  max-width: 560px;
}

.planningPromoBenefit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  width: fit-content;
  border-radius: 999px;
  background: rgba(255,255,255,.54);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(0,0,0,.04);
}

.planningPromoBenefit i {
  color: var(--accent);
  font-size: 15px;
}

.planningPromo__actions {
  margin-top: 28px;
}

.planningPromoBoard {
  padding: 18px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.48));
}

.planningPromoBoard__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.planningPromoBoard__label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.planningPromoBoard__pill {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 77, 77, 0.08);
  border: 1px solid rgba(255, 77, 77, 0.18);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
}

.planningPromoCards {
  display: grid;
  gap: 10px;
}

.planningPromoMiniCard {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 72px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255,255,255,.64);
  transition:
    transform .22s var(--ease),
    border-color .22s var(--ease),
    box-shadow .22s var(--ease);
}

.planningPromoMiniCard:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.planningPromoMiniCard__icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255,77,77,.08);
  color: var(--accent);
  border: 1px solid rgba(255,77,77,.12);
}

.planningPromoMiniCard__icon i {
  font-size: 16px;
}

.planningPromoMiniCard__body {
  display: grid;
  gap: 2px;
}

.planningPromoMiniCard__body strong {
  font-size: 14px;
  line-height: 1.2;
  color: var(--ink);
  font-weight: 800;
}

.planningPromoMiniCard__body span {
  font-size: 12px;
  line-height: 1.35;
  color: var(--ink-2);
}

/* FAQ / CTA */

.templateGrid__empty {
  padding: 22px;
  color: var(--ink-2);
}

.faqLayout {
  margin-top: 26px;
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(0, 1.2fr);
  gap: 20px;
  align-items: start;
}

.faqIntro,
.faqPanel {
  overflow: hidden;
}

.faqIntro {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background:
    radial-gradient(circle at top right, rgba(255, 214, 226, .28), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.82) 0%, rgba(255,250,253,.78) 100%);
}

.faqIntro__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(232, 139, 168, .16);
  background: linear-gradient(180deg, rgba(255, 241, 246, .92) 0%, rgba(255, 233, 241, .86) 100%);
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 800;
}

.faqIntro__title {
  margin: 0;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.08;
  letter-spacing: -.03em;
  color: #311d25;
}

.faqIntro__text {
  margin: 0;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.78;
}

.faqPoints {
  display: grid;
  gap: 12px;
}

.faqPoint {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(232, 139, 168, .12);
}

.faqPoint__icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255, 77, 77, 0.08);
  color: var(--accent-2);
  font-size: 18px;
}

.faqPoint__title {
  margin-bottom: 6px;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 800;
  color: var(--ink);
}

.faqPoint__text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2);
}

.faqIntro__note {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 77, 77, 0.06);
  border: 1px solid rgba(255, 77, 77, 0.1);
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.7;
}

.faqPanel__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.faqSearch {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 18px;
  transition:
    border-color .22s var(--ease),
    box-shadow .22s var(--ease),
    background .22s var(--ease);
}

.faqSearch:focus-within {
  border-color: rgba(255,77,77,.22);
  box-shadow: 0 0 0 5px rgba(255,77,77,.06);
  background: rgba(255,255,255,.82);
}

.faqSearch svg {
  opacity: .55;
  color: var(--accent-2);
}

.faqSearch input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
}

.faqSearch input::placeholder {
  color: var(--ink-3);
}

.faqCounter {
  min-width: 64px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--accent-2);
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 77, 77, 0.08);
  border: 1px solid rgba(255, 77, 77, 0.14);
}

.faqList {
  padding: 14px;
  display: grid;
  gap: 12px;
}

.faqItem {
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.76) 0%, rgba(255,250,253,.72) 100%);
  box-shadow: var(--shadow-xs);
  transition:
    transform .22s var(--ease),
    box-shadow .22s var(--ease),
    border-color .22s var(--ease),
    background .22s var(--ease);
}

.faqItem:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.faqItem.isOpen {
  border-color: rgba(232, 139, 168, .34);
  background: linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(255,247,250,.82) 100%);
  box-shadow: 0 18px 46px rgba(216, 111, 147, .12);
}

.faqItem__trigger {
  width: 100%;
  padding: 18px 20px;
  border: 0;
  background: transparent;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
}

.faqItem__head {
  min-width: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.faqItem__index {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 77, 77, 0.08);
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.faqItem__question {
  padding-top: 3px;
  font-weight: 800;
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink);
}

.faqItem__toggle {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(32, 32, 32, 0.08);
  color: var(--accent-2);
  flex: 0 0 40px;
  transition: transform .22s var(--ease);
}

.faqItem.isOpen .faqItem__toggle {
  transform: rotate(45deg);
}

.faqItem__body {
  padding: 0 20px 20px 76px;
}

.faqItem__answer {
  padding-top: 4px;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.8;
}

.faqEmpty {
  padding: 24px;
  text-align: center;
  color: var(--ink-2);
}

.finalCta__card {
  padding: 42px 30px;
  text-align: center;
}

.finalCta__note {
  margin: 16px 0 0;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.6;
}

/* RESPONSIVE */

@media (max-width: 1180px) {
  .journeyGrid {
    grid-template-columns: 1fr;
  }

  .templatesStrip__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .planningPromo__box {
    grid-template-columns: 1fr;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 560px);
    gap: 34px;
  }

  .heroStage {
    min-height: 680px;
  }

  .heroStage__phone {
    width: 286px;
  }

  .heroStage__phoneScreen,
  .heroPhoneShot {
    min-height: 592px;
  }

  .heroMeaning--one {
    left: -4px;
    top: 96px;
  }

  .heroMeaning--two {
    right: -2px;
    top: 104px;
  }

  .heroMeaning--three {
    left: 10px;
    bottom: 104px;
  }

  .heroMeaning--four {
    right: -2px;
    bottom: 116px;
  }
}

@media (max-width: 1040px) {
  .hero {
    padding-top: 22px;
    padding-bottom: 56px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .hero__visual {
    order: -1;
  }

  .hero__content {
    max-width: none;
  }

  .hero__lead {
    max-width: none;
  }

  .heroStage {
    min-height: 700px;
  }

  .heroStage__phone--solo {
    transform: none;
    animation: none;
  }

  .heroMeaning--one {
    left: 18px;
    top: 70px;
  }

  .heroMeaning--two {
    right: 18px;
    top: 84px;
  }

  .heroMeaning--three {
    left: 28px;
    bottom: 90px;
  }

  .heroMeaning--four {
    right: 18px;
    bottom: 110px;
  }
}

@media (max-width: 760px) {
  .homeSection {
    padding: 68px 0;
  }

  .hero {
    padding-top: 14px;
    padding-bottom: 44px;
  }

  .templatesStrip {
    padding-top: 0;
    padding-bottom: 56px;
  }

  .homeContainer,
  .hero__grid {
    width: min(var(--maxw), calc(100% - 20px));
  }

  .hero__titleTop,
  .hero__titleBottom {
    font-size: clamp(28px, 8vw, 40px);
    line-height: .96;
  }

  .hero__titleMainText {
    font-size: clamp(34px, 10vw, 48px);
    line-height: .96;
  }

  .hero__titleAccent {
    font-size: clamp(22px, 6.8vw, 31px);
    line-height: 1.08;
  }

  .hero__lead {
    font-size: 15px;
    line-height: 1.68;
  }

  .hero__trustRow {
    gap: 8px;
  }

  .heroTrust {
    min-height: 38px;
    padding: 0 12px;
    font-size: 12px;
  }

  .actionRow {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .templatesStrip__box {
    padding: 20px 18px;
  }

  .templatesStrip__head {
    margin-bottom: 18px;
  }

  .templatesStrip__title {
    font-size: clamp(28px, 8vw, 38px);
    line-height: 1.03;
  }

  .templatesStrip__lead {
    font-size: 15px;
    line-height: 1.68;
  }

  .templatesStrip__grid {
    grid-template-columns: 1fr;
  }

  .heroStage {
    min-height: 610px;
    padding-top: 10px;
  }

  .heroAura {
    display: none;
  }

  .heroStage__phone {
    position: relative;
    inset: auto;
    width: min(300px, 100%);
    transform: none;
  }

  .heroStage__phoneScreen,
  .heroPhoneShot {
    min-height: 560px;
  }

  .heroMeaning {
    min-width: 0;
    max-width: 210px;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
    border-radius: 18px;
  }

  .heroMeaning__icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 14px;
  }

  .heroMeaning__text strong {
    font-size: 13px;
  }

  .heroMeaning__text span {
    font-size: 11px;
  }

  .heroMeaning--one {
    top: 16px;
    left: -2px;
  }

  .heroMeaning--two {
    top: 90px;
    right: -2px;
  }

  .heroMeaning--three {
    left: -2px;
    bottom: 90px;
  }

  .heroMeaning--four {
    right: -2px;
    bottom: 18px;
  }

  .planningPromo__box {
    padding: 20px 18px;
    gap: 20px;
  }

  .planningPromo__title {
    font-size: clamp(30px, 8vw, 40px);
    line-height: 1.02;
  }

  .planningPromo__title span {
    font-size: clamp(20px, 6vw, 26px);
  }

  .planningPromo__text {
    font-size: 15px;
  }

  .planningPromo__benefits {
    gap: 8px;
  }

  .planningPromoBenefit {
    width: 100%;
    min-height: 40px;
    font-size: 12px;
  }

  .planningPromoBoard {
    padding: 14px;
    border-radius: 22px;
  }

  .planningPromoMiniCard {
    min-height: 64px;
    padding: 12px;
    border-radius: 18px;
  }

  .faqLayout {
    grid-template-columns: 1fr;
  }

  .faqPanel__top {
    flex-direction: column;
    align-items: stretch;
  }

  .faqCounter {
    min-width: 0;
    width: fit-content;
  }

  .faqItem__head {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
  }

  .faqItem__index {
    width: 38px;
    height: 38px;
  }

  .faqItem__question {
    font-size: 16px;
  }

  .faqItem__body {
    padding: 0 18px 18px 18px;
  }
}

@media (max-width: 480px) {
  .faqIntro {
    padding: 22px;
  }

  .faqPoint {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .faqPoint__icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .faqList {
    padding: 12px;
  }

  .faqItem__trigger {
    padding: 16px;
  }

  .faqItem__toggle {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    flex-basis: 36px;
  }

  .heroStage {
    min-height: 580px;
  }

  .heroStage__phone {
    width: min(286px, 100%);
  }

  .heroStage__phoneScreen,
  .heroPhoneShot {
    min-height: 530px;
  }

  .sectionKicker,
  .journeyCard__badge {
    font-size: 11px;
  }
}

@media (max-width: 390px) {
  .homeContainer,
  .hero__grid {
    width: min(var(--maxw), calc(100% - 16px));
            display: flex;
        flex-direction: column-reverse;
        justify-content: center;
  }

  .hero__titleTop,
  .hero__titleBottom {
    font-size: 26px;
  }

  .hero__titleMainText {
    font-size: 48px;
    font-weight: 800;
  }

  .hero__titleAccent {
    font-size: 21px;
  }

  .heroStage__phone {
    width: min(274px, 100%);
  }

  .heroStage__phoneScreen,
  .heroPhoneShot {
    min-height: 510px;
  }

  .heroMeaning--one,
  .heroMeaning--three {
    max-width: 184px;
  }

  .templatesStrip__box,
  .planningPromo__box {
    padding: 18px 16px;
  }

  .templatesStrip__title,
  .planningPromo__title {
    font-size: 28px;
  }
}

/* EVENT TYPES — свадьба + день рождения */
.eventTypes {
  padding-top: 0;
  padding-bottom: 82px;
}

.eventTypes__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.eventTypeCard {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 360px;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    transform .26s var(--ease),
    box-shadow .26s var(--ease),
    border-color .26s var(--ease);
}

.eventTypeCard::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  border-radius: inherit;
  border: 1px solid var(--line-soft);
}

.eventTypeCard::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -112px;
  top: -112px;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(4px);
  opacity: .72;
}

.eventTypeCard--wedding::after {
  background: radial-gradient(circle, rgba(255, 77, 77, .15) 0%, rgba(255, 77, 77, 0) 70%);
}

.eventTypeCard--birthday::after {
  background: radial-gradient(circle, rgba(255, 183, 3, .18) 0%, rgba(255, 111, 174, .10) 38%, rgba(255, 183, 3, 0) 72%);
}

.eventTypeCard:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.eventTypeCard__icon {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border-radius: 30px;
  background: rgba(255, 255, 255, .62);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  color: var(--accent);
  font-size: 40px;
}

.eventTypeCard--birthday .eventTypeCard__icon {
  color: #ff8a00;
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, .9), transparent 48%),
    rgba(255, 183, 3, .10);
  border-color: rgba(255, 183, 3, .20);
}

.eventTypeCard__body {
  min-width: 0;
}

.eventTypeCard__body .sectionKicker {
  margin-bottom: 16px;
}

.eventTypeCard__body h2 {
  margin: 0 0 14px;
  max-width: 520px;
  color: var(--ink);
  font-size: clamp(30px, 3.4vw, 52px);
  line-height: .98;
  letter-spacing: -.05em;
  font-weight: 500;
  text-wrap: balance;
}

.eventTypeCard__body p {
  margin: 0;
  max-width: 560px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.75;
}

.eventTypeCard__body .btn {
  margin-top: 24px;
}

@media (max-width: 1040px) {
  .eventTypes__grid {
    grid-template-columns: 1fr;
  }

  .eventTypeCard {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .eventTypes {
    padding-bottom: 56px;
  }

  .eventTypeCard {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px 18px;
    border-radius: 28px;
  }

  .eventTypeCard__icon {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    font-size: 30px;
  }

  .eventTypeCard__body h2 {
    font-size: clamp(28px, 8vw, 38px);
    line-height: 1.03;
  }

  .eventTypeCard__body p {
    font-size: 15px;
    line-height: 1.68;
  }
}

/* =========================================================
   EVENT TYPES
========================================================= */

.eventTypes {
  padding-top: 28px;
  padding-bottom: 72px;
}

.eventTypes__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.eventTypeCard {
  position: relative;
  min-height: 448px;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  padding: 32px;
  border-radius: 38px;
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 77, 77, .08), transparent 34%),
    rgba(255, 255, 255, .58);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
}

.eventTypeCard::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  border: 1px solid var(--line-soft);
}

.eventTypeCard--birthday {
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 142, 23, .13), transparent 34%),
    radial-gradient(circle at 76% 88%, rgba(255, 77, 77, .08), transparent 34%),
    rgba(255, 255, 255, .58);
}

.eventTypeCard__icon {
  position: relative;
  z-index: 1;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: rgba(255, 255, 255, .68);
  border: 1px solid var(--line);
  color: var(--accent);
  font-size: 42px;
  box-shadow: var(--shadow-xs);
}

.eventTypeCard--birthday .eventTypeCard__icon {
  color: #ff8a00;
  background: rgba(255, 248, 238, .78);
  border-color: rgba(255, 138, 0, .18);
}

.eventTypeCard__body {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.eventTypeCard__body .sectionKicker {
  margin-bottom: 18px;
}

.eventTypeCard__body h2 {
  margin: 0;
  max-width: 520px;
  color: var(--ink);
  font-size: clamp(38px, 4.4vw, 62px);
  line-height: .96;
  letter-spacing: -.06em;
  font-weight: 600;
  text-wrap: balance;
}

.eventTypeCard__body p {
  margin: 22px 0 0;
  max-width: 560px;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.72;
}

/* Главное: кнопка всегда внизу */
.eventTypeCard__body .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Чтобы текст не прилипал к кнопке, когда его мало */
.eventTypeCard__body p + .btn {
  margin-top: auto;
}

/* Чуть воздуха перед кнопкой */
.eventTypeCard__body::after {
  content: "";
  display: block;
  min-height: 28px;
  order: 10;
}

.eventTypeCard__body .btn {
  order: 20;
}

@media (hover: hover) and (pointer: fine) {
  .eventTypeCard {
    transition:
      transform .26s var(--ease),
      box-shadow .26s var(--ease),
      border-color .26s var(--ease);
  }

  .eventTypeCard:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--line-strong);
  }
}

@media (max-width: 980px) {
  .eventTypes__grid {
    grid-template-columns: 1fr;
  }

  .eventTypeCard {
    min-height: 390px;
  }
}

@media (max-width: 760px) {
  .eventTypes {
    padding-top: 18px;
    padding-bottom: 56px;
  }

  .eventTypes__grid {
    gap: 16px;
  }

  .eventTypeCard {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px 18px;
    border-radius: 28px;
  }

  .eventTypeCard__icon {
    width: 74px;
    height: 74px;
    border-radius: 22px;
    font-size: 32px;
  }

  .eventTypeCard__body h2 {
    font-size: clamp(32px, 9vw, 44px);
  }

  .eventTypeCard__body p {
    font-size: 15px;
    line-height: 1.68;
  }

  .eventTypeCard__body .btn {
    width: 100%;
    margin-top: 24px;
  }

  .eventTypeCard__body::after {
    display: none;
  }
}

.eventTypes__grid {
    align-items: stretch;
}

.eventTypeCard {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 430px;
    padding-bottom: 28px;
    overflow: hidden;
}

.eventTypeCard__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.eventTypeCard__body p {
    margin-bottom: 28px;
}

.eventTypeCard__body .btn {
    margin-top: auto;
    width: fit-content;
    flex: 0 0 auto;
    transform: translateY(0);
}

@media (max-width: 760px) {
    .eventTypeCard {
        min-height: auto;
        padding-bottom: 22px;
    }

    .eventTypeCard__body .btn {
        width: 100%;
        margin-top: 22px;
    }
}
/* TEMPLATES PAGE: wider intro and perfectly round palette swatches */
.templatesHero__grid {
  grid-template-columns: minmax(0, 1.34fr) minmax(430px, .78fr) !important;
  gap: clamp(34px, 4vw, 64px) !important;
  align-items: center;
}
.templatesHero__content { max-width: 760px !important; min-width: 0; }
.templatesHero__lead { max-width: 650px !important; }
.templatesHero__visual { width: 100%; max-width: 500px; justify-self: end; }
.paletteFeature__swatches span {
  min-width: 28px !important;
  flex: 0 0 28px !important;
  aspect-ratio: 1 / 1;
  border-radius: 50% !important;
}
.paletteList__swatches span {
  min-width: 22px !important;
  flex: 0 0 22px !important;
  aspect-ratio: 1 / 1;
  border-radius: 50% !important;
}
@media (max-width: 1100px) {
  .templatesHero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(390px, .85fr) !important;
    gap: 30px !important;
  }
}
@media (max-width: 920px) {
  .templatesHero__grid { grid-template-columns: 1fr !important; }
  .templatesHero__content,
  .templatesHero__lead,
  .templatesHero__visual { max-width: none !important; }
  .templatesHero__visual { justify-self: stretch; }
}
