/* CRAFT WARM — тёплое ремесло. Lora + Commissioner + Caveat (рукописные пометки). Крафт-бумага, зерно, скотч, швы. */
:root {
  --accent: #c0582f;
  --accent-2: #5f6b3a;
  --accent-ink: #fffaf2;
  --ink: #2b1d14;
  --muted: #6e5a4a;
  --line: #d6c3a5;
  --bg: #f3e9d8;
  --surface: #fbf5ea;
  --soft: #eadbc2;
  --radius: 6px;
  --radius-sm: 6px;
  --btn-radius: 999px;
  --shadow: 0 1px 0 rgba(43, 29, 20, .06), 0 10px 24px -8px rgba(80, 50, 20, .22);
  --shadow-hover: 0 2px 0 rgba(43, 29, 20, .06), 0 22px 38px -12px rgba(80, 50, 20, .32);
  --font: 'Commissioner', system-ui, sans-serif;
  --font-display: 'Lora', Georgia, serif;
  --font-hand: 'Caveat', 'Comic Sans MS', cursive;
  --display-weight: 600;
  --h-tracking: -0.01em;
  --header-bg: rgba(243, 233, 216, .9);
  --cta-bg: #3a2619;
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .35  0 0 0 0 .22  0 0 0 0 .1  0 0 0 .22 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  --squiggle: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='14' viewBox='0 0 120 14'><path d='M2 9 C 20 2, 30 13, 50 7 S 85 2, 118 8' fill='none' stroke='%23c0582f' stroke-width='3.2' stroke-linecap='round'/></svg>");
}
body { background: var(--grain), var(--bg); }
::selection { background: var(--accent); color: #fff; }

.top { border-bottom: 1px dashed var(--line); }
.brand { font-family: var(--font-hand); font-size: 2rem; font-weight: 700; letter-spacing: 0; color: var(--accent); }
.top nav a { color: var(--ink); font-weight: 500; }
.top nav a:hover { color: var(--accent); }

.btn { font-weight: 600; }
.btn-primary { background: var(--accent); box-shadow: 0 3px 0 color-mix(in srgb, var(--accent) 60%, #000), 0 12px 24px -10px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-primary:hover { transform: translateY(-2px) rotate(-1deg); }
.btn-ghost { border: 1.5px dashed currentColor; }
.btn-small { background: var(--ink); color: var(--bg); }

/* Первый экран — фото «полароид» на скотче + рукописная пометка */
.hero { background: radial-gradient(800px 400px at 90% 10%, rgba(192, 88, 47, .14), transparent 70%), var(--grain), var(--bg); }
.hero-l-split.hero-photo, .hero-l-center.hero-photo { background: radial-gradient(800px 400px at 90% 10%, rgba(192, 88, 47, .14), transparent 70%), var(--grain), var(--bg); }
.hero h1 { font-weight: 600; font-size: clamp(2.6rem, 6.4vw, 5.2rem); line-height: 1.02; }
.hero h1 em { font-style: italic; color: var(--accent); background: var(--squiggle) left 100% / 100% 14px no-repeat; padding-bottom: .12em; }
.eyebrow { font-family: var(--font-hand); text-transform: none; letter-spacing: 0; font-size: 1.7rem; font-weight: 700; color: var(--accent-2); transform: rotate(-3deg); transform-origin: left; margin-bottom: 8px; }
.eyebrow::after { content: ' ↓'; }
.hero-l-split .hero-media { aspect-ratio: 4 / 5; background: #fffdf8; padding: 14px 14px 56px; border-radius: 3px; box-shadow: 0 24px 50px -16px rgba(60, 35, 15, .45); transform: rotate(2.2deg); }
.hero-l-split .hero-media img { border-radius: 2px; }
.hero-l-split .hero-media::before, .hero-l-split .hero-media::after { content: ''; position: absolute; z-index: 2; width: 120px; height: 34px; background: rgba(233, 211, 160, .78); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.hero-l-split .hero-media::before { top: -14px; left: 28px; transform: rotate(-8deg); }
.hero-l-split .hero-media::after { bottom: 18px; right: -26px; transform: rotate(-38deg); }
.hero-l-center .hero-media { border: 10px solid #fffdf8; box-shadow: 0 24px 50px -16px rgba(60, 35, 15, .45); }
.fact b { font-family: var(--font-display); color: var(--accent); font-weight: 600; }
.fact span { font-family: var(--font-hand); font-size: 1.3rem !important; line-height: 1; }
.sticker { background: var(--accent-2); color: #fffaf2; font-family: var(--font-hand); font-size: 1.45rem; font-weight: 700; border-radius: 50%; box-shadow: none; outline: 2px dashed rgba(255, 250, 242, .7); outline-offset: -9px; left: -36px; right: auto; top: auto; bottom: 90px; transform: rotate(-14deg); }

.marquee { background: var(--accent-2); color: #fffaf2; font-family: var(--font-hand); font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 700; padding: 10px 0; }
.marquee-row span::after { content: '✿'; color: #f2c98a; }

/* Секции: рукописные подзаголовки, швы, рваные края */
.block h2 { font-weight: 600; font-size: clamp(2rem, 4.4vw, 3.3rem); }
.block h2::after { content: ''; display: block; width: 120px; height: 14px; margin-top: 10px; background: var(--squiggle) no-repeat; }
.alt { background: var(--grain), var(--soft); }
.alt::before, .cta::before { content: ''; position: absolute; left: 0; right: 0; top: -11px; height: 12px; background: radial-gradient(circle at 10px 12px, var(--soft) 9px, transparent 9.5px) 0 0 / 20px 12px repeat-x; }
.cta::before { background-image: radial-gradient(circle at 10px 12px, var(--cta-bg) 9px, transparent 9.5px); }

.feature { background: var(--surface); border: 0; outline: 1.5px dashed var(--line); outline-offset: -8px; box-shadow: var(--shadow); padding: 30px; }
.feature:nth-child(odd) { transform: rotate(-.6deg); } .feature:nth-child(even) { transform: rotate(.6deg); }
.feature:hover { transform: rotate(0) translateY(-4px); box-shadow: var(--shadow-hover); }
.feature h3 { font-weight: 600; font-size: 1.3rem; }
.feature h3::before { width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle, var(--accent) 35%, transparent 36%), color-mix(in srgb, var(--accent) 18%, transparent); }

.stats-block { background: var(--surface); }
.stat { text-align: center; }
.stat b { font-weight: 600; font-style: italic; }
.stat span { font-family: var(--font-hand); font-size: 1.5rem; color: var(--accent-2); line-height: 1.1; }

.cards { gap: 28px; }
.card { background: #fffdf8; padding: 12px; border-radius: 4px; }
.card:nth-child(3n+1) { transform: rotate(-.8deg); } .card:nth-child(3n+2) { transform: rotate(.6deg); }
.card:hover { transform: rotate(0) translateY(-6px); }
.card-media { border-radius: 2px; }
.card-body { padding: 16px 8px 6px; }
.card h3 { font-weight: 600; font-size: 1.3rem; }
.badge { font-family: var(--font-hand); font-size: 1.15rem; font-weight: 700; background: none; color: var(--accent-2); padding: 0; transform: rotate(-3deg); }
.price { font-family: var(--font-display); color: var(--accent); }

.tile { border-radius: 3px; border: 8px solid #fffdf8; box-shadow: var(--shadow); }
.tile:nth-child(odd) { transform: rotate(-.8deg); } .tile:nth-child(even) { transform: rotate(.8deg); }
.tile figcaption b { font-family: var(--font-hand); font-size: 1.6rem; }
.tile-text { background: var(--accent); }

.steps { counter-reset: none; }
.num { background: none; color: var(--accent); border: 2px dashed var(--accent); font-family: var(--font-hand); font-size: 1.7rem; width: 52px; height: 52px; }
.steps h3 { font-weight: 600; }

.plan { background: #fffdf8; border: 0; outline: 1.5px dashed var(--line); outline-offset: -10px; box-shadow: var(--shadow); }
.plan-featured { background: var(--accent); color: #fffaf2; outline-color: rgba(255, 250, 242, .55); }
.plan-featured .plan-price span, .plan-featured p { color: rgba(255, 250, 242, .85); }
.plan-featured li::before { color: #fffaf2; }
.plan .badge { background: var(--accent-2); color: #fff; font-family: var(--font-hand); font-size: 1.2rem; padding: 2px 14px; }

.member-photo { border-radius: 4px; border: 10px solid #fffdf8; border-bottom-width: 36px; box-shadow: var(--shadow); }
.member:nth-child(odd) .member-photo { transform: rotate(-1.5deg); } .member:nth-child(even) .member-photo { transform: rotate(1.5deg); }
.role { font-family: var(--font-hand); font-size: 1.35rem; color: var(--accent-2); }

.review { background: #fffdf8; position: relative; }
.review::before { content: ''; position: absolute; top: -12px; left: 50%; width: 90px; height: 26px; margin-left: -45px; background: rgba(233, 211, 160, .8); transform: rotate(-3deg); }
.review blockquote { font-family: var(--font-display); font-style: italic; }
.stars { color: var(--accent); }

.gallery img { border: 8px solid #fffdf8; border-radius: 3px; box-shadow: var(--shadow); }
.faq details { background: #fffdf8; border: 1.5px dashed var(--line); }
.faq summary { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }
.case { background: #fffdf8; padding: 10px; }
.map-frame { border: 10px solid #fffdf8; box-shadow: var(--shadow); }
.map-address { font-weight: 600; }

.cta { background: var(--grain), var(--cta-bg); color: #fbf1e2; }
.cta h2::after { filter: brightness(1.4); }
.form-box { background: #fffdf8; transform: rotate(.8deg); border-radius: 4px; }
input, select, textarea { border: 1.5px dashed #cbb592; background: #fffdf8; }
footer { border-top: 1px dashed var(--line); }
.foot-brand { font-family: var(--font-hand); font-size: 2rem; color: var(--accent); }
.social { border-style: dashed; border-color: var(--muted); }

:root { --reveal-rot: .6deg; }

@media (max-width: 900px) {
  .hero-l-split .hero-media { max-width: 460px; margin: 10px auto 0; }
  .sticker { left: auto; right: -10px; bottom: auto; top: -20px; }
}
