:root {
  --milk: #fbf7f1;
  --porcelain: #fffdf9;
  --powder: #efd8d5;
  --rose: #c68d8c;
  --rose-dark: #8a5556;
  --graphite: #242222;
  --soft-graphite: #4b4644;
  --muted: #817875;
  --gold: #b58a53;
  --sage: #87947f;
  --line: rgba(36, 34, 34, 0.12);
  --shadow: 0 20px 70px rgba(55, 44, 39, 0.12);
  --shadow-soft: 0 12px 38px rgba(55, 44, 39, 0.08);
  --radius: 8px;
  --header-height: 78px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--graphite);
  background: var(--milk);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, #fffaf3 0%, #f7eee8 48%, #fbf7f1 100%);
}

body,
a,
button,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

body.modal-open {
  overflow: hidden;
}

#app {
  position: relative;
  z-index: 1;
  overflow: clip;
}

.bend-lines {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

.bend-line {
  fill: none;
  stroke: rgba(181, 138, 83, 0.14);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  transition: d 0.18s ease-out;
}

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

button {
  cursor: pointer;
}

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

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

.top-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 120;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--rose), var(--gold), var(--sage));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  min-height: var(--header-height);
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(36, 34, 34, 0.08);
  background: rgba(251, 247, 241, 0.84);
  backdrop-filter: blur(22px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(49, 38, 35, 0.08);
  background: rgba(255, 252, 247, 0.94);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(181, 138, 83, 0.38);
  border-radius: 50%;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  letter-spacing: 0.12em;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  font-size: 15px;
  font-weight: 700;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(10px, 1.6vw, 22px);
}

.main-nav a {
  position: relative;
  color: var(--soft-graphite);
  padding: 10px 2px;
  font-size: 14px;
  white-space: nowrap;
  transition: color 0.22s ease, transform 0.22s ease;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--gold);
  content: "";
  transition: transform 0.24s ease;
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.main-nav a:hover {
  color: var(--rose-dark);
}

.main-nav a:active {
  transform: translateY(1px) scale(0.98);
}

.lang-switch {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  justify-content: flex-end;
  min-width: 132px;
}

.lang-switch button {
  min-width: 38px;
  height: 34px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.lang-switch button.is-active {
  border-color: rgba(181, 138, 83, 0.34);
  background: var(--porcelain);
  color: var(--graphite);
  box-shadow: 0 8px 18px rgba(54, 44, 40, 0.08);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--porcelain);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: var(--graphite);
}

.section {
  position: relative;
  padding: clamp(76px, 10vw, 132px) clamp(18px, 5vw, 72px);
}

.section-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--rose-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-title {
  max-width: 780px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 68px);
  font-weight: 500;
  line-height: 1.02;
}

.section-lead {
  max-width: 700px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.75;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  padding-top: clamp(30px, 7vw, 82px);
  overflow: clip;
}

.beauty-props {
  position: absolute;
  z-index: 0;
  width: 190px;
  height: 160px;
  pointer-events: none;
  opacity: 0.62;
  filter: drop-shadow(0 18px 26px rgba(55, 44, 39, 0.12));
}

