:root {
  --red: #c41010;
  --red-deep: #8a0a0a;
  --chrome: #c8c8d0;
  --chrome-bright: #f2f3f5;
  --ink: #0c0c0d;
  --ink-soft: #1a1a1c;
  --paper: #f4f2ef;
  --muted: #9a9690;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --header-h: 8.6rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--paper);
  background: var(--ink);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(12, 12, 13, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200, 200, 208, 0.12);
}
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.55rem 1.25rem;
  font-size: 0.82rem;
  color: var(--muted);
  border-bottom: 1px solid rgba(200, 200, 208, 0.08);
}
.phones { display: flex; flex-wrap: wrap; gap: 0.85rem 1.5rem; font-size: 1.23rem; font-weight: 500; }
.phones a,
.phones .phone-choice-trigger {
  color: var(--paper);
  letter-spacing: 0.01em;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}
.phones a:hover,
.phones .phone-choice-trigger:hover { color: var(--chrome-bright); }
.lang-switch { display: flex; gap: 0.4rem; align-items: center; letter-spacing: 0.04em; }
.lang-switch a { opacity: 0.55; }
.lang-switch a.is-active,
.lang-switch a:hover { opacity: 1; color: var(--chrome-bright); }

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1.25rem;
}
.brand { display: flex; align-items: center; gap: 0.85rem; }
.brand img {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(200, 200, 208, 0.35);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-en {
  font-family: var(--font-display);
  font-size: 2.025rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.brand-ru { font-size: 1.08rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }

.site-nav { display: flex; gap: 1.35rem; flex-wrap: wrap; }
.site-nav a {
  font-size: 0.92rem;
  color: var(--muted);
  position: relative;
}
.site-nav a:hover,
.site-nav a.is-active { color: var(--paper); }
.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -0.35rem;
  height: 2px;
  background: var(--red);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  padding: 0.55rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--paper);
  margin: 6px 0;
  transition: transform 0.3s var(--ease);
}

/* Hero тАФ one composition */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 8, 10, 0.55) 0%, rgba(8, 8, 10, 0.72) 45%, rgba(8, 8, 10, 0.9) 100%),
    radial-gradient(ellipse 70% 55% at 50% 30%, rgba(196, 16, 16, 0.28), transparent 65%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 55% at 50% 35%, rgba(196, 16, 16, 0.35), transparent 65%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(200, 200, 208, 0.08), transparent 50%),
    linear-gradient(165deg, #101012 0%, #0c0c0d 45%, #160808 100%);
  animation: heroPulse 12s ease-in-out infinite alternate;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
  opacity: 0.07;
  pointer-events: none;
}
@keyframes heroPulse {
  from { filter: saturate(1); transform: scale(1); }
  to { filter: saturate(1.08); transform: scale(1.03); }
}
@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(1.5%, -1%, 0); }
}

.hero-content {
  text-align: center;
  padding: 3rem 1.25rem 4rem;
  max-width: 42rem;
  animation: riseIn 0.9s var(--ease) both;
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-logo {
  width: 198px;
  height: 198px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  animation: logoIn 1.1s var(--ease) 0.15s both;
  box-shadow: 0 0 0 1px rgba(200, 200, 208, 0.35), 0 18px 40px rgba(0, 0, 0, 0.45);
}
@keyframes logoIn {
  from { opacity: 0; transform: scale(0.86); }
  to { opacity: 1; transform: scale(1); }
}
.hero-brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 4.6rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}
.hero-brand-hyphen {
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0;
  padding: 0 0.02em;
  position: relative;
  top: -0.02em;
}
.hero-lead {
  margin: 1rem auto 1.75rem;
  max-width: 30rem;
  color: #ddd9d3;
  font-size: 1.08rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

.hooks--under-hero {
  padding-top: 2.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(200, 200, 208, 0.1);
  background: #0f0f11;
}

.home-section-title {
  margin: 0 0 2rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  text-align: center;
}
.feature {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .feature {
    grid-template-columns: 1.05fr 1fr;
    gap: 2rem;
    margin-bottom: 3.5rem;
  }
  .feature--rtl .feature-media { order: 2; }
  .feature--rtl .feature-copy { order: 1; }
}
.feature-media {
  overflow: hidden;
  min-height: 240px;
  background: transparent;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image:
    linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.feature-media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.feature:hover .feature-media img { transform: scale(1.04); }
.feature-copy h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
}
.feature-copy p {
  margin: 0 0 0.85rem;
  color: #d8d4ce;
  max-width: 34rem;
}
.feature-copy .btn { margin-top: 0.5rem; }
.hooks-cta {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.65rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-deep); }
.btn-ghost {
  background: transparent;
  border-color: rgba(200, 200, 208, 0.35);
  color: var(--paper);
}
.btn-ghost:hover { border-color: var(--chrome-bright); }

