/* Profile v3 — compact editorial system */
.profile-v3 {
  --p-ink: #111216;
  --p-copy: #4f535a;
  --p-muted: #848993;
  --p-line: #d9dade;
  --p-line-dark: #aeb1b7;
  --p-red: #f51e2b;
  --p-green: #0bad78;
  background: #fff;
}
.profile-v3 *, .profile-v3 *::before, .profile-v3 *::after { box-shadow: none !important; text-shadow: none !important; }
.profile-v3 main > section { background: #fff !important; }
.profile-v3 .profile-breadcrumb-shell { padding: 94px 0 0; background: #fff; }
.profile-v3 .profile-hero { padding: 36px 0; border-bottom: 0; }
.profile-v3 .profile-breadcrumbs { margin: 0 0 14px; font: 600 13px/1.2 'Iosevka Charon Mono', monospace; letter-spacing: .08em; }
.profile-v3 .profile-hero__grid { grid-template-columns: minmax(0,1fr) 330px; gap: 48px; align-items: center; }
.profile-v3 .profile-hero__primary { display: flex; min-width: 0; flex-direction: column; justify-content: center; gap: 24px; }
.profile-v3 .profile-hero__primary h1, .profile-v3 .profile-hero__primary p { margin-top: 0; margin-bottom: 0; }
.profile-v3 .profile-title-rank-row { display: flex; align-items: center; gap: 30px; }
.profile-v3 .profile-main-rank { display: flex; min-height: 72px; padding: 0 0 0 34px; align-items: center; gap: 22px; border: 0; border-left: 1px solid var(--p-line-dark); border-radius: 0; color: var(--p-ink); background: #fff; transition: color .2s ease; }
.profile-v3 .profile-main-rank:hover { color: var(--p-ink); transform: none; }
.profile-v3 .profile-main-rank span { font: 500 20px/1.25 var(--font-body); letter-spacing: 0; white-space: normal; text-transform: none; }
.profile-v3 .profile-verified-badge { display: flex; flex: 0 0 auto; width: 48px; height: 48px; padding: 0; overflow: hidden; align-items: center; border: 0; border-radius: 24px; background: var(--p-green); color: #fff; transition: width .32s cubic-bezier(.2,.8,.2,1); }
.profile-v3 .profile-verified-badge__check { display: grid; flex: 0 0 48px; width: 48px; height: 48px; place-items: center; font-size: 22px; }
.profile-v3 .profile-verified-badge__text { flex: 0 0 auto; padding: 0 14px 0 1px; white-space: nowrap; font-size: 13px; font-weight: 700; opacity: 0; transform: translateX(-5px); transition: opacity .18s ease .08s, transform .22s ease .05s; }
.profile-v3 .profile-verified-badge:hover, .profile-v3 .profile-verified-badge:focus-visible { width: 238px; color: #fff; background: var(--p-green); outline: 2px solid #98dec6; outline-offset: 2px; }
.profile-v3 .profile-verified-badge:hover .profile-verified-badge__text, .profile-v3 .profile-verified-badge:focus-visible .profile-verified-badge__text { opacity: 1; transform: none; }
.profile-v3 .profile-hero h1 { margin: 0; flex: 0 0 auto; color: var(--p-ink); font: 500 clamp(46px,4.8vw,52px)/.9 var(--font-title); letter-spacing: -.055em; }
.profile-v3 .profile-tagline { max-width: 950px; margin: 0; color: #5d6066; font-size: 18px; font-weight: 400; line-height: 1.42; }
.profile-v3 .profile-actions { display: flex; margin-top: 0; align-items: center; gap: 12px; }
.profile-v3 .profile-actions .btn { min-height: 44px; padding: 0 22px; }
.profile-v3 .profile-actions .btn-primary { background-color: transparent; color: #151515; border-color: #151515; font-size: 16px; padding: 0 36px; }
.profile-v3 .profile-actions .btn-primary:hover { background-color: transparent; border-color: var(--p-red); color: var(--p-red); }
.profile-v3 .profile-tags { gap: 6px; margin-top: 14px; }
.profile-v3 .profile-tags span { padding: 8px 12px; border: 1px solid var(--p-line); background: #fff; color: var(--p-copy); font-size: 16px; }
.profile-v3 .profile-tags .profile-city-tag { padding-left: 16px; color: var(--p-ink); }
.profile-v3 .profile-tags .profile-city-tag::before { width: 3px; background: var(--p-red); }
.profile-v3 .profile-side-card { display: flex; flex-direction: column; gap: 24px; padding: 0 0 2px 26px; border: 0; border-left: 1px solid var(--p-line-dark); background: #fff; }
.profile-v3 .profile-side-card::before { display: none; }
.profile-v3 .profile-side-card .profile-main-rank { border-left: 0; min-height: 0; padding: 14px 16px; margin-bottom: 0; border-radius: 12px; background: #f7f7f7; }
.profile-v3 .profile-side-contact { padding: 0; }
.profile-v3 .profile-side-contact small { margin-bottom: 8px; color: var(--p-muted); font: 650 13px/1.2 'Iosevka Charon Mono', monospace; letter-spacing: .08em; text-transform: uppercase; }
.profile-v3 .profile-side-contact a { display: block; color: var(--p-ink); font: 500 27px/1.1 var(--font-title); transition: color .2s ease; }
.profile-v3 .profile-side-contact a:hover, .profile-v3 .profile-side-contact a:focus-visible { color: var(--p-red); outline: none; }
.profile-v3 .profile-side-contact span { display: block; margin-top: 7px; color: var(--p-muted); font-size: 13px; }
.profile-v3 .phone-reveal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 18px;
  border: 1px solid #7a7a7a;
  border-radius: 999px;
  background-color: #fff;
  color: #17181b;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.profile-v3 .phone-reveal-btn:hover {
  border-color: var(--p-red);
  color: var(--p-red);
}
.profile-v3 .profile-side-links { display: grid; grid-auto-rows: 1fr; gap: 8px; margin-top: 0; }
.profile-v3 .profile-side-links a { border-radius: 999px; display: block; position: relative; }
.profile-v3 .profile-side-links a img.social-icon-hover { display: none; }
.profile-v3 .profile-side-links a img.social-icon-default { display: block; }
.profile-v3 .profile-side-links a:hover { opacity: 1; transform: none; }
.profile-v3 .profile-side-links a:hover img.social-icon-hover { display: block; }
.profile-v3 .profile-side-links a:hover img.social-icon-default { display: none; }
.profile-v3 .profile-side-links a.profile-side-site { display: flex; align-items: center; justify-content: center; gap: 5px; height: 36px; border: 1px solid var(--p-line-dark); background: #fff; color: var(--p-ink); font: 500 18px/1 var(--font-title); white-space: nowrap; text-align: center; transition: border-color .2s ease, color .2s ease; }
.profile-v3 .profile-side-links a.profile-side-site:hover, .profile-v3 .profile-side-links a.profile-side-site:focus-visible { border-color: var(--p-red); color: var(--p-red); outline: none; }
.profile-v3 .profile-company-banner { position: relative; height: clamp(150px,15vw,205px); overflow: hidden; border: 0 !important; outline: 0; }
.profile-v3 .profile-company-banner::before, .profile-v3 .profile-company-banner::after { content: none; }
.profile-v3 .profile-company-banner img { width: 100%; max-width: none; height: calc(100% + 48px); margin: -24px 0; border: 0 !important; outline: 0; object-fit: cover; }
.profile-v3 .profile-section-nav { position: sticky; z-index: 30; top: var(--profile-sticky-top, 88px); min-height: 50px; margin: 0; border-top: 1px solid var(--p-line); border-bottom: 1px solid var(--p-line); background: #fff; transition: border-color .2s ease; }
.profile-v3 .profile-section-nav.has-company-banner:not(.is-stuck) { border-bottom-color: transparent; }
.profile-v3 .profile-section-nav.is-stuck { border-bottom-color: var(--p-line); }
.profile-v3 .profile-section-nav .profile-section-links { display: flex; min-height: 50px; align-items: center; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.profile-v3 .profile-section-nav .profile-section-links::-webkit-scrollbar { display: none; }
.profile-v3 .profile-section-nav a { flex: 0 0 auto; padding: 4px 0; border-bottom: 1px solid transparent; color: #151515; font-size: 15px; font-weight: 400; line-height: 1.25; }
.profile-v3 .profile-section-nav a:hover, .profile-v3 .profile-section-nav a[aria-current="location"] { border-bottom-color: var(--p-red); color: var(--p-red); }
.profile-v3 #about, .profile-v3 #services, .profile-v3 #projects, .profile-v3 #reviews, .profile-v3 #leave-review, .profile-v3 #ratings, .profile-v3 #contacts { scroll-margin-top: calc(var(--profile-sticky-top, 88px) + 66px); }

/* Section rhythm and type */
.profile-v3 .profile-about, .profile-v3 .profile-projects, .profile-v3 .profile-reviews, .profile-v3 .profile-review-form-section, .profile-v3 .profile-ratings, .profile-v3 .profile-contacts, .profile-v3 .profile-similar { padding: 88px 0; border-top: 1px solid var(--p-line); background: #fff; }
.profile-v3 .profile-services { padding: 88px 0; background: #fff; }
.profile-v3 .profile-about { border-top: 1px solid var(--p-line); }
.profile-v3 .profile-kicker { color: var(--p-red); font: 650 13px/1.2 'Iosevka Charon Mono', monospace; letter-spacing: .08em; text-transform: uppercase; }
.profile-v3 .profile-section-head { display: grid; grid-template-columns: minmax(0,1fr) 390px; gap: 56px; margin-bottom: 48px; align-items: end; }
.profile-v3 .profile-section-head h2, .profile-v3 .profile-two-column h2, .profile-v3 .review-layout h2, .profile-v3 .review-form-layout h2 { margin-top: 13px; color: var(--p-ink); font: 540 clamp(38px,4vw,56px)/.96 var(--font-title); letter-spacing: -.055em; }
.profile-v3 .profile-section-head > p, .profile-v3 .review-form-layout > header > p:last-child { max-width: 540px; color: var(--p-copy); font-size: 15px; line-height: 1.65; }
.profile-v3 .profile-two-column { grid-template-columns: 480px minmax(0,1fr); gap: 48px; align-items: center; }
.profile-v3 .profile-about-photo { width: 100%; height: auto; display: block; object-fit: contain; }
.profile-v3 .profile-prose { max-width: none; display: flex; flex-direction: column; justify-content: center; height: auto; gap: 20px; }
.profile-v3 .profile-prose > p { margin: 0; color: var(--p-copy); font-size: 16px; line-height: 1.75; }
.profile-v3 .profile-prose .profile-lead { color: var(--p-ink); font: 500 clamp(24px,2.2vw,32px)/1.25 var(--font-title); letter-spacing: -.025em; }
.profile-v3 .profile-facts { display: grid; grid-template-columns: repeat(3,1fr); margin: 8px 0 0; border-top: 1px solid var(--p-line); border-bottom: 1px solid var(--p-line); }
.profile-v3 .profile-facts div { padding: 20px 18px 20px 0; border-right: 1px solid var(--p-line); }
.profile-v3 .profile-facts div + div { padding-left: 18px; }
.profile-v3 .profile-facts div:last-child { border-right: 0; }
.profile-v3 .profile-facts strong { display: block; color: var(--p-ink); font: 580 24px/1 var(--font-title); }
.profile-v3 .profile-facts span { display: block; margin-top: 8px; color: var(--p-muted); font-size: 13px; }
.profile-v3 .profile-prose .profile-note { padding-left: 14px; border-left: 3px solid var(--p-red); color: var(--p-muted); font-size: 13px; }
/* Таблица услуг */
.services-table-wrapper {
  margin-top: 32px;
  overflow-x: auto;
  border-top: 1px solid var(--p-line-dark);
}
.services-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.services-table th {
  padding: 10px 20px;
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--p-muted);
  border-bottom: 1px solid var(--p-line-dark);
}
.services-table td {
  padding: 12px 20px;
  border-bottom: 1px solid var(--p-line);
  vertical-align: middle;
  font-size: 15px;
  line-height: 1.6;
}
.services-table tbody tr:hover td {
  background-color: rgba(245, 27, 36, 0.01);
}
.services-table td .service-cat {
  display: inline-block;
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: #848993;
}
.services-table td .service-name {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 600;
  color: var(--p-ink);
}
.services-table td .service-desc {
  color: var(--p-copy);
}
.services-table td.service-price-col {
  white-space: nowrap;
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 600;
  color: var(--p-ink);
  text-align: right;
}

/* Поиск услуг */
.services-search-wrapper {
  position: relative;
  margin-top: 24px;
  margin-bottom: 24px;
  max-width: 500px;
}
.services-search-wrapper input {
  width: 100%;
  height: 48px;
  padding: 0 40px 0 16px;
  border: 1px solid var(--p-line-dark);
  border-radius: 0;
  background: #fff;
  color: var(--p-ink);
  font-size: 15px;
  transition: border-color .2s ease;
}
.services-search-wrapper input:focus {
  border-color: var(--p-red);
}
.services-search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--p-muted);
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  line-height: 1;
}
.services-search-clear:hover {
  color: var(--p-red);
}
.services-footer {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

@media (max-width: 768px) {
  .services-table th:nth-child(2),
  .services-table td:nth-child(2) {
    display: none;
  }
  .services-table td {
    padding: 16px 12px;
  }
  .services-table th {
    padding: 12px 12px;
  }
}

/* Portfolio */
.profile-v3 .project-showcase {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 60px) / 4);
  gap: 20px;
  overflow-x: auto;
  padding: 2px 1px 10px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.profile-v3 .project-showcase::-webkit-scrollbar { display: none; }
.profile-v3 .project-showcase article { display: flex; min-width: 0; overflow: hidden; flex-direction: column; border: 1px solid var(--p-line); background: #fff; transition: border-color .2s ease; scroll-snap-align: start; }
.profile-v3 .project-showcase article:hover { border-color: var(--p-red); }
.profile-v3 .project-cover { height: auto; aspect-ratio: 4/3; margin: 0; overflow: hidden; border-bottom: 1px solid var(--p-line); background: #fff; }
.profile-v3 .project-cover img { width: 100%; height: 100%; object-fit: cover; filter: none; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.profile-v3 .project-showcase article:hover .project-cover img { transform: none; filter: none; }
.profile-v3 .project-cover > span { top: 12px; right: 12px; padding: 6px 8px; border: 1px solid rgba(17,18,22,.22); background: #fff; color: var(--p-ink); font: 650 13px/1 'Iosevka Charon Mono', monospace; }
.profile-v3 .project-card-body { display: flex; padding: 24px; flex: 1; justify-content: center; flex-direction: column; border: 0; }

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 18, 22, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: zoom-out;
}
.lightbox-overlay.active {
  opacity: 1;
}
.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transform: scale(0.95);
  transition: transform 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.lightbox-overlay.active .lightbox-img {
  transform: scale(1);
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 44px;
  cursor: pointer;
  line-height: 1;
  padding: 8px;
  transition: color 0.2s ease;
}
.lightbox-close:hover {
  color: var(--p-red);
}
.profile-v3 .project-card-body > p { color: var(--p-muted); font: 650 13px/1.35 'Iosevka Charon Mono', monospace; letter-spacing: .035em; text-transform: uppercase; }
.profile-v3 .project-card-body h3 { margin: 0; color: var(--p-ink); font: 550 23px/1.08 var(--font-title); letter-spacing: -.035em; }
.profile-v3 .project-card-body > strong { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--p-line); color: var(--p-red); font: 600 19px/1.25 var(--font-title); }
.profile-v3 .project-card-body > strong::before { content: 'Результат'; display: block; margin-bottom: 7px; color: var(--p-muted); font: 650 13px/1 'Iosevka Charon Mono', monospace; letter-spacing: .04em; text-transform: uppercase; }
.profile-v3 .project-card-body > a { display: flex; margin: auto -24px -24px; padding: 18px 24px; border-top: 1px solid var(--p-line); justify-content: space-between; color: var(--p-ink); font-size: 14px; font-weight: 700; transition: color .2s ease, background .2s ease; }
.profile-v3 .project-card-body > a:hover { background: var(--p-red); color: #fff; }
.profile-v3 .project-showcase-footer { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--p-line); }
.profile-v3 .project-showcase-footer > span { font-size: 13px; }

/* Стили кнопок навигации слайдера портфолио */
.projects-header-side { display: flex; align-items: center; justify-content: flex-end; width: 100%; }
.projects-controls { display: flex; gap: 10px; }
.projects-control {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(21, 21, 21, 0.3);
  border-radius: 50%;
  background: #fff;
  color: #18191c;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.projects-control:hover, .projects-control:focus-visible { color: #fff; border-color: var(--p-red); background: var(--p-red); outline: 0; }
.projects-control:disabled { opacity: .28; cursor: default; color: #18191c; border-color: rgba(21,21,21,.3); background: #fff; }

/* Reviews and inline review form */
.profile-v3 .review-layout { grid-template-columns: minmax(270px,.72fr) minmax(0,1.28fr); gap: 72px; }
.profile-v3 .review-score { margin-top: 32px; padding: 20px 0; border-top: 1px solid var(--p-line-dark); border-bottom: 1px solid var(--p-line); }
.profile-v3 .review-score strong { color: var(--p-red); font: 600 58px/.9 var(--font-title); letter-spacing: -.06em; }
.profile-v3 .review-score span { color: var(--p-muted); font-size: 13px; line-height: 1.45; }
.profile-v3 .review-map-links { display: grid; gap: 10px; max-width: 365px; margin-top: 24px; }
.profile-v3 .review-map-links a { display: block; border-radius: 999px; position: relative; }
.profile-v3 .review-map-links a img.social-icon-hover { display: none; }
.profile-v3 .review-map-links a img.social-icon-default { display: block; }
.profile-v3 .review-map-links a:hover img.social-icon-hover { display: block; }
.profile-v3 .review-map-links a:hover img.social-icon-default { display: none; }
.profile-v3 .review-list { border-top: 1px solid var(--p-line-dark); }
.profile-v3 .review-list article { padding: 32px 0 34px; border: 0; border-bottom: 1px solid var(--p-line); background: #fff; }
.profile-v3 .review-list article header strong { color: var(--p-ink); font: 550 21px/1.15 var(--font-title); }
.profile-v3 .review-list article header span { color: var(--p-green); font: 650 13px/1.2 'Iosevka Charon Mono', monospace; text-transform: uppercase; }
.profile-v3 .review-list article header b { color: var(--p-red); font: 600 25px/1 var(--font-title); }
.profile-v3 .review-service-tags { display: flex; margin-top: 22px; flex-wrap: wrap; gap: 7px; }
.profile-v3 .review-service-tags span { padding: 7px 10px; border: 1px solid var(--p-line); color: var(--p-copy); font-size: 16px; line-height: 1.2; }
.profile-v3 .review-copy-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 24px; border-top: 1px solid var(--p-line); border-bottom: 1px solid var(--p-line); }
.profile-v3 .review-copy-grid > div { padding: 20px 24px 22px 0; }
.profile-v3 .review-copy-grid > div + div { padding-left: 24px; border-left: 1px solid var(--p-line); }
.profile-v3 .review-copy-grid small { color: var(--p-muted); font: 650 13px/1.2 'Iosevka Charon Mono', monospace; text-transform: uppercase; }
.profile-v3 .review-copy-grid p { margin-top: 11px; color: var(--p-copy); font-size: 16px; line-height: 1.6; }
.profile-v3 .review-result-copy { margin-top: 20px; padding: 20px 22px; border-left: 3px solid var(--p-red); }
.profile-v3 .review-result-copy small { color: var(--p-muted); font: 650 13px/1.2 'Iosevka Charon Mono', monospace; text-transform: uppercase; }
.profile-v3 .review-result-copy p { max-width: 860px; margin-top: 11px; color: var(--p-copy); font-size: 16px; line-height: 1.65; }
.profile-v3 .review-list article footer { margin-top: 22px; color: var(--p-muted); font-size: 13px; }
.profile-v3 .review-more { padding: 20px 0; border-bottom: 1px solid var(--p-line-dark); color: var(--p-ink); font-size: 13px; font-weight: 700; }
.profile-v3 .profile-review-form-section { scroll-margin-top: 138px; }
.profile-v3 .review-form-layout { display: grid; grid-template-columns: minmax(280px,.72fr) minmax(0,1.28fr); gap: 72px; align-items: start; }
.profile-v3 .review-form-layout > header { position: sticky; top: 160px; }
.profile-v3 .review-form-layout > header > p:last-child { margin-top: 24px; }
.profile-v3 .profile-review-form { display: grid; gap: 28px; padding-top: 28px; border-top: 1px solid var(--p-line-dark); }
.profile-v3 .profile-review-form label, .profile-v3 .review-rating-field legend, .profile-v3 .review-service-field legend { color: var(--p-ink); font-size: 15px; font-weight: 600; }
.profile-v3 .profile-review-form label > small, .profile-v3 .review-service-field > p { display: block; margin-top: 4px; color: var(--p-muted); font-size: 13px; font-weight: 400; line-height: 1.4; }
.profile-v3 .profile-review-form input[type="text"], .profile-v3 .profile-review-form input[type="email"], .profile-v3 .profile-review-form select, .profile-v3 .profile-review-form textarea { display: block; width: 100%; margin-top: 10px; padding: 14px 16px; border: 1px solid var(--p-line-dark); border-radius: 0; background: #fff; color: var(--p-ink); font: 500 15px/1.5 var(--font-body); outline: 0; transition: border-color .2s ease; }
.profile-v3 .review-required-mark { margin-left: 4px; color: var(--p-red); font-weight: 700; }
.profile-v3 .profile-review-form textarea { min-height: 150px; resize: vertical; }
.profile-v3 .profile-review-form input:focus, .profile-v3 .profile-review-form select:focus, .profile-v3 .profile-review-form textarea:focus { border-color: var(--p-red); }
.profile-v3 .review-form-row { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.profile-v3 .review-service-field { margin: 0; padding: 0 0 26px; border: 0; border-bottom: 1px solid var(--p-line); }
.profile-v3 .review-service-field > div { display: flex; margin-top: 14px; flex-wrap: wrap; gap: 8px; }
.profile-v3 .review-service-field input { position: absolute; opacity: 0; pointer-events: none; }
.profile-v3 .review-service-field label { padding: 9px 13px; border: 1px solid var(--p-line-dark); color: var(--p-copy); font-size: 16px; font-weight: 400; cursor: pointer; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.profile-v3 .review-service-field input:checked + label { border-color: var(--p-red); background: var(--p-red); color: #fff; }
.profile-v3 .review-service-field input:focus-visible + label { outline: 2px solid var(--p-ink); outline-offset: 2px; }
.profile-v3 .review-experience-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.profile-v3 .review-experience-grid label, .profile-v3 .review-result-field { display: block; padding: 18px; border: 1px solid var(--p-line); }
.profile-v3 .review-experience-grid textarea, .profile-v3 .review-result-field textarea { min-height: 150px; margin-top: 14px; }
.profile-v3 .review-service-select { display: block; }
.profile-v3 .review-service-select select { min-height: 52px; cursor: pointer; }
.profile-v3 .review-rating-field { margin: 0; padding: 0 0 22px; border: 0; border-bottom: 1px solid var(--p-line); }
.profile-v3 .review-rating-field div { display: flex; gap: 7px; margin-top: 12px; }
.profile-v3 .review-rating-field input { position: absolute; opacity: 0; pointer-events: none; }
.profile-v3 .review-rating-field label { display: grid; width: 42px; height: 36px; place-items: center; border: 1px solid var(--p-line-dark); cursor: pointer; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.profile-v3 .review-rating-field input:checked + label { border-color: var(--p-red); background: var(--p-red); color: #fff; }
.profile-v3 .review-rating-field input:focus-visible + label { outline: 2px solid var(--p-ink); outline-offset: 2px; }
.profile-v3 .review-form-submit { display: flex; padding-top: 4px; align-items: center; justify-content: space-between; gap: 24px; }
.profile-v3 .review-consent { display: flex; max-width: 430px; align-items: flex-start; gap: 10px; color: var(--p-muted) !important; font-size: 13px !important; line-height: 1.45; }
.profile-v3 .review-consent input { margin-top: 2px; accent-color: var(--p-red); }
.profile-v3 .review-form-status { min-height: 18px; color: var(--p-green); font-size: 13px; font-weight: 700; }

/* Rankings, contacts, similar companies */
.profile-v3 .rating-position-list { border-top: 1px solid var(--p-line-dark); }
.profile-v3 .rating-position-list a { min-height: 108px; padding: 20px 0; border: 0; border-bottom: 1px solid var(--p-line); background: #fff; }
.profile-v3 .rating-position-list a:hover { background: #fff; color: var(--p-red); }
.profile-v3 .position-number { color: var(--p-red); font: 600 34px/1 var(--font-title); }
.profile-v3 .rating-position-list small, .profile-v3 .position-status { color: var(--p-muted); font: 650 13px/1.2 'Iosevka Charon Mono', monospace; text-transform: uppercase; }
.profile-v3 .rating-position-list strong { color: var(--p-ink); font: 550 22px/1.15 var(--font-title); }
.profile-v3 .contact-panel { grid-template-columns: 1fr 1fr 1.2fr 1fr auto; border-top: 1px solid var(--p-line-dark); border-bottom: 1px solid var(--p-line); }
.profile-v3 .contact-panel > div { min-height: 138px; padding: 24px 24px 24px 0; border-right: 1px solid var(--p-line); }
.profile-v3 .contact-panel > div + div { padding-left: 24px; }
.profile-v3 .contact-panel small { color: var(--p-muted); font: 650 13px/1.2 'Iosevka Charon Mono', monospace; text-transform: uppercase; }
.profile-v3 .contact-panel a:not(.btn), .profile-v3 .contact-panel p { color: var(--p-ink); font: 550 18px/1.35 var(--font-title); }
.profile-v3 .contact-panel > .btn { align-self: center; margin: 0 0 0 24px; }
.profile-v3 .similar-grid { border-top: 1px solid var(--p-line-dark); }
.profile-v3 .similar-grid > a { min-height: 118px; border: 0; border-bottom: 1px solid var(--p-line); background: #fff; }
.profile-v3 .similar-grid > a:hover { background: #fff; color: var(--p-red); }
.profile-v3 .similar-grid > a > span { border: 1px solid var(--p-line-dark); background: #fff; color: var(--p-ink); }

@media (max-width: 1100px) {
  .profile-v3 .profile-hero__grid { grid-template-columns: minmax(0,1fr) 290px; gap: 34px; }
  .profile-v3 .profile-section-head { grid-template-columns: minmax(0,1fr) 330px; gap: 38px; }
  .profile-v3 .project-showcase { gap-inline: 16px; }
  .profile-v3 .project-card-body { min-height: 0; }
  .profile-v3 .contact-panel { grid-template-columns: repeat(2,1fr); }
  .profile-v3 .contact-panel > div:nth-child(2) { border-right: 0; }
  .profile-v3 .contact-panel > .btn { margin: 24px 0; justify-self: start; }
}
@media (max-width: 860px) {
  .profile-v3 .profile-breadcrumb-shell { padding-top: 88px; }
  .profile-v3 .profile-hero { padding: 32px 0; }
  .profile-v3 .profile-hero__grid { grid-template-columns: 1fr; gap: 26px; }
  .profile-v3 .profile-side-card { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--p-line); }
  .profile-v3 .profile-side-contact { padding: 0; }
  .profile-v3 .profile-side-links { grid-template-columns: 1fr; align-items: stretch; }
  .profile-v3 .profile-section-head, .profile-v3 .profile-two-column, .profile-v3 .review-layout, .profile-v3 .review-form-layout { grid-template-columns: 1fr; gap: 36px; }
  .profile-v3 .review-form-layout > header { position: static; }
  .profile-v3 .project-showcase { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 42px 18px; }
  .profile-v3 .project-card-body { min-height: 0; }
}
@media (max-width: 620px) {
  .profile-v3 .profile-breadcrumb-shell { padding-top: 82px; }
  .profile-v3 .profile-hero { padding: 28px 0; }
  .profile-v3 .profile-breadcrumbs { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .profile-v3 .profile-main-rank { padding-right: 8px; }
  .profile-v3 .profile-verified-badge:hover, .profile-v3 .profile-verified-badge:focus-visible { width: 34px; }
  .profile-v3 .profile-verified-badge__text { display: none; }
  .profile-v3 .profile-hero h1 { font-size: 46px; }
  .profile-v3 .profile-tagline { font-size: 15px; }
  .profile-v3 .profile-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .profile-v3 .profile-actions .btn { width: 100%; padding-inline: 12px; justify-content: center; font-size: 13px; }
  .profile-v3 .profile-actions .btn-primary { font-size: 13px; padding-inline: 12px; }
  .profile-v3 .profile-side-card { display: block; }
  .profile-v3 .profile-side-card .profile-main-rank { margin-bottom: 18px; }
  .profile-v3 .profile-side-links { margin-top: 18px; }
  .profile-v3 .profile-company-banner { height: 132px; }
  .profile-v3 .profile-about, .profile-v3 .profile-services, .profile-v3 .profile-projects, .profile-v3 .profile-reviews, .profile-v3 .profile-review-form-section, .profile-v3 .profile-ratings, .profile-v3 .profile-contacts, .profile-v3 .profile-similar { padding: 68px 0; }
  .profile-v3 .profile-section-head { margin-bottom: 34px; }
  .profile-v3 .profile-section-head h2, .profile-v3 .profile-two-column h2, .profile-v3 .review-layout h2, .profile-v3 .review-form-layout h2 { font-size: 38px; }
  .profile-v3 .profile-facts { grid-template-columns: 1fr; }
  .profile-v3 .profile-facts div, .profile-v3 .profile-facts div + div { padding: 16px 0; border-right: 0; border-bottom: 1px solid var(--p-line); }
  .profile-v3 .profile-facts div:last-child { border-bottom: 0; }
  .profile-v3 .service-grid, .profile-v3 .project-showcase { grid-template-columns: 1fr; }
  .profile-v3 .service-grid article, .profile-v3 .service-grid article:nth-child(even) { min-height: 0; padding: 26px 0; border-right: 0; }
  .profile-v3 .service-grid h3 { margin-top: 24px; font-size: 26px; }
  .profile-v3 .project-card-body { min-height: 0; }
  .profile-v3 .review-form-row { grid-template-columns: 1fr; }
  .profile-v3 .review-copy-grid, .profile-v3 .review-experience-grid { grid-template-columns: 1fr; }
  .profile-v3 .review-copy-grid > div + div { padding-left: 0; border-top: 1px solid var(--p-line); border-left: 0; }
  .profile-v3 .review-form-submit { align-items: stretch; flex-direction: column; }
  .profile-v3 .review-form-submit .btn { width: 100%; justify-content: center; }
  .profile-v3 .rating-position-list a { grid-template-columns: 46px 1fr auto; }
  .profile-v3 .position-status { display: none; }
  .profile-v3 .contact-panel { grid-template-columns: 1fr; }
  .profile-v3 .contact-panel > div, .profile-v3 .contact-panel > div + div { min-height: 0; padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--p-line); }
}
@media (prefers-reduced-motion: reduce) {
  .profile-v3 .profile-verified-badge, .profile-v3 .profile-verified-badge__text, .profile-v3 .project-cover img { transition: none; }
}

/* Межабзацный отступ 7px при переносе строки через <br> в описательных параграфах */
.profile-tagline br,
.profile-prose p br,
.hero-content p br,
.about-content p br {
  content: "";
  display: block;
  margin-top: 7px;
}
