
:root {
  --ink: #171717;
  --muted: #686868;
  --line: #dddddd;
  --paper: #fafafa;
  --white: #ffffff;
  --accent: #e8e8e8;
  --dark: #171717;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
button, input, textarea { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { text-wrap: pretty; }
::selection { color: #fff; background: var(--ink); }

.section { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.block { padding-block: 126px; }
.site-header { position: relative; z-index: 20; width: min(1240px, calc(100% - 48px)); height: 92px; margin: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.brand { display: flex; align-items: center; gap: 12px; justify-self: start; }
.brand-mark { width: 43px; height: 43px; border-radius: 3px; display: grid; place-items: center; background: var(--ink); color: #fff; font: 750 13px/1 Arial, sans-serif; letter-spacing: -.04em; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 13px; letter-spacing: -.02em; }
.brand small { margin-top: 3px; color: var(--muted); font-size: 11px; }
nav { display: flex; gap: 34px; font-size: 13px; }
nav a { position: relative; }
nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: var(--ink); transition: right .25s; }
nav a:hover::after { right: 0; }
.button { min-height: 50px; padding: 0 24px; border: 0; border-radius: 5px; display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; font-size: 13px; font-weight: 750; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-dark { color: #fff; background: var(--ink); box-shadow: 0 8px 24px rgb(23 23 23 / 12%); }
.button-dark:hover { box-shadow: 0 12px 30px rgb(23 23 23 / 22%); }
.button-light { background: #ececec; }
.button-light:hover { background: #dedede; }
.button-acid { min-height: 58px; background: #fff; color: var(--ink); }
.header-cta { min-height: 46px; padding-inline: 22px; justify-self: end; }
.menu-button { display: none; }

.hero { min-height: 730px; padding-block: 66px 76px; display: grid; grid-template-columns: .94fr 1.06fr; align-items: center; gap: 68px; }
.eyebrow { margin: 0 0 22px; display: flex; align-items: center; gap: 9px; text-transform: uppercase; letter-spacing: .14em; font-size: 11px; font-weight: 800; }
.eyebrow > span { width: 18px; height: 1px; background: currentColor; }
h1 { max-width: 650px; margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(48px, 4.45vw, 70px); font-weight: 600; line-height: 1; letter-spacing: -.048em; }
h1 em, h2 em { position: relative; z-index: 0; font-style: normal; }
h1 em::after { content: ''; position: absolute; z-index: -1; left: -1.5%; right: -1.5%; bottom: -1%; height: 3px; background: var(--ink); transform: rotate(-.8deg); }
h2 em::after { content: ''; position: absolute; z-index: -1; left: -1.5%; right: -1.5%; bottom: 2%; height: 14%; background: var(--accent); transform: rotate(-.6deg); }
.lead { max-width: 610px; margin: 28px 0 22px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.check-list li { display: flex; align-items: center; gap: 10px; }
.check-list li::before { content: '✓'; width: 20px; height: 20px; flex: 0 0 20px; border-radius: 2px; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 10px; font-weight: 900; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-visual { position: relative; min-height: 570px; display: grid; place-items: center; }
.hero-visual::before { content: ''; position: absolute; z-index: -1; width: 82%; aspect-ratio: .95; border-radius: 34% 7% 32% 10%; background: #e9e9e9; transform: rotate(3deg); }
.portrait-frame { width: min(100%, 555px); aspect-ratio: .98; overflow: hidden; border-radius: 48% 52% 43% 57% / 49% 42% 58% 51%; background: #e8e8e8; box-shadow: 0 30px 80px rgb(23 23 23 / 15%); }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transform: scale(1.06); transition: transform .6s ease; }
.hero-visual:hover .portrait-frame img { transform: scale(1.085); }
.name-card { position: absolute; right: 0; bottom: 3%; min-width: 285px; padding: 22px; display: flex; gap: 13px; align-items: flex-start; border-radius: 5px; background: rgb(255 255 255 / 94%); box-shadow: 0 14px 40px rgb(23 23 23 / 8%); backdrop-filter: blur(10px); }
.name-card p { margin: 0; }
.name-card strong, .name-card small { display: block; }
.name-card strong { font-size: 18px; line-height: 1.15; letter-spacing: -.03em; }
.name-card small { margin-top: 9px; color: var(--muted); font-size: 12px; }
.status-dot { width: 9px; height: 9px; margin-top: 4px; flex: 0 0 auto; border-radius: 1px; background: var(--ink); }
.experience-badge { position: absolute; left: -1%; top: 8%; width: 124px; min-height: 82px; padding: 14px; border-radius: 3px; display: flex; align-items: center; justify-content: center; gap: 7px; background: var(--ink); color: #fff; transform: rotate(-4deg); box-shadow: none; }
.experience-badge strong { font-size: 39px; line-height: 1; letter-spacing: -.08em; }
.experience-badge span { font-size: 10px; font-weight: 700; line-height: 1.25; text-transform: uppercase; }
.doodle { position: absolute; font-size: 30px; }
.doodle-one { right: 6%; top: 7%; }
.doodle-two { left: 2%; bottom: 9%; font-size: 48px; transform: rotate(8deg); }

.running-line { overflow: hidden; background: var(--ink); color: #fff; }
.running-track {
  width: max-content;
  display: flex;
  will-change: transform;
  animation: ticker 34s linear infinite;
}
.running-group {
  flex: 0 0 auto;
  min-width: 100vw;
  display: flex;
  align-items: center;
  justify-content: space-around;
  white-space: nowrap;
  padding: 18px 0;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .14em;
}
.ticker-item { padding: 0 26px; }
.ticker-separator { padding: 0; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section-heading { margin-bottom: 54px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; align-items: end; }
.section-heading .eyebrow { margin-bottom: 18px; }
h2 { max-width: 780px; margin: 0; font-size: clamp(39px, 4vw, 60px); font-weight: 720; line-height: 1.02; letter-spacing: -.055em; }
.section-heading > p { max-width: 440px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.service-card { position: relative; min-height: 300px; padding: 27px; overflow: hidden; border-radius: 7px; background: var(--white); box-shadow: none; transition: transform .28s, background .28s; }
.service-card::before { display: none; }
.service-card:hover { z-index: 1; background: #efefef; transform: translateY(-6px); }
.card-top { position: relative; display: flex; justify-content: space-between; align-items: flex-start; }
.service-icon { height: 54px; min-width: 54px; padding: 0 8px; border-radius: 4px; display: grid; place-items: center; background: #ededed; font-size: 25px; font-weight: 650; }
.card-number { position: relative; z-index: 1; font-size: 12px; font-weight: 750; }
.service-card h3 { max-width: 260px; margin: 43px 0 11px; font-size: 19px; line-height: 1.18; letter-spacing: -.035em; }
.service-card p { max-width: 305px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.service-card > a { position: absolute; right: 25px; bottom: 25px; width: 34px; height: 34px; border-radius: 3px; display: grid; place-items: center; background: #eeeeee; font-size: 13px; transition: .2s; }
.service-card:hover > a { color: #fff; background: var(--ink); }

.process-section { background: #f2f2f2; color: var(--ink); }
.light-heading > p { color: var(--muted); }
.light-heading h2 em { color: inherit; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.process-card { min-height: 335px; padding: 26px; border-radius: 5px; background: #fff; }
.process-number { color: #999; font-size: 11px; }
.process-symbol { height: 100px; margin: 32px 0 10px; display: grid; place-items: center; border-radius: 3px; background: #ececec; color: var(--ink); font-size: 33px; letter-spacing: .08em; }
.process-card h3 { margin: 24px 0 10px; font-size: 19px; letter-spacing: -.03em; }
.process-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.process-note { margin-top: 15px; padding: 19px 24px; display: grid; grid-template-columns: 180px 1fr; align-items: center; border-radius: 4px; background: #e7e7e7; }
.process-note span { color: var(--ink); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.process-note p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

.portfolio-section { padding-bottom: 138px; }
.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 42px 18px; }
.project-card { padding: 0; border: 0; background: none; text-align: left; cursor: zoom-in; }
.project-image { position: relative; overflow: hidden; aspect-ratio: 1.65; border-radius: 5px; background: #e9e9e9; box-shadow: 0 18px 45px rgb(23 23 23 / 8%); }
.project-image::after { content: 'Смотреть ↗'; position: absolute; left: 50%; top: 50%; padding: 14px 18px; border-radius: 3px; display: grid; place-items: center; background: rgb(23 27 22 / 92%); color: #fff; font-size: 12px; opacity: 0; transform: translate(-50%, -42%); transition: .3s; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.project-card:hover .project-image img { transform: scale(1.035); }
.project-card:hover .project-image::after { opacity: 1; transform: translate(-50%, -50%); }
.project-meta { padding: 20px 4px 0; display: flex; justify-content: space-between; align-items: center; }
.project-meta span:first-child { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.project-meta h3 { margin: 5px 0 0; font-size: 23px; letter-spacing: -.035em; }
.project-arrow { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 4px; display: grid; place-items: center; background: #ececec; font-size: 16px; transition: transform .2s; }
.project-card:hover .project-arrow { transform: rotate(45deg); }
.lightbox { position: fixed; z-index: 100; inset: 0; padding: 5vw; display: grid; place-items: center; background: rgb(15 15 15 / 91%); backdrop-filter: blur(12px); }
.lightbox > button { position: absolute; z-index: 2; right: 28px; top: 20px; width: 48px; height: 48px; border: 0; border-radius: 4px; background: rgb(255 255 255 / 10%); color: #fff; cursor: pointer; font-size: 28px; }
.lightbox figure { width: min(1200px, 100%); max-height: 90vh; margin: 0; overflow: hidden; border-radius: 5px; background: #fff; box-shadow: 0 30px 100px rgb(0 0 0 / 50%); }
.lightbox figure img { width: 100%; max-height: 76vh; object-fit: contain; background: #111; }
.lightbox figcaption { padding: 17px 22px; display: flex; justify-content: space-between; gap: 18px; color: var(--ink); }
.lightbox figcaption strong { font-size: 16px; }
.lightbox figcaption span { color: var(--muted); font-size: 13px; }

.advantages-wrap { padding-block: 126px; background: #efefef; }
.advantages { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 90px; }
.adv-copy h2 { max-width: 620px; }
.adv-copy .lead { margin-bottom: 36px; }
.large-checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 38px; }
.large-checks li { position: relative; padding-left: 35px; }
.large-checks li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 2px; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 10px; }
.large-checks strong, .large-checks span { display: block; }
.large-checks strong { margin-bottom: 7px; font-size: 14px; }
.large-checks span { color: var(--muted); font-size: 12px; line-height: 1.55; }
.adv-card { position: relative; min-height: 535px; display: grid; place-items: center; }
.adv-card::before { content: ''; position: absolute; width: 390px; height: 390px; background: #e2e2e2; transform: rotate(5deg); }
.adv-paper { position: relative; z-index: 1; width: 325px; min-height: 420px; padding: 44px 42px; background: #fff; box-shadow: 18px 22px 0 var(--dark), 0 30px 60px rgb(23 23 23 / 18%); transform: rotate(-5deg); }
.adv-paper::before { content: ''; position: absolute; left: 34px; right: 34px; top: 26px; height: 1px; background: var(--line); box-shadow: 0 350px 0 var(--line); }
.adv-paper p { margin: 0 0 42px; font-size: 26px; line-height: 1.1; letter-spacing: -.04em; }
.adv-paper p strong { font-size: 31px; }
.adv-paper ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 23px; }
.adv-paper li { display: flex; align-items: center; gap: 13px; font-size: 14px; font-weight: 650; }
.adv-paper li::before { content: '✓'; width: 23px; height: 23px; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 11px; }
.paper-clip { position: absolute; right: 32px; top: 24px; font-size: 26px; }
.pencil { position: absolute; z-index: 2; left: 7%; bottom: 9%; font-size: 74px; transform: rotate(-24deg); }
.adv-stamp { position: absolute; z-index: 3; right: 2%; bottom: 6%; width: 104px; min-height: 76px; padding: 14px; border-radius: 3px; display: grid; place-items: center; background: var(--ink); color: #fff; text-align: center; font-size: 10px; font-weight: 850; line-height: 1.3; transform: rotate(7deg); }

.reviews-heading { grid-template-columns: 1fr auto; }
.rating { display: flex; align-items: center; gap: 18px; }
.rating > strong { font-size: 48px; letter-spacing: -.08em; }
.rating > span { color: var(--ink); font-size: 14px; letter-spacing: .08em; }
.rating small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; letter-spacing: .02em; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.review-card { min-height: 286px; padding: 26px; display: flex; flex-direction: column; border-radius: 5px; background: #fff; }
.quote { height: 35px; font-family: Georgia, serif; font-size: 50px; line-height: 1; }
.review-card > p { flex: 1; margin: 22px 0 29px; color: #484848; font-size: 13px; line-height: 1.62; }
.review-card > div:last-child { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
.review-avatar { width: 37px; height: 37px; border-radius: 3px; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 10px; font-weight: 800; }
.review-card > div p { margin: 0; }
.review-card > div strong, .review-card > div small { display: block; }
.review-card > div strong { font-size: 12px; }
.review-card > div small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.review-index { color: #aaa; font-size: 10px; }

.faq-section { padding-block: 126px; background: #f0f0f0; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.faq-grid > div:first-child { position: sticky; top: 30px; align-self: start; }
.faq-grid .lead { max-width: 430px; }
.text-link { display: inline-flex; gap: 20px; margin-top: 10px; padding-bottom: 7px; text-decoration: underline; text-underline-offset: 7px; font-size: 13px; font-weight: 750; }
.faq-list { display: grid; gap: 8px; }
.faq-list details { padding-inline: 20px; border-radius: 4px; background: #f8f8f8; }
.faq-list summary { min-height: 82px; display: grid; grid-template-columns: 45px 1fr auto; align-items: center; cursor: pointer; list-style: none; font-size: 17px; font-weight: 650; letter-spacing: -.025em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary > span { color: var(--muted); font-size: 11px; font-weight: 550; }
.faq-list summary i { width: 30px; height: 30px; border-radius: 3px; display: grid; place-items: center; background: #e6e6e6; font-size: 18px; font-style: normal; font-weight: 400; transition: transform .25s, background .25s; }
.faq-list details[open] summary i { color: #fff; background: var(--ink); transform: rotate(45deg); }
.faq-list details > p { margin: -6px 45px 25px; color: var(--muted); font-size: 13px; line-height: 1.65; }

.contact-section { padding-block: 128px; background: #f6f6f6; color: var(--ink); }
.contact-grid { display: grid; grid-template-columns: 1.03fr .97fr; gap: 100px; }
.contact-copy h2 { max-width: 690px; }
.contact-copy h2 em { color: inherit; }
.contact-copy > p:not(.eyebrow) { max-width: 580px; margin: 26px 0 40px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.contact-links { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-links a { min-width: 250px; padding: 16px 18px; display: flex; align-items: center; gap: 13px; border-radius: 4px; background: #fff; }
.contact-links a > span { width: 34px; height: 34px; border-radius: 3px; display: grid; place-items: center; background: #e9e9e9; color: var(--ink); font-weight: 800; }
.contact-links p { margin: 0; }
.contact-links small, .contact-links strong { display: block; }
.contact-links small { color: #8a8a8a; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.contact-links strong { margin-top: 4px; font-size: 12px; }
.contact-form { padding: 28px; border-radius: 7px; background: #fff; }
.contact-form label { display: block; margin-bottom: 18px; }
.contact-form label > span { display: block; margin-bottom: 8px; color: #777; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.contact-form input, .contact-form textarea { width: 100%; border: 0; border-radius: 3px; outline: none; background: #f0f0f0; color: var(--ink); box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .2s; }
.contact-form input { height: 50px; padding: 0 14px; }
.contact-form textarea { resize: vertical; min-height: 112px; padding: 14px; }
.contact-form input:focus, .contact-form textarea:focus { box-shadow: inset 0 -2px 0 var(--ink); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #868686; }
.contact-form .button { width: 100%; background: var(--ink); color: #fff; }
.contact-form > small { display: block; margin-top: 11px; color: #888; font-size: 9px; text-align: center; }
.success { margin: 14px 0 0; padding: 12px 14px; border-radius: 3px; background: #ececec; color: var(--ink); font-size: 12px; line-height: 1.45; }

footer { background: #e8e8e8; color: var(--ink); }
.footer-top { min-height: 190px; display: grid; grid-template-columns: 1fr 1fr auto; gap: 40px; align-items: center; }
.footer-brand small, .footer-top > p { color: #919191; }
.footer-top > p { margin: 0; font-size: 12px; line-height: 1.6; }
.to-top { padding-bottom: 4px; text-decoration: underline; text-underline-offset: 5px; font-size: 12px; }
.footer-bottom { min-height: 64px; padding-block: 18px; display: flex; justify-content: space-between; color: #696969; font-size: 10px; }

.mobile-menu { position: fixed; z-index: 90; inset: 0; padding: 20px; background: #f5f5f5; color: var(--ink); }
.mobile-menu > div { height: 100%; display: flex; flex-direction: column; justify-content: center; }
.mobile-menu button { position: absolute; right: 24px; top: 18px; width: 44px; height: 44px; border: 0; border-radius: 4px; background: #e4e4e4; color: var(--ink); font-size: 26px; }
.mobile-menu a { padding: 18px 0; font-size: clamp(32px, 10vw, 48px); font-weight: 650; letter-spacing: -.05em; }
.mobile-menu a small { margin-right: 18px; color: #aaa; font-size: 10px; letter-spacing: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 1060px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .header-cta { margin-right: 58px; }
  .menu-button { position: absolute; right: 0; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 4px; display: grid; align-content: center; gap: 5px; background: #ececec; }
  .menu-button span { width: 17px; height: 1px; margin: auto; background: var(--ink); }
  .hero { grid-template-columns: 1fr 1fr; gap: 35px; }
  .hero-visual { min-height: 510px; }
  .experience-badge { left: -3%; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { gap-block: 36px; }
  .advantages { gap: 40px; }
  .large-checks { grid-template-columns: 1fr; gap: 21px; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid, .contact-grid { gap: 55px; }
}

@media (max-width: 780px) {
  .block, .advantages-wrap, .faq-section, .contact-section { padding-block: 86px; }
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 35px; padding-top: 72px; }
  .hero-copy { max-width: 680px; }
  .hero-visual { min-height: 590px; }
  .portrait-frame { width: min(100%, 570px); }
  .section-heading { grid-template-columns: 1fr; gap: 22px; }
  .section-heading > p { max-width: 580px; }
  .advantages { grid-template-columns: 1fr; }
  .adv-card { min-height: 510px; margin-top: 25px; }
  .large-checks { grid-template-columns: repeat(2, 1fr); }
  .reviews-heading { grid-template-columns: 1fr auto; }
  .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .faq-grid > div:first-child { position: static; }
  .contact-copy h2 { max-width: 720px; }
}

@media (max-width: 560px) {
  .section, .site-header { width: min(100% - 28px, 1240px); }
  .site-header { height: 76px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand strong { font-size: 11px; }
  .brand small { font-size: 9px; }
  .header-cta { display: none; }
  .menu-button { right: 0; }
  .hero { padding-block: 53px 45px; }
  h1 { font-size: clamp(42px, 12.4vw, 58px); line-height: .98; }
  h2 { font-size: clamp(38px, 11.3vw, 52px); }
  .lead { font-size: 15px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-visual { min-height: 430px; }
  .portrait-frame { border-radius: 37px; }
  .hero-visual::before { width: 94%; }
  .name-card { right: 0; left: 11%; bottom: -2%; min-width: 0; padding: 17px; }
  .name-card strong { font-size: 15px; }
  .experience-badge { width: 89px; height: 89px; left: -2%; top: 2%; padding: 11px; }
  .experience-badge strong { font-size: 29px; }
  .experience-badge span { font-size: 8px; }
  .doodle-two { display: none; }
  .running-line > div { padding: 15px 0; font-size: 10px; }
  .services-grid, .process-grid, .portfolio-grid, .reviews-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 280px; }
  .process-note { grid-template-columns: 1fr; gap: 10px; }
  .project-card { width: 100%; }
  .project-meta h3 { font-size: 20px; }
  .project-arrow { width: 40px; height: 40px; flex-basis: 40px; }
  .portfolio-grid { gap: 35px; }
  .large-checks { grid-template-columns: 1fr; }
  .adv-card { min-height: 430px; }
  .adv-card::before { width: 300px; height: 300px; }
  .adv-paper { width: 260px; min-height: 340px; padding: 37px 32px; box-shadow: 14px 17px 0 var(--dark), 0 25px 50px rgb(23 27 22 / 18%); }
  .adv-paper p { margin-bottom: 28px; font-size: 20px; }
  .adv-paper p strong { font-size: 25px; }
  .adv-paper ul { gap: 15px; }
  .adv-paper::before { box-shadow: 0 280px 0 var(--line); }
  .pencil { left: 0; font-size: 57px; }
  .adv-stamp { width: 82px; height: 82px; font-size: 8px; }
  .reviews-heading { grid-template-columns: 1fr; }
  .rating { margin-top: 5px; }
  .review-card { min-height: 270px; }
  .faq-list summary { grid-template-columns: 36px 1fr auto; gap: 6px; font-size: 15px; }
  .faq-list details > p { margin-left: 36px; }
  .contact-links { display: grid; }
  .contact-links a { min-width: 0; }
  .contact-form { padding: 20px; }
  .footer-top { padding-block: 55px; grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { display: grid; gap: 8px; }
  .lightbox { padding: 14px; }
  .lightbox figcaption { display: grid; }
}

/* Static/PHP hardening + requested brand/messenger refinements */
html, body { touch-action: pan-x pan-y; -webkit-text-size-adjust: 100%; }
body, body * { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
input, textarea { -webkit-user-select: text; user-select: text; }
img { -webkit-user-drag: none; user-drag: none; pointer-events: none; }
.project-card img, .portrait-frame img { pointer-events: none; }
.brand-copy strong { font-size: 13px; }
.brand-copy small { display: none; }
.brand-mark.brand-p { position: relative; overflow: hidden; font-size: 0; }
.brand-mark.brand-p::before { content: 'P'; position: relative; z-index: 2; font: 800 22px/1 Arial, sans-serif; letter-spacing: -.12em; transform: translateX(-1px); }
.brand-mark.brand-p::after { content: ''; position: absolute; width: 18px; height: 2px; right: 4px; bottom: 8px; background: #fff; transform: rotate(-42deg); transform-origin: center; opacity: .9; }
.messenger-icon { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 3px; display: grid; place-items: center; background: #e9e9e9; }
.messenger-icon svg { width: 19px; height: 19px; display: block; }
.messenger-icon-max { overflow: hidden; background: transparent; }
.messenger-icon-max img { width: 34px; height: 34px; display: block; object-fit: cover; border-radius: 7px; }
.contact-links a > .messenger-icon { color: var(--ink); }
@media (max-width: 560px) { .brand-copy strong { font-size: 11px; } }
.mobile-menu[hidden], .lightbox[hidden] { display: none !important; }
body.menu-open, body.lightbox-open { overflow: hidden; }
.success-error { background: #eee; }

/* Hero typography — modern editorial pairing without external font dependencies */
.hero-title {
  max-width: 690px;
  font-family: "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  font-size: clamp(50px, 4.65vw, 73px);
  font-weight: 650;
  line-height: .94;
  letter-spacing: -.066em;
  text-wrap: balance;
  font-kerning: normal;
}
.hero-title em {
  display: inline-block;
  margin-inline: .025em .015em;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.06em;
  font-weight: 400;
  font-style: italic;
  line-height: .88;
  letter-spacing: -.045em;
}
.hero-title em::after { display: none; }

@media (max-width: 560px) {
  .hero-title {
    font-size: clamp(41px, 12vw, 56px);
    line-height: .95;
    letter-spacing: -.06em;
  }
}
.contact-form .button:disabled { cursor: default; opacity: .7; }

/* Arrow icons without emoji fallback on mobile */
.icon-arrow,
.icon-arrow-up,
.project-arrow,
.doodle-arrow {
  display: inline-block;
  flex: 0 0 auto;
  background-color: currentColor;
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.35' stroke-linecap='round' stroke-linejoin='round'><path d='M6 18L18 6'/><path d='M9 6h9v9'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.35' stroke-linecap='round' stroke-linejoin='round'><path d='M6 18L18 6'/><path d='M9 6h9v9'/></svg>");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.icon-arrow { width: 14px; height: 14px; }
.icon-arrow-lg { width: 22px; height: 22px; }
.icon-arrow-up { width: 13px; height: 13px; transform: rotate(-45deg); transform-origin: 50% 50%; }
.doodle-arrow { width: 46px; height: 46px; transform: rotate(135deg); }
.button .icon-arrow,
.text-link .icon-arrow,
.service-card > a .icon-arrow,
.contact-form .icon-arrow,
.hero-actions .icon-arrow { width: 14px; height: 14px; }
.service-icon { color: var(--ink); }
.service-icon .icon-arrow { width: 22px; height: 22px; }
.service-card > a { color: var(--ink); }
.project-arrow {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: var(--ink);
  font-size: 0;
}
.project-image::after {
  content: 'Смотреть';
  padding: 14px 36px 14px 18px;
}
.project-image::before {
  content: '';
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  background-color: #fff;
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.35' stroke-linecap='round' stroke-linejoin='round'><path d='M6 18L18 6'/><path d='M9 6h9v9'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.35' stroke-linecap='round' stroke-linejoin='round'><path d='M6 18L18 6'/><path d='M9 6h9v9'/></svg>");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  opacity: 0;
  transform: translate(32px, -42%);
  transition: .3s;
}
.project-card:hover .project-image::before,
.project-card:focus-visible .project-image::before {
  opacity: 1;
  transform: translate(32px, -50%);
}
.to-top,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
