:root {
  --bg: #f3ece3;
  --bg-soft: #fbf7f2;
  --surface: rgba(255, 252, 248, 0.84);
  --surface-strong: #fffaf4;
  --text: #241f2d;
  --muted: #6b6370;
  --line: rgba(56, 42, 76, 0.1);
  --accent: #d6b35f;
  --accent-dark: #9f7238;
  --accent-soft: #f1deb1;
  --forest: #2f2149;
  --forest-soft: #d8d4e6;
  --gold: #e8c898;
  --brand-start: #e3c15f;
  --brand-mid: #b88a55;
  --brand-end: #3d2c63;
  --shadow: 0 28px 80px rgba(38, 25, 55, 0.12);
  --shadow-soft: 0 18px 40px rgba(38, 25, 55, 0.08);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --wrap: 1180px;
}

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

* {
  min-width: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(227, 193, 95, 0.24), transparent 30%),
    radial-gradient(circle at 82% 12%, rgba(61, 44, 99, 0.16), transparent 24%),
    linear-gradient(180deg, #fff9ee 0%, #f4eadc 38%, #f4eef7 100%);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  width: var(--scroll-progress, 0%);
  height: 3px;
  background: linear-gradient(90deg, var(--brand-start), var(--brand-mid), var(--brand-end));
  box-shadow: 0 8px 20px rgba(45, 35, 68, 0.24);
  pointer-events: none;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.24s ease, opacity 0.24s ease, transform 0.24s ease;
}

a:hover {
  color: var(--accent-dark);
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(var(--wrap), calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 84px 0;
}

.section-tight {
  padding: 56px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.9);
  border: 1px solid rgba(188, 108, 75, 0.14);
  color: var(--accent-dark);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.eyebrow + h1,
.eyebrow + h2,
.eyebrow + h3 {
  margin-top: 14px;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 18px;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h1 {
  font-size: clamp(2.3rem, 4.8vw, 3.7rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

p {
  margin: 0 0 16px;
  color: var(--muted);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  overflow-wrap: anywhere;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(250, 245, 238, 0.78);
  border-bottom: 1px solid rgba(56, 42, 76, 0.08);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 212px;
  max-width: min(42vw, 212px);
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(38, 25, 55, 0.1));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.96rem;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(56, 42, 76, 0.06);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
  place-items: center;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  border-radius: 999px;
  background: var(--text);
  position: relative;
  transition: transform 0.24s ease, top 0.24s ease, background 0.18s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-toggle.is-open span {
  background: transparent;
}

.nav-toggle.is-open span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.is-open span::after {
  top: 0;
  transform: rotate(-45deg);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

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

.btn::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0));
  pointer-events: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-start), var(--brand-mid) 28%, var(--brand-end) 86%);
  color: #fff;
  box-shadow: 0 18px 34px rgba(45, 35, 68, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(56, 42, 76, 0.1);
  color: var(--text);
  box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
  box-shadow: 0 20px 42px rgba(38, 25, 55, 0.12);
}

.hero {
  padding: 42px 0 68px;
}

.hero-grid,
.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 36px;
  align-items: center;
}

.hero-copy {
  position: relative;
}

.hero-copy p {
  max-width: 680px;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 22px 0 22px;
}

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

.first-help {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  max-width: 980px;
  padding: 20px 22px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(227, 193, 95, 0.2), transparent 34%),
    rgba(255, 252, 248, 0.9);
  border: 1px solid rgba(56, 42, 76, 0.1);
  box-shadow: 0 24px 64px rgba(38, 25, 55, 0.1), inset 0 1px 0 rgba(255,255,255,0.8);
}

.first-help-copy .eyebrow {
  margin-bottom: 12px;
}

.first-help-copy h2 {
  max-width: 760px;
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 2.6vw, 2.05rem);
}

.first-help-copy p {
  max-width: 680px;
  margin-bottom: 0;
}

.first-help-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.decision-card {
  min-height: 156px;
  padding: 22px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(227, 193, 95, 0.14), transparent 34%),
    rgba(255, 252, 248, 0.86);
  border: 1px solid rgba(56, 42, 76, 0.1);
  box-shadow: var(--shadow-soft);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.decision-card strong,
.decision-card span {
  display: block;
}

.decision-card strong {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.2;
}

.decision-card span {
  color: var(--muted);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.96rem;
  line-height: 1.45;
}

.decision-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 56px rgba(38, 25, 55, 0.12);
}

