:root {
  --bg: #f4f7f7; --ink: #0f1f1d; --muted: #546360; --accent: #0e8577; --soft: #e2f0ee; --line: rgba(15,31,29,.1);
  --pl-fg: var(--ink); --pl-muted: var(--muted); --pl-accent: var(--accent); --pl-on-accent: #fff; --pl-card: #fff; --pl-line: var(--line); --pl-plane: #eef3f2; --pl-input: #fbfdfd; --pl-radius: 20px;
  --ease: cubic-bezier(.16,1,.3,1);
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { font-family: Manrope, system-ui, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: Unbounded, sans-serif; line-height: 1.12; letter-spacing: -.01em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
section { padding: 88px 0; }
@media (max-width: 760px) { section { padding: 60px 0; } }
.head { max-width: 640px; margin-bottom: 36px; }
.head h2 { font-size: clamp(26px, 3.6vw, 42px); font-weight: 700; margin-bottom: 12px; }
.head p { color: var(--muted); font-size: 17px; }
.eyebrow { display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; padding: 16px 26px; font-weight: 700; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s; }
.btn:active { transform: scale(.97); }
.btn-p { background: var(--accent); color: #fff; box-shadow: 0 10px 30px rgba(14,133,119,.3); }
.btn-p:hover { transform: translateY(-2px); background: #0a6459; }
.btn-o { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-o:hover { transform: translateY(-2px); }

/* nav */
.nav { position: sticky; top: 12px; z-index: 40; margin: 12px auto 0; width: min(1160px, calc(100% - 24px)); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 20px; border-radius: 999px; background: rgba(255,255,255,.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line); box-shadow: 0 8px 30px rgba(15,31,29,.07); }
.logo { font-family: Unbounded; font-weight: 700; font-size: 17px; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.logo img { width: 40px; height: 40px; flex: none; transition: transform .6s var(--ease); }
.logo:hover img { transform: rotate(-12deg) scale(1.06); }
.foot-logo { height: 96px; width: auto; }
.nav nav { display: flex; gap: 22px; }
.nav nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav nav a:hover { color: var(--ink); }
.nav .btn { padding: 12px 20px; font-size: 14px; }
@media (max-width: 900px) { .nav nav { display: none; } }
@media (max-width: 440px) { .logo { font-size: 14px; white-space: nowrap; } .nav .btn { padding: 11px 14px; font-size: 13px; } }

/* hero */
.hero { padding: 56px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5.4vw, 64px); margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--accent); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .14em; background: currentColor; opacity: .22; border-radius: 99px; transform-origin: left; animation: line 1.2s .5s var(--ease) both; }
@keyframes line { from { transform: scaleX(0); } }
.hero p.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 46ch; margin-bottom: 28px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chips span { font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } .ctas .btn { flex: 1; } }

/* hero visual: окно, которое протирает скребок */
.glass { position: relative; aspect-ratio: 5/4; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 70px rgba(15,31,29,.18); }
.glass > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.glass .fog { position: absolute; inset: 0; background: rgba(235,242,241,.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: wipe 3.2s 1s var(--ease) forwards; }
@keyframes wipe { to { clip-path: inset(0 0 0 100%); } }
.glass .fog { clip-path: inset(0 0 0 0); }
.glass .blade { position: absolute; top: -5%; bottom: -5%; left: 0; width: 14px; border-radius: 8px; background: linear-gradient(90deg, #1c2826, #3a4a48); box-shadow: 0 0 20px rgba(0,0,0,.3); animation: blade 3.2s 1s var(--ease) forwards; }
@keyframes blade { to { left: 100%; } }
.glass .stamp { position: absolute; left: 18px; bottom: 18px; padding: 10px 16px; border-radius: 14px; background: #fff; font-weight: 700; font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.15); opacity: 0; animation: pop .7s 4s var(--ease) forwards; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.9); } to { opacity: 1; transform: none; } }
.bubble { position: absolute; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fff, rgba(255,255,255,.2) 60%, rgba(14,133,119,.25)); border: 1px solid rgba(255,255,255,.7); animation: float 6s ease-in-out infinite; pointer-events: none; }
@keyframes float { 50% { transform: translateY(-22px) translateX(6px); } }

/* calc */
.calc { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* works bento */
.works { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.works > * { border-radius: 20px; overflow: hidden; }
.works > * { grid-column: span 6; }
.works figcaption { padding: 12px 4px 0; font-weight: 600; font-size: 15px; }
.works figure { margin: 0; }
@media (max-width: 760px) { .works > * { grid-column: span 12; } }

/* services */
.svcs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 10px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.svc:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(15,31,29,.1); }
.svc .ico { width: 72px; height: 72px; }
.svc h3 { font-size: 17px; }
.svc p { color: var(--muted); font-size: 15px; flex: 1; }
.svc b { color: var(--accent); font-size: 18px; }
.svc a { font-weight: 700; color: var(--accent); text-decoration: none; }
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.plist { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; }
.plist h3 { font-size: 17px; margin-bottom: 8px; }
.plist p { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 600; }
.plist p:last-child { border-bottom: 0; }
.plist small { display: block; font-weight: 500; font-size: 13px; color: var(--muted); }
.plist b { color: var(--accent); white-space: nowrap; }
.pnote { margin-top: 16px; padding: 16px 20px; border-radius: 16px; background: var(--soft); font-weight: 600; font-size: 15px; }
@media (max-width: 960px) { .prices { grid-template-columns: 1fr; } }
@media (max-width: 960px) { .svcs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .svcs { grid-template-columns: 1fr; } }

/* steps / stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.stat b { display: block; font-family: Unbounded; font-size: clamp(26px, 3.4vw, 38px); color: var(--accent); }
.stat span { color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }

#calc[hidden] { display: none; }

/* final cta */
.final { background: linear-gradient(150deg, #0e8577, #0a5048); color: #fff; border-radius: 28px; padding: clamp(32px, 6vw, 64px); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.final h2 { font-size: clamp(24px, 3.4vw, 38px); max-width: 18ch; }
.final .btn { background: #fff; color: var(--accent); }
footer { padding: 40px 0 56px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
footer a { color: inherit; }

/* language switcher */
.lang { display: flex; gap: 2px; font-size: 13px; font-weight: 700; }
.lang a { padding: 6px 8px; border-radius: 8px; text-decoration: none; color: var(--muted); }
.lang a:hover { color: var(--ink); }
.lang a[aria-current] { color: var(--ink); background: var(--soft); }
.nav-r { display: flex; align-items: center; gap: 8px; }
@media (max-width: 440px) { .lang a { padding: 6px 5px; } }
@media (max-width: 760px) { .nav .btn { display: none; } .nav { padding: 8px 12px 8px 16px; } }
