:root {
  --v-red: #9c2f22;
  --v-soft: #f3ead4;
  --v-text: #4f4738;
  --v-shadow: 0 18px 48px #241d1214;
  --dark-text: #d5e0d8;
  --forest: linear-gradient(115deg, var(--sidebar-from), var(--sidebar-to));
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: 1.125rem; line-height: 1.8; background: var(--bg); color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, figure, ul, ol { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.v-wrap { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.v-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.v-skip { position: absolute; left: 8px; top: 8px; padding: 6px 12px; z-index: 5; background: var(--panel); }
.v-skip:not(:focus) { clip-path: inset(50%); }
.v-label { font-size: 1rem; font-weight: 700; letter-spacing: .08em; color: #80610e; }

/* header */
.v-bar { background: var(--panel); border-bottom: 1px solid var(--line); }
.v-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.v-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.v-brand img { width: 36px; height: 36px; }
.v-brand strong { font-size: 1.1rem; color: var(--green); line-height: 1.2; }
.v-brand small { display: block; font-size: .8rem; color: var(--v-text); font-weight: 500; }
.v-bar nav { display: flex; gap: 18px; font-size: 1rem; font-weight: 650; }
.v-bar nav a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.v-bar nav a:hover { color: #7a5a0a; }

/* buttons */
.v-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.v-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 10px 26px;
  border-radius: 12px; font-size: 1.1rem; font-weight: 750; text-decoration: none; border: 1px solid transparent;
}
.v-btn-primary { background: var(--primary-bg); color: var(--primary-text); box-shadow: 0 6px 16px var(--primary-shadow); }
.v-btn-primary:hover { background: var(--primary-hover); }
.v-btn-ghost { color: var(--cream); border-color: #f8f1df66; }
.v-btn-ghost:hover { border-color: var(--gold2); color: var(--white); }

/* hero */
.v-hero { background: radial-gradient(ellipse at 78% 40%, #2a5a48 0%, transparent 55%), var(--forest); color: var(--cream); }
.v-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(44px, 7vw, 100px); }
.v-hero .v-label { color: var(--gold2); }
.v-hero h1 { margin-top: 14px; font-size: clamp(2.1rem, 4.4vw, 3.9rem); line-height: 1.22; letter-spacing: -.03em; font-weight: 750; color: var(--panel); }
.v-hero h1 span { color: var(--brand-text); }
.v-lead { margin-top: 22px; max-width: 30rem; font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--dark-text); }

/* compare slider */
.v-compare { position: relative; overflow: hidden; border-radius: 18px; border: 1px solid #f8f1df70; box-shadow: 0 24px 60px #071e1666; background: #1b2a24; }
.v-compare img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.v-compare-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.v-compare-handle { position: absolute; top: 0; bottom: 38px; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--gold2); pointer-events: none; }
.v-compare-handle::after {
  content: '⇆'; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; transform: translate(-50%, -50%);
  display: grid; place-items: center; border-radius: 50%; background: var(--gold2); color: var(--primary-text); font-size: 1.3rem; font-weight: 800;
}
.v-compare-range { position: absolute; inset: 0 0 38px; width: 100%; height: calc(100% - 38px); margin: 0; opacity: 0; cursor: ew-resize; }
.v-compare-range:focus-visible + figcaption { outline: 3px solid var(--gold2); }
.v-compare-tag { position: absolute; top: 12px; padding: 2px 12px; border-radius: 99px; background: #0b1a15b3; color: var(--cream); font-size: .9rem; pointer-events: none; }
.v-compare-tag-l { left: 12px; }
.v-compare-tag-r { right: 12px; }
.v-compare figcaption { height: 38px; display: flex; align-items: center; padding-inline: 14px; font-size: .85rem; color: var(--dark-text); background: #0f231c; }

/* sections */
.v-section { padding-block: clamp(52px, 7vw, 96px); }
.v-section-soft { background: var(--panel-soft); border-block: 1px solid var(--line); }
.v-head { margin-bottom: 30px; }
.v-head h2, .v-trust h2, .v-book h2 { margin-top: 8px; font-size: clamp(1.75rem, 3.3vw, 2.6rem); line-height: 1.3; color: var(--green); letter-spacing: -.02em; }
.v-head > p:last-child:not(.v-label) { margin-top: 8px; color: var(--v-text); }

.v-themes { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.v-themes li { padding: 26px 24px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: var(--v-shadow); }
.v-theme-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--v-red); color: #fbe9c2; font-size: 1.5rem; font-weight: 800; font-family: 'STKaiti', 'KaiTi', serif; }
.v-themes h3 { margin-top: 16px; font-size: 1.35rem; color: var(--green); }
.v-themes p { margin-top: 6px; color: var(--v-text); font-size: 1.02rem; }

.v-works { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.v-work { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--v-shadow); }
.v-work video, .v-work img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #14352c; }
.v-work-body { padding: 16px 20px 20px; }
.v-work h3 { font-size: 1.2rem; color: var(--green); }
.v-work p { margin-top: 4px; color: var(--v-text); font-size: 1rem; }
.v-badge { display: inline-block; margin-top: 10px; padding: 1px 10px; border-radius: 99px; border: 1px solid var(--line); font-size: .82rem; color: var(--v-text); }
.v-work-empty .v-work-body { color: var(--v-text); }

.v-steps { list-style: none; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.v-steps li { counter-increment: step; position: relative; padding: 70px 24px 26px; border-radius: var(--radius-card); background: var(--panel); border: 1px solid var(--line); }
.v-steps li::before {
  content: counter(step); position: absolute; top: 20px; left: 24px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: var(--gold-gradient); color: var(--primary-text); font-weight: 800;
}
.v-steps strong { font-size: 1.3rem; color: var(--green); }
.v-steps p { margin-top: 8px; color: var(--v-text); }

.v-trust { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 5vw, 64px); align-items: start; }
.v-trust ul { list-style: none; padding: 0; display: grid; gap: 14px; }
.v-trust li { position: relative; padding: 14px 18px 14px 50px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.v-trust li::before { content: '✓'; position: absolute; left: 18px; top: 14px; color: var(--green2); font-weight: 800; }

.v-book { background: var(--forest); color: var(--cream); padding-block: clamp(48px, 6vw, 84px); }
.v-book h2 { color: var(--panel); margin-top: 0; }
.v-book p { margin-top: 12px; color: var(--dark-text); max-width: 32rem; }
.v-book-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.v-phone { font-size: 1.25rem; font-weight: 700; color: var(--brand-text) !important; }
.v-phone a { color: var(--brand-text); }
.v-qr { width: 200px; text-align: center; }
.v-qr img, .v-qr-empty { width: 200px; height: 200px; border-radius: 14px; background: var(--panel); }
.v-qr-empty { display: grid; place-items: center; color: var(--v-text); font-size: 1rem; border: 2px dashed var(--line); }
.v-qr figcaption { margin-top: 10px; font-size: 1rem; }

/* footer */
.v-foot { background: var(--panel); border-top: 1px solid var(--line); font-size: .92rem; color: var(--v-text); }
.v-foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 22px 26px; }
.v-foot a { text-decoration: none; }
.v-foot a:hover { text-decoration: underline; }
.v-foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }

@media (max-width: 1080px) {
  .v-themes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .v-hero-grid, .v-trust, .v-book-grid { grid-template-columns: 1fr; }
  .v-themes { grid-template-columns: 1fr; }
  .v-steps { grid-template-columns: 1fr; }
  .v-qr { justify-self: start; }
}
@media (max-width: 520px) {
  .v-bar nav a:not(.v-bar-book) { display: none; }
  .v-btn { flex: 1 1 100%; }
}