.hero-points li,
.stat-card,
.card,
.quote-card,
.faq-item,
.timeline-item,
.price-card,
.contact-card,
.article-card,
.service-aside {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-points li {
  padding: 18px;
}

.hero-points strong,
.stat-card strong {
  display: block;
  font-size: 1.4rem;
  color: var(--text);
}

.hero-visual {
  position: relative;
  margin-bottom: 112px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 6% 10% -10% 6%;
  border-radius: 40px;
  background: linear-gradient(145deg, rgba(227, 193, 95, 0.72), rgba(86, 66, 121, 0.34));
  filter: blur(8px);
}

.hero-visual::after,
.about-showcase::before {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero-visual::after {
  right: 8%;
  bottom: 4%;
  z-index: 0;
  width: 180px;
  height: 180px;
  background: rgba(227, 193, 95, 0.24);
  filter: blur(28px);
}

.hero-visual img,
.art-frame img {
  position: relative;
  z-index: 1;
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 28px 70px rgba(38, 25, 55, 0.16);
}

.hero-visual img {
  max-height: 620px;
}

.about-showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: stretch;
}

.about-showcase::before {
  right: 8%;
  top: -34px;
  width: 240px;
  height: 240px;
  background: rgba(61, 44, 99, 0.1);
  filter: blur(42px);
}

.about-photo-card,
.about-panel {
  border-radius: 34px;
  border: 1px solid rgba(61, 44, 99, 0.08);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.about-photo-card {
  position: relative;
  z-index: 1;
  min-height: 520px;
  background: linear-gradient(145deg, rgba(255,255,255,0.96), rgba(245,237,227,0.94));
}

.about-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 54px);
  background:
    radial-gradient(circle at top right, rgba(227, 193, 95, 0.24), transparent 30%),
    radial-gradient(circle at bottom left, rgba(61, 44, 99, 0.1), transparent 36%),
    linear-gradient(145deg, rgba(255, 252, 248, 0.96), rgba(245, 237, 227, 0.94));
}

.about-panel h3 {
  font-size: clamp(1.7rem, 3.2vw, 2.7rem);
}

.about-signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.about-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.about-flow span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.66);
  border: 1px solid rgba(61, 44, 99, 0.08);
  color: var(--accent-dark);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.92rem;
}

.about-signals article {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,0.66);
  border: 1px solid rgba(61, 44, 99, 0.08);
}

.about-signals strong,
.about-signals span {
  display: block;
}

.about-signals strong {
  color: var(--forest);
  font-size: 1.28rem;
}

.about-signals span {
  color: var(--muted);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.92rem;
}

.floating-card {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: -106px;
  transform: translateX(-50%);
  z-index: 2;
  width: min(360px, 86%);
  padding: 20px 22px;
  border-radius: 24px;
  background: rgba(255, 251, 247, 0.82);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: 0 28px 76px rgba(34, 22, 48, 0.24), 0 0 0 1px rgba(227, 193, 95, 0.1);
  animation: float-card 6s ease-in-out infinite;
}

.floating-card small {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@keyframes float-card {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -8px); }
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.section-head p {
  max-width: 620px;
}

.stats-grid,
.cards-grid,
.services-grid,
.blog-grid,
.quotes-grid,
.price-grid,
.contact-grid,
.article-grid {
  display: grid;
  gap: 22px;
}

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

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

.cards-grid,
.blog-grid,
.quotes-grid,
.price-grid,
.contact-grid,
.article-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.service-card,
.quote-card,
.faq-item,
.timeline-item,
.price-card,
.contact-card,
.article-card,
.service-aside {
  padding: 28px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 251, 247, 0.97), rgba(248, 241, 233, 0.94));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.service-card:hover,
.article-card:hover,
.card:hover,
.quote-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 84px rgba(38, 25, 55, 0.14);
  border-color: rgba(185, 135, 84, 0.22);
}

.service-card .icon,
.mini-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(188, 108, 75, 0.12);
  color: var(--accent-dark);
}

.service-media,
.article-media {
  position: relative;
  overflow: hidden;
}

.service-media::after,
.article-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27, 20, 38, 0) 30%, rgba(27, 20, 38, 0.28) 100%);
  pointer-events: none;
}

.service-media img,
.article-media img,
.hero-visual img {
  width: 100%;
  object-fit: cover;
}

.service-media img {
  aspect-ratio: 1.14;
  transition: transform 0.5s ease;
}

.article-media img {
  aspect-ratio: 1.22;
  transition: transform 0.5s ease;
}

.service-card:hover .service-media img,
.article-card:hover .article-media img,
.hero-visual:hover img {
  transform: scale(1.04);
}

.service-content,
.article-content {
  padding: 24px 24px 26px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-weight: 700;
  color: var(--forest);
}

.service-link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.service-card:hover .service-link::after {
  transform: translateX(4px);
}

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

.problem-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(56, 42, 76, 0.1);
  box-shadow: var(--shadow);
  background:
    radial-gradient(circle at top right, rgba(227, 193, 95, 0.18), transparent 32%),
    linear-gradient(180deg, rgba(255, 252, 248, 0.98), rgba(248, 241, 233, 0.96));
  color: var(--text);
}

.problem-card img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: contain;
  padding: 18px 18px 74px;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.problem-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 252, 248, 0) 36%, rgba(255, 252, 248, 0.94) 100%);
}

.problem-card span {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.25;
  text-shadow: none;
}

.problem-card:hover {
  color: var(--text);
  transform: translateY(-8px);
}

.problem-card:hover img {
  transform: scale(1.04);
  opacity: 1;
}

