:root {
  color-scheme: light;
  --paper: #f7f0e6;
  --paper-soft: #fffaf2;
  --milk: #fffdf8;
  --sage: #6f7658;
  --sage-dark: #414935;
  --mint: #8ba191;
  --berry: #933556;
  --berry-soft: #f0d9df;
  --lavender: #b9a4bf;
  --clay: #c19073;
  --ink: #25261f;
  --muted: #716c60;
  --line: rgba(65, 73, 53, 0.16);
  --shadow: 0 28px 70px rgba(62, 54, 42, 0.14);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  position: relative;
  overflow-x: hidden;
  isolation: isolate;
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.96), rgba(244, 234, 222, 0.96) 42%, rgba(238, 229, 219, 0.96)),
    var(--paper);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background: url("./assets/site-background.svg") center / cover no-repeat;
  opacity: 0.12;
  pointer-events: none;
}

body > * {
  position: relative;
  z-index: 1;
}

[hidden] {
  display: none !important;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(calc(100% - 32px), 1180px);
  margin: 14px auto 0;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.78);
  box-shadow: 0 14px 40px rgba(75, 65, 50, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--sage-dark);
  font-size: 14px;
  font-weight: 760;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sage), var(--mint));
  color: var(--milk);
  font-size: 13px;
  font-weight: 820;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex-wrap: wrap;
}

.nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 620;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav a:hover {
  transform: translateY(-1px);
  background: rgba(111, 118, 88, 0.12);
  color: var(--sage-dark);
}

.hero-section,
.section {
  width: min(calc(100% - 32px), 1180px);
  margin: 0 auto;
}

.hero-section {
  padding-top: 34px;
}

.hero-card {
  display: grid;
  grid-template-columns: minmax(380px, 0.98fr) minmax(0, 1.02fr);
  gap: clamp(44px, 5vw, 72px);
  align-items: center;
  min-height: clamp(620px, 74svh, 780px);
}

.hero-photo {
  justify-self: end;
  width: min(100%, 570px);
  height: clamp(570px, 68svh, 690px);
  overflow: hidden;
  border-radius: 118px 32px 118px 32px;
  box-shadow: 0 28px 68px rgba(65, 56, 42, 0.16);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% center;
  filter: saturate(0.96) contrast(0.98);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 590px;
  padding: clamp(24px, 4vw, 54px) 0;
  transform: translateX(clamp(18px, 3vw, 42px));
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--olive, #7c7e61);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: normal;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--sage-dark);
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(48px, 5.5vw, 70px);
  font-weight: 720;
  line-height: 0.94;
  text-wrap: balance;
}

h1 span {
  display: block;
  white-space: nowrap;
}

h2 {
  font-size: clamp(32px, 4.6vw, 58px);
  font-weight: 720;
  line-height: 0.98;
  text-wrap: balance;
}

h3 {
  font-size: 21px;
  font-weight: 780;
  line-height: 1.1;
}

.hero-lead {
  max-width: 500px;
  margin: 24px 0 0;
  color: #3d4036;
  font-size: clamp(23px, 3vw, 35px);
  font-weight: 650;
  line-height: 1.08;
  text-wrap: nowrap;
}

p,
.state-card p,
.alchemy-step-copy p,
.consult-form-wrap > p,
.methods-section p,
.diagnostic-section p {
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 780;
  line-height: 1.1;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button:focus-visible,
.icon-button:focus-visible {
  outline: 3px solid rgba(147, 53, 86, 0.28);
  outline-offset: 3px;
}

.button-primary {
  background: linear-gradient(135deg, var(--sage-dark), #697358);
  color: var(--milk);
  box-shadow: 0 16px 34px rgba(65, 73, 53, 0.24);
}

.button-primary:hover {
  box-shadow: 0 22px 44px rgba(65, 73, 53, 0.3);
}

.button-ghost {
  border: 1px solid rgba(65, 73, 53, 0.18);
  background: rgba(255, 253, 248, 0.74);
  color: var(--sage-dark);
}

.button-small {
  min-height: 42px;
  padding: 11px 17px;
  font-size: 14px;
}

.stats-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(calc(100% - 48px), 960px);
  margin: 24px auto 96px;
  position: relative;
  z-index: 4;
}

.stat-card {
  min-height: 122px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.9);
  box-shadow: 0 18px 46px rgba(73, 63, 48, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease;
  backdrop-filter: blur(18px);
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 54px rgba(73, 63, 48, 0.16);
}

.stat-card strong {
  display: block;
  color: var(--berry);
  font-size: clamp(42px, 6vw, 70px);
  font-weight: 740;
  line-height: 0.95;
}

.stat-card span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.35;
}

