/* Visual evolution only. Content, document order and application state belong
   to the existing templates and scripts. Tokens follow Uus Maa, PDF p. 13/17. */
:root {
  --pk-space-xs: 8px;
  --pk-space-sm: 16px;
  --pk-space-md: 24px;
  --pk-space-lg: 40px;
  --pk-space-xl: 64px;
  --pk-content: 1200px;
  --pk-gutter: 48px;
  --pk-rule: #CBD0DF;
}

html body { background: #EEF1F6; }
body .site-wrap, body .price-page, body .legal-page,
body .buyer-page, body .media-page, body > .wrap, body > .page {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  box-shadow: none;
}
body :is(h1,h2,h3,h4,h5,h6) {
  letter-spacing: 0 !important;
  text-wrap: pretty;
  hyphens: none;
}
body :is(h1,h2) { font-weight: 700 !important; }
body :is(h3,h4,h5,h6) { font-weight: 500 !important; }
body :is(h1,h2,h3) { overflow-wrap: anywhere; }
body :is(p,li,dd) { text-wrap: pretty; }
body :is(.hero-sub,.section-lead,.lead,.seo-block p,.seo-section p) { font-weight: 400; }
body :is(a,button,input,select,textarea,summary):focus-visible {
  outline: 2px solid #012169;
  outline-offset: 4px;
  box-shadow: 0 0 0 2px #FFFFFF;
}
body :is(a,button,summary) { -webkit-tap-highlight-color: transparent; }
body :is(.anim-left,.anim-right) { transform: none; }
body :is(.btn-primary,.btn-outline,.nav-cta,.private-button,.sales-button,
  .buyout-button,.listings-button,.price-button,.hero-cta,.submit-btn,.btn) {
  border-radius: 2px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
  box-shadow: none;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

/* Navigation remains the same component on every route. */
body .site-nav { height: 70px; border-bottom: 1px solid #DCE1EC; }
body .site-nav-inner {
  width: 100%;
  max-width: 1440px;
  padding-inline: var(--pk-gutter);
  gap: 24px;
}
body .nav-links { gap: 24px; min-width: 0; }
body .nav-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }
body .nav-links a:hover { opacity: 1; text-decoration: underline; text-decoration-color: #FFD100; text-decoration-thickness: 3px; text-underline-offset: 8px; }
body .nav-right { gap: 18px; }
body .nav-cta { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; }
body :is(.lp-nav-inner,.buyer-topbar-inner,.legal-header__inner) { max-width: 1440px; }
body :is(.lp-nav,.price-header,.district-header,.media-header,.buyer-topbar,.legal-header),
body > .wrap > .top, body > .page > .topbar {
  box-shadow: none;
  border-bottom-color: #DCE1EC;
}
body :is(.nav-logo,.lp-nav-logo,.price-logo,.district-logo,.media-logo,.buyer-logo,.legal-logo) img {
  object-fit: contain;
  object-position: left center;
}

/* Unframed homepage hero; the original portrait and architectural scene remain. */
body .hero-section.hero-section--services {
  grid-template-columns: minmax(0,1.12fr) minmax(0,1fr);
  height: auto;
  min-height: 680px;
  max-height: none;
  background: #FFD100;
}
body .hero-section--services .hero-left {
  padding: 48px var(--pk-gutter);
  align-self: stretch;
  justify-content: center;
}
body .hero-section--services .hero-name,
html[lang^="ru"] body .hero-section--services .hero-name {
  font-size: 52px;
  line-height: 1.06;
  max-width: 620px;
  margin: 0 0 22px;
  text-align: left;
  text-wrap: balance;
}
body .hero-section--services .hero-person {
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
  margin-bottom: 24px;
}
body .hero-section--services .hero-subtitle {
  max-width: 560px;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 400;
  color: #012169;
  opacity: 1;
  margin-bottom: 24px;
}
body .hero-section--services .hero-free-badge {
  padding: 0;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 24px;
  line-height: 1.5;
}
body .hero-section--services .hero-right { background: #FFFFFF; min-height: 100%; }
body .hero-section--services .hero-right picture { position: absolute; inset: 0; width: 100%; height: 100%; }
body .hero-section--services .hero-photo { width: 100%; max-width: 100%; height: 100%; left: 0; object-fit: contain; object-position: center bottom; }
body .hero-section--services :is(.hero-arc,.hero-arc2) { opacity: .2; }
body .hero-section--services .hero-service-actions { gap: 10px; max-width: 620px; }
body .hero-section--services :is(.hero-label,.hero-name,.hero-subtitle,.hero-free-badge,.hero-right) { animation: none; }
body .hero-section--services .hero-service-actions > a {
  min-height: 50px;
  padding: 12px 16px;
  border-width: 1px;
  font-size: 15px;
  font-weight: 600;
  animation: none;
  transform: none;
}
body .hero-section--services .hero-service-actions :is(.hero-objects-cta,.hero-buyout-cta) {
  background: transparent;
  border: 1px solid #012169;
}

/* A common reading rhythm, without moving any section. */
body .site-section { padding: 80px var(--pk-gutter); }
body :is(.section-inner,.footer-inner) { max-width: var(--pk-content); }
body .section-title { font-size: 40px; line-height: 1.14; margin-bottom: 20px; max-width: 900px; }
body .section-tag { font-size: 12px; line-height: 1.5; font-weight: 500; margin-bottom: 16px; opacity: 1; }
body .section-sub { font-size: 18px; line-height: 1.6; font-weight: 400; max-width: 760px; }
body .home-trust-strip__inner { width: calc(100% - 96px); max-width: var(--pk-content); }
body .home-trust-strip__item { padding: 24px; }
body .home-trust-strip__item strong { font-size: 16px; font-weight: 600; }
body .home-trust-strip__item small { font-size: 14px; line-height: 1.5; color: #012169; }
body .valuation-hub-head { margin-bottom: 32px; }
body .valuation-choice-grid { gap: 20px; }
body .valuation-choice-card {
  padding: 28px;
  border-radius: 2px;
  box-shadow: none;
  border: 1px solid #CBD0DF;
}
body .valuation-choice-card:hover { transform: none; box-shadow: none; }
body .valuation-choice-card h3 { font-size: 25px; line-height: 1.2; font-weight: 500; }
body .valuation-choice-card p { font-weight: 400; line-height: 1.65; }
body .valuation-choice-card a { min-height: 50px; font-size: 15px; }
body .valuation-tools { padding: 24px 0 0; border: 0; border-top: 1px solid #CBD0DF; margin-top: 32px; }
body .valuation-tools a { min-height: 52px; padding: 14px 16px; font-weight: 500; }
body :is(.how-card,.case-card) { border-radius: 2px; box-shadow: none; padding: 24px; border: 1px solid #DCE1EC; }
body :is(.how-title,.case-card h3) { font-size: 21px; line-height: 1.3; font-weight: 500; }
body :is(.how-card p,.case-card p) { font-size: 16px; line-height: 1.65; font-weight: 400; }
body .about-grid { grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: 64px; }
body .about-content { padding-top: 0; }
body .about-photo { filter: none; border-radius: 0; }
body .about-text { font-size: 18px; line-height: 1.7; color: #012169; font-weight: 400; }
body .about-badge { border-radius: 0; box-shadow: none; }
body .home-listings-section { padding: 72px var(--pk-gutter); }
body .home-listings-section__inner { max-width: var(--pk-content); }
body .home-listings-section__copy { max-width: 720px; }

/* Property photographs are the focal point, not oversized card chrome. */
body .listings-container { width: calc(100% - 96px); max-width: var(--pk-content); }
body .listings-intro { padding-block: 48px 32px; border-bottom-width: 2px; }
body :is(.listings-intro h1,.property-heading h1) { font-size: 44px; line-height: 1.1; }
body :is(.listings-grid,.home-listings-preview) { gap: 32px 24px; }
body .listing-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid #DCE1EC;
  border-radius: 4px !important;
  overflow: hidden;
  box-shadow: none;
  transition: border-color .18s ease;
}
body .listing-card:hover { border-color: #9AA6C4; }
body .listing-card-photo { aspect-ratio: 3/2; }
body .listing-card-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 20px 24px 0; }
body .listing-card-action { margin-top: auto; margin-inline: -24px; padding: 14px 24px 16px; align-items: center; }
body .listing-card-body :is(h2,h3) { font-size: 26px; font-weight: 500; margin-block: 8px 12px; }
body .listing-location { min-height: 0; font-size: 14px; }
body .listing-card-price { font-size: 28px; font-weight: 600; }
body .listing-card-action { min-height: 44px; font-weight: 500; }
body .listings-filters { padding: 24px; background: #EEF1F6; border: 1px solid #DCE1EC; gap: 16px; }
body .property-description { max-width: 760px; font-size: 18px; line-height: 1.75; }
body .property-description :is(p,li) { font-weight: 400; }
body .property-summary { background: #EEF1F6; border-top-width: 3px; box-shadow: none; }

/* Editorial publishing: all content stays open in the original server HTML. */
body .blog-grid { gap: 36px 24px; }
body .blog-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid #DCE1EC;
  border-radius: 4px !important;
  overflow: hidden;
  box-shadow: none !important;
}
body .blog-card:hover { transform: none !important; box-shadow: none !important; border-color: #9AA6C4; }
body .blog-thumb { height: auto; aspect-ratio: 3/2; flex: 0 0 auto; }
body .blog-content-inner { display: flex; flex-direction: column; flex: 1 1 auto; padding: 20px 24px 24px; }
body .blog-content-inner .blog-meta { margin-top: auto; padding-top: 4px; }
body .blog-content-inner .blog-lang-tag { align-self: flex-start; }
body .blog-post-title { font-size: 22px; line-height: 1.3; font-weight: 500; }
body .blog-excerpt { font-size: 16px; line-height: 1.6; }
body .blog-meta { font-size: 13px; line-height: 1.5; }
body .single-post-wrap { max-width: 880px; padding: 56px 40px 72px; }
body .single-post-title { font-size: 44px; line-height: 1.13; text-wrap: balance; }
body .post-content { font-size: 18px; line-height: 1.8; color: #012169; }
body .post-content p { margin-bottom: 24px; }
body .post-content :is(h2,h3) { line-height: 1.25; margin-top: 40px; }
body .post-content img { height: auto; max-width: 100%; }
body .post-content table { display: block; max-width: 100%; overflow-x: auto; }
body .post-content blockquote { border-left: 3px solid #FFD100; padding-left: 24px; margin-block: 28px; }
body .media-page .media-hero { padding-block: 56px; }
body .media-page .media-list-section { padding-block: 64px; }
body .media-page .media-item { box-shadow: none; border-radius: 0; }

/* Form geometry only: field names, required flags and submission stay intact. */
body :is(form,.form-card,.price-calculator,.price-lead__form) :is(input[type="text"],input[type="email"],input[type="tel"],input[type="number"],input[type="url"],input[type="date"],select,textarea) {
  min-height: 50px;
  padding: 12px 14px;
  border-radius: 2px;
  border-width: 1px;
  font-family: 'Inter Tight','Inter',Arial,sans-serif;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.5;
}
body :is(form,.form-card) :is(input[type="checkbox"],input[type="radio"]) { accent-color: #012169; }
body :is(.contact-form-box,.form-card,.property-form-panel,.private-form-panel,.buyout-form-panel,.sales-tool) {
  border-radius: 2px;
  box-shadow: none;
}
body .contact-grid { grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: 64px; }
body .contact-form-box { padding: 32px; border: 1px solid #012169; background: #FFFFFF; }
body .contact-section :is(.contact-form-box,.contact-item) { opacity: 1; transform: none; transition: none; }
body .contact-form-box h3 { font-size: 26px; line-height: 1.2; font-weight: 500; }
body .contact-item { margin-bottom: 24px; }
body .contact-val { font-weight: 500; overflow-wrap: anywhere; }
body .contact-icon { border-radius: 0; background: transparent; }
body :is(.faq-item,.price-faq details,.private-faq details,.sales-faq details) {
  box-shadow: none;
  border-radius: 0;
}
body .faq-item { border: 0; border-bottom: 1px solid #CBD0DF; background: #FFFFFF; }
body .faq-item + .faq-item { margin-top: 0; }
body .faq-item summary { min-height: 64px; padding: 20px 48px 20px 24px; font-size: 18px; font-weight: 500; line-height: 1.4; }
body .faq-answer { font-size: 17px; line-height: 1.65; }

/* Existing standalone pages keep their own selectors and application state. */
body :is(.private-container,.sales-container,.buyout-container) { width: calc(100% - 96px); max-width: var(--pk-content); }
body :is(.private-intro,.sales-hero,.buyout-hero) { padding-top: 48px; }
body :is(.private-section,.sales-band,.buyout-section) { padding-block: 72px; }
body :is(.private-page,.sales-page,.buyout-page) h1 { font-size: 48px; line-height: 1.08; }
body :is(.private-page,.sales-page,.buyout-page) h2 { font-size: 34px; line-height: 1.18; }
body :is(.private-page,.sales-page,.buyout-page) h3 { font-weight: 500; line-height: 1.3; }
body .private-request-band { padding-block: 40px 64px; }
body .private-request-layout { gap: 48px; }
body .private-form-panel { padding: 32px; border-top-width: 3px; }
body .private-form-panel > h2 { font-size: 26px; }
body .private-page p { line-height: 1.65; }
body .sales-portrait figcaption { border-top-width: 1px; }
body :is(.sales-page,.buyout-page) .sales-lead { font-weight: 400; }
body[class*="-kinnisvara-page"] .hero { max-height: none; }
body[class*="-kinnisvara-page"] .hero-copy { padding: 48px; }
body[class*="-kinnisvara-page"] .hero h1 { font-size: 46px; line-height: 1.1; }
body[class*="-kinnisvara-page"] .section { padding-block: 72px; }
body[class*="-kinnisvara-page"] :is(.text-card,.info-card,.district-card,.section-action) { border-radius: 2px; box-shadow: none; }
body[class*="-kinnisvara-page"] :is(.hero-sub,.hero-identity,.text-card p,.info-card p,.district-card p) { font-weight: 400; }
body .price-page { box-shadow: none; }
body .price-calculator--primary { padding-block: 48px 64px; }
body .price-calculator__intro h1 { font-size: 44px; line-height: 1.12; }
body .price-calculator__intro > p { font-weight: 400; line-height: 1.65; }
body .price-calculator__owner { padding-block: 16px; border-top: 0; }
body .price-calculator__tool { border-top-width: 3px; border-radius: 2px; box-shadow: none; }
body :is(.price-section,.price-method,.price-faq) { padding-block: 64px; }
body :is(.price-section__head h2,.price-faq h2,.price-method h2) { font-size: 34px; line-height: 1.2; }
body .calc-page .hero h1 { font-size: 46px; line-height: 1.1; }
body .calc-page .hero-copy { padding: 64px 48px; }
body .calc-page .lead { font-weight: 400; }
body .calc-page .agent { border-left-width: 3px; padding: 28px; box-shadow: none; }
body .calc-page .card { padding: 28px; border-width: 1px; border-left-width: 3px; }
body .calc-page .card h2 { font-size: 28px; line-height: 1.2; }
body .calc-page :is(.card p,.card li,.hint,.agent p,.seo-block p) { font-weight: 400; }
body .calc-page .result { padding: 28px; border-top-width: 3px; }
body .hero-content { padding-block: 48px; }
body .hero-content :is(h1,.hero-sub,.hero-stats,.pavel-card,.stat-item,.stat-num) { animation: none !important; }
body .hero-content .stat-item { opacity: 1; transform: none; transition: none; }
body .hero-content h1 { font-size: 48px; line-height: 1.1; }
body .hero-content .hero-sub { font-weight: 400; line-height: 1.6; }
body .pavel-card { border-radius: 0; box-shadow: none; }
body .main-wrap .form-card { border-top-width: 3px; }
body .main-wrap :is(.why-card,.contact-card) { box-shadow: none; border-radius: 2px; }
body .legal-hero h1 { font-size: 48px; line-height: 1.1; }
body .legal-section h2 { font-size: 32px; line-height: 1.2; }
body .legal-section__lead { font-weight: 500; }
body .buyer-hero h1 { font-size: 48px; line-height: 1.1; }
body .buyer-lead { font-weight: 400; line-height: 1.6; }
body :is(.budget-tool,.buyer-page .step) { box-shadow: none; border-radius: 2px; }

/* Compact, legible footers; logo aspect ratios remain untouched. */
body .site-footer { padding: 48px var(--pk-gutter) 24px; }
body .site-footer .footer-inner { padding-inline: 0; }
body .site-footer .footer-top { padding-bottom: 32px; margin-bottom: 0; }
body .site-footer .footer-nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 32px; text-align: left; }
body .site-footer .footer-nav a { min-height: 32px; font-size: 14px; color: #FFFFFF; line-height: 1.5; }
body .site-footer .footer-desc { font-size: 14px; line-height: 1.6; color: #FFFFFF; max-width: 340px; }
body .site-footer .footer-bottom, body .site-footer .footer-bottom a { color: #FFFFFF; font-size: 13px; line-height: 1.6; }
body .cookie-btn-decline { color: #FFFFFF; min-height: 44px; }
body .cookie-btn-accept { min-height: 44px; }

/* ── 3.22.1 corrections ──────────────────────────────────────────────
   One radius, one button geometry and padded cards everywhere. Earlier layers
   in style.css use !important, so the overrides below must as well. */
:root { --pk-radius: 4px; --pk-btn-h: 50px; --pk-btn-min: 220px; }

/* Buttons: a shared height, centred label and a common minimum width. */
body :is(.btn-primary,.btn-outline) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--pk-btn-h);
  padding: 12px 28px;
  border-radius: var(--pk-radius) !important;
  font-size: 15px;
  line-height: 1.3;
}
body .site-section :is(.btn-primary,.btn-outline),
body .home-listings-section__cta { min-width: var(--pk-btn-min); }
body .hero-section--services .hero-service-actions > a { min-width: 0; }
body .form-submit { min-height: var(--pk-btn-h); border-radius: var(--pk-radius) !important; }
@media (min-width: 901px) {
  body .nav-cta {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    line-height: 1.2;
    white-space: nowrap;
    border-radius: var(--pk-radius) !important;
  }
}

/* Cards share radius and border; the static yellow glow only follows the
   pointer on hover instead of sitting as a smudge in the middle of each card. */
body :is(.valuation-choice-card,.how-card,.case-card,.contact-form-box,.faq-item) { border-radius: var(--pk-radius) !important; }
body :is(.how-card,.case-card).pk-depth-card { box-shadow: none !important; }
body :is(.how-card,.case-card) { background: #FFFFFF; }
body .pk-depth-card::after { opacity: 0 !important; transition: opacity .2s ease; }
body .pk-depth-card:hover::after { opacity: .6 !important; }

/* Valuation choices: no artificial height, aligned buttons, number never
   collides with the heading. */
body .valuation-choice-grid { align-items: stretch; }
body .valuation-choice-card { min-height: 0; padding: 32px; box-shadow: none !important; }
body .valuation-choice-card:hover { transform: none !important; box-shadow: none !important; }
body .valuation-choice-card h3 { padding-right: 84px; margin-bottom: 12px; }
body .valuation-choice-card p { margin-bottom: 28px; }
body .valuation-choice-card .btn-primary { margin-top: auto; min-width: 240px; }
body .valuation-choice-grid { grid-auto-rows: 1fr; }
body .valuation-choice-num { top: 26px; right: 28px; font-size: 52px; }
body .valuation-tools > div { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
body .valuation-tools a { border-radius: var(--pk-radius); }

/* FAQ heading aligns with the 860px question column instead of floating. */
body .faq-section .section-inner > :is(.section-tag,.section-title,.faq-intro) {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
body .faq-section .faq-intro { margin-bottom: 32px; }
body .faq-item { border-left: 3px solid #FFD100; }
body .faq-item + .faq-item { margin-top: 8px; }

/* Section-level CTAs sit on the same axis as their content. */
body .case-cta, body .blog-section .section-inner > div[style] { display: flex; justify-content: center; }

/* Standalone templates whose footer sits outside the 1440px frame. */
body > :is(.wrap,.page,.price-page,.legal-page,.buyer-page,.media-page) ~ .site-footer {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
}

/* The decorative orbit stays behind cards instead of crossing their photos. */
body .pk-depth-section > .section-inner { position: relative; z-index: 1; }

/* Rental page: tinted SEO bands lost their side padding on tablets/phones. */
@media (max-width: 860px) {
  body .seo-section.alt .seo-inner { padding-inline: 20px; }
}

/* 3.23.0 internal links: related articles, district articles, blog hub intro. */
body .pk-article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
body .pk-article-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #FFFFFF;
  border: 1px solid #DCE1EC;
  border-radius: 4px;
  overflow: hidden;
  color: #012169;
  text-decoration: none;
  transition: border-color .18s ease;
}
body .pk-article-card:hover { border-color: #9AA6C4; }
body .pk-article-card__image { display: block; aspect-ratio: 3 / 2; background: #EEF1F6; overflow: hidden; }
body .pk-article-card__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
body .pk-article-card__title { margin: 0; padding: 16px 20px 20px; font-size: 18px !important; line-height: 1.35; font-weight: 500; color: #012169; }
body .pk-related-articles { margin-top: 48px; padding-top: 32px; border-top: 1px solid #CBD0DF; }
body .pk-related-articles__title { font-size: 26px; line-height: 1.2; margin: 0 0 20px; }
body .pk-district-articles .pk-article-grid { margin-top: 28px; }
body .pk-district-articles__all { margin-top: 20px; font-weight: 600; }
body .pk-district-articles__all a { color: #012169; text-decoration: underline; text-underline-offset: 4px; }
body .pk-blog-intro { max-width: 820px; margin: 0 0 28px; font-size: 17px; line-height: 1.65; font-weight: 400; color: #012169; }
body .pk-blog-intro a { color: #012169; font-weight: 600; text-decoration: underline; text-decoration-color: #FFD100; text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (max-width: 900px) {
  body .pk-article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  body .pk-article-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  body .pk-article-card { flex-direction: row; align-items: stretch; }
  body .pk-article-card__image { flex: 0 0 112px; aspect-ratio: auto; }
  body .pk-article-card__title { padding: 14px 16px; font-size: 16px !important; }
  body .pk-related-articles__title { font-size: 23px; }
  body .pk-blog-intro { font-size: 16px; }
}

/* Listing filters: equal columns instead of content-sized selects. */
body .listings-filters select { width: 100%; }

@media (min-width: 901px) and (max-width: 1199px) {
  :root { --pk-gutter: 32px; }
  body .site-nav-inner { gap: 16px; }
  body .nav-links { gap: 16px; }
  body .nav-links a { font-size: 13px; }
  body .nav-right { gap: 10px; }
  body .nav-cta { padding-inline: 12px; font-size: 13px; }
  body .hero-section--services .hero-name,
  html[lang^="ru"] body .hero-section--services .hero-name { font-size: 42px; }
  body .hero-section--services .hero-subtitle { font-size: 17px; }
  body :is(.about-grid,.contact-grid) { gap: 40px; }
}
@media (max-width: 900px) {
  :root { --pk-gutter: 24px; }
  body .site-nav { height: 70px; }
  body .site-nav-inner { padding-inline: 20px; gap: 16px; }
  body .nav-right { gap: 12px; }
  body .hero-section.hero-section--services { grid-template-columns: minmax(0,1fr); min-height: 0; }
  body .hero-section--services .hero-left { padding: 40px var(--pk-gutter); }
  body .hero-section--services .hero-name,
  html[lang^="ru"] body .hero-section--services .hero-name { font-size: 42px; max-width: 680px; }
  body .hero-section--services .hero-right { height: 420px; min-height: 0; }
  body .hero-section--services .hero-right picture { position: relative; }
  body .hero-section--services .hero-photo { object-fit: contain; object-position: center top; }
  body .hero-section--services .hero-service-actions { max-width: none; }
  body .site-section { padding-block: 56px; }
  body .section-title { font-size: 34px; }
  body .home-trust-strip__inner { width: calc(100% - 48px); }
  body .home-trust-strip__item { padding: 20px 12px; }
  body .valuation-choice-card { padding: 24px; }
  body :is(.about-grid,.contact-grid) { gap: 32px; }
  body .about-text { font-size: 17px; }
  body .home-listings-section { padding-block: 56px; }
  body .listings-container { width: calc(100% - 48px); }
  body :is(.private-container,.sales-container,.buyout-container) { width: calc(100% - 48px); }
  body .private-request-layout { gap: 24px; }
  body :is(.private-page,.sales-page,.buyout-page) h1 { font-size: 38px; }
  body :is(.private-section,.sales-band,.buyout-section) { padding-block: 52px; }
  body .calc-page .hero-copy { padding: 40px 24px; }
  body .calc-page .hero h1 { font-size: 38px; }
}
@media (max-width: 600px) {
  :root { --pk-gutter: 20px; }
  body .site-nav-inner { padding-inline: 16px; gap: 10px; }
  body .nav-right { gap: 10px; }
  body .hero-section--services .hero-left { padding: 32px 20px; }
  body .hero-section--services .hero-name,
  html[lang^="ru"] body .hero-section--services .hero-name { font-size: 32px; line-height: 1.12; margin-bottom: 16px; }
  body .hero-section--services .hero-person { font-size: 12px; margin-bottom: 18px; }
  body .hero-section--services .hero-subtitle { font-size: 17px; margin-bottom: 20px; }
  body .hero-section--services .hero-free-badge { font-size: 11px; margin-bottom: 20px; }
  body .hero-section--services .hero-service-actions { gap: 8px; }
  body .hero-section--services .hero-service-actions > a { font-size: 14px; min-height: 48px; padding: 12px; }
  body .hero-section--services .hero-right { height: 320px; }
  body .section-title { font-size: 29px; line-height: 1.18; }
  body .blog-section .section-title { font-size: 27px; }
  body .section-sub { font-size: 17px; }
  body .site-section { padding-block: 44px; }
  body .valuation-choice-grid { grid-template-columns: minmax(0,1fr); gap: 16px; }
  body .valuation-choice-card { padding: 24px 20px; }
  body .valuation-choice-card h3 { font-size: 23px; }
  body :is(.about-grid,.contact-grid) { grid-template-columns: minmax(0,1fr); }
  body .home-trust-strip__inner { width: calc(100% - 40px); }
  body .home-trust-strip__item { padding-block: 16px; }
  body .home-listings-section { padding-block: 44px; }
  body .listings-container { width: calc(100% - 40px); }
  body :is(.listings-intro h1,.property-heading h1) { font-size: 32px; }
  body .listing-card-body :is(h2,h3) { font-size: 24px; }
  body .blog-post-title { font-size: 21px; }
  body .single-post-wrap { padding: 32px 20px 48px; }
  body .single-post-title { font-size: 30px; }
  body .post-content { font-size: 17px; line-height: 1.75; }
  body .contact-form-box { padding: 24px 20px; }
  body .contact-form-box h3 { font-size: 24px; }
  body .faq-item summary { padding: 18px 40px 18px 18px; font-size: 17px; }
  body :is(.private-container,.sales-container,.buyout-container) { width: calc(100% - 40px); }
  body :is(.private-page,.sales-page,.buyout-page) h1 { font-size: 32px; }
  body :is(.private-page,.sales-page,.buyout-page) h2 { font-size: 28px; }
  body .private-form-panel { padding: 24px 18px; }
  body .private-form-panel > h2 { font-size: 24px; }
  body .private-request-layout { grid-template-columns: minmax(0,1fr); }
  body[class*="-kinnisvara-page"] .hero-copy { padding: 32px 20px; }
  body[class*="-kinnisvara-page"] .hero h1 { font-size: 32px !important; }
  body[class*="-kinnisvara-page"] .section { padding-block: 44px; }
  body .price-calculator--primary { padding-top: 28px; padding-bottom: 44px; }
  body .price-calculator__intro h1 { font-size: 32px; }
  body :is(.price-section,.price-method,.price-faq) { padding-block: 44px; }
  body :is(.price-section__head h2,.price-faq h2,.price-method h2) { font-size: 28px; }
  body .calc-page .hero h1 { font-size: 32px; }
  body .calc-page .card { padding: 24px 18px; }
  body .calc-page .card h2 { font-size: 26px; }
  body .hero-content h1, body .legal-hero h1, body .buyer-hero h1 { font-size: 32px; line-height: 1.12; }
  body .legal-section h2 { font-size: 28px; }
  body .calc-page .result { padding: 24px 20px; }
  body .site-footer { padding: 40px 20px 24px; }
  body .site-footer .footer-nav { gap: 8px 20px; }
  body .site-footer .footer-top { flex-direction: column; }
  /* Every section CTA spans the column on phones, like the hero actions. */
  body .site-section :is(.btn-primary,.btn-outline),
  body .home-listings-section__cta { width: 100%; min-width: 0; }
  body .valuation-choice-card .btn-primary { min-width: 0; }
  body .valuation-choice-grid { grid-auto-rows: auto; }
  body .valuation-choice-card h3 { padding-right: 64px; }
  body .valuation-choice-num { top: 22px; right: 20px; font-size: 40px; }
  body .valuation-tools > div { grid-template-columns: minmax(0,1fr); }
  body .listing-card-body { padding: 18px 20px 0; }
  body .listing-card-action { margin-inline: -20px; padding-inline: 20px; }
  body .blog-content-inner { padding: 18px 20px 20px; }
  body .faq-item summary { padding-left: 16px; }
}
@media (max-width: 360px) {
  body .site-nav-inner { padding-inline: 12px; gap: 8px; }
  body .nav-right { gap: 6px; }
  body .hero-section--services .hero-name,
  html[lang^="ru"] body .hero-section--services .hero-name { font-size: 29px; }
  body .section-title { font-size: 27px; }
  body .blog-section .section-title { font-size: 24px; }
  body .price-calculator__intro h1 { font-size: 29px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  body *, body *::before, body *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