.is-anxiety-card img {
  animation: anxiety-card-tension 9s ease-in-out infinite;
  transform-origin: 50% 52%;
  will-change: transform;
}

.is-anxiety-card:hover img {
  animation-play-state: paused;
  transform: scale(1.035) translate3d(0, -2px, 0) !important;
}

.is-anxiety-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 1;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 38%, transparent 0 24%, rgba(86, 66, 121, 0.16) 25%, transparent 27%),
    radial-gradient(circle at 50% 38%, transparent 0 38%, rgba(227, 193, 95, 0.18) 39%, transparent 41%);
  opacity: 0.28;
  pointer-events: none;
  transform: scale(0.94);
  animation: anxiety-card-pulse 5.8s ease-in-out infinite;
}

.service-card.is-anxiety-card::before {
  inset: 14px 14px auto;
  height: min(46%, 260px);
}

@keyframes anxiety-card-tension {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  30% {
    transform: translate3d(0, -2px, 0) scale(1.01);
  }

  33% {
    transform: translate3d(1px, -2px, 0) scale(1.012);
  }

  36% {
    transform: translate3d(-1px, -1px, 0) scale(1.01);
  }

  54% {
    transform: translate3d(0, -3px, 0) scale(1.018);
  }

  72% {
    transform: translate3d(0, 0, 0) scale(1.006);
  }
}

@keyframes anxiety-card-pulse {
  0%,
  100% {
    opacity: 0.2;
    transform: scale(0.9);
  }

  42% {
    opacity: 0.44;
  }

  74% {
    opacity: 0;
    transform: scale(1.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  .is-anxiety-card img,
  .is-anxiety-card::before {
    animation: none;
  }
}

.problem-ptsd::before,
.problem-burnout::before,
.problem-self-esteem::before,
.problem-emotions::before,
.problem-boundaries::before,
.problem-addiction::before,
.problem-trauma::before,
.problem-grief::before,
.problem-relationships::before,
.problem-start::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 1;
  border-radius: 22px;
  pointer-events: none;
}

.problem-ptsd::before {
  border: 1px solid rgba(86, 66, 121, 0.18);
  box-shadow: inset 0 0 0 0 rgba(86, 66, 121, 0.16);
  animation: problem-safety-ring 7s ease-in-out infinite;
}

.problem-burnout::before {
  background: linear-gradient(180deg, transparent 18%, rgba(227, 193, 95, 0.18), transparent 68%);
  transform: translateY(34%);
  animation: problem-warm-rise 8s ease-in-out infinite;
}

.problem-self-esteem::before {
  background: radial-gradient(circle at 50% 34%, rgba(227, 193, 95, 0.34), transparent 34%);
  opacity: 0.34;
  animation: problem-self-halo 7.4s ease-in-out infinite;
}

.problem-emotions::before {
  background: conic-gradient(from 110deg, rgba(227, 193, 95, 0.18), rgba(86, 66, 121, 0.14), rgba(188, 108, 75, 0.16), rgba(227, 193, 95, 0.18));
  opacity: 0.16;
  filter: blur(10px);
  animation: problem-emotion-flow 10s linear infinite;
}

.problem-boundaries::before {
  border: 1px solid rgba(86, 66, 121, 0.24);
  clip-path: inset(0 100% 0 0);
  animation: problem-boundary-draw 6.6s ease-in-out infinite;
}

.problem-addiction::before {
  background:
    radial-gradient(circle at 38% 44%, transparent 0 17%, rgba(86, 66, 121, 0.18) 18%, transparent 21%),
    radial-gradient(circle at 62% 44%, transparent 0 17%, rgba(227, 193, 95, 0.18) 18%, transparent 21%);
  opacity: 0.5;
  animation: problem-release-rings 7.8s ease-in-out infinite;
}

.problem-trauma::before {
  background: linear-gradient(126deg, transparent 0 44%, rgba(255, 255, 255, 0.46) 47%, rgba(86, 66, 121, 0.14) 49%, transparent 52% 100%);
  opacity: 0.34;
  transform: translateX(-20%);
  animation: problem-trauma-thread 8.4s ease-in-out infinite;
}

.problem-grief::before {
  background: repeating-linear-gradient(90deg, transparent 0 22px, rgba(86, 66, 121, 0.08) 23px 24px, transparent 25px 46px);
  opacity: 0.32;
  animation: problem-soft-rain 9s linear infinite;
}

.problem-relationships::before {
  background:
    radial-gradient(circle at 34% 42%, rgba(227, 193, 95, 0.24), transparent 20%),
    radial-gradient(circle at 66% 42%, rgba(86, 66, 121, 0.18), transparent 20%);
  animation: problem-connection 7.2s ease-in-out infinite;
}

.problem-start::before {
  background:
    radial-gradient(circle at 28% 70%, rgba(227, 193, 95, 0.34) 0 5px, transparent 6px),
    radial-gradient(circle at 45% 62%, rgba(227, 193, 95, 0.26) 0 5px, transparent 6px),
    radial-gradient(circle at 62% 54%, rgba(86, 66, 121, 0.2) 0 5px, transparent 6px),
    radial-gradient(circle at 76% 44%, rgba(86, 66, 121, 0.16) 0 5px, transparent 6px);
  animation: problem-first-steps 6.8s ease-in-out infinite;
}

.problem-ptsd img,
.problem-burnout img,
.problem-self-esteem img,
.problem-emotions img,
.problem-boundaries img,
.problem-addiction img,
.problem-trauma img,
.problem-grief img,
.problem-relationships img,
.problem-start img {
  animation-duration: 9s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.problem-ptsd img { animation-name: problem-img-settle; }
.problem-burnout img { animation-name: problem-img-float-slow; }
.problem-self-esteem img { animation-name: problem-img-lift; }
.problem-emotions img { animation-name: problem-img-soft-sway; }
.problem-boundaries img { animation-name: problem-img-still; }
.problem-addiction img { animation-name: problem-img-release; }
.problem-trauma img { animation-name: problem-img-settle; }
.problem-grief img { animation-name: problem-img-float-slow; }
.problem-relationships img { animation-name: problem-img-soft-sway; }
.problem-start img { animation-name: problem-img-lift; }

@keyframes problem-safety-ring {
  0%, 100% { box-shadow: inset 0 0 0 0 rgba(86, 66, 121, 0.14); opacity: 0.34; }
  50% { box-shadow: inset 0 0 0 9px rgba(86, 66, 121, 0.08); opacity: 0.62; }
}

@keyframes problem-warm-rise {
  0%, 100% { opacity: 0; transform: translateY(34%); }
  48% { opacity: 0.62; transform: translateY(-18%); }
}

@keyframes problem-self-halo {
  0%, 100% { opacity: 0.26; transform: scale(0.94); }
  50% { opacity: 0.5; transform: scale(1.08); }
}

@keyframes problem-emotion-flow {
  to { transform: rotate(360deg); }
}

@keyframes problem-boundary-draw {
  0%, 100% { clip-path: inset(0 100% 0 0); opacity: 0.28; }
  45%, 72% { clip-path: inset(0 0 0 0); opacity: 0.62; }
}

@keyframes problem-release-rings {
  0%, 100% { transform: translateX(0) scale(0.96); opacity: 0.38; }
  52% { transform: translateX(7px) scale(1.06); opacity: 0.58; }
}

@keyframes problem-trauma-thread {
  0%, 100% { opacity: 0.18; transform: translateX(-24%); }
  48% { opacity: 0.5; transform: translateX(18%); }
}

@keyframes problem-soft-rain {
  to { background-position: 0 68px; }
}

@keyframes problem-connection {
  0%, 100% { opacity: 0.34; transform: scale(0.96); }
  50% { opacity: 0.58; transform: scale(1.05); }
}

@keyframes problem-first-steps {
  0%, 100% { opacity: 0.26; transform: translateY(6px); }
  50% { opacity: 0.64; transform: translateY(-5px); }
}

@keyframes problem-img-settle {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, 3px, 0) scale(1.01); }
}