.section {
  margin-bottom: 94px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 36px;
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}

.diploma-section {
  position: relative;
}

.carousel-controls {
  display: flex;
  gap: 10px;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(65, 73, 53, 0.15);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.82);
  color: var(--sage-dark);
  cursor: pointer;
  font-size: 20px;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.icon-button:hover {
  transform: translateY(-2px);
  background: var(--milk);
  box-shadow: 0 12px 28px rgba(73, 63, 48, 0.12);
}

.diploma-carousel {
  position: relative;
  height: 470px;
  overflow: visible;
  border-radius: 32px;
}

.diploma-card {
  position: absolute;
  top: 22px;
  left: 50%;
  display: block;
  width: min(62%, 560px);
  height: auto;
  padding: 8px;
  border: 0;
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 24px 62px rgba(74, 62, 48, 0.14);
  cursor: zoom-in;
  appearance: none;
  opacity: 0;
  transform: translateX(-50%) scale(0.78);
  transition: opacity 280ms ease, transform 320ms ease, filter 280ms ease;
}

.diploma-card:focus-visible {
  outline: 3px solid rgba(147, 53, 86, 0.28);
  outline-offset: 5px;
}

.diploma-card img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.diploma-card.is-active {
  z-index: 3;
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.diploma-card.is-side-left {
  z-index: 2;
  opacity: 0.68;
  filter: saturate(0.86);
  transform: translateX(-105%) scale(0.82) rotate(-3deg);
}

.diploma-card.is-side-right {
  z-index: 2;
  opacity: 0.68;
  filter: saturate(0.86);
  transform: translateX(5%) scale(0.82) rotate(3deg);
}

.diploma-modal {
  width: min(94vw, 1180px);
  max-width: none;
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: transparent;
  overflow: visible;
}

.diploma-modal::backdrop {
  background: rgba(36, 34, 28, 0.62);
  backdrop-filter: blur(10px);
}

.diploma-modal img {
  width: 100%;
  max-height: 92vh;
  object-fit: contain;
  border: 8px solid rgba(255, 253, 248, 0.96);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 34px 90px rgba(22, 20, 16, 0.36);
}

.diploma-modal-close {
  position: absolute;
  top: -18px;
  right: -18px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.92);
  color: var(--sage-dark);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  box-shadow: 0 12px 32px rgba(22, 20, 16, 0.22);
}

.section-muted {
  width: 100%;
  max-width: none;
  padding: 86px max(16px, calc((100vw - 1180px) / 2)) 98px;
  background:
    linear-gradient(180deg, rgba(238, 228, 216, 0.94), rgba(247, 240, 230, 0.98));
}

.section-muted .section-heading,
.section-muted .state-grid {
  width: min(100%, 1180px);
  margin-inline: auto;
}

.states-heading {
  max-width: none;
  text-align: center;
}

.states-heading h2 {
  max-width: 1160px;
  margin-inline: auto;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.02;
}

.state-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.state-card {
  --rotate: 0deg;
  --shift: 0px;
  min-height: 386px;
  padding: 12px 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.9);
  box-shadow: 0 18px 46px rgba(74, 62, 48, 0.12);
  grid-column: span 2;
  transform: translateY(var(--shift)) rotate(var(--rotate));
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.state-card:nth-child(5) {
  grid-column: 2 / span 2;
}

.state-card:nth-child(6) {
  grid-column: 4 / span 2;
}

.state-card:nth-child(7) {
  grid-column: 6 / span 2;
}

.state-card:hover {
  z-index: 5;
  border-color: rgba(147, 53, 86, 0.24);
  box-shadow: 0 28px 64px rgba(74, 62, 48, 0.18);
  transform: translateY(calc(var(--shift) - 8px)) rotate(0deg) scale(1.015);
}

.state-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
}

.state-card h3 {
  margin-top: 16px;
  font-size: 20px;
}

.state-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.tilt-a {
  --rotate: -2.5deg;
  --shift: 16px;
}

.tilt-b {
  --rotate: 2deg;
  --shift: -10px;
}

.tilt-c {
  --rotate: -1deg;
  --shift: 28px;
}