.ambient-nail-scatter {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.scatter-item {
  position: absolute;
  display: block;
  opacity: 0.28;
  filter: drop-shadow(0 14px 18px rgba(55, 44, 39, 0.08));
  animation: ambientFloat 7s ease-in-out infinite;
}

@keyframes ambientFloat {
  0%,
  100% {
    margin-top: 0;
  }
  50% {
    margin-top: -8px;
  }
}

.scatter-file {
  width: 86px;
  height: 10px;
  border-radius: 999px;
  background:
    repeating-linear-gradient(90deg, rgba(181, 138, 83, 0.2) 0 4px, transparent 4px 8px),
    #ead8ca;
}

.scatter-polish {
  width: 26px;
  height: 46px;
  border-radius: 9px 9px 11px 11px;
  background: linear-gradient(180deg, #242222 0 38%, #c68d8c 39% 100%);
}

.scatter-polish::before {
  position: absolute;
  top: -15px;
  left: 7px;
  width: 12px;
  height: 17px;
  border-radius: 4px 4px 2px 2px;
  background: #242222;
  content: "";
}

.scatter-tip {
  width: 20px;
  height: 34px;
  border: 1px solid rgba(181, 138, 83, 0.3);
  border-radius: 50% 50% 42% 42%;
  background: rgba(245, 223, 220, 0.74);
}

.scatter-drop {
  width: 12px;
  height: 16px;
  border-radius: 60% 60% 70% 70%;
  background: rgba(198, 141, 140, 0.56);
}

.scatter-brush {
  width: 12px;
  height: 70px;
  border-radius: 999px;
  background: linear-gradient(180deg, #242222 0 42%, #caa58c 43% 100%);
}

.scatter-brush::after {
  position: absolute;
  right: -4px;
  bottom: -7px;
  width: 19px;
  height: 14px;
  border-radius: 50%;
  background: #c68d8c;
  content: "";
}

.scatter-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(181, 138, 83, 0.44);
}

.scatter-paw {
  width: 34px;
  height: 28px;
}

.scatter-paw::before {
  position: absolute;
  left: 10px;
  bottom: 0;
  width: 16px;
  height: 14px;
  border-radius: 50% 50% 45% 45%;
  background: rgba(138, 85, 86, 0.22);
  content: "";
}

.scatter-paw::after {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 24%, rgba(138, 85, 86, 0.24) 0 4px, transparent 5px),
    radial-gradient(circle at 38% 8%, rgba(138, 85, 86, 0.24) 0 4px, transparent 5px),
    radial-gradient(circle at 62% 8%, rgba(138, 85, 86, 0.24) 0 4px, transparent 5px),
    radial-gradient(circle at 85% 24%, rgba(138, 85, 86, 0.24) 0 4px, transparent 5px);
  content: "";
}

.scatter-cat {
  width: 46px;
  height: 34px;
  border-radius: 55% 55% 45% 45%;
  background: rgba(36, 34, 34, 0.14);
}

.scatter-cat::before,
.scatter-cat::after {
  position: absolute;
  top: -10px;
  width: 16px;
  height: 16px;
  background: rgba(36, 34, 34, 0.14);
  content: "";
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.scatter-cat::before {
  left: 5px;
  transform: rotate(-16deg);
}

.scatter-cat::after {
  right: 5px;
  transform: rotate(16deg);
}

.scatter-heart {
  width: 18px;
  height: 18px;
  background: rgba(198, 141, 140, 0.38);
  transform: rotate(-45deg);
}

.scatter-heart::before,
.scatter-heart::after {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: inherit;
  content: "";
}

.scatter-heart::before {
  top: -9px;
  left: 0;
}

.scatter-heart::after {
  top: 0;
  left: 9px;
}

.scatter-pearl {
  width: 78px;
  height: 18px;
  background:
    radial-gradient(circle at 8px 9px, rgba(255, 253, 249, 0.88) 0 5px, rgba(181, 138, 83, 0.18) 6px, transparent 7px),
    radial-gradient(circle at 24px 9px, rgba(255, 253, 249, 0.88) 0 5px, rgba(181, 138, 83, 0.18) 6px, transparent 7px),
    radial-gradient(circle at 40px 9px, rgba(255, 253, 249, 0.88) 0 5px, rgba(181, 138, 83, 0.18) 6px, transparent 7px),
    radial-gradient(circle at 56px 9px, rgba(255, 253, 249, 0.88) 0 5px, rgba(181, 138, 83, 0.18) 6px, transparent 7px),
    radial-gradient(circle at 72px 9px, rgba(255, 253, 249, 0.88) 0 5px, rgba(181, 138, 83, 0.18) 6px, transparent 7px);
}

.scatter-spark {
  width: 22px;
  height: 22px;
  transform: rotate(45deg);
}

.scatter-spark::before,
.scatter-spark::after {
  position: absolute;
  inset: 50% auto auto 50%;
  background: rgba(181, 138, 83, 0.5);
  content: "";
  transform: translate(-50%, -50%);
}

.scatter-spark::before {
  width: 2px;
  height: 22px;
}

.scatter-spark::after {
  width: 22px;
  height: 2px;
}

.scatter-ring {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(181, 138, 83, 0.34);
  border-radius: 50%;
}

.scatter-ring::before {
  position: absolute;
  top: -8px;
  left: 7px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: rgba(255, 253, 249, 0.9);
  box-shadow: 0 0 0 1px rgba(181, 138, 83, 0.28);
  content: "";
  transform: rotate(45deg);
}

.scatter-1 {
  top: 9.5%;
  left: 5%;
  transform: rotate(-17deg);
}

.scatter-2 {
  top: 21%;
  right: 7%;
  transform: rotate(11deg);
}

.scatter-3 {
  top: 34%;
  left: 3%;
  transform: rotate(28deg);
}

.scatter-4 {
  top: 43%;
  right: 12%;
  transform: rotate(-18deg);
}

.scatter-5 {
  top: 56%;
  right: 4%;
  transform: rotate(18deg);
}

.scatter-6 {
  top: 66%;
  left: 8%;
  transform: rotate(-22deg);
}

.scatter-7 {
  top: 76%;
  right: 9%;
  transform: rotate(-26deg);
}

.scatter-8 {
  top: 82%;
  left: 16%;
}

.scatter-9 {
  top: 91%;
  right: 18%;
  transform: rotate(24deg);
}

.scatter-10 {
  top: 50%;
  left: 48%;
  transform: rotate(14deg);
  opacity: 0.18;
}

.scatter-11 {
  top: 14%;
  right: 24%;
  transform: rotate(-14deg);
}

.scatter-12 {
  top: 39%;
  right: 3%;
  transform: rotate(10deg);
  opacity: 0.2;
}

.scatter-13 {
  top: 62%;
  right: 26%;
  opacity: 0.22;
}

.scatter-14 {
  top: 72%;
  left: 4%;
  transform: rotate(-18deg);
  opacity: 0.24;
}

.scatter-15 {
  top: 28%;
  left: 17%;
  opacity: 0.26;
}

.scatter-16 {
  top: 87%;
  left: 42%;
  transform: rotate(18deg);
  opacity: 0.22;
}

.beauty-props-hero {
  right: clamp(-22px, 2vw, 34px);
  bottom: 74px;
  transform: scale(0.78) rotate(-4deg);
}

.beauty-props-courses {
  top: 26px;
  right: clamp(6px, 3vw, 48px);
  transform: rotate(-10deg) scale(0.72);
  opacity: 0.36;
}

.beauty-props-pricing {
  top: 38px;
  left: clamp(0px, 3vw, 48px);
  transform: rotate(8deg) scale(0.68);
  opacity: 0.34;
}

.beauty-props-works {
  right: clamp(2px, 3vw, 56px);
  bottom: 24px;
  transform: rotate(9deg) scale(0.66);
  opacity: 0.32;
}

.beauty-props-hero .prop-file,
.beauty-props-hero .prop-nail,
.beauty-props-courses .prop-polish,
.beauty-props-courses .prop-nail,
.beauty-props-pricing .prop-polish,
.beauty-props-pricing .prop-file,
.beauty-props-works .prop-file,
.beauty-props-works .prop-nail-two,
.beauty-props-courses .prop-brush,
.beauty-props-pricing .prop-brush {
  display: none;
}

.beauty-props-courses .prop-file {
  right: 20px;
  bottom: 72px;
  width: 128px;
}

.beauty-props-pricing .prop-nail-one {
  right: 74px;
  bottom: 70px;
}

.beauty-props-pricing .prop-nail-two {
  right: 108px;
  bottom: 42px;
}

.beauty-props-works .prop-polish {
  right: 68px;
  bottom: 42px;
  transform: rotate(10deg);
}

.prop-polish {
  position: absolute;
  right: 34px;
  bottom: 12px;
  width: 42px;
  height: 76px;
  border: 1px solid rgba(36, 34, 34, 0.16);
  border-radius: 12px 12px 14px 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), transparent 42%),
    linear-gradient(180deg, #2a2726 0 44%, #b9797d 45% 100%);
  box-shadow: 0 18px 40px rgba(36, 34, 34, 0.16);
}

.prop-polish::before {
  position: absolute;
  top: -24px;
  left: 10px;
  width: 22px;
  height: 28px;
  border-radius: 6px 6px 3px 3px;
  background: #242222;
  content: "";
}

.prop-polish i {
  position: absolute;
  top: 36px;
  left: 9px;
  width: 24px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.22);
}