@keyframes problem-img-float-slow {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -4px, 0) scale(1.012); }
}

@keyframes problem-img-lift {
  0%, 100% { transform: translate3d(0, 2px, 0) scale(1); }
  50% { transform: translate3d(0, -5px, 0) scale(1.015); }
}

@keyframes problem-img-soft-sway {
  0%, 100% { transform: translate3d(-2px, 0, 0) scale(1.005); }
  50% { transform: translate3d(2px, -3px, 0) scale(1.012); }
}

@keyframes problem-img-still {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.008); }
}

@keyframes problem-img-release {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(4px, -2px, 0) scale(1.012); }
}

@media (prefers-reduced-motion: reduce) {
  .problem-card::before,
  .problem-card img {
    animation: none !important;
  }
}

.service-card ul li,
.check-list li,
.article-body ul li,
.service-body ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--muted);
}

.service-card ul li::before,
.check-list li::before,
.article-body ul li::before,
.service-body ul li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 0.65em;
}

.muted-box {
  padding: 22px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(239, 216, 191, 0.42), rgba(255, 250, 243, 0.72));
  border: 1px solid rgba(185, 135, 84, 0.18);
}

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

.topic-panel {
  padding: 28px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(227, 193, 95, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(248,241,233,0.94));
  border: 1px solid rgba(61, 44, 99, 0.08);
  box-shadow: var(--shadow-soft);
}

.topic-panel h3 {
  font-size: clamp(1.28rem, 2vw, 1.8rem);
  margin-bottom: 12px;
}

.topic-panel .pill-row {
  margin-top: 18px;
}

.starter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 20px;
  align-items: stretch;
}

.starter-card,
.safety-note {
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(56, 42, 76, 0.1);
  box-shadow: var(--shadow-soft);
}

.starter-card {
  background:
    radial-gradient(circle at top left, rgba(227, 193, 95, 0.18), transparent 32%),
    rgba(255, 252, 248, 0.9);
}