.tilt-d {
  --rotate: 2.8deg;
  --shift: 2px;
}

.tilt-e {
  --rotate: 2deg;
  --shift: -4px;
}

.tilt-f {
  --rotate: -2deg;
  --shift: 22px;
}

.tilt-g {
  --rotate: 1.6deg;
  --shift: 4px;
}

.alchemy-section {
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.96), rgba(239, 226, 216, 0.96)),
    var(--paper-soft);
  box-shadow: var(--shadow);
}

.alchemy-intro {
  max-width: 780px;
  margin-bottom: 32px;
}

.alchemy-intro p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.alchemy-steps {
  display: grid;
  gap: 26px;
}

.alchemy-step {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  padding: 26px;
  border: 1px solid rgba(65, 73, 53, 0.1);
  border-radius: 28px;
  background: rgba(255, 253, 248, 0.72);
}

.alchemy-step-reverse {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
}

.alchemy-step-reverse .alchemy-step-photo {
  grid-column: 2;
}

.alchemy-step-reverse .alchemy-step-copy {
  grid-column: 1;
  grid-row: 1;
}

.alchemy-step-photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 8px solid rgba(255, 253, 248, 0.92);
  border-radius: 26px;
  box-shadow: 0 18px 42px rgba(74, 62, 48, 0.13);
}

.alchemy-step-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 260ms ease;
}

.alchemy-step:hover .alchemy-step-photo img {
  transform: scale(1.035);
}

.alchemy-step-copy span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--berry-soft);
  color: var(--berry);
  font-size: 12px;
  font-weight: 840;
}

.alchemy-step-copy h3 {
  font-size: clamp(26px, 3vw, 40px);
}

.alchemy-step-copy p + h3 {
  margin-top: 26px;
}

.alchemy-step-copy p {
  max-width: 560px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.alchemy-actions {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.alchemy-details {
  display: grid;
  gap: 22px;
  margin-top: 24px;
}

.alchemy-details-lead,
.alchemy-details-footer {
  padding: 24px 28px;
  border: 1px solid rgba(65, 73, 53, 0.1);
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.62);
}

.alchemy-details-lead {
  margin: 0;
  color: var(--sage-dark);
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 690;
  line-height: 1.2;
}

.alchemy-details-footer {
  display: grid;
  gap: 12px;
}

.alchemy-details-footer p {
  max-width: 900px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.alchemy-levels {
  display: grid;
  gap: 22px;
}

.alchemy-level-card {
  display: grid;
  grid-template-columns: minmax(250px, 0.36fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 46px);
  align-items: center;
  padding: 24px;
  border: 1px solid rgba(65, 73, 53, 0.1);
  border-radius: 28px;
  background: rgba(255, 253, 248, 0.74);
  box-shadow: 0 18px 46px rgba(74, 62, 48, 0.09);
}

.alchemy-level-card-reverse {
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.36fr);
}

.alchemy-level-card-text {
  grid-template-columns: 1fr;
}

.alchemy-level-photo {
  overflow: hidden;
  border: 8px solid rgba(255, 253, 248, 0.94);
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(74, 62, 48, 0.13);
}

.alchemy-level-photo-square {
  aspect-ratio: 1 / 1;
}

.alchemy-level-photo-portrait {
  aspect-ratio: 3 / 4;
}

.alchemy-level-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 260ms ease;
}

.alchemy-level-card:hover .alchemy-level-photo img {
  transform: scale(1.035);
}

.alchemy-level-copy {
  display: grid;
  gap: 20px;
}

.alchemy-level {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(65, 73, 53, 0.1);
}

.alchemy-level:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.alchemy-level span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--berry);
  font-size: 13px;
  font-weight: 850;
}

.alchemy-level h4 {
  margin: 0;
  color: var(--sage-dark);
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.08;
}

.alchemy-level p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.52;
}

.diagnostic-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.48fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.96), rgba(239, 226, 216, 0.96)),
    var(--paper-soft);
  box-shadow: var(--shadow);
}

.diagnostic-copy {
  text-align: left;
}

.diagnostic-section h2 {
  max-width: 720px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

.diagnostic-section p {
  max-width: 620px;
  margin: 18px 0 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.diagnostic-media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 8px solid rgba(255, 253, 248, 0.92);
  border-radius: 28px;
  box-shadow: 0 18px 42px rgba(74, 62, 48, 0.13);
}

.diagnostic-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.methods-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.45fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.96), rgba(239, 226, 216, 0.96)),
    var(--paper-soft);
  box-shadow: var(--shadow);
}