.prop-nail {
  position: absolute;
  width: 28px;
  height: 44px;
  border: 1px solid rgba(181, 138, 83, 0.32);
  border-radius: 50% 50% 42% 42%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.68), rgba(239, 216, 213, 0.72)),
    #f5dfdc;
  box-shadow: inset 0 -10px 18px rgba(198, 141, 140, 0.16), 0 10px 22px rgba(55, 44, 39, 0.1);
}

.prop-nail-one {
  right: 88px;
  bottom: 42px;
  transform: rotate(-28deg);
}

.prop-nail-two {
  right: 112px;
  bottom: 16px;
  width: 24px;
  height: 38px;
  transform: rotate(18deg);
}

.prop-file {
  position: absolute;
  right: 86px;
  bottom: 96px;
  width: 92px;
  height: 13px;
  border: 1px solid rgba(181, 138, 83, 0.3);
  border-radius: 999px;
  background:
    repeating-linear-gradient(90deg, rgba(181, 138, 83, 0.18) 0 4px, transparent 4px 8px),
    #efe0d3;
  transform: rotate(-18deg);
  box-shadow: 0 12px 20px rgba(55, 44, 39, 0.08);
}

.prop-brush {
  position: absolute;
  right: 118px;
  bottom: 32px;
  width: 16px;
  height: 92px;
  border-radius: 999px;
  background: linear-gradient(180deg, #242222 0 42%, #caa58c 43% 100%);
  transform: rotate(28deg);
  box-shadow: 0 14px 22px rgba(55, 44, 39, 0.1);
}

.prop-brush::after {
  position: absolute;
  right: -4px;
  bottom: -9px;
  width: 24px;
  height: 18px;
  border-radius: 50% 50% 60% 60%;
  background: #c68d8c;
  content: "";
}

.prop-drop {
  position: absolute;
  width: 14px;
  height: 18px;
  border-radius: 60% 60% 70% 70%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.46), rgba(198, 141, 140, 0.7));
  box-shadow: 0 8px 16px rgba(55, 44, 39, 0.1);
}