.message-templates {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.message-templates button {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(56, 42, 76, 0.1);
  background: rgba(255, 255, 255, 0.74);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.message-templates button.is-copied {
  border-color: rgba(159, 114, 56, 0.42);
  background: rgba(241, 222, 177, 0.45);
}

.safety-note {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255, 250, 244, 0.78);
}

.safety-note strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.1rem;
  line-height: 1.25;
}

.safety-note .btn {
  width: fit-content;
  margin-top: 8px;
}

.method-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.method-chip {
  min-height: 118px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 252, 248, 0.82);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.method-chip strong {
  display: block;
  margin-bottom: 8px;
  color: var(--forest);
}

.pill-row,
.breadcrumb,
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill,
.breadcrumb a,
.meta-row span {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(56, 42, 76, 0.08);
  color: var(--muted);
  font-size: 0.94rem;
  font-family: "Trebuchet MS", Verdana, sans-serif;
}

.timeline {
  display: grid;
  gap: 18px;
}

.education-path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.education-step {
  position: relative;
  min-height: 280px;
  padding: 26px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(227, 193, 95, 0.22), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(248,241,233,0.94));
  border: 1px solid rgba(61, 44, 99, 0.08);
  box-shadow: var(--shadow-soft);
}

.education-step span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand-start), var(--brand-end));
  color: #fff;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-weight: 700;
}

.education-step time {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-dark);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-weight: 700;
}

.education-step h3 {
  font-size: 1.28rem;
  margin-bottom: 12px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 22px;
}

.timeline-item time {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  font-size: 1.2rem;
  color: var(--accent-dark);
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: transparent;
  border: 0;
  padding: 0;
  text-align: left;
  font-weight: 700;
  color: var(--text);
}

.faq-item button span:last-child {
  font-size: 1.5rem;
  color: var(--accent-dark);
}

.faq-answer {
  display: none;
  padding-top: 14px;
}

.faq-item.open .faq-answer {
  display: block;
}

.quote-card {
  position: relative;
}

.quote-card::before {
  content: "“";
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 4rem;
  color: rgba(45, 35, 68, 0.1);
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
}

.quote-card strong {
  display: block;
  margin-top: 16px;
}

.review-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  gap: 14px;
  background:
    radial-gradient(circle at top right, rgba(227, 193, 95, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(255, 252, 248, 0.98), rgba(248, 241, 233, 0.96));
}

.review-card::before {
  opacity: 0.5;
}

.review-author {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-avatar {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-start), var(--brand-mid) 38%, var(--brand-end));
  color: #fff;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(45, 35, 68, 0.22);
}

.review-author strong,
.review-author em {
  display: block;
}

.review-author strong {
  margin: 0 0 2px;
  color: var(--text);
}

.review-author em {
  color: var(--muted);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.92rem;
  font-style: normal;
}

.review-stars {
  position: relative;
  z-index: 1;
  color: var(--accent);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
}

.review-card p {
  position: relative;
  z-index: 1;
  margin: 0;
}

.article-card .meta-row,
.service-card .meta-row {
  margin-bottom: 10px;
}

.cta-band {
  padding: 34px;
  border-radius: calc(var(--radius-xl) + 6px);
  background:
    radial-gradient(circle at top right, rgba(232, 200, 152, 0.16), transparent 26%),
    linear-gradient(135deg, #241c35, #5c4680 58%, #d4b46a 120%);
  color: #edf3ed;
  box-shadow: var(--shadow);
}

.cta-band p,
.cta-band .pill {
  color: rgba(237, 243, 237, 0.84);
}

.cta-band .pill {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.page-hero {
  padding: 52px 0 24px;
}

.page-hero .container {
  display: grid;
  gap: 18px;
}

.page-hero p {
  max-width: 760px;
}

.surface-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 34px;
}

.service-layout,
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
}

.about-grid,
.qualifications-grid,
.tariff-grid,
.footer-socials,
.masonry-grid {
  display: grid;
  gap: 22px;
}

.about-grid {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
}

.qualifications-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

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

.masonry-grid img,
.certificate-strip img {
  width: 100%;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

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

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

.tariff-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(249,242,234,0.92));
  box-shadow: var(--shadow);
}

.tariff-card.featured {
  background:
    radial-gradient(circle at top right, rgba(232, 200, 152, 0.3), transparent 26%),
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(245,236,227,0.96));
  border-color: rgba(185, 135, 84, 0.24);
}

.tariff-card strong.price {
  display: block;
  margin: 18px 0 10px;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  font-size: 2rem;
  color: var(--forest);
}

.tariff-card .btn {
  width: 100%;
  margin-top: 18px;
}

.pricing-included {
  max-width: 980px;
  margin: 0 auto;
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.included-grid article {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,0.68);
  border: 1px solid rgba(61, 44, 99, 0.08);
}

.included-grid strong,
.included-grid span {
  display: block;
}

.included-grid strong {
  margin-bottom: 8px;
  color: var(--forest);
}

.included-grid span,
.selected-plan {
  color: var(--muted);
  font-family: "Trebuchet MS", Verdana, sans-serif;
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-weight: 700;
  color: var(--forest);
}