/* Sections */
.section { padding: 3.5rem 1.25rem; }
.section-inner { max-width: 68rem; margin: 0 auto; }
.page-head {
  padding: 3rem 1.25rem 1rem;
  border-bottom: 1px solid rgba(200, 200, 208, 0.1);
}
.page-head h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 600;
}
.page-sub { margin: 0.5rem 0 0; color: var(--muted); }

.hook-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 900px) {
  .hook-list { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}
.hook-list li {
  padding: 1.25rem 1rem;
  border-top: 2px solid var(--red);
  background: rgba(255, 255, 255, 0.02);
  color: #d8d4ce;
  font-size: 0.98rem;
  line-height: 1.5;
}
.section-alt {
  background: linear-gradient(180deg, #121214, #0c0c0d);
  border-top: 1px solid rgba(200, 200, 208, 0.08);
}
.prose h2 {
  margin: 2rem 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--paper);
}
.prose-list {
  margin: 0 0 1.25rem;
  padding-left: 1.1rem;
  color: #d8d4ce;
}
.prose-list li { margin: 0.35rem 0; }
.prose-cta {
  color: var(--paper);
  font-weight: 500;
}
.prose .btn { margin-top: 0.5rem; }

.facts {
  background: linear-gradient(180deg, #121214, #0c0c0d);
  border-top: 1px solid rgba(200, 200, 208, 0.08);
}
.fact-year {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.fact-year strong {
  display: block;
  margin-top: 0.25rem;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  line-height: 1;
}
.directions {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 720px) {
  .directions { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}
.directions a {
  display: block;
  padding: 1.25rem 1rem;
  border-top: 2px solid var(--red);
  background: rgba(255, 255, 255, 0.02);
  font-family: var(--font-display);
  font-size: 1.35rem;
  transition: background 0.25s var(--ease);
}
.directions a:hover { background: rgba(196, 16, 16, 0.12); }

.prose { max-width: 40rem; color: #d8d4ce; }
.prose p { margin: 0 0 1rem; }
.placeholder-note {
  color: var(--muted);
  font-size: 0.92rem;
  border-left: 2px solid var(--red);
  padding-left: 0.85rem;
}

/* Portfolio */
.portfolio-section + .portfolio-section {
  border-top: 1px solid rgba(200, 200, 208, 0.08);
}
.portfolio-section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
}
.portfolio-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 1.25rem;
}
.portfolio-count {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.portfolio-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.35rem;
}
.portfolio-tab {
  padding: 0.65rem 1.1rem;
  border: 1px solid rgba(200, 200, 208, 0.22);
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.portfolio-tab:hover {
  color: var(--paper);
  border-color: rgba(200, 200, 208, 0.45);
}
.portfolio-tab.is-active {
  color: #fff;
  border-color: var(--red);
  background: rgba(196, 16, 16, 0.2);
}
.per-page {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.25rem;
}
.per-page-label {
  color: var(--muted);
  font-size: 0.88rem;
  margin-right: 0.25rem;
}
.per-page-btn {
  min-width: 2.5rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(200, 200, 208, 0.25);
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}
.per-page-btn:hover,
.per-page-btn.is-active {
  color: var(--paper);
  border-color: var(--red);
  background: rgba(196, 16, 16, 0.15);
}
.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.75rem;
}
.pager-btn,
.pager-num {
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(200, 200, 208, 0.25);
  color: var(--muted);
  font-size: 0.9rem;
}
.pager-btn:hover,
.pager-num:hover {
  color: var(--paper);
  border-color: rgba(200, 200, 208, 0.5);
}
.pager-num.is-active {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}
.pager-btn.is-disabled {
  opacity: 0.35;
  pointer-events: none;
}
.pager-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 0.75rem;
}
.portfolio-thumb {
  position: relative;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  background: #1c1c1f;
  overflow: hidden;
  cursor: pointer;
  color: inherit;
  text-align: left;
}
.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}
.portfolio-thumb:hover img { transform: scale(1.05); }
.thumb-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.55rem 0.6rem;
  font-size: 0.75rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
}
.portfolio-thumb.is-empty {
  background:
    linear-gradient(135deg, rgba(196, 16, 16, 0.15), transparent 55%),
    #17171a;
  cursor: default;
}