.prop-drop-one {
  right: 18px;
  bottom: 68px;
  transform: rotate(22deg);
}

.prop-drop-two {
  right: 148px;
  bottom: 116px;
  width: 10px;
  height: 13px;
  transform: rotate(-18deg);
  opacity: 0.72;
}

.prop-dot {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(181, 138, 83, 0.42);
}

.prop-dot-one {
  right: 9px;
  bottom: 138px;
}

.prop-dot-two {
  right: 166px;
  bottom: 38px;
  width: 6px;
  height: 6px;
  background: rgba(198, 141, 140, 0.44);
}

.prop-shine {
  position: absolute;
  width: 18px;
  height: 18px;
  transform: rotate(45deg);
}

.prop-shine::before,
.prop-shine::after {
  position: absolute;
  inset: 50% auto auto 50%;
  background: rgba(181, 138, 83, 0.46);
  content: "";
  transform: translate(-50%, -50%);
}

.prop-shine::before {
  width: 2px;
  height: 18px;
}

.prop-shine::after {
  width: 18px;
  height: 2px;
}

.prop-shine-one {
  right: 22px;
  bottom: 112px;
}

.prop-shine-two {
  right: 146px;
  bottom: 72px;
  transform: rotate(45deg) scale(0.68);
}

.hero .section-inner {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-name {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 9.2vw, 128px);
  font-weight: 500;
  line-height: 0.86;
  letter-spacing: 0;
}

.hero-course-title {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--rose-dark);
  font-size: clamp(18px, 2.1vw, 26px);
  font-weight: 800;
  line-height: 1.25;
}

.hero p {
  max-width: 610px;
  margin: 26px 0 0;
  color: var(--soft-graphite);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.75;
}

.hero-intro {
  max-width: 650px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-chips span {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 10px 13px;
  border: 1px solid rgba(181, 138, 83, 0.22);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.68);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
  box-shadow: 0 10px 28px rgba(55, 44, 39, 0.06);
}

.hero-chips strong {
  color: var(--graphite);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 500;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  overflow: hidden;
  font-size: 14px;
  font-weight: 800;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background 0.24s ease, color 0.24s ease;
  transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}

.cursor-react {
  position: relative;
  overflow: hidden;
}

.cursor-react::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.42), transparent 34%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.34s ease;
}

.cursor-react:hover::before {
  opacity: 1;
}

.cursor-react > * {
  position: relative;
  z-index: 1;
}