.inline-link::after {
  content: "→";
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-height: 48px;
  padding: 0;
  border-radius: 50%;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.34);
  background: linear-gradient(135deg, var(--brand-start), var(--brand-mid) 32%, var(--brand-end) 100%);
  color: #fff;
  box-shadow: 0 18px 34px rgba(45, 35, 68, 0.26);
}

.social-btn span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.social-btn svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.social-btn.vk {
  background: linear-gradient(135deg, var(--brand-start), var(--brand-mid) 32%, var(--brand-end) 100%);
  color: #fff;
}

.social-btn.tg {
  background: linear-gradient(135deg, var(--brand-start), var(--brand-mid) 32%, var(--brand-end) 100%);
  color: #fff;
}

.social-btn.max {
  background: linear-gradient(135deg, var(--brand-start), var(--brand-mid) 32%, var(--brand-end) 100%);
  color: #fff;
}

.social-btn:hover {
  transform: translateY(-3px);
  color: #fff;
  box-shadow: 0 22px 44px rgba(45, 35, 68, 0.34);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.review-badge {
  position: relative;
  min-width: 240px;
  padding: 22px 22px 20px 72px;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(227, 193, 95, 0.16), rgba(61, 44, 99, 0.12)),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,240,231,0.96));
  border: 1px solid rgba(61, 44, 99, 0.1);
  box-shadow: 0 22px 56px rgba(45, 35, 68, 0.14);
}

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

.review-badge::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 20px;
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--brand-start), var(--brand-end));
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 92%, 50% 70%, 21% 92%, 32% 57%, 2% 35%, 39% 35%);
  box-shadow: 0 12px 24px rgba(61, 44, 99, 0.24);
}

.review-badge strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.28rem;
  color: var(--forest);
}

.review-badge span {
  display: block;
  color: var(--muted);
  font-family: "Trebuchet MS", Verdana, sans-serif;
}

.review-badge em {
  display: block;
  margin-top: 8px;
  color: var(--accent-dark);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.92rem;
  font-style: normal;
}

.compact-contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 900px;
}

.contact-form-compact {
  max-width: 640px;
}

.compact-form {
  max-width: 520px;
}

.is-hidden {
  display: none;
}

.show-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.quick-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: grid;
  gap: 10px;
  justify-items: end;
}

.quick-contact-toggle {
  width: 58px;
  height: 58px;
  min-height: 58px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(135deg, var(--brand-start), var(--brand-mid) 28%, var(--brand-end) 86%);
  color: #fff;
  box-shadow: 0 20px 40px rgba(45, 35, 68, 0.34);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.quick-contact-toggle:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px rgba(45, 35, 68, 0.4);
}

.quick-contact-toggle svg {
  width: 25px;
  height: 25px;
}

.quick-contact-panel {
  width: auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  display: none;
  justify-items: end;
}

.qualifications-showcase {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
}

.qualification-hero {
  padding: 34px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(227, 193, 95, 0.24), transparent 28%),
    linear-gradient(145deg, rgba(255,255,255,0.96), rgba(245,237,227,0.94));
  border: 1px solid rgba(61, 44, 99, 0.08);
  box-shadow: var(--shadow);
}

.qualification-hero strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.qualification-points,
.qualification-cards {
  display: grid;
  gap: 16px;
}

.qualification-portrait {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 34px;
  background:
    radial-gradient(circle at top left, rgba(227, 193, 95, 0.24), transparent 28%),
    linear-gradient(145deg, rgba(255,255,255,0.96), rgba(245,237,227,0.94));
  border: 1px solid rgba(61, 44, 99, 0.08);
  box-shadow: var(--shadow);
}

.qualification-portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
}

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

.qualification-redesign .qualification-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.qualification-ribbons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 6px;
}

.qualification-ribbons span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(61, 44, 99, 0.08);
  color: var(--forest);
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.92rem;
}

.qualification-mini {
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(246,239,231,0.94));
  border: 1px solid rgba(61, 44, 99, 0.08);
  box-shadow: var(--shadow-soft);
}

.qualification-mini h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
}

.qualification-stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.qualification-stat {
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(227, 193, 95, 0.14), rgba(61, 44, 99, 0.08));
  border: 1px solid rgba(61, 44, 99, 0.08);
}

.qualification-stat strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.44rem;
  color: var(--forest);
}

.certificate-thumb {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.certificate-thumb img {
  transition: transform 0.36s ease, box-shadow 0.36s ease;
}

.certificate-thumb:hover img {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 26px 60px rgba(45, 35, 68, 0.18);
}

.certificate-thumb + h3,
.masonry-grid .card img + h3 {
  margin-top: 18px;
}

.lightbox-modal {
  width: min(1080px, calc(100% - 24px));
  padding: 18px;
}

.lightbox-modal img {
  width: 100%;
  border-radius: 22px;
}

.consult-form-card {
  padding: 30px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(227, 193, 95, 0.22), transparent 24%),
    linear-gradient(145deg, rgba(255,255,255,0.96), rgba(245,237,227,0.94));
  border: 1px solid rgba(61, 44, 99, 0.08);
  box-shadow: var(--shadow);
}