/* Contacts */
.contacts-layout {
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .contacts-layout { grid-template-columns: 1fr 1.35fr; align-items: start; }
}
.contacts-list { display: grid; gap: 1.5rem; }
.contacts-list h2 {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.contact-line {
  display: block;
  margin: 0.2rem 0;
  font-size: 1.05rem;
}
a.contact-line:hover { color: #fff; }

.contact-phones {
  display: grid;
  gap: 0.75rem;
}
.phone-choice {
  position: relative;
  display: inline-block;
  max-width: 100%;
}
.phone-choice--contact .phone-choice-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 4.275rem;
  padding: 0.95rem 2rem;
  font-size: 1.38rem;
  font-weight: 600;
  font-family: var(--font-body);
  background: var(--red);
  color: #fff;
  border: 0;
  cursor: pointer;
  transition: background 0.25s var(--ease);
}
.phone-choice--contact .phone-choice-trigger:hover {
  background: var(--red-deep);
}
.phone-choice-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 0.4rem);
  z-index: 30;
  min-width: 14rem;
  display: grid;
  gap: 0.15rem;
  padding: 0.45rem;
  background: #16161a;
  border: 1px solid rgba(200, 200, 208, 0.2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}
.phone-choice-menu[hidden] { display: none; }
.phone-choice-menu a {
  display: block;
  padding: 0.7rem 0.85rem;
  color: var(--paper);
  font-size: 0.95rem;
}
.phone-choice-menu a:hover {
  background: rgba(196, 16, 16, 0.2);
  color: #fff;
}
.phones .phone-choice-menu {
  font-size: 0.92rem;
}