.btn::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.24) 45%, transparent 70%);
  content: "";
  opacity: 0;
  transform: translateX(-60%);
  transition: opacity 0.28s ease, transform 0.42s ease;
}

.btn:hover {
  transform: perspective(800px) translateY(-3px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}

.btn:hover::after {
  opacity: 1;
  transform: translateX(70%);
}

.btn:active {
  transform: perspective(800px) translateY(0) scale(0.96);
}

.btn:focus-visible,
.icon-btn:focus-visible,
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: rgba(181, 138, 83, 0.58);
  box-shadow: 0 0 0 4px rgba(181, 138, 83, 0.12);
}

.btn-primary {
  background: var(--graphite);
  color: #fffaf4;
  box-shadow: 0 16px 36px rgba(36, 34, 34, 0.2);
}

.btn-primary:hover {
  box-shadow: 0 20px 42px rgba(36, 34, 34, 0.24);
}

.btn-secondary {
  border-color: rgba(36, 34, 34, 0.16);
  background: rgba(255, 253, 249, 0.68);
  color: var(--graphite);
}

.btn-ghost {
  border-color: rgba(181, 138, 83, 0.34);
  background: transparent;
  color: var(--graphite);
}

.hero-media {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.portrait-frame {
  position: relative;
  min-height: clamp(500px, 68vw, 720px);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  isolation: isolate;
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.portrait-frame:hover {
  transform: translateY(-4px) scale(1.008);
  box-shadow: 0 28px 86px rgba(55, 44, 39, 0.18);
}

.portrait-frame::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(36, 34, 34, 0.04) 0%, transparent 38%, rgba(36, 34, 34, 0.58) 100%),
    linear-gradient(90deg, rgba(181, 138, 83, 0.18), transparent 38%);
  content: "";
  pointer-events: none;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.hero-signature {
  position: absolute;
  left: clamp(16px, 3vw, 30px);
  right: clamp(16px, 3vw, 30px);
  bottom: clamp(82px, 9vw, 128px);
  z-index: 2;
  color: #fffaf4;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.26);
}

.hero-signature span {
  display: block;
  color: rgba(255, 250, 244, 0.82);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-signature strong {
  display: block;
  max-width: 420px;
  margin-top: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5.2vw, 68px);
  font-weight: 500;
  line-height: 0.9;
}

.hero-note {
  position: absolute;
  right: clamp(12px, 3vw, 28px);
  bottom: clamp(12px, 3vw, 28px);
  z-index: 2;
  width: min(270px, calc(100% - 24px));
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.82);
  backdrop-filter: blur(16px);
}

.hero-note strong,
.hero-note span {
  display: block;
}

.hero-note strong {
  font-size: 14px;
}

.hero-note span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 36px;
}

.stat {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.56);
}

.stat strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 500;
}