.consult-form-card h3 {
  margin-bottom: 10px;
}

.form-grid {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  color: var(--text);
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(61, 44, 99, 0.12);
  background: rgba(255,255,255,0.92);
  color: var(--text);
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid rgba(159, 114, 56, 0.32);
  outline-offset: 2px;
  border-color: rgba(159, 114, 56, 0.42);
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.form-note {
  font-size: 0.95rem;
}

.quick-contact.open .quick-contact-panel {
  display: grid;
  gap: 10px;
}

.quick-contact-panel h3 {
  display: none;
}

.quick-contact .quick-contact-panel .social-btn {
  width: 54px;
  min-width: 54px;
  height: 54px;
  min-height: 54px;
  padding: 0;
}

.seo-details {
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 252, 248, 0.8);
  box-shadow: var(--shadow-soft);
  padding: 0 24px;
}

.seo-details summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  font-size: 1.4rem;
  font-weight: 700;
}

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

.seo-details[open] .seo-body {
  padding-bottom: 22px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 11, 28, 0.54);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s ease;
  z-index: 60;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  position: fixed;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -46%);
  width: min(520px, calc(100% - 24px));
  max-height: calc(100vh - 24px);
  overflow: visible;
  background: rgba(255, 251, 246, 0.98);
  border: 1px solid rgba(56, 42, 76, 0.12);
  border-radius: 28px;
  box-shadow: 0 34px 90px rgba(19, 13, 31, 0.24);
  padding: 28px 28px 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s ease, transform 0.24s ease;
  z-index: 61;
}

.modal.open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.42);
  background: linear-gradient(135deg, var(--brand-start), var(--brand-mid) 32%, var(--brand-end) 100%);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  box-shadow: 0 18px 38px rgba(45, 35, 68, 0.3);
  cursor: pointer;
}

.modal h2 {
  padding-right: 58px;
}

.footer-links-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
}

.footer-links-inline a,
.footer-links-inline button {
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}

.service-body h2,
.article-body h2 {
  margin-top: 36px;
}

.service-body h3,
.article-body h3 {
  margin-top: 24px;
}

.service-body blockquote,
.article-body blockquote {
  margin: 28px 0;
  padding: 22px 24px;
  border-left: 4px solid var(--accent);
  background: rgba(240, 208, 191, 0.22);
  color: var(--text);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.office-map {
  min-height: 280px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(216, 224, 219, 0.62), rgba(240, 208, 191, 0.6)),
    radial-gradient(circle at 18% 24%, rgba(188, 108, 75, 0.15), transparent 24%);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.office-map::before,
.office-map::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(64, 83, 73, 0.1);
}

.office-map::before {
  width: 340px;
  height: 340px;
  left: -90px;
  bottom: -120px;
}

.office-map::after {
  width: 220px;
  height: 220px;
  right: -60px;
  top: -60px;
}

.office-pin {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  width: 92px;
  height: 92px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.8);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}

.office-pin svg {
  width: 40px;
  height: 40px;
  color: var(--accent-dark);
}

.contact-list li {
  margin-bottom: 12px;
}

.site-footer {
  padding: 38px 0 54px;
  border-top: 1px solid rgba(56, 42, 76, 0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,250,244,0.52));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 24px;
}