.map-wrap {
  min-height: 640px;
  border: 1px solid rgba(200, 200, 208, 0.15);
  overflow: hidden;
  background: #151518;
}
.map-wrap iframe {
  width: 100%;
  height: 720px;
  border: 0;
  display: block;
  filter: grayscale(0.15) contrast(1.05);
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  padding: 2rem 1.25rem 2.5rem;
  border-top: 1px solid rgba(200, 200, 208, 0.1);
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-inner {
  max-width: 68rem;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}
.footer-brand strong {
  display: block;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}
.footer-contacts { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; align-items: center; }
.footer-contacts .phone-choice-trigger {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.footer-contacts .phone-choice-trigger:hover { color: var(--chrome-bright); }
.footer-copy { margin: 0.5rem 0 0; }

/* Lightbox */
.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, 0.92);
  display: grid;
  place-items: center;
  padding: 1.5rem;
}
.lightbox figure { margin: 0; max-width: min(92vw, 960px); }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; }
.lightbox figcaption {
  margin-top: 0.75rem;
  text-align: center;
  color: var(--muted);
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-nav:disabled {
  opacity: 0.25;
  cursor: default;
  pointer-events: none;
}
.lightbox-nav:hover {
  background: rgba(196, 16, 16, 0.75);
  border-color: var(--red);
}
.lightbox-nav:disabled:hover {
  background: rgba(0, 0, 0, 0.45);
  border-color: rgba(255, 255, 255, 0.28);
}
.lightbox-prev { left: 0.75rem; }
.lightbox-next { right: 0.75rem; }
@media (max-width: 640px) {
  .lightbox {
    padding: 1rem 0.65rem calc(1rem + env(safe-area-inset-bottom, 0px));
  }
  .lightbox-nav {
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1.6rem;
  }
  .lightbox-prev { left: 0.35rem; }
  .lightbox-next { right: 0.35rem; }
  .lightbox-close {
    top: max(0.65rem, env(safe-area-inset-top, 0px));
    right: 0.65rem;
    width: 2.85rem;
    height: 2.85rem;
  }
}

@media (max-width: 820px) {
  :root { --header-h: 6.75rem; }

  .site-header {
    padding-top: env(safe-area-inset-top, 0px);
  }

  .header-top {
    flex-wrap: wrap;
    gap: 0.45rem 0.75rem;
    padding: 0.45rem 0.9rem;
  }

  .phones {
    width: 100%;
    justify-content: flex-start;
    gap: 0.55rem 1rem;
    font-size: 0.98rem;
  }

  .phones .phone-choice-trigger {
    min-height: 2.5rem;
    padding: 0.25rem 0;
  }

  .lang-switch {
    margin-left: auto;
    gap: 0.15rem;
  }

  .lang-switch a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    min-height: 2.5rem;
    padding: 0 0.35rem;
  }

  .header-main {
    padding: 0.45rem 0.9rem;
    gap: 0.5rem;
  }

  .brand { gap: 0.55rem; min-width: 0; }
  .brand img {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
  }
  .brand-en { font-size: 1.35rem; }
  .brand-ru { font-size: 0.72rem; }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.85rem;
    height: 2.85rem;
    flex-shrink: 0;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    gap: 0;
    padding: 0.35rem 0.9rem 1rem;
    background: rgba(12, 12, 13, 0.98);
    border-bottom: 1px solid rgba(200, 200, 208, 0.12);
    max-height: min(70vh, 24rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    padding: 0.95rem 0.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 1.05rem;
    min-height: 2.85rem;
    display: flex;
    align-items: center;
  }
  .site-nav a.is-active::after { display: none; }
  .header-main { position: relative; }

  .hero {
    min-height: calc(100svh - var(--header-h));
  }
  .hero-content {
    padding: 2rem 1rem 2.5rem;
  }
  .hero-logo {
    width: 132px;
    height: 132px;
  }
  .hero-brand {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
  }
  .hero-lead {
    font-size: 1rem;
    margin-bottom: 1.35rem;
  }
  .hero-cta {
    gap: 0.65rem;
  }
  .hero-cta .btn {
    flex: 1 1 9.5rem;
    min-height: 3rem;
  }

  .section { padding: 2.35rem 1rem; }
  .page-head { padding: 2rem 1rem 0.85rem; }
  .home-section-title {
    font-size: clamp(1.55rem, 7vw, 2.1rem);
    margin-bottom: 1.35rem;
  }

  .hook-list li {
    padding: 1.1rem 0.85rem;
    font-size: 0.95rem;
  }

  .feature { margin-bottom: 2rem; gap: 1rem; }
  .feature-copy h3 { font-size: 1.55rem; }
  .feature-media img { min-height: 200px; }

  .btn {
    min-height: 3rem;
    padding: 0.7rem 1.15rem;
  }

  .phones .phone-choice-menu,
  .footer-contacts .phone-choice-menu,
  .phone-choice-menu {
    left: 0;
    right: auto;
    min-width: min(18rem, calc(100vw - 1.5rem));
  }

  .contact-phones {
    gap: 0.65rem;
  }
  .phone-choice--contact {
    display: block;
    width: 100%;
  }
  .phone-choice--contact .phone-choice-trigger {
    width: 100%;
    min-height: 3.25rem;
    font-size: 1.12rem;
    padding: 0.85rem 1rem;
  }

  .map-wrap {
    min-height: 280px;
  }
  .map-wrap iframe {
    height: 320px;
  }

  .portfolio-grid {
    grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
    gap: 0.55rem;
  }
  .portfolio-tabs {
    gap: 0.4rem;
  }
  .portfolio-tab {
    padding: 0.7rem 0.85rem;
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
  }
  .per-page-btn,
  .pager-btn,
  .pager-num {
    min-height: 2.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-footer {
    padding: 1.75rem 1rem calc(1.75rem + env(safe-area-inset-bottom, 0px));
  }
  .footer-contacts {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }
  .footer-contacts .phone-choice-trigger {
    min-height: 2.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 420px) {
  .phones {
    flex-direction: column;
    gap: 0.15rem;
  }
  .brand-ru { display: none; }
  .hero-cta .btn {
    flex: 1 1 100%;
  }
}