.stat span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.marquee {
  margin-top: clamp(34px, 6vw, 68px);
  border-block: 1px solid var(--line);
  overflow: hidden;
  color: var(--rose-dark);
  background: rgba(255, 253, 249, 0.42);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee-track a {
  padding: 16px 26px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.marquee-track a:hover {
  background: rgba(181, 138, 83, 0.1);
  color: var(--graphite);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: center;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.about-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

[data-lightbox] {
  cursor: zoom-in;
  transition: transform 0.28s ease, filter 0.28s ease, box-shadow 0.28s ease;
}

[data-lightbox]:hover {
  filter: saturate(1.04) contrast(1.02);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.feature {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.6);
}

.feature strong {
  display: block;
  margin-bottom: 7px;
}

.feature span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.course-card,
.tariff-card,
.review-card,
.doc-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 253, 249, 0.82);
  box-shadow: 0 12px 42px rgba(55, 44, 39, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.course-card:hover,
.tariff-card:hover,
.review-card:hover,
.doc-card:hover {
  transform: perspective(1100px) translateY(-8px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  border-color: rgba(181, 138, 83, 0.34);
  box-shadow: var(--shadow-soft);
}

.course-card:active,
.tariff-card:active,
.review-card:active,
.doc-card:active {
  transform: translateY(-2px) scale(0.995);
}

.course-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card-body {
  padding: 22px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 6px 10px;
  border: 1px solid rgba(181, 138, 83, 0.28);
  border-radius: 999px;
  color: var(--rose-dark);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.badge.sage {
  border-color: rgba(135, 148, 127, 0.42);
  color: #596657;
}

.badge.dark {
  border-color: rgba(36, 34, 34, 0.16);
  color: var(--soft-graphite);
}

.course-card h3,
.tariff-card h3,
.doc-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.12;
}

.course-card p,
.tariff-card p,
.doc-card p {
  color: var(--muted);
  line-height: 1.65;
}

.course-price-row {
  display: flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin: 14px 0 18px;
  padding: 9px 12px;
  border: 1px solid rgba(181, 138, 83, 0.28);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.78);
  color: var(--graphite);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.mini-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.mini-list li {
  position: relative;
  padding-left: 22px;
  color: var(--soft-graphite);
  font-size: 14px;
  line-height: 1.45;
}

.mini-list li::before {
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.tariff-card {
  padding: 28px;
}

.tariff-top {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
}

.price {
  margin: 16px 0 2px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1;
}

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

.slider-shell {
  margin-top: 44px;
  overflow: hidden;
}

.slider-track {
  display: grid;
  grid-auto-columns: minmax(280px, 390px);
  grid-auto-flow: column;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 14px;
  scroll-snap-type: x mandatory;
}

.slider-track > * {
  scroll-snap-align: start;
}

.review-card {
  padding: 24px;
}

.review-head {
  display: flex;
  gap: 12px;
  align-items: center;
}

.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.review-head strong,
.review-head span {
  display: block;
}

.review-head span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.review-media {
  width: 100%;
  margin-top: 18px;
  padding: 0;
  border: 1px solid rgba(181, 138, 83, 0.18);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 42px rgba(36, 34, 34, 0.08);
  cursor: zoom-in;
  overflow: hidden;
}

.review-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.review-media:hover img {
  transform: scale(1.035);
}

.review-card p {
  margin: 18px 0 0;
  color: var(--soft-graphite);
  line-height: 1.68;
}

.review-shot {
  width: 100%;
  margin-top: 18px;
  border-radius: var(--radius);
  aspect-ratio: 9 / 12;
  object-fit: cover;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 44px;
}

.work-tile {
  position: relative;
  min-height: 220px;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--powder);
  box-shadow: var(--shadow-soft);
}

.work-tile img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.work-tile:hover img {
  transform: scale(1.05);
}

.work-tile:hover {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}

.work-tile span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  padding: 9px 11px;
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.82);
  color: var(--graphite);
  font-size: 12px;
  font-weight: 800;
  text-align: left;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 42px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.72);
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 64px;
  padding: 18px 20px;
  border: 0;
  background: transparent;
  color: var(--graphite);
  font-weight: 800;
  text-align: left;
  transition: background 0.24s ease, transform 0.24s ease;
}

.faq-question:hover {
  background: rgba(181, 138, 83, 0.06);
  transform: translateX(4px);
}

.faq-question span:last-child {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  color: var(--muted);
  line-height: 1.7;
  transition: max-height 0.28s ease;
}

.faq-answer div {
  padding: 0 20px 20px;
}

.faq-item.is-open .faq-answer {
  max-height: 240px;
}

.contact-band {
  background: #292625;
  color: #fffaf4;
}

.contact-band .section-lead,
.contact-band .section-kicker {
  color: rgba(255, 250, 244, 0.72);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(26px, 6vw, 70px);
  align-items: start;
}

.contact-links {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-links a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(255, 250, 244, 0.18);
  border-radius: var(--radius);
  color: rgba(255, 250, 244, 0.9);
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.contact-links a:hover {
  transform: translateX(5px);
  border-color: rgba(255, 250, 244, 0.34);
  background: rgba(255, 250, 244, 0.06);
}

.form-card {
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid rgba(255, 250, 244, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 250, 244, 0.06);
}

.form-grid {
  display: grid;
  gap: 12px;
}

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

.field label {
  color: inherit;
  font-size: 13px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(36, 34, 34, 0.14);
  border-radius: var(--radius);
  background: var(--porcelain);
  color: var(--graphite);
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease, background 0.22s ease;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgba(181, 138, 83, 0.34);
  background: #fffefb;
}

.contact-band .field input,
.contact-band .field select,
.contact-band .field textarea {
  border-color: rgba(255, 250, 244, 0.18);
  background: rgba(255, 250, 244, 0.96);
}

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

.site-footer {
  padding: 38px clamp(18px, 5vw, 72px);
  background: #211f1e;
  color: rgba(255, 250, 244, 0.72);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: flex-end;
}

.doc-page {
  min-height: calc(100vh - var(--header-height));
}

.doc-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 30px;
}

.doc-nav {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  display: grid;
  gap: 10px;
  align-self: start;
}

.doc-nav a {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.72);
}