.methods-media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 8px solid rgba(255, 253, 248, 0.92);
  border-radius: 28px;
  box-shadow: 0 18px 42px rgba(74, 62, 48, 0.13);
}

.methods-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.methods-copy h2 {
  max-width: 720px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

.methods-copy p:not(.eyebrow) {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.consult-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

.consult-media {
  min-height: 640px;
  overflow: hidden;
  border-radius: 34px;
  background: #eadfce;
  box-shadow: var(--shadow);
}

.consult-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.consult-form-wrap {
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 34px;
  background: rgba(255, 250, 242, 0.9);
  box-shadow: var(--shadow);
}

.consult-form-wrap > p {
  margin: 18px 0 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.consult-price {
  display: inline-grid;
  gap: 6px;
  margin: 0 0 26px;
  padding: 16px 20px;
  border: 1px solid rgba(65, 73, 53, 0.12);
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.72);
  box-shadow: 0 14px 34px rgba(74, 62, 48, 0.09);
}

.consult-price span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 780;
  text-transform: uppercase;
}

.consult-price strong {
  color: var(--berry);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
}

.lead-form {
  display: grid;
  gap: 16px;
}

.lead-form label {
  display: grid;
  gap: 8px;
}

.lead-form label > span,
.messenger-toggle legend {
  color: var(--sage-dark);
  font-size: 14px;
  font-weight: 820;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(65, 73, 53, 0.16);
  border-radius: 18px;
  background: var(--milk);
  color: var(--ink);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.lead-form input {
  min-height: 54px;
  padding: 0 16px;
}

.lead-form textarea {
  resize: vertical;
  min-height: 126px;
  padding: 16px;
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: rgba(147, 53, 86, 0.48);
  box-shadow: 0 0 0 4px rgba(147, 53, 86, 0.08);
}

.messenger-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.messenger-toggle legend {
  grid-column: 1 / -1;
  margin-bottom: 8px;
}

.messenger-toggle label {
  display: block;
}

.messenger-toggle input {
  position: absolute;
  width: 1px;
  min-height: 1px;
  opacity: 0;
  pointer-events: none;
}

.messenger-toggle span {
  display: grid;
  place-items: center;
  min-height: 52px;
  border: 1px solid rgba(65, 73, 53, 0.14);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.62);
  color: rgba(65, 73, 53, 0.56);
  cursor: pointer;
  font-weight: 820;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.messenger-toggle input:checked + span {
  background: linear-gradient(135deg, var(--sage-dark), #697358);
  color: var(--milk);
  box-shadow: 0 14px 30px rgba(65, 73, 53, 0.22);
}

.messenger-toggle span:hover {
  transform: translateY(-2px);
}

.messenger-toggle input:focus-visible + span {
  outline: 3px solid rgba(147, 53, 86, 0.26);
  outline-offset: 3px;
}

.consent {
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 1px;
  accent-color: var(--sage-dark);
}

.consent a {
  color: var(--sage-dark);
  font-weight: 820;
}

.website-field {
  position: absolute;
  left: -9999px;
  width: 1px !important;
  min-height: 1px !important;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--berry);
  font-size: 14px;
  font-weight: 780;
}

.sent-state {
  padding: 26px;
  border: 1px solid rgba(65, 73, 53, 0.1);
  border-radius: 24px;
  background: rgba(238, 226, 216, 0.88);
}

.sent-state h3 {
  margin-bottom: 10px;
}

.sent-state p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.5;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  width: min(calc(100% - 32px), 1180px);
  margin: 0 auto;
  padding: 32px 0 44px;
  color: var(--muted);
  font-size: 14px;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer p {
  margin: 0;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 13px;
  border: 1px solid rgba(65, 73, 53, 0.12);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.62);
  color: var(--sage-dark);
  font-weight: 780;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 14px 30px rgba(48, 42, 31, 0.1);
}

.social-links svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: currentColor;
}

.privacy-page {
  width: min(calc(100% - 32px), 860px);
  margin: 80px auto;
  padding: 42px;
  border-radius: 32px;
  background: var(--milk);
  box-shadow: var(--shadow);
}

.privacy-page h1 {
  font-size: clamp(38px, 6vw, 70px);
}

.privacy-page h2 {
  margin-top: 34px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
}

