/* ZamokUnlock.kz — дизайн v2 «Разблокировано»: мятный свет, глубокий зелёный, шрифт Onest.
   Фирменная деталь — кнопка-переключатель с замком, который открывается. */
@font-face {
  font-family: 'Onest';
  src: url('/assets/fonts/onest-cyrillic.woff2') format('woff2');
  font-weight: 300 800; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Onest';
  src: url('/assets/fonts/onest-latin.woff2') format('woff2');
  font-weight: 300 800; font-style: normal; font-display: swap;
  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 {
  --ink: #0c1f1a;
  --ink-2: #44605a;
  --forest: #05261f;
  --forest-2: #0a372d;
  --green: #009975;
  --green-deep: #007a5c;
  --green-deeper: #00654c;
  --mint: #34e0a1;
  --mint-soft: #9ff3cf;
  --teal: #00b3a7;
  --paper: #ffffff;
  --mint-50: #f0faf5;
  --mint-100: #dcf3e8;
  --line: #d6e7df;
  --sun: #ffd014;
  --r-lg: 28px;
  --r: 20px;
  --r-sm: 14px;
  --shadow: 0 24px 50px -28px rgba(5, 38, 31, .45);
  --shadow-sm: 0 10px 24px -16px rgba(5, 38, 31, .35);
  --font: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hdr-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body {
  margin: 0; font-family: var(--font); font-size: 17px; font-weight: 400; line-height: 1.6;
  color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-wrap: break-word;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
b, strong { font-weight: 700; }
a { color: var(--green-deep); text-decoration: none; }
a:hover { color: var(--green-deeper); }
:where(a[href^="tel:"]) { white-space: nowrap; }
.nw { white-space: nowrap; }
.line { display: block; }
@media (max-width: 640px) { .line { display: inline; } }
button { font: inherit; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible { outline-color: var(--sun); }
.acc summary:focus-visible { outline-offset: -3px; }

.vh {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -80px; z-index: 1000;
  padding: 12px 18px; background: var(--sun); color: var(--ink); font-weight: 700; border-radius: 10px;
}
.skip:focus { top: 12px; color: var(--ink); }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
@media (max-width: 640px) { .wrap { width: calc(100% - 32px); } }

/* ------------------------------------------------------------ icons: padlock that unlocks */
.lock .shackle { transform-box: view-box; transform-origin: 8px 10.5px; transition: transform .45s var(--ease); }
.lock-open .shackle, a:hover > .unlock-knob .shackle, .logo:hover .shackle { transform: rotate(-32deg) translateY(-1px); }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 10px 28px;
  font: 600 16px/1.3 var(--font); letter-spacing: .01em; text-align: center; text-decoration: none;
  color: #fff; background: var(--green-deep); border: 0; border-radius: 999px; cursor: pointer;
  box-shadow: 0 10px 22px -14px rgba(0, 101, 76, .9);
  transition: background-color .2s ease, color .2s ease, transform .2s var(--ease), box-shadow .2s ease;
}
.btn:hover { color: #fff; background: var(--green-deeper); transform: translateY(-2px); box-shadow: 0 16px 28px -16px rgba(0, 101, 76, .95); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; }
.btn-sm { min-height: 46px; padding: 8px 22px; font-size: 15px; }
.btn-mint { color: var(--forest); background: var(--mint); box-shadow: 0 12px 30px -14px rgba(52, 224, 161, .8); }
.btn-mint:hover { color: var(--forest); background: #5ff0ba; }
.btn-glass {
  color: #fff; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn-glass:hover { color: var(--forest); background: #fff; box-shadow: inset 0 0 0 1.5px #fff; }
.btn-line { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-line:hover { color: var(--ink); background: var(--mint-50); box-shadow: inset 0 0 0 1.5px var(--green); }
.btn-caps { text-transform: none; }

/* signature: «разблокировать» — call button with a sliding mint fill and an opening padlock */
.unlock {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 68px; padding: 7px 26px 7px 7px; border-radius: 999px;
  color: #fff; background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 0 0 1.5px rgba(159, 243, 207, .45);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  text-decoration: none;
}
.unlock::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(90deg, var(--mint), #7cf0c4);
  transform: scaleX(0); transform-origin: left center; transition: transform .55s var(--ease);
}
.unlock:hover, .unlock:focus-visible { color: var(--forest); }
.unlock:hover::before, .unlock:focus-visible::before { transform: scaleX(1); }
.unlock-knob {
  flex: none; width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; color: var(--forest); background: var(--mint);
  box-shadow: 0 0 0 0 rgba(52, 224, 161, .55);
  transition: background-color .3s ease, transform .55s var(--ease);
}
.unlock:hover .unlock-knob { background: #fff; transform: rotate(-8deg); }
.unlock-text { display: grid; line-height: 1.15; }
.unlock-label { font-size: 18px; font-weight: 700; }
.unlock-phone { margin-top: 3px; font-size: 14px; font-weight: 500; opacity: .85; font-variant-numeric: tabular-nums; }
.unlock-arrows { margin-left: 6px; display: flex; opacity: .75; }
@media (prefers-reduced-motion: no-preference) {
  .unlock-knob { animation: ping 2.4s ease-out infinite; }
  .unlock-arrows svg { animation: nudge 1.6s var(--ease) infinite; }
}
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(52, 224, 161, .55); } 80%, 100% { box-shadow: 0 0 0 16px rgba(52, 224, 161, 0); } }
/* the same button on a light background */
.unlock-light { color: var(--ink); background: var(--mint-50); box-shadow: inset 0 0 0 1.5px var(--line); -webkit-backdrop-filter: none; backdrop-filter: none; }
.unlock-light .unlock-knob { color: #fff; background: var(--green-deep); }
.unlock-light:hover .unlock-knob { color: var(--forest); background: #fff; }
.unlock-light .unlock-phone { opacity: .75; }
.logo-word { display: inline-flex; }
@keyframes nudge { 0%, 100% { transform: translateX(0); opacity: .5; } 50% { transform: translateX(5px); opacity: 1; } }

/* ------------------------------------------------------------ header */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; transition: background-color .3s ease, box-shadow .3s ease; }
.hdr::before { content: ''; position: absolute; inset: 0 0 -30px; z-index: -1; pointer-events: none; background: linear-gradient(to bottom, rgba(5, 38, 31, .7), rgba(5, 38, 31, 0)); transition: opacity .3s ease; }
.hdr.is-solid::before, .hdr-solid::before { opacity: 0; }
.hdr.is-solid, .hdr-solid { background: rgba(5, 38, 31, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .6); }
.hdr-in { display: flex; align-items: center; gap: 18px; height: var(--hdr-h); }
.logo { display: inline-flex; align-items: center; gap: 11px; font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1; color: #fff; white-space: nowrap; }
.logo:hover { color: #fff; }
.logo-mark { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; color: var(--forest); background: var(--mint); }
.logo .a { color: var(--mint); }
.logo .b { color: #fff; }
.hdr-status {
  display: inline-flex; align-items: center; gap: 9px; margin-left: 8px; padding: 7px 14px;
  font-size: 13.5px; font-weight: 500; color: #d9f7ea;
  background: rgba(255, 255, 255, .08); border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(52, 224, 161, .2); }
@media (prefers-reduced-motion: no-preference) { .dot { animation: blink 2s ease-in-out infinite; } }
@keyframes blink { 50% { box-shadow: 0 0 0 7px rgba(52, 224, 161, 0); opacity: .7; } }
.hdr-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.hdr-tel { display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px; font-size: 17px; font-weight: 700; color: #fff; border-radius: 999px; font-variant-numeric: tabular-nums; }
.hdr-tel:hover { color: var(--forest); background: var(--mint); }
.hdr-tel svg { color: var(--mint); }
.hdr-tel:hover svg { color: var(--forest); }
.hdr-wa { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.hdr-wa:hover { color: var(--forest); background: var(--mint); }
@media (max-width: 900px) { .hdr-status { display: none; } }
@media (max-width: 640px) {
  :root { --hdr-h: 64px; }
  .logo { font-size: 18px; gap: 9px; }
  .logo-mark { width: 34px; height: 34px; border-radius: 10px; }
  .logo-mark svg { width: 18px; height: 18px; }
  .hdr-tel { width: 44px; height: 44px; padding: 0; justify-content: center; background: var(--mint); color: var(--forest); }
  .hdr-tel svg { color: var(--forest); }
  .hdr-tel span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* ------------------------------------------------------------ cover */
.cover { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; color: #fff; background: var(--forest); overflow: hidden; }
.cover-bg, .cover-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.cover-bg { z-index: 0; }
.cover-bg img { object-fit: cover; object-position: 60% 40%; max-width: none; }
.cover::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(900px 520px at 12% 88%, rgba(52, 224, 161, .22), transparent 60%),
    linear-gradient(100deg, rgba(5, 38, 31, .96) 0%, rgba(5, 38, 31, .86) 38%, rgba(5, 38, 31, .45) 70%, rgba(5, 38, 31, .25) 100%);
}
.cover::after { content: ''; position: absolute; inset: auto 0 0; height: 140px; z-index: 1; background: linear-gradient(to top, rgba(5, 38, 31, .8), transparent); }
.cover-in {
  position: relative; z-index: 2; flex: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  align-items: center; gap: 48px; padding: calc(var(--hdr-h) + 48px) 0 56px;
}
.cover-kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 8px 16px; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--mint-soft); background: rgba(52, 224, 161, .12); border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(52, 224, 161, .35); }
.cover-title { font-weight: 800; letter-spacing: -.025em; }
.cover-title br { display: none; }
.ct-main { display: block; font-size: clamp(36px, 5.4vw, 68px); line-height: 1.02; text-wrap: balance; }
.ct-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.ct-fact {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px;
  font-size: clamp(16px, 1.6vw, 19px); font-weight: 650; line-height: 1.2; letter-spacing: 0; color: #fff;
  background: rgba(255, 255, 255, .1); border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.ct-fact svg { flex: none; width: 28px; height: 28px; padding: 5px; border-radius: 50%; color: var(--forest); background: var(--mint); }
.cover-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; font-size: 18px; line-height: 1.45; color: #e3f5ee; max-width: 620px; }
.cover-list li { position: relative; padding-left: 34px; }
.cover-list li::before {
  content: ''; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(52, 224, 161, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334e0a1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.cover-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 34px; }
.cover-btns .btn-glass { min-height: 68px; padding: 10px 26px; }

.cover-card {
  justify-self: end; width: min(100%, 400px); padding: 26px; border-radius: var(--r-lg);
  color: var(--ink); background: rgba(255, 255, 255, .94); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .65);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.cc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.cc-title { font-size: 19px; font-weight: 750; letter-spacing: -.01em; line-height: 1.2; }
.cc-badge { flex: none; padding: 5px 10px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--green-deep); background: var(--mint-100); border-radius: 999px; }
.cc-list { list-style: none; padding: 0; margin: 0; }
.cc-list li { display: flex; align-items: baseline; gap: 12px; padding: 11px 0; font-size: 15px; line-height: 1.3; border-top: 1px dashed var(--line); }
.cc-list li span { flex: 1; color: var(--ink-2); }
.cc-list li b { flex: none; font-size: 16px; font-weight: 750; color: var(--green-deep); white-space: nowrap; font-variant-numeric: tabular-nums; }
.cc-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 15px; font-weight: 650; }
.cc-more svg { transition: transform .25s var(--ease); }
.cc-more:hover svg { transform: translateY(3px); }

.cover-cities { position: relative; z-index: 2; border-top: 1px solid rgba(255, 255, 255, .12); background: rgba(5, 38, 31, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.cities { display: flex; align-items: center; gap: 8px; min-height: 64px; overflow-x: auto; scrollbar-width: none; }
.cities::-webkit-scrollbar { display: none; }
.cities-label { flex: none; margin-right: 6px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--mint-soft); }
.cities a, .cities span.city {
  flex: none; padding: 8px 15px; font-size: 15px; font-weight: 550; color: #fff; border-radius: 999px;
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.cities a:hover { color: var(--forest); background: var(--mint); box-shadow: none; }
.cities a[aria-current] { color: var(--forest); background: var(--mint); box-shadow: none; font-weight: 700; }

@media (prefers-reduced-motion: no-preference) {
  .cover-main > *, .cover-card { animation: rise .8s var(--ease) both; }
  .cover-main > :nth-child(2) { animation-delay: .08s; }
  .cover-main > :nth-child(3) { animation-delay: .16s; }
  .cover-main > :nth-child(4) { animation-delay: .24s; }
  .cover-card { animation-delay: .32s; }
  .cover-bg img { animation: settle 1.6s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes settle { from { transform: scale(1.06); } }

@media (max-width: 1080px) {
  .cover-in { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .cover-card { justify-self: start; width: min(100%, 520px); }
}
@media (max-width: 640px) {
  .cover::before { background: linear-gradient(180deg, rgba(5, 38, 31, .55) 0%, rgba(5, 38, 31, .88) 45%, rgba(5, 38, 31, .97) 100%); }
  .cover-bg img { object-position: 62% 30%; }
  .cover-in { padding: calc(var(--hdr-h) + 26px) 0 34px; }
  .cover-kicker { font-size: 13px; margin-bottom: 16px; }
  .ct-facts { gap: 8px; margin-top: 16px; }
  .ct-fact { padding: 8px 14px 8px 9px; font-size: 15px; }
  .ct-fact svg { width: 24px; height: 24px; }
  .cover-list { font-size: 16px; margin-top: 20px; }
  .cover-btns { margin-top: 26px; }
  .unlock, .cover-btns .btn-glass { width: 100%; }
  .cover-btns .btn-glass { min-height: 56px; }
  .unlock-arrows { margin-left: auto; }
  .cover-card { padding: 20px; border-radius: var(--r); }
}

/* ------------------------------------------------------------ sections */
.sec { position: relative; padding: clamp(64px, 8vw, 112px) 0; }
.sec-mint { background: var(--mint-50); }
.sec-head { max-width: 760px; margin: 0 auto clamp(34px, 5vw, 56px); text-align: center; }
.sec-head.left { margin-left: 0; text-align: left; }
.sec-title { font-size: clamp(30px, 3.8vw, 46px); font-weight: 800; letter-spacing: -.025em; line-height: 1.08; text-wrap: balance; }
.sec-descr { margin-top: 14px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: var(--ink-2); }
.sec-descr a[href^="tel:"] { font-weight: 700; }

/* reveal on scroll (classes are added by site.js, so without JS everything is visible) */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }

/* ------------------------------------------------------------ article + service pages */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.prose { max-width: 760px; font-size: 18px; line-height: 1.7; color: #22372f; }
.prose h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; color: var(--ink); margin: 0 0 18px; text-wrap: balance; }
.prose h3 { position: relative; font-size: 21px; font-weight: 750; letter-spacing: -.01em; line-height: 1.3; color: var(--ink); margin: 34px 0 10px; padding-left: 18px; }
.prose h3::before { content: ''; position: absolute; left: 0; top: .2em; bottom: .2em; width: 5px; border-radius: 3px; background: linear-gradient(var(--mint), var(--green)); }
.prose p + p { margin-top: 12px; }
.prose ol, .prose ul { padding-left: 0; margin: 12px 0; list-style: none; counter-reset: li; display: grid; gap: 10px; }
.prose li { position: relative; padding-left: 38px; }
.prose ol > li::before {
  counter-increment: li; content: counter(li); position: absolute; left: 0; top: .15em;
  width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px;
  font-size: 13px; font-weight: 800; color: var(--green-deep); background: var(--mint-100);
}
.prose ul > li::before { content: ''; position: absolute; left: 9px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.prose > :first-child { margin-top: 0; }
.prose strong { color: var(--ink); }
@media (max-width: 640px) { .prose { font-size: 16.5px; line-height: 1.65; } .prose h3 { font-size: 19px; margin-top: 26px; } }

.svc-nav { position: sticky; top: calc(var(--hdr-h) + 20px); padding: 26px; border-radius: var(--r-lg); background: var(--forest); color: #fff; box-shadow: var(--shadow); }
.svc-nav-title { font-size: 20px; font-weight: 800; letter-spacing: -.015em; margin-bottom: 12px; }
.svc-nav ul { list-style: none; padding: 0; margin: 0 0 20px; }
.svc-nav li + li { border-top: 1px solid rgba(255, 255, 255, .1); }
.svc-nav li > a, .svc-nav li > span { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 2px; font-size: 15.5px; font-weight: 500; line-height: 1.35; color: #e2f6ee; }
.svc-nav li > a svg { flex: none; color: var(--mint); transition: transform .25s var(--ease); }
.svc-nav li > a:hover { color: var(--mint); }
.svc-nav li > a:hover svg { transform: translateX(4px); }
.svc-nav li > a[aria-current] { color: var(--mint); font-weight: 700; }
.svc-nav .btn { width: 100%; }
.links-plain { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.links-plain a, .links-plain span { display: inline-block; padding: 10px 16px; border-radius: 999px; background: var(--mint-50); box-shadow: inset 0 0 0 1px var(--line); font-weight: 550; }
@media (max-width: 1000px) {
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .svc-nav { position: static; }
}

/* ------------------------------------------------------------ service cards */
.cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-lg); background: var(--paper); box-shadow: 0 1px 0 var(--line), var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: 0 0 0 2px var(--mint), var(--shadow); }
.card-media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--mint-100); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-media::after { content: ''; position: absolute; inset: 55% 0 0; background: linear-gradient(to top, rgba(5, 38, 31, .55), transparent); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.card h3 { font-size: 23px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.card-text { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.card-btn { margin-top: auto; padding-top: 20px; }
.card-btn .btn { width: 100%; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cards { grid-template-columns: minmax(0, 1fr); gap: 16px; } .card h3 { font-size: 21px; } }

/* ------------------------------------------------------------ prices */
.prices-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.prices-aside { position: sticky; top: calc(var(--hdr-h) + 24px); }
.prices-aside .sec-head { margin-bottom: 26px; }
.prices-aside .btn { margin-top: 4px; }
.price-note { margin-top: 18px; display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.price-note svg { flex: none; color: var(--green); margin-top: 1px; }
.acc { display: grid; gap: 12px; }
.acc details { border-radius: var(--r); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .25s ease, background-color .25s ease; }
.acc details[open] { background: var(--paper); box-shadow: inset 0 0 0 2px var(--green), var(--shadow-sm); }
.acc summary { position: relative; display: block; padding: 20px 76px 20px 24px; cursor: pointer; list-style: none; border-radius: inherit; }
.acc summary::-webkit-details-marker { display: none; }
.acc h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 19px; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.acc-sep { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.acc-price { padding: 5px 12px; font-size: 16px; font-weight: 800; color: var(--green-deep); background: var(--mint-100); border-radius: 999px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.acc details[open] .acc-price { color: var(--forest); background: var(--mint); }
.acc-icon {
  position: absolute; top: 50%; right: 18px; width: 40px; height: 40px; margin-top: -20px;
  display: grid; place-items: center; border-radius: 50%; color: var(--green-deep); background: var(--mint-50);
  transition: background-color .2s ease, color .2s ease;
}
.acc-icon svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.acc details[open] .acc-icon { color: #fff; background: var(--green-deep); }
.acc details[open] .acc-icon svg { transform: rotate(45deg); }
@media (hover: hover) { .acc summary:hover .acc-icon { color: #fff; background: var(--green); } }
.acc-body { padding: 0 24px 22px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.acc-body ol, .acc-body ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.acc-body li::marker { color: var(--green); font-weight: 700; }
@media (max-width: 900px) {
  .prices-grid { grid-template-columns: minmax(0, 1fr); }
  .prices-aside { position: static; }
}
@media (max-width: 640px) {
  .acc summary { padding: 16px 62px 16px 18px; }
  .acc h3 { font-size: 17px; }
  .acc-price { font-size: 15px; }
  .acc-icon { right: 12px; width: 36px; height: 36px; margin-top: -18px; }
  .acc-body { padding: 0 18px 18px; font-size: 15px; }
}

/* ------------------------------------------------------------ advantages (dark) */
.sec-dark { color: #fff; background: var(--forest); overflow: hidden; }
.sec-dark::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 380px at 90% 0%, rgba(52, 224, 161, .16), transparent 70%),
    radial-gradient(520px 360px at 0% 100%, rgba(0, 179, 167, .14), transparent 70%);
}
.sec-dark .wrap { position: relative; }
.sec-dark .sec-descr { color: #bfe3d5; }
.features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature {
  padding: 28px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); transition: background-color .3s ease, transform .35s var(--ease), box-shadow .3s ease;
}
.feature:hover { background: rgba(255, 255, 255, .08); transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(52, 224, 161, .45); }
.feature-icon { width: 60px; height: 60px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 18px; color: var(--forest); background: var(--mint); }
.feature-icon svg { width: 34px; height: 34px; }
.feature h3 { font-size: 21px; font-weight: 750; letter-spacing: -.015em; line-height: 1.25; }
.feature p { margin-top: 10px; font-size: 15.5px; line-height: 1.6; color: #c5e6d9; }
.features-cta { margin-top: 44px; display: flex; justify-content: center; }
@media (max-width: 1000px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .features { grid-template-columns: minmax(0, 1fr); } .feature { padding: 22px; } .features-cta .btn { width: 100%; } }

/* ------------------------------------------------------------ gallery (bento) */
.gal { padding: clamp(56px, 7vw, 96px) 0; }
.gallery { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(140px, 17vw, 210px); grid-auto-flow: dense; gap: 12px; }
.gallery li { position: relative; overflow: hidden; border-radius: var(--r); background: var(--mint-100); }
.gallery li.big { grid-column: span 2; grid-row: span 2; }
.gallery li.wide { grid-column: span 2; }
.gallery picture, .gallery img { width: 100%; height: 100%; }
.gallery img { object-fit: cover; transition: transform .9s var(--ease), filter .5s ease; }
.gallery li:hover img { transform: scale(1.07); }
.gallery li::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(5, 38, 31, .08); pointer-events: none; }
@media (max-width: 800px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 42vw; gap: 8px; }
  .gallery li.big { grid-column: span 2; grid-row: span 1; }
  .gallery li:nth-child(n+9) { display: none; }
}

/* ------------------------------------------------------------ steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; position: relative; }
.step { position: relative; padding: 28px 26px 26px; border-radius: var(--r-lg); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.step-num {
  display: inline-grid; place-items: center; min-width: 58px; height: 58px; padding: 0 14px; margin-bottom: 20px;
  font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--forest); background: var(--mint); border-radius: 18px;
  font-variant-numeric: tabular-nums;
}
.step:not(:last-child)::after {
  content: ''; position: absolute; top: 57px; left: calc(100% - 26px); width: 76px; height: 2px; z-index: 1;
  background: repeating-linear-gradient(90deg, var(--green) 0 8px, transparent 8px 14px);
}
.step h3 { font-size: 21px; font-weight: 750; letter-spacing: -.015em; line-height: 1.25; }
.step-body { margin-top: 10px; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
@media (max-width: 900px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .step { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 18px; padding: 20px; }
  .step-num { grid-row: span 2; margin: 0; min-width: 50px; height: 50px; font-size: 19px; border-radius: 15px; }
  .step:not(:last-child)::after { top: auto; bottom: -15px; left: 44px; width: 2px; height: 16px; background: var(--green); }
}

/* ------------------------------------------------------------ map + contact card */
.sec-map { padding: 0 0 clamp(64px, 8vw, 110px); }
.map-wrap { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 20px; align-items: stretch; }
.map { position: relative; min-height: 460px; border-radius: var(--r-lg); overflow: hidden; background: var(--forest); color: #fff; }
.map iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
.map-ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center;
  background:
    radial-gradient(circle at 50% 44%, rgba(52, 224, 161, .35) 0 8px, transparent 9px),
    radial-gradient(420px 260px at 50% 44%, rgba(52, 224, 161, .12), transparent 70%),
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(255, 255, 255, .05) 46px 48px),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(255, 255, 255, .05) 46px 48px),
    var(--forest);
}
.map-pin { color: var(--mint); }
.map.is-loaded .map-ph { display: none; }
.map-card {
  order: -1; display: flex; flex-direction: column; justify-content: center;
  padding: 30px; border-radius: var(--r-lg); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
}
.mc-title { font-size: 14px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--green-deep); }
.mc-tel { display: block; margin-top: 8px; font-size: clamp(26px, 2.6vw, 32px); font-weight: 800; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.mc-tel:hover { color: var(--green-deep); }
.mc-note { display: flex; align-items: center; gap: 9px; margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.mc-btns { display: grid; gap: 10px; margin-top: 24px; }
.mc-btns .btn { width: 100%; }
@media (max-width: 900px) {
  .map-wrap { grid-template-columns: minmax(0, 1fr); }
  .map { min-height: 340px; }
  .map-card { order: 0; padding: 24px; }
}

/* ------------------------------------------------------------ footer */
.ftr { position: relative; color: #d6efe5; background: var(--forest); padding: 64px 0 28px; overflow: hidden; }
.ftr::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(700px 300px at 100% 0%, rgba(52, 224, 161, .12), transparent 70%); }
.ftr .wrap { position: relative; }
.ftr a { color: #fff; }
.ftr a:hover { color: var(--mint); }
.ftr-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.ftr h2 { margin-bottom: 16px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mint-soft); }
.ftr ul { list-style: none; padding: 0; margin: 0; }
.ftr-cities { display: flex; flex-wrap: wrap; gap: 8px; }
.ftr-cities a, .ftr-cities span { display: inline-block; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); font-size: 15px; }
.ftr-cities a[aria-current] { color: var(--forest); background: var(--mint); box-shadow: none; }
.ftr-services li + li { margin-top: 8px; }
.ftr-services { font-size: 15.5px; }
.ftr .logo { font-size: 24px; }
.ftr-tel { display: inline-block; margin-top: 20px; font-size: 26px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ftr-note { display: flex; align-items: center; gap: 9px; margin-top: 6px; font-size: 14.5px; color: #bfe3d5; }
.ftr-wa { display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; padding: 10px 18px; border-radius: 999px; font-size: 15px; font-weight: 650; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.ftr-wa svg { color: var(--mint); }
.ftr-wa:hover { color: var(--forest) !important; background: var(--mint); }
.ftr-wa:hover svg { color: var(--forest); }
.ftr-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; color: #a9d3c3; }
.ftr-top { display: inline-flex; align-items: center; gap: 6px; color: #a9d3c3 !important; }
.ftr-top:hover { color: var(--mint) !important; }
@media (max-width: 900px) { .ftr-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .ftr-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .ftr-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } .ftr { padding-bottom: 96px; } }

/* ------------------------------------------------------------ floating call button (phones) */
.fab { display: none; }
@media (max-width: 760px) {
  .fab {
    position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 60;
    display: flex; gap: 8px; padding: 6px; border-radius: 999px;
    background: rgba(5, 38, 31, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .6);
    transform: translate(-50%, 0); transition: transform .45s var(--ease), opacity .3s ease;
  }
  .fab.is-hidden { transform: translate(-50%, 140%); opacity: 0; pointer-events: none; }
  .fab a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; border-radius: 999px; font-weight: 700; font-size: 16px; }
  .fab-call { padding: 0 26px; color: var(--forest); background: var(--mint); }
  .fab-call:hover { color: var(--forest); }
  .fab-wa { width: 52px; color: #fff; background: rgba(255, 255, 255, .1); }
  .fab-wa:hover { color: #fff; }
}

/* ------------------------------------------------------------ 404 */
.nf { padding: calc(var(--hdr-h) + 80px) 0 90px; background: var(--mint-50); }
.nf h1 { font-size: clamp(34px, 5vw, 58px); font-weight: 800; letter-spacing: -.025em; line-height: 1.05; }
.nf p { max-width: 640px; margin-top: 16px; font-size: 19px; line-height: 1.55; color: var(--ink-2); }
.nf-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.nf-pages { margin-top: 56px; }
.nf-pages h2 { font-size: 22px; font-weight: 800; margin-bottom: 16px; }
.nf-pages ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px 24px; font-size: 15.5px; }
.nf-pages li { padding: 6px 0; border-bottom: 1px solid var(--line); }

/* ------------------------------------------------------------ callback dialog */
.cb {
  width: min(460px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 0; border-radius: var(--r-lg);
  color: var(--ink); background: var(--paper); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55);
}
.cb::backdrop { background: rgba(5, 38, 31, .7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.cb[open] { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.cb-in { position: relative; padding: 34px 30px 28px; }
.cb-in::before { content: ''; position: absolute; inset: 0 0 auto; height: 6px; border-radius: var(--r-lg) var(--r-lg) 0 0; background: linear-gradient(90deg, var(--green), var(--mint)); }
.cb h2 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; padding-right: 44px; }
.cb-service { display: inline-block; margin-top: 10px; padding: 5px 12px; font-size: 14px; font-weight: 650; color: var(--green-deep); background: var(--mint-100); border-radius: 999px; }
.cb-service:empty { display: none; }
.cb-intro { margin-top: 12px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.cb form { margin-top: 18px; }
.cb label { display: block; margin: 14px 0 6px; font-size: 15px; font-weight: 600; }
.cb label span { font-weight: 400; color: var(--ink-2); }
.cb input[type="tel"], .cb input[type="text"] {
  width: 100%; height: 54px; padding: 0 16px; font: 500 18px var(--font);
  color: var(--ink); background: var(--mint-50); border: 1.5px solid var(--line); border-radius: var(--r-sm);
  transition: border-color .2s ease, background-color .2s ease;
}
.cb input:focus { background: #fff; border-color: var(--green); }
.cb input:focus-visible { outline: 3px solid rgba(0, 153, 117, .35); outline-offset: 1px; }
.cb input[aria-invalid="true"] { border-color: #c62828; }
.cb .btn { width: 100%; margin-top: 22px; min-height: 58px; }
.cb .btn[disabled] { opacity: .6; cursor: progress; }
.cb-status { margin-top: 14px; font-size: 16px; line-height: 1.45; font-weight: 600; }
.cb-status:empty { display: none; }
.cb-status.is-ok { color: var(--green-deep); }
.cb-status.is-error { color: #b71c1c; }
.cb-status a { color: var(--ink); font-weight: 800; text-decoration: underline; white-space: nowrap; }
.cb-consent { margin-top: 14px; font-size: 12.5px; line-height: 1.45; color: var(--ink-2); }
.cb-close {
  position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; padding: 0;
  display: grid; place-items: center; color: var(--ink); background: var(--mint-50); border: 0; border-radius: 50%; cursor: pointer;
}
.cb-close:hover { background: var(--mint-100); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 480px) { .cb-in { padding: 30px 20px 22px; } .cb h2 { font-size: 24px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .rv { opacity: 1; transform: none; }
}
@media print { .rv { opacity: 1 !important; transform: none !important; } .hdr, .fab { position: static; } }