.doc-content {
  padding: clamp(20px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.82);
  line-height: 1.75;
}

.modal-shell,
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
}

.modal-shell.is-open,
.lightbox.is-open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(36, 34, 34, 0.48);
  backdrop-filter: blur(10px);
}

.modal-shell.is-open .modal-backdrop {
  animation: fadeIn 0.22s ease both;
}

.modal-panel {
  position: absolute;
  inset: 4vh max(18px, calc((100vw - 1060px) / 2));
  overflow: auto;
  border-radius: var(--radius);
  background: var(--milk);
  box-shadow: var(--shadow);
}

.modal-shell.is-open .modal-panel {
  animation: modalIn 0.28s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.modal-panel.compact {
  inset: 7vh max(18px, calc((100vw - 840px) / 2));
}

#checkoutContent {
  padding: clamp(22px, 4vw, 42px);
}

#checkoutContent h2 {
  margin: 0 56px 16px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
}

#checkoutContent p {
  max-width: 680px;
  margin: 0 0 22px;
  color: var(--soft-graphite);
  line-height: 1.7;
}

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

#checkoutForm .btn {
  grid-column: 1 / -1;
}

.modal-close {
  position: sticky;
  top: 16px;
  z-index: 4;
  float: right;
  margin: 16px 16px 0 0;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.92);
  color: var(--graphite);
  font-size: 26px;
  line-height: 1;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.icon-btn:hover {
  transform: rotate(8deg) scale(1.04);
  border-color: rgba(181, 138, 83, 0.36);
  box-shadow: 0 12px 28px rgba(55, 44, 39, 0.12);
}

.icon-btn:active {
  transform: rotate(0deg) scale(0.94);
}

.course-detail {
  padding: clamp(22px, 5vw, 48px);
}

.course-detail-hero {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: center;
}

.course-detail-hero img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.course-detail h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 500;
  line-height: 1.04;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.detail-box {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.72);
}

.admin-shell {
  min-height: calc(100vh - var(--header-height));
  padding: clamp(22px, 4vw, 48px);
}

.admin-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 20px;
  width: min(1280px, 100%);
  margin: 0 auto;
}

.admin-sidebar,
.admin-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.82);
  box-shadow: var(--shadow-soft);
}

.admin-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  align-self: start;
  padding: 12px;
}

.admin-sidebar button {
  display: block;
  width: 100%;
  min-height: 44px;
  margin-bottom: 6px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--soft-graphite);
  font-weight: 800;
  text-align: left;
  padding: 0 12px;
}

.admin-sidebar button.is-active {
  background: var(--graphite);
  color: #fffaf4;
}

.admin-panel {
  padding: clamp(18px, 3vw, 30px);
}

.admin-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 500;
}

.admin-help {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.admin-section {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.68);
}

.admin-section h3 {
  margin: 0 0 14px;
}

.admin-card-list {
  display: grid;
  gap: 14px;
}

.admin-edit-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--porcelain);
}

.admin-edit-card h3,
.admin-edit-card h4 {
  margin: 0 0 14px;
}

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

.image-field {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.image-preview {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--powder);
}

.file-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(181, 138, 83, 0.34);
  border-radius: 999px;
  color: var(--graphite);
  font-size: 13px;
  font-weight: 800;
}

.file-control input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.danger-btn {
  border-color: rgba(138, 85, 86, 0.38);
  color: var(--rose-dark);
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

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

.admin-form .wide {
  grid-column: 1 / -1;
}

.json-editor {
  width: 100%;
  min-height: 380px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #1f1d1c;
  color: #fffaf4;
  padding: 16px;
  font: 13px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--rose-dark);
  font-size: 12px;
  text-transform: uppercase;
}

.empty-state {
  padding: 28px;
  border: 1px dashed rgba(36, 34, 34, 0.22);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

.toast-stack {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 300;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100vw - 36px));
}

