
:root {
  --paper: #f7e8ca;
  --paper-soft: #fff3d9;
  --ink: #433322;
  --muted: #745e44;
  --green: #6f7040;
  --green-dark: #4f542f;
  --clay: #bf6934;
  --clay-dark: #9c4f27;
  --line: rgba(107, 83, 50, 0.22);
  --shadow: 0 24px 70px rgba(53, 38, 19, 0.16);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 5%, rgba(255, 247, 224, 0.9), transparent 30rem),
    linear-gradient(180deg, #f9e7bf 0%, #f2ddb7 38%, #d9c092 100%);
  font-family: var(--sans);
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image:
    radial-gradient(rgba(77, 56, 30, .18) 0.7px, transparent 0.7px),
    radial-gradient(rgba(255, 255, 255, .45) 0.7px, transparent 0.7px);
  background-size: 18px 18px, 22px 22px;
  background-position: 0 0, 6px 9px;
  mix-blend-mode: multiply;
}

img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: .5rem;
  z-index: 100;
  transform: translateY(-150%);
  padding: .7rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
}
.skip-link:focus { transform: translateY(0); }

.page-frame {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0 clamp(.35rem, 1vw, 1rem) 3rem;
}

.story-scene {
  position: relative;
  min-height: 2135px;
  overflow: hidden;
  isolation: isolate;
  background-image: linear-gradient(180deg, rgba(249, 232, 198, .06), rgba(249, 232, 198, .16)), url("assets/road-bg.webp");
  background-size: cover;
  background-position: center top;
  box-shadow: 0 20px 80px rgba(63, 48, 25, .18);
}

.story-scene::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 18rem;
  z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(63, 75, 42, .44));
}

.site-header {
  position: absolute;
  inset: 1.3rem 2.2rem auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .65rem .8rem .65rem .7rem;
  border: 1px solid rgba(109, 81, 43, .12);
  border-radius: 999px;
  background: rgba(255, 244, 219, .63);
  backdrop-filter: blur(6px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  min-width: 13rem;
}
.brand-mark { width: 4.1rem; height: 4.1rem; display: block; flex: 0 0 auto; }
.brand-text {
  display: block;
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: .98;
  color: var(--ink);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.75rem, 1.6vw, 1.7rem);
  color: #3f3325;
  font-size: .95rem;
}
.main-nav a {
  text-decoration: none;
  padding: .45rem .1rem;
  border-bottom: 1px solid transparent;
}
.main-nav a:hover { border-color: rgba(62, 48, 33, .4); }

