/* Сайт услуг (05.11, по файлу автора «1НОВЫЙ ВАРИАНТ»): светлые и тёмные блоки чередуются, изумруд и золото */
@font-face { font-family: "Montserrat"; font-weight: 100 900; font-display: swap; src: url("/fonts/montserrat-cyrillic-wght-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Montserrat"; font-weight: 100 900; font-display: swap; src: url("/fonts/montserrat-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/playfair-cyrillic-500-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/playfair-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 500; font-display: swap; src: url("/fonts/playfair-cyrillic-500-italic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 500; font-display: swap; src: url("/fonts/playfair-latin-500-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }

:root {
  --em: #0f3126; --em-d: #0b241b; --graph: #161f1b; --graph-2: #1e2a25;
  --cream: #faf6ec; --paper: #fffdf8; --mint: #eaf1e8;
  --ink: #1b2a23; --muted: #55645c; --line: #e2dbc8;
  --gold: #f0c584; --gold-l: #fae2aa; --gold-d: #9a6f2c; --gold-m: #cc9654;
  --on-dark: #f3eddc; --on-dark-2: #c6cfc6;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; background: var(--cream); }
body { margin: 0; color: var(--ink); background: var(--cream); font: 400 16px/1.65 "Montserrat", -apple-system, "Segoe UI", sans-serif; overflow-x: clip; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold-m); outline-offset: 3px; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.sec { padding: 58px 0; }
.sec-light { background: var(--cream); }
.sec-paper { background: var(--paper); }
.sec-mint { background: var(--mint); }
.sec-em { background: radial-gradient(90% 70% at 85% 10%, #1d5240 0%, transparent 65%), var(--em-d); color: var(--on-dark); }
.sec-graph { background: linear-gradient(180deg, var(--graph-2), var(--graph)); color: var(--on-dark); }

.kick { display: block; margin-bottom: 10px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-d); }
.sec-em .kick, .sec-graph .kick { color: var(--gold); }
h1, h2 { font-family: var(--serif); font-weight: 500; line-height: 1.14; letter-spacing: -0.005em; }
h2 { font-size: clamp(30px, 4.4vw, 46px); }
h3 { font-size: 19px; font-weight: 600; line-height: 1.35; }
em.g, .g { font-style: italic; color: var(--gold); font-family: var(--serif); font-weight: 500; }
.sec-light .g, .sec-paper .g, .sec-mint .g { color: var(--gold-d); }
.lede { color: var(--muted); }
.sec-em .lede, .sec-graph .lede { color: var(--on-dark-2); }
.head2 { display: grid; gap: 14px; margin-bottom: 34px; }
@media (min-width: 900px) { .head2 { grid-template-columns: 1.25fr 1fr; align-items: end; gap: 60px; margin-bottom: 44px; } .sec { padding: 92px 0; } }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 13px 26px; border: 1px solid transparent; border-radius: 999px; font-size: 15.5px; font-weight: 600; line-height: 1.3; text-align: center; text-decoration: none; background: none; transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, box-shadow 0.25s; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(0.98); }
.btn-gold { color: #14281f; background: linear-gradient(135deg, var(--gold-l), var(--gold) 55%, var(--gold-m)); box-shadow: 0 12px 26px -14px rgba(180, 130, 60, 0.85); }
.btn-gold:hover { transform: translateY(-2px); }
.btn-line { color: var(--on-dark); border-color: rgba(240, 197, 132, 0.6); }
.btn-line:hover { background: rgba(240, 197, 132, 0.12); }
.link { color: var(--gold-d); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.sec-em .link, .sec-graph .link { color: var(--gold); }

/* появление */
.js .rv { opacity: 0; transform: translateY(16px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .js .rv { opacity: 1; transform: none; transition: none; } .hero-anim, .hero-win { animation: none !important; } }

/* шапка */
.top { position: sticky; top: 0; z-index: 50; background: rgba(250, 246, 236, 0.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.mono { flex: 0 0 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--em); color: var(--gold); font: 500 14px/1 var(--serif); letter-spacing: 0.04em; }
.brand b { display: block; font: 500 17px/1.15 var(--serif); }
.brand small { display: block; font-size: 11.5px; line-height: 1.25; color: var(--muted); }
.nav { display: none; align-items: center; gap: 26px; font-size: 14.5px; font-weight: 500; }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--gold-d); }
.nav .nav-cta { padding-bottom: 2px; border-bottom: 1px solid var(--gold-m); font-weight: 600; }
.burger { flex: 0 0 auto; height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 0 0 4px; border: 0; background: none; }
.burger-w { font-size: 12.5px; font-weight: 600; color: var(--em); }
.burger-l { width: 26px; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.burger i { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--em); transition: transform 0.25s, opacity 0.25s; }
/* полоски загораются золотом по очереди: редко и только пока меню ни разу не нажимали */
@keyframes burger-flash { 0%, 100% { background: var(--em); transform: scaleX(1); } 45% { background: var(--gold-m); transform: scaleX(1.22); } }
.burger.blink i { animation: burger-flash 0.6s ease-in-out both; }
.burger.blink i:nth-child(2) { animation-delay: 0.2s; }
.burger.blink i:nth-child(3) { animation-delay: 0.4s; }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mnav { display: none; border-top: 1px solid var(--line); background: var(--cream); }
.mnav.on { display: block; }
.mnav a { display: block; padding: 14px 20px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .nav { display: flex; } .burger, .mnav, .mnav.on { display: none; } }

/* первый экран */
.hero { padding: 46px 0 56px; overflow: hidden; }
.hero-grid { display: grid; gap: 44px; }
.hero-sup { margin-bottom: 14px; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.hero h1 { font-size: clamp(36px, 6.2vw, 66px); }
.hero h1 .g { display: block; }
.hero-txt { margin: 20px 0 26px; max-width: 540px; font-size: 17px; color: var(--on-dark-2); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 20px; font-size: 14px; color: var(--on-dark-2); }
.hero-anim > * { animation: up 0.8s var(--ease) both; }
.hero-anim > *:nth-child(2) { animation-delay: 0.12s; } .hero-anim > *:nth-child(3) { animation-delay: 0.24s; } .hero-anim > *:nth-child(4) { animation-delay: 0.36s; } .hero-anim > *:nth-child(5) { animation-delay: 0.48s; }
@keyframes up { from { opacity: 0; transform: translateY(14px); } }
.hero-vis { position: relative; perspective: 1400px; padding-bottom: 34px; }
.hero-win { max-width: 480px; margin: 0 auto; border-radius: 16px; overflow: hidden; background: var(--paper); color: var(--ink); box-shadow: 0 40px 70px -32px rgba(0, 0, 0, 0.9); transform: rotateY(-7deg) rotateX(3deg); animation: win 1s 0.3s var(--ease) both; }
@keyframes win { from { opacity: 0; transform: rotateY(-16deg) rotateX(6deg) translateY(24px); } }
.win-bar { display: flex; gap: 6px; padding: 12px 14px; background: #efe9d9; }
.win-bar i { width: 9px; height: 9px; border-radius: 50%; background: #cfc5ab; }
.win-body { padding: 22px 22px 26px; }
.win-title { font: 500 25px/1.18 var(--serif); margin-bottom: 16px; }
.win-row { display: flex; align-items: center; gap: 11px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.win-row b { flex: 0 0 20px; height: 20px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1.5px solid var(--gold-m); font-size: 11px; color: var(--gold-d); }
.win-row.ok b { background: var(--em); border-color: var(--em); color: var(--gold); }
.win-row span { flex: 1; }
.win-row small { color: var(--muted); font-size: 12px; }
.plaque { position: absolute; right: 4%; bottom: 0; padding: 11px 18px; border-radius: 12px; background: linear-gradient(135deg, #fbecc8, #f3d8a3); color: #2a2415; font-size: 13.5px; line-height: 1.3; box-shadow: 0 18px 30px -18px rgba(0, 0, 0, 0.8); }
.plaque b { display: block; font-weight: 700; }
@media (min-width: 900px) { .hero { padding: 80px 0 90px; } .hero-grid { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 56px; } }

/* подход */
.points { background: var(--paper); border-bottom: 1px solid var(--line); }
.points ol { display: grid; gap: 18px; padding: 30px 0; }
.points li { display: flex; gap: 14px; align-items: baseline; font-weight: 500; }
.points b { font: 500 20px/1 var(--serif); color: var(--gold-d); }
@media (min-width: 900px) { .points ol { grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 36px 0; } }

/* карточки услуг */
.cards { display: grid; gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; min-height: 268px; padding: 26px 24px 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); text-decoration: none; transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease); }
.card:hover { background: #f6f1e0; border-color: var(--gold-m); transform: translateY(-2px); }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.ico { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--mint); color: var(--gold-d); }
.ico svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.num { font: 500 18px/1 var(--serif); color: var(--gold-d); }
.card h3 { font: 500 24px/1.2 var(--serif); margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }
.card-bot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; font-size: 13.5px; font-weight: 600; }
.arrow { flex: 0 0 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--gold-m); color: var(--gold-d); font-size: 17px; transition: background 0.25s, color 0.25s; }
.card:hover .arrow { background: var(--em); color: var(--gold); border-color: var(--em); }
@media (min-width: 760px) { .cards { grid-template-columns: 1fr 1fr; gap: 20px; } }

/* подбор */
.two { display: grid; gap: 28px; }
@media (min-width: 900px) { .two { grid-template-columns: 1fr 1.15fr; gap: 70px; align-items: center; } }
.small { margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.quiz { padding: 24px 20px; border-radius: 18px; background: var(--paper); box-shadow: 0 28px 50px -38px rgba(20, 50, 40, 0.6); }
.q-n { font-size: 13px; font-weight: 600; color: var(--muted); }
.q-bar { height: 3px; margin: 8px 0 20px; border-radius: 3px; background: var(--line); overflow: hidden; }
.q-bar i { display: block; height: 100%; width: 50%; background: linear-gradient(90deg, var(--gold-m), var(--gold)); transition: width 0.4s var(--ease); }
.q-t { margin-bottom: 14px; font: 500 24px/1.2 var(--serif); }
.q-a { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--cream); font-weight: 500; font-size: 15px; line-height: 1.35; text-align: left; transition: border-color 0.2s, background 0.2s; }
.q-a:hover { border-color: var(--gold-m); background: #f6f1e0; }
.q-back, .q-again { margin-top: 6px; padding: 8px 0; border: 0; background: none; font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.q-res p { margin: 10px 0 18px; color: var(--muted); }
.q-res .btn { width: 100%; }
.q-links { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; }
.step-in { animation: up 0.45s var(--ease) both; }

/* обо мне */
.about { display: grid; gap: 36px; }
.about > *, .two > *, .who > *, .form-grid > *, .faq-grid > *, .s-grid > *, .hero-grid > * { min-width: 0; }
.ph { position: relative; max-width: 420px; margin: 0 auto 18px; width: calc(100% - 18px); }
.ph::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--gold-m); border-radius: 16px; }
.ph-in { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 16px; background: var(--em); }
.ph-in img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; transform: scale(1.14); }
.ph-tag { position: absolute; right: -8px; bottom: 26px; padding: 10px 16px; border-radius: 10px; background: var(--paper); box-shadow: 0 16px 28px -16px rgba(0, 0, 0, 0.6); font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.ph-tag b { display: block; font: 500 17px/1.2 var(--serif); color: var(--ink); }
.about h2 { margin-bottom: 18px; }
.big { font-size: 19px; line-height: 1.5; font-weight: 500; margin-bottom: 14px; }
.about p + p { margin-top: 12px; }
.accents { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; }
.accents div { padding: 13px 14px; border-left: 2px solid var(--gold-m); background: var(--mint); font-size: 14px; font-weight: 600; line-height: 1.35; }
.certs-h { margin: 26px 0 12px; font-size: 14px; font-weight: 600; color: var(--muted); }
.certs { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 20px; scrollbar-width: none; margin: 0 -20px 22px; padding: 2px 20px 6px; }
.certs::-webkit-scrollbar { display: none; }
.certs button { flex: 0 0 auto; width: 118px; height: 84px; padding: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; scroll-snap-align: start; }
.certs img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
@media (min-width: 900px) { .about { grid-template-columns: 0.85fr 1.15fr; gap: 80px; align-items: start; } .certs { margin: 0 0 22px; padding: 2px 0 6px; } }
.lb { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; padding: 18px; background: rgba(5, 16, 12, 0.92); }
.lb.on { display: flex; }
.lb img { max-width: 100%; max-height: 100%; border-radius: 6px; }
.lb button { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 19px; }

/* проекты */
.projs { display: grid; gap: 22px; }
.proj { display: flex; flex-direction: column; border: 1px solid rgba(240, 197, 132, 0.25); border-radius: 18px; overflow: hidden; background: rgba(255, 255, 255, 0.03); }
.proj-pic { display: flex; justify-content: center; height: 290px; padding: 24px 20px 0; overflow: hidden; background: linear-gradient(160deg, #f7f0dd, #e8eee2); }
.proj-pic .phone { width: 200px; height: 400px; padding: 7px; border-radius: 26px; background: #0d1a15; box-shadow: 0 26px 40px -22px rgba(0, 0, 0, 0.75); }
.proj-pic img { width: 100%; height: 100%; border-radius: 20px; object-fit: cover; object-position: top; }
.proj-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.proj-kind { font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; color: var(--gold); }
.proj h3 { margin: 6px 0 10px; font: 500 26px/1.2 var(--serif); }
.proj p { color: var(--on-dark-2); font-size: 15px; }
.proj dl { margin: 16px 0 20px; font-size: 14.5px; }
.proj dt { font-weight: 600; color: var(--gold-l); }
.proj dd { margin: 0 0 10px; color: var(--on-dark-2); }
.proj .btn { margin-top: auto; align-self: flex-start; }
.sub-h { margin: 48px 0 20px; font: 500 28px/1.2 var(--serif); }
@media (min-width: 760px) { .projs { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (min-width: 1040px) { .projs-3 { grid-template-columns: repeat(3, 1fr); } }

/* шаги */
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 18px; }
.steps li { padding-top: 14px; border-top: 1px solid var(--gold-m); }
.steps .k { display: block; font-size: 12.5px; font-weight: 600; color: var(--gold-d); margin-bottom: 8px; }
.steps h3 { font: 500 20px/1.2 var(--serif); margin-bottom: 6px; }
.steps p { font-size: 14px; color: var(--muted); line-height: 1.55; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 30px; } .steps h3 { font-size: 24px; } .steps p { font-size: 15px; } }

/* вопросы */
.faq-sec { border-top: 1px solid var(--line); }
.faq-grid { display: grid; gap: 26px; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 70px; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; list-style: none; cursor: pointer; font-weight: 600; font-size: 16.5px; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
/* стрелка в золотом кружке: у открытого вопроса смотрит вверх */
.pm { flex: 0 0 32px; height: 32px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--gold-m); border-radius: 50%; transition: background 0.25s; }
.pm::before { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--gold-d); border-bottom: 2px solid var(--gold-d); transform: translateY(-2px) rotate(45deg); transition: transform 0.25s, border-color 0.25s; }
details[open] > summary .pm { background: var(--em); border-color: var(--em); }
details[open] > summary .pm::before { border-color: var(--gold); transform: translateY(2px) rotate(-135deg); }
@keyframes pm-flash { 0%, 100% { background: transparent; transform: scale(1); } 45% { background: var(--gold); transform: scale(1.16); } }
.pm.flash { animation: pm-flash 0.65s ease-in-out backwards; }
@media (prefers-reduced-motion: reduce) { .pm.flash, .burger.blink i { animation: none; } }
.faq details p { padding: 0 0 18px; color: var(--muted); }

/* обращение */
.form-grid { display: grid; gap: 30px; }
@media (min-width: 900px) { .form-grid { grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: start; } }
.form-note { margin-top: 18px; font-size: 14px; color: var(--on-dark-2); }
.form { padding: 24px 20px; border: 1px solid rgba(240, 197, 132, 0.3); border-radius: 18px; background: rgba(255, 255, 255, 0.04); }
.form label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--gold-l); }
.form select, .form textarea { display: block; width: 100%; margin-bottom: 18px; padding: 13px 14px; border: 1px solid rgba(240, 197, 132, 0.45); border-radius: 10px; background: #fffdf8; color: var(--ink); font-size: 16px; }
.form textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.form textarea.err { border-color: #e98b6e; box-shadow: 0 0 0 2px rgba(233, 139, 110, 0.35); }
.form .btn { width: 100%; }
.form-exp { margin-top: 12px; font-size: 13px; line-height: 1.5; color: var(--on-dark-2); }
.ready { margin-top: 20px; padding: 18px; border-radius: 12px; background: var(--paper); color: var(--ink); }
.ready[hidden] { display: none; }
.ready b { display: block; margin-bottom: 8px; font: 500 21px/1.2 var(--serif); }
.ready pre { margin: 0 0 14px; padding: 12px; border-radius: 8px; background: var(--cream); font: 400 14.5px/1.5 "Montserrat", sans-serif; white-space: pre-wrap; overflow-wrap: anywhere; }
.ready .btn-sec { width: 100%; margin-top: 10px; color: var(--ink); border-color: var(--gold-m); }
.copied { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--gold-d); }
.copied[hidden] { display: none; }

/* подвал */
.foot { padding: 40px 0 28px; background: var(--graph); color: var(--on-dark-2); font-size: 14px; }
.foot-top { display: grid; gap: 14px; padding-bottom: 22px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.foot-name { font: 500 22px/1.2 var(--serif); color: var(--on-dark); text-decoration: none; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot a { color: inherit; }
.foot nav a { color: var(--on-dark); text-decoration: none; }
.foot-free { margin-top: 18px; }
.foot-free a { color: var(--gold); }
.foot-contacts { margin-top: 12px; }
.foot-legal { margin-top: 18px; font-size: 13px; line-height: 1.6; }
.foot-bot { display: grid; gap: 4px; margin-top: 16px; font-size: 13px; }
@media (min-width: 900px) { .foot-top { grid-template-columns: 1fr auto; align-items: center; } .foot-bot { grid-template-columns: 1fr auto; } }

/* страница услуги */
.crumbs { margin-bottom: 26px; font-size: 13.5px; color: var(--on-dark-2); }
.crumbs a { color: var(--gold-l); text-decoration: none; }
.crumbs span { margin: 0 6px; opacity: 0.6; }
.s-hero { padding: 34px 0 60px; }
.s-grid { display: grid; gap: 30px; }
.s-num { font: 500 20px/1 var(--serif); color: var(--gold); margin-bottom: 12px; }
.s-hero h1 { font-size: clamp(34px, 5.4vw, 58px); }
.s-phrase { margin: 16px 0 14px; font: italic 500 21px/1.35 var(--serif); color: var(--gold); }
.s-text { margin-bottom: 24px; color: var(--on-dark-2); max-width: 600px; }
.for-you { padding: 24px; border: 1px solid rgba(240, 197, 132, 0.35); border-radius: 18px; background: rgba(255, 255, 255, 0.04); }
.for-you .ico { margin-bottom: 16px; background: rgba(240, 197, 132, 0.12); color: var(--gold); }
.for-you span { display: block; margin-bottom: 6px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.for-you b { display: block; font: 500 25px/1.25 var(--serif); }
@media (min-width: 900px) { .s-hero { padding: 44px 0 90px; } .s-grid { grid-template-columns: 1.5fr 1fr; gap: 70px; align-items: center; } }
.who { display: grid; gap: 28px; }
.who h2 { margin-bottom: 14px; }
@media (min-width: 900px) { .who { grid-template-columns: 1fr 1.2fr; gap: 70px; } }
.res li { display: flex; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.res li:first-child { border-top: 1px solid var(--line); }
.res b { font: 500 19px/1 var(--serif); color: var(--gold-d); }
.format h2 { margin-bottom: 18px; }
.order { display: grid; gap: 10px; margin: 18px 0; counter-reset: o; }
.order li { display: flex; gap: 12px; align-items: baseline; counter-increment: o; }
.order li::before { content: counter(o) "."; flex: 0 0 20px; font-weight: 700; color: var(--gold-d); }
.note-strong { margin-top: 14px; font-weight: 600; }
.price { display: inline-block; margin: 14px 0 4px; padding: 10px 18px; border: 1px solid var(--gold-m); border-radius: 10px; font-size: 16px; }
.price b { font: 500 25px/1 var(--serif); color: var(--gold-d); margin-left: 6px; }
.gets li { display: flex; gap: 10px; padding: 5px 0; }
.gets li::before { content: "→"; color: var(--gold-d); font-weight: 700; }
.plash { margin-top: 34px; padding: 24px 22px; border-radius: 16px; background: var(--mint); }
.plash h3 { margin-bottom: 8px; font: 500 24px/1.2 var(--serif); }
.plash p + p { margin-top: 8px; }
.more { margin-top: 12px; border-top: 1px solid var(--line); }
.more details { border-bottom: 1px solid var(--line); }
.more summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 0; list-style: none; cursor: pointer; font-weight: 600; }
.more summary::-webkit-details-marker { display: none; }
.more .in { padding: 0 0 18px; color: var(--muted); font-size: 15px; }
.more h4 { margin: 14px 0 4px; font-size: 15px; font-weight: 600; color: var(--ink); }
.more h4:first-child { margin-top: 0; }
.more .in ul { margin: 4px 0 8px; }
.more .in li { padding: 2px 0 2px 14px; position: relative; }
.more .in li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-m); }
.ex-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; }

/* отзывы: колода */
.deck { position: relative; max-width: 560px; margin: 0 auto; touch-action: pan-y; }
.rc { position: absolute; left: 0; right: 0; top: 0; padding: 22px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); box-shadow: 0 18px 34px -28px rgba(20, 50, 40, 0.7); transition: transform 0.35s var(--ease), opacity 0.3s; user-select: none; -webkit-user-select: none; }
.rc.drag { transition: none; }
.rc .who-r { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.rc .av { flex: 0 0 42px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--em); color: var(--gold); font: 500 18px/1 var(--serif); }
.rc .nm b { display: block; line-height: 1.25; }
.rc .ctx { font-size: 13px; color: var(--muted); }
.rc p { font-size: 15px; line-height: 1.6; }
.rc p b { font-weight: 600; }
.deck-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 16px; }
.deck-nav button { width: 44px; height: 44px; border: 1px solid var(--gold-m); border-radius: 50%; background: none; font-size: 21px; line-height: 1; color: var(--gold-d); }
.deck-nav span { min-width: 54px; text-align: center; font-size: 14px; color: var(--muted); }

/* кейсы */
.cases { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -20px; padding: 4px 20px 10px; }
.cases::-webkit-scrollbar { display: none; }
.case { flex: 0 0 min(86%, 370px); padding: 22px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); scroll-snap-align: center; font-size: 14.5px; line-height: 1.5; }
.case-top { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.case-top img { flex: 0 0 62px; width: 62px; height: 62px; border-radius: 50%; object-fit: cover; }
.case-top b { display: block; font: 500 19px/1.2 var(--serif); }
.case-top small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.case h4 { margin: 12px 0 4px; font-size: 13px; font-weight: 700; color: var(--gold-d); }
.case li { padding: 2px 0; }
.case em { font-style: normal; font-weight: 700; color: var(--gold-d); }
.hint { margin-top: 8px; font-size: 13px; color: var(--muted); text-align: center; }
@media (min-width: 1100px) { .cases { margin: 0; padding: 4px 0 10px; } }

/* ещё могу помочь */
.others-h { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 30px; margin-bottom: 22px; }
.others { display: grid; gap: 12px; }
.others a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); font: 500 19px/1.25 var(--serif); text-decoration: none; transition: border-color 0.25s, background 0.25s; }
.others a:hover { border-color: var(--gold-m); background: #f6f1e0; }
.others span { color: var(--gold-d); font-family: "Montserrat", sans-serif; }
@media (min-width: 760px) { .others { grid-template-columns: repeat(3, 1fr); gap: 16px; } }

/* список услуг в форме: своя надпись поверх настоящего списка, длинное название переносится */
.sel-wrap { position: relative; margin-bottom: 18px; }
.sel-lab { display: block; min-height: 50px; padding: 13px 40px 13px 14px; border: 1px solid rgba(240, 197, 132, 0.45); border-radius: 10px; background: #fffdf8; color: var(--ink); font-size: 16px; line-height: 1.4; }
.sel-wrap::after { content: ""; position: absolute; right: 16px; top: 22px; width: 9px; height: 9px; border-right: 2px solid var(--gold-d); border-bottom: 2px solid var(--gold-d); transform: rotate(45deg) translateY(-3px); pointer-events: none; }
.form .sel-wrap select { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.form .sel-wrap select:focus-visible + * { outline: none; }
.sel-wrap:focus-within .sel-lab { border-color: var(--gold-m); box-shadow: 0 0 0 2px rgba(204, 150, 84, 0.45); }

/* сайт услуг, телефон: в «Знакомимся» фото как аватарка, на компьютере - большое */
@media (max-width: 899px) {
  .ph { display: flex; align-items: center; gap: 14px; width: 100%; max-width: none; margin: 0 0 4px; }
  .ph::before { content: none; }
  .ph-in { flex: 0 0 92px; width: 92px; aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--gold-m); }
  .ph-in img { object-position: 50% 12%; transform: scale(1.2); }
  .ph-tag { position: static; padding: 0; background: none; box-shadow: none; }
}
/* основной сайт: коротко о человеке и вкладки */
.g-text { background: linear-gradient(180deg, #fbe7b4 0%, #f3cd8a 45%, #cf9a56 78%, #f0d397 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.m-hero { padding: 26px 0 28px; }
.m-grid { display: grid; gap: 24px; align-items: center; }
.m-grid > * { min-width: 0; }
.m-head { display: flex; align-items: center; gap: 14px; }
.m-ava { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--gold); object-fit: cover; object-position: 50% 8%; }
.m-hero h1 { font-size: clamp(23px, 6vw, 46px); line-height: 1.2; }
.m-lead { margin: 14px 0 8px; max-width: 560px; font-size: 16px; color: var(--on-dark-2); }
.m-quote { font: italic 500 18px/1.35 var(--serif); }
.m-photo { display: none; }
@media (min-width: 900px) {
  .m-hero { padding: 64px 0 70px; }
  .m-grid { grid-template-columns: 1.4fr 1fr; gap: 60px; }
  .m-ava { display: none; }
  .m-lead { font-size: 17px; margin-top: 18px; }
  .m-quote { font-size: 22px; }
  .m-photo { display: block; width: 100%; max-width: 340px; margin: 0 auto; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 16px; border: 1px solid rgba(240, 197, 132, 0.6); box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.95), 0 0 50px -16px rgba(240, 197, 132, 0.35); }
  .m-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; transform: scale(1.14); }
}
.m-tabs-sec { padding: 20px 0 56px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tab { min-height: 44px; padding: 9px 16px; border: 1px solid var(--gold-m); border-radius: 999px; background: var(--paper); font-size: 14.5px; font-weight: 600; color: var(--ink); transition: background 0.2s, color 0.2s; }
.tab[aria-selected="true"] { background: linear-gradient(135deg, var(--gold-l), var(--gold) 55%, var(--gold-m)); border-color: var(--gold-m); color: #14281f; box-shadow: 0 8px 18px -10px rgba(180, 130, 60, 0.9); }
/* вкладки загораются по очереди: при открытии и ещё раз, если ни на что не нажали */
@keyframes tab-flash { 0%, 100% { background-color: var(--paper); box-shadow: none; transform: scale(1); } 45% { background-color: var(--gold); box-shadow: 0 0 16px rgba(240, 197, 132, 0.9); transform: scale(1.06); } }
.tab.flash { animation: tab-flash 0.6s ease-in-out backwards; }
.tabp[hidden] { display: none; }
.tabp { animation: up 0.45s var(--ease) both; }
.tabp h2 { margin-bottom: 12px; }
.tabp .lede { margin-bottom: 20px; max-width: 720px; }
.tabp-more { margin-top: 22px; }
.about-m { max-width: 760px; }
.about-m p + p { margin-top: 12px; }
/* плитки: тёмные с золотом на светлом фоне */
.tiles { display: grid; gap: 14px; }
.tile { display: flex; align-items: center; gap: 14px; padding: 18px 16px; border: 1px solid rgba(240, 197, 132, 0.75); border-radius: 16px; background: radial-gradient(90% 90% at 85% 10%, #1d5240 0%, transparent 70%), var(--em-d); color: var(--on-dark); text-decoration: none; box-shadow: 0 18px 30px -22px rgba(0, 0, 0, 0.9), 0 0 26px -14px rgba(240, 197, 132, 0.45); transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.tile:hover { transform: translateY(-2px); box-shadow: 0 20px 34px -22px rgba(0, 0, 0, 0.9), 0 0 34px -10px rgba(240, 197, 132, 0.7); }
.tile-ico { flex: 0 0 46px; height: 46px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(240, 197, 132, 0.75); border-radius: 50%; color: var(--gold); }
.tile-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tile-t { flex: 1; min-width: 0; font-size: 14.5px; line-height: 1.45; color: var(--on-dark-2); }
.tile-t b { display: block; margin-bottom: 4px; font: 500 20px/1.2 var(--serif); }
.tile-t em { display: block; margin-top: 6px; font-style: normal; font-weight: 700; color: var(--gold-l); }
.tile-go { flex: 0 0 auto; font-size: 26px; line-height: 1; color: var(--gold); }
@media (min-width: 760px) { .tiles { grid-template-columns: 1fr 1fr; gap: 18px; } }
/* золотая кнопка: блик пробегает раз в несколько секунд */
.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.65), transparent); animation: shine 5s ease-in-out 1.5s infinite; pointer-events: none; }
@keyframes shine { 0% { left: -60%; } 18%, 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .tab.flash { animation: none; } .btn-shine::after { animation: none; display: none; } }
.docs { max-width: 680px; border-top: 1px solid var(--line); }
.docs a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 600; text-decoration: none; }
.docs a span { color: var(--gold-d); }
.req { margin-top: 26px; max-width: 680px; padding: 20px; border-radius: 14px; background: var(--mint); font-size: 15px; }
.req b { display: block; margin-bottom: 6px; font: 500 20px/1.25 var(--serif); }
.req a { color: inherit; }
.m-write { text-align: center; }
.m-write h2 { margin-bottom: 18px; }

/* 13.11: раздел «Примеры работ» - светлый, каждая работа отдельной карточкой, понятная метка */
.proj-light .proj { background: var(--paper); border-color: var(--line); box-shadow: 0 24px 44px -30px rgba(20, 50, 40, 0.55); }
.proj-light .proj-pic { background: linear-gradient(160deg, #1d5240, var(--em-d)); }
.proj-light .proj-kind { align-self: flex-start; padding: 7px 13px; border-radius: 999px; background: var(--mint); color: var(--em); font-size: 14px; letter-spacing: 0; }
.proj-light .proj h3 { margin-top: 12px; color: var(--ink); }
.proj-light .proj p, .proj-light .proj dd { color: var(--muted); }
.proj-light .proj dt { color: var(--gold-d); }
.proj-light .btn-line { color: var(--ink); border-color: var(--gold-m); }
.proj-light .btn-line:hover { background: #f6f1e0; }
.proj-note { margin: -6px 0 26px; padding: 14px 16px; border-left: 3px solid var(--gold-m); border-radius: 0 12px 12px 0; background: var(--paper); font-size: 15.5px; font-weight: 500; }
.proj-split { margin: 56px 0 22px; padding-top: 34px; border-top: 1px solid var(--gold-m); }
.proj-split .sub-h { margin: 0; }
/* 13.11: переключатель «Мои проекты / Для клиентов» (вид как вкладки главной) */
.ptabs { display: none; gap: 8px; flex-wrap: wrap; margin: 4px 0 26px; }
.js .ptabs { display: flex; }
.ptab { min-height: 48px; padding: 10px 20px; border: 1px solid var(--gold-m); border-radius: 999px; background: var(--paper); font: 600 15.5px/1.2 "Montserrat", -apple-system, "Segoe UI", sans-serif; color: var(--ink); cursor: pointer; transition: background 0.2s, color 0.2s; }
.ptab[aria-selected="true"] { background: linear-gradient(135deg, var(--gold-l), var(--gold) 55%, var(--gold-m)); color: #14281f; box-shadow: 0 8px 18px -10px rgba(180, 130, 60, 0.9); }
.ptab.flash { animation: tab-flash 0.6s ease-in-out 2 backwards; }
.pg-h { margin: 0 0 6px; font: 500 28px/1.2 var(--serif); color: var(--ink); }
.pg-lede { margin-bottom: 22px; }
.pgrp + .pgrp { margin-top: 48px; }
.js .pgrp + .pgrp { margin-top: 0; }
.pg-next { display: none; margin: 30px 0 0; text-align: center; }
.js .pg-next { display: block; }
.proj-light .head2 .proj-note { margin: 0; }
@media (prefers-reduced-motion: reduce) { .ptab.flash { animation: none; } }
.ptabs { scroll-margin-top: 18px; }