.toast {
  padding: 14px 16px;
  border: 1px solid rgba(181, 138, 83, 0.28);
  border-radius: var(--radius);
  background: #fffdf9;
  box-shadow: var(--shadow-soft);
  color: var(--graphite);
  line-height: 1.45;
}

.lightbox {
  background: rgba(36, 34, 34, 0.84);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.lightbox img {
  position: absolute;
  inset: 7vh 4vw;
  width: 92vw;
  height: 86vh;
  object-fit: contain;
  opacity: 0;
  transform: translateY(18px) scale(0.975);
  transition: opacity 0.34s ease, transform 0.34s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.lightbox.is-open img {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.lightbox.is-closing {
  opacity: 0;
}

.lightbox.is-closing img {
  opacity: 0;
  transform: translateY(12px) scale(0.98);
}

.click-sparkle {
  position: fixed;
  z-index: 500;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  background: rgba(181, 138, 83, 0.72);
  box-shadow:
    0 -18px 0 -3px rgba(198, 141, 140, 0.65),
    16px -9px 0 -4px rgba(181, 138, 83, 0.62),
    16px 10px 0 -4px rgba(198, 141, 140, 0.55),
    0 18px 0 -3px rgba(181, 138, 83, 0.58),
    -16px 9px 0 -4px rgba(198, 141, 140, 0.55),
    -16px -9px 0 -4px rgba(181, 138, 83, 0.62);
  animation: clickSparkle 0.7s ease forwards;
}

@keyframes clickSparkle {
  from {
    opacity: 0.95;
    transform: translate(-50%, -50%) scale(0.4) rotate(0deg);
  }
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2.2) rotate(70deg);
  }
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
}

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

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: auto auto 1fr;
  }

  .menu-toggle {
    display: inline-block;
    order: 2;
  }

  .brand {
    order: 1;
  }

  .lang-switch {
    order: 3;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    right: 14px;
    left: 14px;
    display: grid;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: var(--radius);
    background: rgba(255, 253, 249, 0.98);
    box-shadow: var(--shadow-soft);
    transition: max-height 0.25s ease, border-color 0.25s ease;
  }

  .main-nav.is-open {
    max-height: 420px;
    border-color: var(--line);
  }

  .main-nav a {
    padding: 15px 18px;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a::after {
    display: none;
  }

  .hero .section-inner,
  .split,
  .contact-grid,
  .course-detail-hero {
    grid-template-columns: 1fr;
  }

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

  .doc-layout,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .doc-nav,
  .admin-sidebar {
    position: static;
  }

  .admin-language-grid,
  .image-field {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 70px;
  }

  .site-header {
    gap: 10px;
    padding: 12px 14px;
  }

  .brand {
    min-width: 0;
  }

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

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 12px;
  }

  .lang-switch {
    min-width: 116px;
  }

  .lang-switch button {
    min-width: 34px;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  .beauty-props,
  .ambient-nail-scatter,
  .beauty-props-courses,
  .beauty-props-pricing,
  .beauty-props-works,
  .marquee {
    display: none;
  }

  .bend-lines {
    display: none;
  }

  .hero-name {
    font-size: clamp(52px, 17vw, 72px);
  }

  .hero-course-title {
    font-size: 18px;
  }

  .hero-intro {
    font-size: 16px;
    line-height: 1.62;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .hero-chips {
    gap: 8px;
  }

  .hero-chips span {
    padding: 9px 11px;
  }

  .hero-chips strong {
    font-size: 18px;
  }

  .stats-row,
  .feature-grid,
  .cards-grid,
  .pricing-grid,
  .works-grid,
  .detail-grid,
  .footer-inner,
  .admin-form {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .portrait-frame {
    min-height: 470px;
  }

  .hero-signature {
    bottom: 28px;
  }

  .hero-signature strong {
    font-size: clamp(38px, 13vw, 58px);
  }

  .hero-note {
    display: none;
  }

  .about-image {
    display: none;
  }

  .work-tile {
    min-height: 260px;
  }

  .modal-panel,
  .modal-panel.compact {
    inset: 10px;
  }

  #checkoutContent {
    padding: 22px;
  }

  #checkoutForm {
    grid-template-columns: 1fr;
  }
}
