/* SalutSoft — стили сайта
   Цвета бренда: #0E8A6F зелёный · #0B3D35 тёмно-зелёный · #FFB020 золотой */

@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:200 1000;src:url(fonts/nunito-cyrillic-ext-wght-normal.woff2) format('woff2-variations');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:200 1000;src:url(fonts/nunito-cyrillic-wght-normal.woff2) format('woff2-variations');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:200 1000;src:url(fonts/nunito-latin-wght-normal.woff2) format('woff2-variations');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root{
  --green:#0E8A6F; --green-600:#0B7560; --deep:#0B3D35; --deep-2:#0E4A40; --gold:#FFB020; --gold-2:#FFC24D;
  --bg:#F4F6F4; --card:#FFFFFF; --ink:#0B3D35; --muted:#4A635D; --line:#DCE5E1; --chip:#E6F3EF;
  --radius:20px; --wrap:1160px; --shadow:0 10px 30px rgba(11,61,53,.10);
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}}
body{margin:0;background:var(--bg);color:var(--ink);font:500 17px/1.6 Nunito,system-ui,-apple-system,"Segoe UI",sans-serif;overflow-x:clip}
img,svg{display:block;max-width:100%}
a{color:inherit}
h1,h2,h3{margin:0;line-height:1.12;letter-spacing:-.02em;text-wrap:balance}
h1{font-size:clamp(36px,5.2vw,62px);font-weight:900}
h2{font-size:clamp(28px,3.4vw,42px);font-weight:900}
h3{font-size:20px;font-weight:800}
p{margin:0}
em{font-style:normal;color:var(--green)}
.on-dark em{color:var(--gold)}
:focus-visible{outline:3px solid var(--gold);outline-offset:3px;border-radius:6px}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 20px}
.skip{position:absolute;left:-9999px;top:8px;background:var(--gold);color:var(--deep);padding:8px 14px;border-radius:10px;font-weight:800;z-index:100}
.skip:focus{left:8px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- кнопки ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:12px 24px;border-radius:14px;font:inherit;font-weight:800;font-size:17px;text-decoration:none;border:0;cursor:pointer;transition:background .15s,border-color .15s,transform .15s}
.btn svg{width:20px;height:20px}
.btn-gold{background:var(--gold);color:var(--deep)}
.btn-gold:hover{background:var(--gold-2)}
.btn-green{background:var(--green);color:#fff}
.btn-green:hover{background:var(--green-600)}
.btn-ghost{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.35)}
.btn-ghost:hover{border-color:#fff}
.btn-sm{min-height:44px;padding:8px 18px;font-size:15px;border-radius:12px}

/* ---------- шапка ---------- */
.header{position:sticky;top:0;z-index:50;background:rgba(244,246,244,.92);backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid transparent;transition:border-color .2s}
.header.scrolled{border-bottom-color:var(--line)}
.header .wrap{display:flex;align-items:center;gap:20px;height:72px}
.logo{display:inline-flex;align-items:center;gap:10px;text-decoration:none;flex:none}
.logo svg{width:40px;height:40px}
.logo-word{font-size:24px;letter-spacing:-.02em;line-height:1}
.logo-word b{font-weight:900}.logo-word span{font-weight:600}
.nav{display:flex;align-items:center;gap:4px;margin-left:auto}
.nav a{padding:8px 12px;border-radius:10px;text-decoration:none;font-weight:700;font-size:16px;color:var(--muted)}
.nav a:hover,.nav a[aria-current=page]{color:var(--ink);background:var(--chip)}
.langs{display:flex;gap:2px;padding:3px;border-radius:12px;background:var(--chip)}
.langs a{padding:5px 9px;border-radius:9px;text-decoration:none;font-weight:800;font-size:13px;color:var(--muted)}
.langs a[aria-current=true]{background:#fff;color:var(--ink);box-shadow:0 1px 3px rgba(11,61,53,.12)}
.burger{display:none;margin-left:auto;width:44px;height:44px;border-radius:12px;border:1.5px solid var(--line);background:#fff;color:var(--ink);cursor:pointer;place-items:center}
.burger svg{width:22px;height:22px}
.mobile{display:none}

@media (max-width:980px){
  .nav,.header .btn,.header .langs{display:none}
  .burger{display:grid}
  .mobile{position:fixed;inset:72px 0 0;background:var(--bg);padding:16px 20px 32px;overflow:auto;z-index:49;flex-direction:column;gap:6px}
  .mobile.open{display:flex}
  .mobile a.m-link{padding:14px 4px;border-bottom:1px solid var(--line);font-size:20px;font-weight:800;text-decoration:none}
  .mobile .langs{align-self:flex-start;margin:18px 0}
  .mobile .btn{margin-top:4px}
  body.menu-open{overflow:hidden}
}

/* ---------- секции ---------- */
.section{padding:88px 0}
.section-tight{padding:56px 0}
.eyebrow{display:inline-block;font-size:14px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:var(--green);margin-bottom:12px}
.on-dark .eyebrow{color:var(--gold)}
.head{max-width:720px;margin-bottom:40px}
.head p{margin-top:14px;color:var(--muted);font-size:19px}
.dark{background:var(--deep);color:#fff}
.dark .head p,.dark .muted{color:#CFE6DF}

/* ---------- hero ---------- */
.hero{background:var(--deep);color:#fff;padding:72px 0 88px;position:relative;overflow:hidden}
.hero::before{content:"";position:absolute;right:-180px;top:-200px;width:620px;height:620px;border-radius:50%;background:radial-gradient(circle,rgba(14,138,111,.45),rgba(14,138,111,0) 70%);pointer-events:none}
.hero .wrap{position:relative;display:grid;grid-template-columns:1.1fr .9fr;gap:56px;align-items:center}
.hero .lead{margin-top:20px;font-size:20px;color:#CFE6DF;max-width:560px}
.hero .actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}
.hero-sub{padding:56px 0 64px}
.hero-sub .wrap{grid-template-columns:1fr}
.hero-sub h1{max-width:860px}
.crumbs{display:flex;flex-wrap:wrap;gap:8px;font-size:14px;font-weight:700;color:#A9D3C8;margin-bottom:18px}
.crumbs a{text-decoration:none}.crumbs a:hover{color:#fff}
.crumbs span[aria-hidden]{opacity:.6}

/* чат в hero */
.chat{display:flex;flex-direction:column;gap:12px;padding:24px;border-radius:28px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12)}
.chat-top{display:flex;align-items:center;gap:12px;padding-bottom:14px;border-bottom:1px solid rgba(255,255,255,.12);margin-bottom:4px}
.chat-top svg{width:44px;height:44px}
.chat-top b{display:block;font-weight:900}
.chat-top small{color:#A9D3C8;font-weight:700;display:flex;align-items:center;gap:6px}
.chat-top small::before{content:"";width:8px;height:8px;border-radius:50%;background:#3DDC97}
.msg{max-width:86%;padding:12px 16px;border-radius:18px;font-size:16px;font-weight:600;line-height:1.45;opacity:0;transform:translateY(8px);animation:pop .5s ease forwards}
.msg.in{align-self:flex-start;background:#fff;color:var(--deep);border-bottom-left-radius:6px}
.msg.out{align-self:flex-end;background:var(--green);color:#fff;border-bottom-right-radius:6px}
.msg:nth-child(2){animation-delay:.2s}.msg:nth-child(3){animation-delay:.9s}.msg:nth-child(4){animation-delay:1.6s}.msg:nth-child(5){animation-delay:2.3s}
@keyframes pop{to{opacity:1;transform:none}}
.spark{transform-box:fill-box;transform-origin:center;animation:twinkle 3.2s ease-in-out infinite}
.spark.s2{animation-delay:.6s}
@keyframes twinkle{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(.78);opacity:.75}}

@media (max-width:980px){
  .hero{padding:48px 0 64px}
  .hero .wrap{grid-template-columns:1fr;gap:40px}
  .section{padding:64px 0}
}

/* ---------- карточки услуг ---------- */
.grid{display:grid;gap:20px}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-2{grid-template-columns:repeat(2,1fr)}
.grid-4{grid-template-columns:repeat(4,1fr)}
@media (max-width:980px){.grid-3,.grid-4{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.grid-3,.grid-2,.grid-4{grid-template-columns:1fr}}
.card{background:var(--card);border:1.5px solid var(--line);border-radius:var(--radius);padding:28px;display:flex;flex-direction:column;gap:12px}
a.card{text-decoration:none;transition:border-color .15s,transform .15s,box-shadow .15s}
a.card:hover{border-color:var(--green);transform:translateY(-2px);box-shadow:var(--shadow)}
.ic{width:52px;height:52px;border-radius:14px;background:var(--chip);color:var(--green);display:grid;place-items:center;flex:none}
.ic svg{width:26px;height:26px}
.card p{color:var(--muted)}
.card .more{margin-top:auto;padding-top:8px;display:inline-flex;align-items:center;gap:6px;font-weight:800;color:var(--green)}
.card .more svg{width:18px;height:18px;transition:transform .15s}
a.card:hover .more svg{transform:translateX(3px)}
.item{display:flex;gap:16px;align-items:flex-start}
.item .ic{width:40px;height:40px;border-radius:12px}
.item .ic svg{width:20px;height:20px}
.item h3{font-size:18px;margin-bottom:4px}
.item p{color:var(--muted);font-size:16px}

/* шаги */
.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:20px;counter-reset:s}
@media (max-width:980px){.steps{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.steps{grid-template-columns:1fr}}
.steps li{counter-increment:s;background:var(--card);border-radius:var(--radius);padding:28px;border:1.5px solid var(--line)}
.steps li::before{content:counter(s);display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--deep);color:var(--gold);font-weight:900;font-size:18px;margin-bottom:16px}
.steps h3{font-size:19px;margin-bottom:6px}
.steps p{color:var(--muted);font-size:16px}

/* преимущества */
.why .card{background:transparent;border-color:rgba(255,255,255,.14)}
.why .card p{color:#CFE6DF}
.why .ic{background:rgba(255,176,32,.14);color:var(--gold)}

/* FAQ */
.faq{max-width:860px;display:grid;gap:12px}
.faq details{background:var(--card);border:1.5px solid var(--line);border-radius:16px;padding:0 24px}
.faq details[open]{border-color:var(--green)}
.faq summary{list-style:none;cursor:pointer;padding:20px 32px 20px 0;font-weight:800;font-size:18px;position:relative}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";position:absolute;right:4px;top:50%;width:12px;height:12px;border-right:2.5px solid var(--green);border-bottom:2.5px solid var(--green);transform:translateY(-70%) rotate(45deg);transition:transform .2s}
.faq details[open] summary::after{transform:translateY(-30%) rotate(-135deg)}
.faq details p{padding:0 0 20px;color:var(--muted)}

/* чипсы */
.chips{display:flex;flex-wrap:wrap;gap:10px}
.chips span{padding:9px 16px;border-radius:999px;background:var(--card);border:1.5px solid var(--line);font-size:15px;font-weight:700}

/* портфолио — заглушки */
.soon{min-height:240px;justify-content:flex-end;background:linear-gradient(135deg,var(--chip),#fff);border-style:dashed}
.soon .badge{align-self:flex-start;padding:5px 12px;border-radius:999px;background:var(--gold);color:var(--deep);font-weight:900;font-size:13px}
.soon .ic{background:#fff}

/* о студии */
.prose{max-width:760px;display:grid;gap:18px;font-size:19px}
.prose p{color:var(--muted)}

/* ---------- форма ---------- */
.lead-wrap{display:grid;grid-template-columns:.9fr 1.1fr;gap:56px;align-items:start}
@media (max-width:980px){.lead-wrap{grid-template-columns:1fr;gap:32px}}
.lead-wrap .head{margin-bottom:24px}
.form{background:#fff;color:var(--ink);border-radius:24px;padding:32px;box-shadow:var(--shadow);display:grid;gap:18px}
@media (max-width:640px){.form{padding:22px}}
.field{display:grid;gap:6px}
.field label{font-weight:800;font-size:15px}
.field label small{font-weight:600;color:var(--muted)}
.field input,.field select,.field textarea{width:100%;font:inherit;font-size:16px;font-weight:600;color:var(--ink);background:var(--bg);border:1.5px solid var(--line);border-radius:12px;padding:13px 14px;min-height:50px}
.field textarea{min-height:110px;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--green);background:#fff;box-shadow:0 0 0 4px rgba(14,138,111,.15)}
.field select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B3D35' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:18px;padding-right:44px}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:18px}
@media (max-width:640px){.row2{grid-template-columns:1fr}}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.form .btn{width:100%}
.form .note{font-size:13px;color:var(--muted)}
.status{display:none;padding:14px 16px;border-radius:12px;font-weight:700}
.status.ok{display:block;background:#E3F6EE;color:#0B5E4B}
.status.err{display:block;background:#FFF1D6;color:#7A4B00}
.direct{display:grid;gap:10px;margin-top:8px}
.direct a{display:flex;align-items:center;gap:12px;padding:12px 16px;border-radius:14px;border:1.5px solid rgba(255,255,255,.18);text-decoration:none;font-weight:800}
.direct a:hover{border-color:var(--gold)}
.direct svg{width:20px;height:20px;color:var(--gold)}
.direct small{display:block;font-weight:600;color:#A9D3C8;font-size:13px}
.contacts-card{background:var(--deep);color:#fff;border-radius:24px;padding:32px}
.contacts-card h2{font-size:24px;margin-bottom:12px}
.contacts-card .muted{margin-top:6px}

/* ---------- подвал ---------- */
.footer{background:#082B26;color:#CFE6DF;padding:64px 0 32px;font-size:16px}
.footer .cols{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:32px}
@media (max-width:980px){.footer .cols{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.footer .cols{grid-template-columns:1fr}}
.footer .logo{color:#fff}
.footer p{margin-top:14px;max-width:300px}
.footer h4{margin:0 0 14px;color:#fff;font-size:16px;font-weight:900}
.footer ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.footer a{text-decoration:none}.footer a:hover{color:var(--gold)}
.footer .bottom{margin-top:48px;padding-top:24px;border-top:1px solid rgba(255,255,255,.1);display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;font-size:14px;color:#8FB5AB}

/* 404 */
.nf{min-height:60vh;display:grid;place-items:center;text-align:center;padding:80px 20px}
.nf svg{width:120px;height:120px;margin:0 auto 24px}
.nf p{color:var(--muted);margin:14px 0 28px}