.footer-socials {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.footer-note {
  margin-top: 18px;
  font-size: 0.95rem;
}

.article-card,
.service-card {
  padding: 0;
}

.hero-points span,
.contact-list,
.footer-note,
.faq-item button,
.price-card p,
.card p {
  font-family: "Trebuchet MS", Verdana, sans-serif;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

@media (max-width: 1080px) {
  .stats-grid,
  .cards-grid,
  .decision-grid,
  .problem-grid,
  .services-grid,
  .blog-grid,
  .quotes-grid,
  .price-grid,
  .contact-grid,
  .article-grid,
  .topic-guide,
  .method-strip,
  .education-path {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .included-grid,
  .review-platform-grid,
  .about-signals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid,
  .first-help,
  .about-showcase,
  .grid-2,
  .about-grid,
  .qualifications-grid,
  .starter-grid,
  .service-layout,
  .article-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-aside,
  .article-layout aside {
    order: -1;
  }
}

@media (max-width: 820px) {
  .header-row {
    justify-content: flex-start;
    gap: 14px;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 10px);
    padding: 16px;
    border-radius: 24px;
    background: #fffaf4;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.open,
  .nav-toggle {
    display: grid;
  }

  .nav-toggle {
    margin-left: auto;
    flex: 0 0 46px;
  }

  .header-actions {
    display: none;
  }

  .brand-logo {
    width: 180px;
  }

  .container {
    width: min(var(--wrap), calc(100% - 28px));
  }

  .section-head {
    display: grid;
    align-items: start;
    gap: 14px;
  }

  .section-head p,
  .page-hero p,
  .hero-copy p {
    max-width: 100%;
  }

  h1 {
    font-size: clamp(2.05rem, 10vw, 2.75rem);
  }

  h2 {
    font-size: clamp(1.72rem, 8vw, 2.35rem);
  }

  h3 {
    font-size: clamp(1.2rem, 5.5vw, 1.55rem);
  }

  .eyebrow {
    max-width: 100%;
    font-size: 0.76rem;
    line-height: 1.25;
    white-space: normal;
  }

  .hero-actions,
  .badge-row,
  .pill-row {
    align-items: stretch;
  }

  .btn,
  .social-btn:not(.site-footer .social-btn) {
    width: 100%;
    min-width: 0;
    padding-inline: 16px;
    text-align: center;
  }

  .hero-visual img,
  .art-frame img {
    border-radius: 26px;
  }

  .hero-visual img {
    max-height: none;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .hero-points,
  .decision-grid,
  .included-grid,
  .review-platform-grid,
  .about-signals,
  .stats-grid,
  .cards-grid,
  .problem-grid,
  .services-grid,
  .blog-grid,
  .quotes-grid,
  .price-grid,
  .contact-grid,
  .article-grid,
  .tariff-grid,
  .masonry-grid,
  .certificate-strip,
  .qualification-cards,
  .qualification-stat-row,
  .qualifications-showcase,
  .topic-guide,
  .method-strip,
  .education-path {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .section,
  .hero {
    padding: 54px 0;
  }

  .page-hero {
    padding: 38px 0 14px;
  }

  .floating-card {
    bottom: -92px;
    width: min(330px, 88%);
  }

  .surface-block,
  .cta-band,
  .card,
  .service-card,
  .quote-card,
  .faq-item,
  .timeline-item,
  .price-card,
  .contact-card,
  .article-card,
  .service-aside {
    padding: 22px;
  }

  .about-grid .cards-grid,
  .modal .cards-grid {
    grid-template-columns: 1fr !important;
  }

  .problem-card,
  .problem-card img {
    min-height: 248px;
  }

  .problem-grid {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    margin-inline: calc((100vw - 100%) / -2);
    padding: 4px max(14px, calc((100vw - 100%) / 2)) 18px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: max(14px, calc((100vw - 100%) / 2));
    -webkit-overflow-scrolling: touch;
  }

  .problem-grid::-webkit-scrollbar {
    display: none;
  }

  .problem-card {
    flex: 0 0 min(82vw, 330px);
    scroll-snap-align: start;
  }

  .problem-card img {
    padding: 16px 16px 82px;
  }

  .education-step {
    min-height: auto;
  }

  .qualification-portrait {
    min-height: 360px;
  }

  .about-photo-card {
    min-height: 380px;
  }

  .footer-socials {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 10px;
  }

  .quick-contact {
    right: 14px;
    bottom: 14px;
    left: auto;
  }

  .quick-contact-panel {
    width: auto;
  }

  .quick-contact .quick-contact-panel .social-btn {
    width: 54px;
    min-width: 54px;
    height: 54px;
    min-height: 54px;
    padding: 0;
  }

  .quick-contact-toggle {
    width: 58px;
    height: 58px;
  }

  .first-help {
    padding: 18px;
  }

  .first-help-actions {
    justify-content: stretch;
  }

  .decision-card {
    min-height: auto;
  }

  .starter-card,
  .safety-note {
    padding: 20px;
    border-radius: 22px;
  }

  .safety-note .btn {
    width: 100%;
  }

  .modal {
    width: calc(100% - 20px);
    max-height: calc(100vh - 20px);
    padding: 22px 18px 18px;
    border-radius: 22px;
  }

  .modal-close {
    width: 48px;
    height: 48px;
    top: 10px;
    right: 10px;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(var(--wrap), calc(100% - 24px));
  }

  .header-row {
    padding: 12px 0;
  }

  .brand-logo {
    width: 150px;
    max-width: calc(100vw - 96px);
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    flex-basis: 44px;
  }

  .site-nav {
    left: 12px;
    right: 12px;
    top: calc(100% + 6px);
  }

  .hero,
  .section {
    padding: 44px 0;
  }

  .hero-points li,
  .decision-card,
  .about-signals article,
  .included-grid article,
  .surface-block,
  .cta-band,
  .card,
  .service-card,
  .quote-card,
  .faq-item,
  .timeline-item,
  .price-card,
  .contact-card,
  .article-card,
  .service-aside,
  .topic-panel,
  .education-step,
  .qualification-hero,
  .qualification-mini,
  .consult-form-card,
  .tariff-card {
    border-radius: 20px;
    padding: 18px;
  }

  .service-content,
  .article-content {
    padding: 18px;
  }

  .service-media img,
  .article-media img {
    aspect-ratio: 1.28;
  }

  .problem-card {
    border-radius: 22px;
  }

  .problem-card span {
    left: 16px;
    right: 16px;
    bottom: 16px;
    font-size: 1rem;
  }

  .footer-socials {
    justify-content: center;
  }

  .first-help-copy .eyebrow {
    margin-bottom: 14px;
  }
}