.nav-cta, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: .78rem 1.25rem;
  border-radius: 999px;
  border: 0;
  color: #fff;
  background: var(--clay);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 9px 20px rgba(162, 82, 38, .18);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.nav-cta:hover, .button:hover {
  transform: translateY(-2px);
  background: var(--clay-dark);
  box-shadow: 0 14px 24px rgba(162, 82, 38, .24);
}
.button.ghost {
  color: var(--ink);
  background: rgba(255, 246, 226, .88);
  border: 1px solid rgba(84, 61, 34, .18);
  box-shadow: none;
}
.button.ghost:hover { background: #fff5dc; }
.button.telegram { margin-top: 1.2rem; background: var(--green); }
.button.telegram:hover { background: var(--green-dark); }

.hero-copy {
  position: absolute;
  z-index: 5;
  top: 9.6rem;
  right: min(6vw, 4.4rem);
  width: min(42%, 28rem);
  padding: 1.3rem 1.35rem;
  border-radius: 2rem;
  background: rgba(255, 245, 223, .54);
  backdrop-filter: blur(4px);
}
.eyebrow {
  margin: 0 0 .8rem;
  color: var(--green-dark);
  font-size: .78rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-weight: 700;
}
h1, h2, h3, h4 { margin: 0; line-height: 1.06; color: var(--ink); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; }
h1 { font-size: clamp(2.35rem, 4.2vw, 3.7rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2.05rem, 4vw, 3.35rem); letter-spacing: -.03em; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1rem; }
.hero-lead {
  max-width: 30rem;
  margin: 1.1rem 0 0;
  color: #5f4b35;
  font-size: clamp(1rem, 1.18vw, 1.16rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.center { justify-content: center; }

.girl-branch {
  position: absolute;
  z-index: 4;
  top: 7.3rem;
  left: -1.6rem;
  width: min(39vw, 27rem);
  filter: drop-shadow(0 18px 24px rgba(47, 36, 21, .13));
  transform-origin: 38% 34%;
  animation: branch-sway 4.6s ease-in-out infinite;
}

@keyframes branch-sway {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  25% { transform: rotate(.6deg) translateY(-2px); }
  50% { transform: rotate(-.65deg) translateY(1px); }
  75% { transform: rotate(.35deg) translateY(-1px); }
}

.flying-bird {
  position: absolute;
  z-index: 4;
  top: 9.5rem;
  left: 16%;
  width: clamp(2.9rem, 4.5vw, 4.2rem);
  opacity: .78;
  pointer-events: none;
  filter: drop-shadow(0 3px 5px rgba(78, 66, 50, .08));
  animation: bird-fly 8.5s ease-in-out infinite;
}

@keyframes bird-fly {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-2deg) scale(1); }
  20% { transform: translate3d(12px, -8px, 0) rotate(1deg) scale(1.03); }
  42% { transform: translate3d(28px, -3px, 0) rotate(-1deg) scale(1.01); }
  65% { transform: translate3d(13px, 7px, 0) rotate(2deg) scale(.99); }
  82% { transform: translate3d(-4px, -2px, 0) rotate(-1deg) scale(1.02); }
}

.services-path { position: absolute; inset: 0; z-index: 6; }

.service-card {
  position: absolute;
  z-index: 8;
  width: clamp(20rem, 38vw, 27.8rem);
  aspect-ratio: 1000 / 750;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--ink);
  filter: drop-shadow(0 18px 20px rgba(65, 45, 22, .12));
  transform-origin: 50% 55%;
  transition: transform .2s ease, filter .2s ease;
}
.service-card img { width: 100%; height: 100%; display: block; object-fit: contain; }
.service-card:hover, .service-card:focus-visible {
  animation: card-shiver .44s ease-in-out both;
  filter: drop-shadow(0 24px 26px rgba(65, 45, 22, .18));
  outline: none;
}
.service-card:focus-visible { outline: 2px solid rgba(95, 101, 56, .55); outline-offset: .22rem; }