.privacy-page p,
.privacy-page li {
  color: var(--muted);
  line-height: 1.6;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 560ms ease, transform 560ms ease;
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

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

@media (max-width: 980px) {
  .hero-card,
  .consult-section,
  .stats-section {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    justify-self: center;
    width: min(100%, 560px);
    height: 560px;
    border-radius: 104px 28px 104px 28px;
  }

  .hero-copy {
    padding: 34px;
    transform: none;
  }

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

  .state-card {
    grid-column: auto;
    transform: translateY(0) rotate(var(--rotate));
  }

  .state-card:nth-child(5),
  .state-card:nth-child(6),
  .state-card:nth-child(7) {
    grid-column: auto;
  }

  .alchemy-step,
  .alchemy-step-reverse,
  .alchemy-level-card,
  .alchemy-level-card-reverse,
  .methods-section,
  .diagnostic-section {
    grid-template-columns: 1fr;
  }

  .alchemy-step-reverse .alchemy-step-photo,
  .alchemy-step-reverse .alchemy-step-copy {
    grid-column: auto;
    grid-row: auto;
  }

  .alchemy-step-photo,
  .alchemy-level-photo,
  .methods-media,
  .diagnostic-media {
    width: min(100%, 420px);
    margin-inline: auto;
  }

  .alchemy-level-card-reverse .alchemy-level-photo {
    order: -1;
  }

  .consult-media {
    min-height: 520px;
  }
}

@media (max-width: 700px) {
  .site-header {
    position: static;
    display: grid;
    width: min(calc(100% - 24px), 1180px);
    border-radius: 28px;
  }

  .nav {
    justify-content: flex-start;
  }

  .nav a {
    padding: 8px 10px;
    font-size: 13px;
  }

  .hero-section,
  .section {
    width: min(calc(100% - 24px), 1180px);
  }

  .hero-card {
    min-height: auto;
    gap: 22px;
  }

  .hero-photo {
    height: 430px;
    border-radius: 86px 24px 86px 24px;
  }

  .hero-photo img {
    object-position: 48% center;
  }

  .hero-copy {
    order: -1;
    padding: 24px 10px 0;
  }

  .hero-actions {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .stats-section {
    width: min(calc(100% - 24px), 960px);
    margin-top: 18px;
    margin-bottom: 58px;
  }

  .section {
    margin-bottom: 62px;
  }

  .section-heading-row {
    align-items: start;
  }

  .diploma-carousel {
    height: 340px;
  }

  .diploma-card {
    width: min(82%, 380px);
    padding: 6px;
    border-radius: 20px;
  }

  .diploma-card img {
    border-radius: 14px;
  }

  .diploma-modal {
    width: min(94vw, 1180px);
  }

  .diploma-modal-close {
    top: -14px;
    right: -10px;
  }

  .diploma-card.is-side-left {
    opacity: 0.34;
    transform: translateX(-74%) scale(0.74) rotate(-3deg);
  }

  .diploma-card.is-side-right {
    opacity: 0.34;
    transform: translateX(-26%) scale(0.74) rotate(3deg);
  }

  .section-muted {
    padding-top: 58px;
    padding-bottom: 72px;
  }

  .states-heading h2 {
    font-size: clamp(17px, 5vw, 21px);
    line-height: 1.14;
  }

  .state-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .state-card {
    grid-column: auto;
    min-height: auto;
    transform: none;
  }

  .state-card:hover {
    transform: translateY(-6px);
  }

  .alchemy-section,
  .diagnostic-section,
  .methods-section,
  .consult-form-wrap,
  .privacy-page {
    padding: 24px;
    border-radius: 26px;
  }

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

  .alchemy-details-lead,
  .alchemy-details-footer,
  .alchemy-level-card {
    padding: 18px;
    border-radius: 22px;
  }

  .alchemy-step-photo,
  .alchemy-level-photo,
  .methods-media,
  .diagnostic-media {
    border-width: 5px;
    border-radius: 18px;
  }

  .consult-media {
    min-height: 430px;
    border-radius: 26px;
  }

  .messenger-toggle {
    grid-template-columns: 1fr;
  }

  .site-footer {
    width: min(calc(100% - 24px), 1180px);
    align-items: flex-start;
  }

  .footer-meta,
  .social-links {
    width: 100%;
    justify-content: flex-start;
  }

  .social-links a {
    min-height: 40px;
  }
}