@keyframes card-shiver {
  0% { transform: translate(0, 0) rotate(0deg); }
  22% { transform: translate(1px, -1px) rotate(.45deg); }
  44% { transform: translate(-1px, .7px) rotate(-.45deg); }
  66% { transform: translate(.7px, .5px) rotate(.25deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

.service-01 { top: 39.8rem; left: 5.6%; }
.service-02 { top: 58.4rem; right: 5.2%; }
.service-03 { top: 77.2rem; left: 7%; }
.service-04 { top: 96rem; right: 5.4%; }
.service-05 { top: 114.7rem; left: 8%; }

.content-card {
  position: relative;
  margin: clamp(1rem, 3vw, 2.2rem) auto 0;
  padding: clamp(1.55rem, 4vw, 4.2rem);
  border: 1px solid rgba(107, 83, 50, .16);
  border-radius: clamp(1.5rem, 4vw, 3.5rem);
  background: rgba(255, 241, 212, .83);
  box-shadow: var(--shadow);
  backdrop-filter: blur(4px);
}
.content-card::before {
  content: "";
  position: absolute;
  inset: .75rem;
  border: 1px dashed rgba(170, 122, 70, .28);
  border-radius: inherit;
  pointer-events: none;
}
.content-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(15rem, .8fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 5vw, 5rem);
}
.prose p { margin: 0 0 1.05rem; color: #5b4934; font-size: 1.05rem; }
.prose p:first-child { font-family: var(--serif); font-size: 1.55rem; color: var(--ink); }

.how-section { text-align: center; }
.steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  text-align: left;
}
.steps article {
  padding: 1.4rem;
  border-radius: 1.3rem;
  background: rgba(255, 249, 235, .68);
  border: 1px solid rgba(107, 83, 50, .13);
}
.steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  margin-bottom: .8rem;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-weight: 800;
}
.steps p { margin-bottom: 0; color: #604c36; }

.values-section {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}
.values-section::before { display: none; }
.values-section img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
}

.pricing-section > * { position: relative; z-index: 1; }
.pricing-intro { max-width: 60rem; margin-top: 1.2rem; }
.pricing-heading { margin-top: 2rem; margin-bottom: 1rem; font-size: clamp(1.55rem, 2.3vw, 2rem); }
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.price-grid.two-columns { grid-template-columns: repeat(2, 1fr); }
.price-card {
  padding: 1.4rem;
  border-radius: 1.5rem;
  background: rgba(255, 249, 235, .72);
  border: 1px solid rgba(107, 83, 50, .13);
}
.price-head {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  margin-bottom: 1rem;
}
.price-head h3 { font-size: 1.4rem; }
.price-tag {
  margin: 0;
  color: var(--green-dark);
  font-weight: 800;
  font-size: 1.1rem;
}
.price-tag span { font-weight: 600; font-size: .92rem; color: #71583d; }
.price-card p { margin: 0 0 .9rem; color: #5a4934; }
.price-card h4 { margin: 1rem 0 .5rem; color: var(--ink); font-weight: 800; }
.price-card ul {
  margin: 0 0 1rem 1.1rem;
  padding: 0;
  display: grid;
  gap: .42rem;
  color: #5a4934;
}
.price-note { font-size: .98rem; }
.extra-costs {
  margin-top: 1.2rem;
  padding: 1.4rem;
  border-radius: 1.5rem;
  background: rgba(255, 249, 235, .72);
  border: 1px solid rgba(107, 83, 50, .13);
}
.extra-costs h3 { margin-bottom: .7rem; font-size: 1.45rem; }
.extra-costs p { margin: 0 0 .75rem; color: #5a4934; }
.extra-costs p:last-child { margin-bottom: 0; }

.contact-grid { align-items: start; }
.contact-lead { max-width: 28rem; color: #5b4934; font-size: 1.08rem; }
.contact-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.8rem);
  border-radius: 1.6rem;
  background: rgba(255, 249, 235, .72);
  border: 1px solid rgba(107, 83, 50, .13);
}
.contact-form label { display: grid; gap: .42rem; color: #4c3b28; font-weight: 700; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  border: 1px solid rgba(107, 83, 50, .22);
  border-radius: 1rem;
  padding: .95rem 1rem;
  background: rgba(255, 255, 247, .88);
  color: var(--ink);
  outline: 0;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  border-color: rgba(95, 101, 56, .65);
  box-shadow: 0 0 0 4px rgba(95, 101, 56, .12);
}
.contact-form textarea { resize: vertical; }
.form-submit { width: fit-content; }
.hidden-field { display: none; }

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  padding: 2.5rem 1rem 0;
  text-align: center;
  color: #5d4a32;
}
.site-footer img { width: 15rem; }
.site-footer p { margin: .2rem 0; }
.site-footer a { color: #5a5f32; text-decoration: none; border-bottom: 1px solid rgba(90, 95, 50, .38); }

.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.2rem;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(34, 25, 16, .42);
  backdrop-filter: blur(6px);
}
.modal-panel {
  position: relative;
  width: min(48rem, 100%);
  max-height: min(86vh, 58rem);
  overflow: auto;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 2rem;
  background: #fff1d1;
  border: 1px solid rgba(107, 83, 50, .18);
  box-shadow: 0 30px 90px rgba(22, 17, 10, .34);
}
.modal-panel::before {
  content: "";
  position: absolute;
  inset: .65rem;
  border-radius: 1.55rem;
  border: 1px dashed rgba(170, 122, 70, .32);
  pointer-events: none;
}
.modal-close {
  position: sticky;
  z-index: 3;
  top: 0;
  float: right;
  width: 2.65rem;
  height: 2.65rem;
  border: 0;
  border-radius: 50%;
  background: rgba(72, 53, 31, .1);
  color: var(--ink);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}
.modal-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: .7rem;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 800;
}
.modal-subtitle { margin: .8rem 0 1.3rem; color: #6a5135; font-size: 1.1rem; }
.modal-body { color: #523f2a; }
.modal-body p { margin: 0 0 1rem; }
.modal-body h3 { margin: 1.4rem 0 .8rem; font-family: var(--serif); font-size: 1.55rem; }
.modal-body ol { display: grid; gap: .65rem; padding-left: 1.45rem; }
.modal-body li { padding-left: .25rem; }
.modal-body strong { color: var(--ink); }
.modal-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

.thanks-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.thanks-card {
  width: min(42rem, 100%);
  text-align: center;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 2.3rem;
  background: rgba(255, 241, 212, .88);
  box-shadow: var(--shadow);
  border: 1px solid rgba(107, 83, 50, .16);
}
.thanks-card img { width: 17rem; }
.thanks-card h1 { font-size: clamp(2.1rem, 6vw, 3.7rem); }
.thanks-card p { color: #5b4934; }

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

@media (max-width: 940px) {
  .story-scene { min-height: 2145px; }
  .site-header { inset: .75rem .75rem auto; border-radius: 1.35rem; }
  .brand { min-width: auto; }
  .brand-mark { width: 3.55rem; height: 3.55rem; }
  .brand-text { font-size: 1.35rem; }
  .main-nav { display: none; }
  .hero-copy {
    top: 7.2rem;
    right: 1rem;
    left: 1rem;
    width: auto;
    padding: 1rem;
    text-align: center;
  }
  h1 { font-size: clamp(2.15rem, 7.4vw, 3.15rem); }
  .hero-actions { justify-content: center; }
  .girl-branch {
    top: 19rem;
    left: -2.2rem;
    width: min(72vw, 24rem);
  }
  .flying-bird { top: 17.5rem; left: 62%; width: 3rem; }
  .service-card { width: min(88vw, 23rem); }
  .service-01 { top: 35.8rem; left: 4%; }
  .service-02 { top: 53.8rem; right: 3%; }
  .service-03 { top: 72.2rem; left: 4%; }
  .service-04 { top: 90.6rem; right: 3%; }
  .service-05 { top: 108.7rem; left: 4%; }
  .content-grid, .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .page-frame { padding-left: 0; padding-right: 0; }
  .story-scene { min-height: 2060px; box-shadow: none; }
  .site-header { gap: .5rem; padding: .55rem; }
  .brand-mark { width: 3.15rem; height: 3.15rem; }
  .brand-text { font-size: 1.18rem; }
  .nav-cta { min-height: 2.45rem; padding: .6rem .82rem; font-size: .9rem; }
  .hero-copy { top: 6.6rem; }
  .hero-lead { font-size: .98rem; }
  .button { min-height: 2.75rem; padding-inline: 1rem; }
  .hero-actions .button { width: auto; }
  .girl-branch { top: 20rem; opacity: .94; }
  .flying-bird { top: 17.2rem; left: 11%; width: 2.6rem; }
  .service-card { width: min(91vw, 22rem); }
  .service-01 { top: 35.2rem; }
  .service-02 { top: 53rem; }
  .service-03 { top: 71.2rem; }
  .service-04 { top: 89.6rem; }
  .service-05 { top: 107.8rem; }
  .content-card { border-radius: 2rem; margin-left: .65rem; margin-right: .65rem; }
  .steps { grid-template-columns: 1fr; }
  .modal { padding: .65rem; }
  .modal-panel { border-radius: 1.6rem; }
  .modal-actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
  .service-card:hover, .service-card:focus-visible { animation: none; transform: translateY(-2px); }
  .girl-branch, .flying-bird { animation: none; }
}
