@font-face {
  font-family: "AP Cormorant";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/static/public_site/fonts/cormorant-garamond/cormorant-garamond-600.e63a7b59857b.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "AP Cormorant";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/static/public_site/fonts/cormorant-garamond/cormorant-garamond-600-latin.bf1e09fb81d7.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "AP Cormorant";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/static/public_site/fonts/cormorant-garamond/cormorant-garamond-700.41ab1032c541.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "AP Cormorant";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/static/public_site/fonts/cormorant-garamond/cormorant-garamond-700-latin.7b927d350248.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "AP Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/public_site/fonts/manrope/manrope-400.7d1637a696b6.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "AP Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/public_site/fonts/manrope/manrope-400-latin.1589a53d0b0e.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "AP Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/static/public_site/fonts/manrope/manrope-500.50c16b5d8d7b.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "AP Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/static/public_site/fonts/manrope/manrope-500-latin.f95b8f975304.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "AP Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/static/public_site/fonts/manrope/manrope-600.3470ad06386c.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "AP Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/static/public_site/fonts/manrope/manrope-600-latin.58d382c3e448.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "AP Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/static/public_site/fonts/manrope/manrope-700.b3aed8e4cd3a.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "AP Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/static/public_site/fonts/manrope/manrope-700-latin.ed9e261b92db.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}

:root {
  --ap-navy: #0B1B33;
  --ap-blue: #0F3D75;
  --ap-blue-soft: #DCE8F6;
  --ap-orange: #D66A00;
  --ap-orange-hover: #B85600;
  --ap-bg: #F7F4EF;
  --ap-bg-warm: #FBF7F0;
  --ap-surface: #FFFFFF;
  --ap-surface-soft: #F8FAFC;
  --ap-border: #E7DFD4;
  --ap-border-blue: #D7E2F1;
  --ap-muted: #607086;
  --ap-text: #102033;
  --ap-green: #1F8A5B;
  --ap-danger: #C94A3A;
  --radius-sm: 8px;
  --radius-md: 8px;
  --radius-lg: 8px;
  --radius-xl: 8px;
  --shadow-card: 0 14px 35px rgba(11, 27, 51, 0.08);
  --shadow-soft: 0 10px 24px rgba(11, 27, 51, 0.06);
  --container: 1320px;
  --font-heading: "AP Cormorant", Georgia, serif;
  --font-body: "AP Manrope", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-ui: "AP Manrope", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --color-bg: var(--ap-bg);
  --color-bg-soft: var(--ap-bg-warm);
  --color-surface: var(--ap-surface);
  --color-ink: var(--ap-navy);
  --color-navy: var(--ap-navy);
  --color-text: var(--ap-text);
  --color-muted: var(--ap-muted);
  --color-border: var(--ap-border);
  --color-orange: var(--ap-orange);
  --color-orange-dark: var(--ap-orange-hover);
  --color-green: var(--ap-green);
  --radius: var(--radius-lg);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  left: -999px;
  position: absolute;
  top: 8px;
}

.skip-link:focus {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  left: 8px;
  padding: 8px 12px;
  z-index: 100;
}

.container {
  margin: 0 auto;
  width: min(var(--container), calc(100% - 48px));
}

.site-header {
  background: rgba(247, 244, 239, 0.88);
  font-family: var(--font-ui);
  padding: 8px 0;
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header__inner {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(231, 223, 212, 0.92);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 16px;
  grid-template-columns: 220px 1fr auto;
  min-height: 76px;
  padding: 0 14px;
  position: relative;
}

.site-logo {
  align-items: center;
  display: flex;
  min-width: 0;
}

.site-logo img {
  height: 64px;
  object-fit: contain;
  width: auto;
}

.site-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.site-nav a,
.login-link {
  border-radius: var(--radius);
  color: var(--color-navy);
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  padding: 10px 12px;
  position: relative;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
.login-link:hover {
  background: #f0ebe3;
}

.site-nav a.is-active::after {
  background: var(--ap-orange);
  border-radius: 999px;
  bottom: 3px;
  content: "";
  height: 3px;
  left: 12px;
  position: absolute;
  right: 12px;
}

.site-nav__mobile-action {
  display: none;
}

.site-nav__mobile-cta {
  background: var(--ap-orange);
  color: #fff !important;
  text-align: center;
}

.site-actions {
  align-items: center;
  display: flex;
  gap: 8px;
}

.site-burger {
  background: transparent;
  border: 0;
  display: none;
  height: 44px;
  min-width: 44px;
  padding: 8px;
  width: 44px;
}

.site-burger span {
  background: var(--color-navy);
  border-radius: 999px;
  display: block;
  height: 2px;
  margin: 5px 0;
  width: 24px;
}

.btn {
  align-items: center;
  border-radius: var(--radius);
  display: inline-flex;
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 700;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  text-decoration: none;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--color-orange);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-orange-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(214, 106, 0, 0.35);
  color: var(--ap-orange);
}

.btn-secondary:hover {
  background: #fff;
  border-color: var(--ap-orange);
}

.btn-small {
  min-height: 40px;
  padding: 9px 13px;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: 0 8px 26px rgba(16, 33, 54, 0.06);
  font-family: var(--font-ui);
  transition: 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.site-nav,
.site-header,
.btn,
.form-control,
.card,
.badge,
.meta,
.small-text,
input,
select,
textarea,
button {
  font-family: var(--font-ui);
}

h1,
h2,
.page-title,
.hero-title,
.section-title,
.section-subtitle {
  font-family: var(--font-heading);
  color: var(--ap-navy);
  font-weight: 700;
  letter-spacing: 0;
}

h3,
.card-title,
.feature-card h2,
.feature-card h3,
.info-card__title,
.process-card__title,
.link-card h2,
.timeline-card h2,
.price-card h2 {
  font-family: var(--font-ui);
  color: var(--ap-navy);
  font-weight: 700;
  letter-spacing: 0;
}

p,
.card-text,
.page-text,
.feature-card p,
.feature-card li,
.info-card__text,
.process-card__text {
  font-family: var(--font-body);
}

.step-number,
.metric-value,
.stat-value,
.price-value,
.dashboard-number,
.progress-row b,
.cabinet-stats b,
.demo-lk-summary strong,
.demo-lk-summary__stats b,
.demo-progress b,
.cabinet-progress b,
.estimate-hero-card strong,
.prices-hero-card dt,
.prices-hero-card dd,
.timeline-card b,
.feature-line b {
  font-family: var(--font-ui);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.step-number {
  align-items: center;
  background: #f1eee7;
  border-radius: 50%;
  color: var(--ap-navy);
  display: inline-grid;
  font-size: 20px;
  font-weight: 700;
  height: 62px;
  justify-content: center;
  line-height: 1;
  place-items: center;
  width: 62px;
}

.metric-value {
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.price-value {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
}

.page-hero {
  background:
    linear-gradient(100deg, rgba(251, 247, 240, 0.98), rgba(251, 247, 240, 0.96) 55%, rgba(246, 239, 229, 0.9)),
    linear-gradient(135deg, rgba(15, 61, 117, 0.06) 0 1px, transparent 1px 24px);
  color: var(--color-ink);
  min-height: 286px;
  overflow: hidden;
  position: relative;
}

.page-hero::before {
  background:
    linear-gradient(90deg, rgba(251, 247, 240, 0.68), rgba(251, 247, 240, 0.28) 48%, transparent 74%),
    repeating-linear-gradient(115deg, rgba(15, 61, 117, 0.035) 0 1px, transparent 1px 28px);
  content: "";
  inset: 0;
  position: absolute;
}

.page-hero--home,
.page-hero--how,
.page-hero--cabinet,
.page-hero--control,
.page-hero--estimate,
.page-hero--prices,
.page-hero--contacts {
  background-image:
    linear-gradient(100deg, rgba(251, 247, 240, 0.98), rgba(251, 247, 240, 0.96) 55%, rgba(246, 239, 229, 0.9)),
    linear-gradient(135deg, rgba(15, 61, 117, 0.06) 0 1px, transparent 1px 24px);
}

.page-hero__inner {
  align-items: center;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 0.84fr) minmax(360px, 1fr);
  min-height: 286px;
  padding-bottom: 18px;
  padding-top: 18px;
  position: relative;
  z-index: 1;
}

.public-page--home .page-hero {
  min-height: 312px;
}

.public-page--home .page-hero__inner {
  grid-template-columns: minmax(0, 600px) minmax(0, 540px);
  justify-content: space-between;
  min-height: 312px;
  padding-bottom: 18px;
  padding-top: 18px;
}

.public-page--home .page-hero__content {
  max-width: 650px;
}

.page-hero__inner--single {
  grid-template-columns: minmax(0, 760px);
}

.public-page--process .page-hero__inner,
.public-page--quality .page-hero__inner,
.public-page--estimate .page-hero__inner,
.public-page--prices .page-hero__inner,
.public-page--contacts .page-hero__inner {
  grid-template-columns: minmax(0, 540px) minmax(420px, 1fr);
}

.public-page--contacts .page-hero__inner {
  grid-template-columns: minmax(0, 450px) minmax(520px, 1fr);
}

.public-page--contacts .page-hero,
.public-page--contacts .page-hero__inner {
  min-height: 286px;
}

.public-page--contacts .page-hero__inner {
  padding-bottom: 18px;
  padding-top: 18px;
}

.public-page--contacts .page-hero__media {
  height: 236px;
}

.page-hero__content {
  max-width: 760px;
}

.eyebrow {
  color: #f4b37c;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.page-title,
.hero-title,
.section-title,
.section-subtitle,
.lead-form h2 {
  color: var(--color-ink);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
}

.page-title {
  color: var(--color-ink);
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  max-width: 620px;
}

.hero-title {
  color: var(--color-ink);
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  max-width: 610px;
}

.page-hero__content > p {
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 16px;
  margin: 14px 0 0;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.page-hero__media {
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  height: 238px;
  justify-self: stretch;
  object-fit: cover;
  object-position: right center;
  width: 100%;
}

.public-page--client_portal .page-hero__inner {
  gap: 32px;
  grid-template-columns: minmax(0, 390px) minmax(0, 610px);
  justify-content: space-between;
  min-height: 360px;
}

.public-page--client_portal .page-title {
  font-size: 50px;
  max-width: 390px;
}

.public-page--client_portal .page-hero__content > p {
  max-width: 470px;
}

.public-page--client_portal .hero-actions {
  flex-wrap: nowrap;
}

.public-page--client_portal .hero-actions .btn {
  min-height: 48px;
  padding: 0 22px;
}

.hero-note {
  color: var(--color-muted);
  font-size: 14px !important;
  margin-top: 18px !important;
}

.hero-demo-card,
.cabinet-panel,
.contact-card {
  background: rgba(255, 255, 255, 0.96);
  overflow: hidden;
  padding: 16px;
}

.hero-demo-card {
  color: var(--color-text);
  display: grid;
  gap: 16px;
  grid-template-columns: 150px minmax(0, 1fr);
  justify-self: end;
  max-width: 488px;
}

.hero-demo-card p,
.cabinet-panel p,
.contact-card p {
  color: var(--color-text);
  font-size: 16px;
}

.hero-demo-card__image,
.contact-card img {
  border-radius: var(--radius);
  height: 205px;
  object-fit: cover;
  width: 100%;
}

.hero-demo-card > img {
  align-self: stretch;
  border-radius: var(--radius);
  height: 176px;
  object-fit: cover;
  width: 100%;
}

.demo-card__body {
  padding: 18px 4px 4px;
}

.demo-card__content {
  padding: 8px 2px 2px;
}

.demo-card__content h2 {
  color: var(--ap-navy);
  font-size: 21px;
  line-height: 1.12;
  margin: 0 0 8px;
}

.progress-row {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr auto;
  margin: 12px 0;
}

.progress-row span {
  background: linear-gradient(90deg, var(--ap-green) 62%, #edf0f2 62%);
  border-radius: 999px;
  height: 10px;
}

.progress-row b {
  color: var(--ap-navy);
}

.status-list {
  color: var(--ap-text);
  display: grid;
  gap: 6px;
  font-size: 14px;
  margin: 0 0 14px;
  padding-left: 20px;
}

.status-list small {
  color: var(--ap-muted);
  display: block;
  font-size: 12px;
}

.text-link {
  color: var(--ap-orange);
  font-weight: 900;
}

.demo-card__top,
.cabinet-panel__header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.demo-card__top span,
.cabinet-panel__header span,
.contact-list span {
  color: var(--color-muted);
  display: block;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.status-pill {
  background: #e8f4ef;
  border-radius: 999px;
  color: var(--color-green);
  font-size: 13px;
  font-weight: 900;
  padding: 7px 10px;
}

.progress-bar {
  background: #edf0f2;
  border-radius: 999px;
  height: 10px;
  margin: 20px 0 14px;
  overflow: hidden;
}

.progress-bar span {
  background: var(--color-green);
  display: block;
  height: 100%;
}

.demo-card__grid,
.cabinet-stats,
.cabinet-columns,
.mini-grid,
.feature-grid,
.link-grid,
.price-grid,
.timeline,
.contact-layout {
  display: grid;
  gap: 18px;
}

.demo-card__grid,
.cabinet-stats,
.cabinet-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.demo-card__grid div,
.cabinet-stats div {
  background: #f6f4ef;
  border-radius: var(--radius);
  padding: 14px;
}

.demo-card__grid p,
.cabinet-stats p {
  margin: 0;
}

.demo-card__grid strong,
.cabinet-stats b,
.cabinet-panel__header b {
  color: var(--color-ink);
}

.section {
  padding: 26px 0;
}

.section--tight {
  padding-top: 18px;
}

.section--warm {
  background: var(--color-bg-soft);
}

.public-page--contacts .section {
  padding: 18px 0;
}

.public-page--contacts .section--tight {
  padding-top: 18px;
}

.section-title {
  font-size: 34px;
  margin-bottom: 18px;
}

.section-subtitle {
  font-size: 26px;
  margin: 28px 0 14px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid--four,
.price-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.price-card,
.timeline-card,
.mini-card,
.feature-line {
  padding: 14px;
}

.feature-card {
  align-items: center;
  display: grid;
  grid-template-columns: 72px 1fr;
  min-width: 0;
}

.feature-card h2,
.link-card h2,
.timeline-card h2,
.price-card h2 {
  font-size: 19px;
  margin-bottom: 9px;
}

.feature-card h2,
.feature-card p {
  grid-column: 2;
  min-width: 0;
  overflow-wrap: anywhere;
}

.feature-card p,
.link-card p,
.timeline-card p,
.price-card p {
  margin: 0;
}

.feature-icon {
  align-items: center;
  display: flex;
  grid-row: 1 / span 2;
  justify-content: center;
}

.feature-icon img {
  height: 64px;
  width: 64px;
}

.price-card .feature-icon,
.timeline-card .feature-icon {
  grid-row: auto;
  justify-content: flex-start;
  margin-bottom: 12px;
}

.price-card .feature-icon img,
.timeline-card .feature-icon img {
  height: 54px;
  width: 54px;
}

.link-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.link-card-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.link-card {
  color: var(--color-text);
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 34px;
  min-height: 118px;
  overflow: hidden;
  text-decoration: none;
}

.link-card > div {
  align-self: center;
  padding: 18px 18px 18px 24px;
}

.link-card > span {
  align-self: center;
  color: var(--ap-orange);
  font-size: 34px;
  font-weight: 900;
  padding-right: 20px;
  text-align: center;
}

.link-card img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.link-card__body {
  padding: 24px;
}

.link-card__body span {
  color: var(--color-orange);
  display: inline-block;
  font-weight: 900;
  margin-top: 16px;
}

.image-split,
.contact-layout,
.split {
  align-items: center;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  background: #fff;
  border: 1px solid var(--ap-border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
}

.faq-list summary {
  color: var(--ap-navy);
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin: 12px 0 0;
}

.final-cta {
  background: var(--ap-bg);
}

.image-split > img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  height: 420px;
  object-fit: cover;
  width: 100%;
}

.quality-hero-visual {
  overflow: hidden;
  position: relative;
}

.quality-hero-visual > img {
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
  width: 100%;
}

.quality-hero-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 7px;
  left: 42px;
  padding: 16px 18px;
  position: absolute;
  top: 34px;
  width: 198px;
}

.quality-hero-card strong {
  color: var(--ap-navy);
  font-size: 12px;
  text-transform: uppercase;
}

.quality-hero-card span {
  color: var(--ap-navy);
  font-size: 12px;
  font-weight: 800;
}

.quality-hero-card small {
  border-top: 1px solid var(--ap-border);
  color: var(--ap-muted);
  font-size: 11px;
  padding-top: 8px;
}

.public-page--quality .feature-grid {
  gap: 18px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.public-page--quality .page-title {
  font-size: 52px;
  max-width: 620px;
}

.public-page--quality .page-hero__content {
  max-width: 620px;
}

.public-page--quality .feature-card {
  align-content: start;
  grid-template-columns: 58px minmax(0, 1fr);
  min-height: 142px;
  padding: 14px;
}

.public-page--quality .feature-card h2 {
  font-size: 16px;
  line-height: 1.18;
  margin-bottom: 6px;
}

.public-page--quality .feature-card p {
  font-size: 12px;
  line-height: 1.32;
}

.public-page--quality .feature-card .feature-icon img {
  height: 52px;
  width: 52px;
}

.public-page--quality .section:not(.section--tight) {
  padding: 26px 0 14px;
}

.public-page--quality .section--warm {
  padding: 8px 0 14px;
}

.public-page--quality .section--tight {
  padding-top: 14px;
}

.quality-control-flow .section-subtitle,
.quality-benefits-section .section-subtitle {
  color: var(--ap-navy);
  font-family: var(--font-heading);
  margin: 0 0 12px;
}

.quality-control-flow__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.quality-control-flow__grid .feature-line {
  min-height: 110px;
  position: relative;
}

.quality-control-flow__grid .feature-line:not(:last-child)::after {
  content: "";
  border-right: 2px solid #a9b2bf;
  border-top: 2px solid #a9b2bf;
  height: 10px;
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
}

.quality-control-flow__grid h3 {
  color: var(--ap-navy);
  font-size: 16px;
  line-height: 1.2;
  margin: 0 0 6px;
}

.quality-control-flow__grid p {
  font-size: 13px;
  line-height: 1.35;
  margin: 0;
}

.quality-control-flow__grid .feature-icon {
  align-self: start;
  grid-row: auto;
  justify-content: flex-start;
}

.quality-control-flow__grid .feature-icon img {
  height: 48px;
  width: 48px;
}

.estimate-hero-visual {
  overflow: hidden;
  position: relative;
}

.estimate-hero-visual > img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.estimate-hero-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 45, 82, 0.12);
  border-radius: 10px;
  box-shadow: 0 18px 42px rgba(12, 35, 66, 0.15);
  color: var(--ap-navy);
  display: grid;
  gap: 8px;
  min-width: 178px;
  padding: 18px;
  position: absolute;
  right: 42px;
  top: 28px;
}

.estimate-hero-card span,
.estimate-hero-card small {
  color: var(--ap-muted);
  font-size: 12px;
}

.estimate-hero-card strong {
  font-size: 24px;
}

.estimate-hero-card__donut {
  background:
    radial-gradient(circle at center, #fff 0 42%, transparent 43%),
    conic-gradient(var(--ap-orange) 0 30%, #153d70 30% 70%, #e8e1d8 70% 100%);
  border-radius: 999px;
  height: 54px;
  margin-top: 4px;
  width: 54px;
}

.public-page--estimate .page-hero__content {
  max-width: 620px;
}

.public-page--estimate .page-title {
  font-size: 52px;
  line-height: 1.02;
  max-width: 620px;
}

.public-page--estimate .feature-grid {
  gap: 18px;
}

.public-page--estimate .feature-card {
  min-height: 142px;
}

.public-page--estimate .feature-card h2,
.public-page--estimate .feature-card h3 {
  color: var(--ap-navy);
  font-size: 18px;
  line-height: 1.18;
}

.public-page--estimate .feature-card p,
.public-page--estimate .feature-card li {
  font-size: 13px;
  line-height: 1.45;
}

.public-page--estimate .feature-card ul {
  color: var(--ap-ink);
  margin: 0;
  padding-left: 18px;
}

.public-page--estimate .feature-card .feature-icon img {
  height: 52px;
  width: 52px;
}

.public-page--estimate .section:not(.section--tight) {
  padding: 24px 0 14px;
}

.public-page--estimate .page-hero + .section {
  padding-top: 28px;
}

.public-page--estimate .section--warm {
  padding: 0 0 10px;
}

.public-page--estimate .section--tight {
  padding-top: 14px;
}

.estimate-includes .section-subtitle,
.estimate-change-flow .section-subtitle {
  color: var(--ap-navy);
  font-family: var(--font-heading);
  font-size: 24px;
  margin: 0 0 10px;
}

.estimate-includes__grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.estimate-includes__grid .feature-card {
  min-height: 164px;
  padding: 24px;
}

.estimate-change-flow__grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.estimate-change-flow__grid .feature-line {
  min-height: 118px;
  padding: 22px;
  position: relative;
}

.estimate-change-flow__grid .feature-line:not(:last-child)::after {
  content: "";
  border-right: 2px solid #a9b2bf;
  border-top: 2px solid #a9b2bf;
  height: 10px;
  position: absolute;
  right: -15px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  z-index: 2;
}

.estimate-change-flow__grid .feature-line b {
  font-size: 21px;
}

.estimate-change-flow__grid .feature-icon {
  align-self: start;
  grid-row: auto;
  justify-content: flex-start;
}

.estimate-change-flow__grid .feature-icon img {
  height: 48px;
  width: 48px;
}

.estimate-change-flow__grid h3 {
  color: var(--ap-navy);
  font-size: 16px;
  line-height: 1.2;
  margin: 0 0 6px;
}

.estimate-change-flow__grid p {
  font-size: 13px;
  line-height: 1.42;
  margin: 0;
}

.mini-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 22px 0;
}

.mini-card {
  color: var(--color-ink);
  font-weight: 900;
}

.cabinet-visible {
  margin-top: 20px;
}

.cabinet-visible .section-subtitle {
  font-size: 20px;
  margin: 0 0 12px;
}

.cabinet-visible__grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.cabinet-visible__grid .mini-card {
  align-content: start;
  display: grid;
  gap: 4px 10px;
  grid-template-columns: 38px minmax(0, 1fr);
  min-height: 96px;
  padding: 12px;
}

.cabinet-visible__grid .mini-icon {
  align-items: center;
  background: var(--ap-bg-warm);
  border-radius: 50%;
  display: flex;
  grid-row: 1 / span 2;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.cabinet-visible__grid .mini-icon img {
  height: 28px;
  width: 28px;
}

.cabinet-visible__grid strong {
  color: var(--ap-navy);
  font-size: 13px;
  line-height: 1.2;
}

.cabinet-visible__grid small {
  color: var(--ap-muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
}

.timeline {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.public-page--process .timeline {
  gap: 18px;
}

.public-page--process .page-hero + .section {
  padding: 38px 0 14px;
}

.public-page--process .section--warm {
  padding: 16px 0 20px;
}

.public-page--process .section--tight {
  padding-top: 14px;
}

.public-page--process .timeline-card {
  min-height: 218px;
  padding: 18px;
  position: relative;
}

.public-page--process .timeline-card:not(:last-child)::after {
  content: "";
  border-right: 2px solid #a9b2bf;
  border-top: 2px solid #a9b2bf;
  height: 10px;
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  z-index: 2;
}

.timeline-card b,
.feature-line b {
  align-items: center;
  background: var(--color-orange);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  margin-bottom: 18px;
  width: 34px;
}

.public-page--process .timeline-card b {
  background: var(--ap-bg-warm);
  color: var(--ap-navy);
  font-size: 18px;
  height: 48px;
  margin-bottom: 12px;
  width: 48px;
}

.public-page--process .timeline-card .feature-icon {
  display: inline-flex;
  margin-bottom: 12px;
  margin-left: 10px;
  vertical-align: middle;
}

.public-page--process .timeline-card .feature-icon img {
  height: 54px;
  width: 54px;
}

.public-page--process .timeline-card h2 {
  font-size: 18px;
  margin-top: 2px;
}

.process-benefits .section-subtitle {
  color: var(--ap-navy);
  font-family: var(--font-heading);
  margin: 0 0 14px;
}

.process-benefits__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-benefits__grid .feature-card {
  min-height: 102px;
}

.process-benefits__grid h3 {
  color: var(--ap-navy);
  font-size: 17px;
  grid-column: 2;
  line-height: 1.2;
  margin: 0 0 6px;
  min-width: 0;
}

.process-benefits__grid p {
  font-size: 13px;
  grid-column: 2;
  line-height: 1.35;
  margin: 0;
  min-width: 0;
}

.reference-cta {
  background:
    linear-gradient(90deg, rgba(11, 27, 51, 0.96), rgba(11, 27, 51, 0.78) 52%, rgba(11, 27, 51, 0.2)),
    url("../img/backgrounds/bg-home.545bd36dba7d.webp") center right / cover no-repeat;
  color: #fff;
  overflow: hidden;
  padding: 28px 34px;
}

.reference-cta h2,
.reference-cta p {
  color: #fff;
  margin: 0;
  max-width: 640px;
}

.reference-cta h2 {
  font-family: var(--font-heading);
  font-size: 30px;
  line-height: 1.1;
}

.reference-cta p {
  color: rgba(255, 255, 255, 0.86);
  margin-top: 10px;
}

.reference-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.reference-cta .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.demo-lk-hero {
  background:
    linear-gradient(90deg, rgba(251, 247, 240, 0.98), rgba(251, 247, 240, 0.92) 48%, rgba(251, 247, 240, 0.56)),
    url("../img/backgrounds/bg-home.545bd36dba7d.webp") left center / cover no-repeat;
  padding: 50px 0 30px;
}

.demo-lk-hero__inner {
  align-items: center;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 620px) minmax(0, 640px);
  justify-content: space-between;
}

.demo-lk-hero h1 {
  color: var(--ap-navy);
  font-family: var(--font-heading);
  font-size: 60px;
  line-height: 1.04;
  margin: 0;
  max-width: 620px;
}

.demo-lk-hero p {
  color: var(--ap-text);
  font-size: 17px;
  line-height: 1.5;
  margin: 16px 0 24px;
  max-width: 580px;
}

.demo-lk-summary {
  justify-self: end;
  max-width: 640px;
  padding: 24px;
  width: 100%;
}

.demo-lk-summary > div:first-child {
  align-items: baseline;
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.demo-lk-summary span {
  color: var(--ap-muted);
}

.demo-lk-summary strong {
  color: var(--ap-navy);
  font-size: 24px;
}

.demo-lk-summary__stats {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.demo-lk-summary__stats article {
  border: 1px solid var(--ap-border);
  border-radius: var(--radius);
  min-height: 104px;
  padding: 14px 10px;
  text-align: center;
}

.demo-lk-summary__stats b {
  color: var(--ap-navy);
  display: block;
  font-size: 34px;
  line-height: 1;
}

.demo-lk-summary p {
  border-top: 1px solid var(--ap-border);
  font-size: 14px;
  margin: 20px 0 10px;
  padding-top: 14px;
}

.demo-lk-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.demo-lk-card {
  align-items: center;
  color: var(--ap-text);
  display: grid;
  gap: 8px 18px;
  grid-template-columns: 70px minmax(0, 1fr) 22px;
  min-height: 124px;
  padding: 22px;
  text-decoration: none;
}

.demo-lk-card h2,
.demo-lk-card p {
  grid-column: 2;
  margin: 0;
}

.demo-lk-card h2 {
  color: var(--ap-navy);
  font-size: 21px;
}

.demo-lk-card b {
  color: var(--ap-orange);
  font-size: 24px;
  grid-column: 3;
  grid-row: 1 / span 2;
}

.demo-safe-note {
  align-items: center;
  background: #fff8ec;
  border-color: rgba(214, 106, 0, 0.35);
  display: grid;
  gap: 24px;
  grid-template-columns: 92px minmax(0, 1fr);
  padding: 24px;
}

.demo-safe-note h2 {
  color: var(--ap-orange-hover);
  margin: 0 0 8px;
}

.public-page--demo_client .site-header,
.public-page--demo_client .site-footer,
.public-page--demo_producer .site-header,
.public-page--demo_producer .site-footer {
  display: none;
}

.public-page--demo_client,
.public-page--demo_producer {
  background: var(--ap-bg);
}

.demo-dashboard {
  color: var(--ap-text);
  font-size: 14px;
  min-height: 100vh;
  padding: 16px clamp(22px, 2.4vw, 40px) 28px;
}

.demo-dashboard__top {
  align-items: center;
  display: grid;
  gap: clamp(18px, 2vw, 30px);
  grid-template-columns: minmax(210px, auto) 1fr auto;
  min-height: 74px;
  padding: 0 22px;
}

.demo-dashboard__brand {
  align-items: center;
  color: var(--ap-navy);
  display: flex;
  gap: 14px;
  min-width: 0;
  text-decoration: none;
}

.demo-dashboard__brand span {
  border: 1px solid var(--ap-blue);
  color: var(--ap-blue);
  font-size: 23px;
  line-height: 1;
  padding: 8px 7px;
}

.demo-dashboard__brand b {
  font-size: 17px;
}

.demo-dashboard__brand strong {
  border-left: 1px solid var(--ap-border);
  font-size: 15px;
  line-height: 1.08;
  padding-left: 12px;
  white-space: nowrap;
}

.demo-dashboard__top nav {
  align-items: center;
  display: flex;
  gap: clamp(18px, 1.7vw, 28px);
  justify-content: center;
  min-width: 0;
}

.demo-dashboard__top nav a {
  color: var(--ap-navy);
  font-size: 13.5px;
  font-weight: 800;
  padding: 23px 0 19px;
  position: relative;
  text-decoration: none;
  white-space: nowrap;
}

.demo-dashboard__top nav a.is-active::after {
  background: var(--ap-blue);
  border-radius: 999px;
  bottom: 10px;
  content: "";
  height: 4px;
  left: 0;
  position: absolute;
  right: 0;
}

.demo-dashboard__user {
  align-items: center;
  display: flex;
  gap: 12px;
}

.demo-dashboard__user > span {
  background: #ef4444;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  height: 22px;
  justify-content: center;
  width: 22px;
}

.demo-dashboard__user img {
  border-radius: 50%;
  height: 38px;
  object-fit: cover;
  width: 38px;
}

.demo-dashboard__user small {
  color: var(--ap-muted);
  display: block;
  font-weight: 700;
}

.demo-dashboard__body {
  margin-top: 22px;
}

.demo-client-hero {
  align-items: center;
  display: grid;
  gap: clamp(28px, 3vw, 46px);
  grid-template-columns: minmax(0, 0.52fr) minmax(560px, 1fr);
  margin-bottom: 20px;
}

.demo-client-hero h1,
.demo-producer-head h1 {
  color: var(--ap-navy);
  font-size: 26px;
  margin: 0 0 6px;
}

.demo-client-hero p,
.demo-producer-head p {
  color: var(--ap-muted);
  font-size: 16px;
  margin: 0;
}

.demo-client-actions {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 24px;
}

.demo-client-actions a {
  align-content: center;
  color: var(--ap-navy);
  display: grid;
  font-size: 13px;
  font-weight: 900;
  justify-items: center;
  min-height: 100px;
  padding: 14px 10px;
  text-align: center;
  text-decoration: none;
}

.demo-object-card {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(250px, 0.42fr) minmax(0, 1fr);
  min-height: 220px;
  padding: 24px 26px;
}

.demo-object-card > img {
  border-radius: var(--radius);
  height: 170px;
  object-fit: cover;
  width: 100%;
}

.demo-object-card h2 {
  color: var(--ap-navy);
  font-size: 24px;
  margin: 0 0 8px;
  overflow-wrap: anywhere;
}

.demo-progress {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr auto;
  margin: 14px 0 16px;
}

.demo-progress span {
  background: linear-gradient(90deg, var(--ap-blue) 62%, #e5e7eb 62%);
  border-radius: 999px;
  height: 10px;
}

.demo-object-card dl {
  border-top: 1px solid var(--ap-border);
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding-top: 14px;
}

.demo-object-card dt {
  color: var(--ap-muted);
  font-size: 13px;
  font-weight: 800;
}

.demo-object-card dd {
  color: var(--ap-navy);
  font-weight: 900;
  margin: 4px 0 0;
}

.demo-dashboard-grid {
  display: grid;
  gap: 16px;
}

.demo-dashboard-grid--client {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.demo-dashboard-grid--producer {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 1.45fr);
}

.demo-panel {
  line-height: 1.38;
  min-height: 146px;
  padding: 16px;
}

.demo-panel h2 {
  color: var(--ap-navy);
  font-size: 18px;
  margin: 0 0 12px;
}

.demo-panel ul {
  display: grid;
  gap: 6px;
  margin: 0 0 12px;
  padding-left: 22px;
}

.demo-panel p {
  color: var(--ap-text);
  margin: 6px 0;
}

.demo-panel a {
  color: var(--ap-blue);
  font-weight: 900;
  text-decoration: none;
}

.demo-panel--wide {
  grid-column: span 1;
}

.demo-photos {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.demo-photos img {
  border-radius: var(--radius);
  height: 66px;
  object-fit: cover;
  width: 100%;
}

.demo-donut {
  align-items: center;
  background: conic-gradient(var(--ap-blue) 0 76%, #f7b21b 76% 88%, #e5e7eb 88% 100%);
  border-radius: 50%;
  display: grid;
  height: 116px;
  justify-items: center;
  margin: 4px auto 12px;
  place-content: center;
  position: relative;
  width: 116px;
}

.demo-donut::before {
  background: #fff;
  border-radius: 50%;
  content: "";
  height: 78px;
  position: absolute;
  width: 78px;
}

.demo-donut b,
.demo-donut span {
  color: var(--ap-navy);
  position: relative;
  z-index: 1;
}

.demo-donut b {
  font-size: 24px;
}

.demo-donut span {
  font-size: 13px;
}

.demo-help {
  align-items: center;
  border-color: rgba(214, 106, 0, 0.35);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1fr) auto;
  margin-top: 18px;
  padding: 14px 18px;
}

.demo-help > div {
  align-items: center;
  display: flex;
  gap: 14px;
}

.demo-help img {
  border-radius: 50%;
  height: 48px;
  object-fit: cover;
  width: 48px;
}

.demo-help span {
  color: var(--ap-blue);
  display: block;
  margin-top: 4px;
}

.demo-producer-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) 274px;
}

.demo-producer-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}

.demo-producer-tools {
  display: flex;
  gap: 16px;
}

.demo-producer-tools button {
  background: #fff;
  border: 1px solid var(--ap-border);
  border-radius: var(--radius);
  color: var(--ap-navy);
  font-weight: 900;
  min-height: 38px;
  padding: 0 16px;
}

.demo-kpi-row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 16px;
}

.demo-kpi-row article {
  align-items: center;
  display: grid;
  gap: 2px 10px;
  grid-template-columns: 42px 1fr;
  min-height: 84px;
  padding: 14px;
}

.demo-kpi-row img {
  grid-row: 1 / span 3;
}

.demo-kpi-row span,
.demo-kpi-row small {
  color: var(--ap-muted);
}

.demo-kpi-row b {
  color: var(--ap-navy);
  font-size: 22px;
}

.demo-producer-side {
  display: grid;
  gap: 16px;
}

.demo-producer-side .card {
  padding: 18px;
}

.demo-producer-side h2 {
  color: var(--ap-navy);
  margin: 0 0 12px;
}

.demo-producer-side p {
  border-bottom: 1px solid var(--ap-border);
  margin: 0;
  padding: 9px 0;
}

.demo-calendar__grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(7, 1fr);
  margin: 18px 0;
  text-align: center;
}

.demo-calendar__grid span {
  color: var(--ap-muted);
  font-size: 12px;
  font-weight: 900;
}

.demo-calendar__grid b {
  color: var(--ap-text);
  font-weight: 700;
  padding: 6px 0;
}

.demo-calendar__grid .is-today {
  background: var(--ap-orange);
  border-radius: var(--radius);
  color: #fff;
}

.demo-alert-row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 16px;
}

.demo-alert-row article {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: var(--radius);
  color: var(--ap-orange-hover);
  padding: 12px;
}

.cabinet-panel {
  color: var(--color-text);
  justify-self: end;
  max-width: 610px;
  padding: 16px;
  width: 100%;
}

.cabinet-preview__top {
  align-items: center;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  padding-bottom: 12px;
}

.cabinet-preview__top b {
  color: var(--ap-navy);
  display: block;
  font-size: 16px;
}

.cabinet-preview__top span,
.cabinet-preview__top small,
.cabinet-preview__main small,
.cabinet-preview__grid small {
  color: var(--ap-muted);
}

.cabinet-preview__top small {
  background: #fff4e6;
  border-radius: 999px;
  color: var(--ap-orange);
  font-weight: 900;
  padding: 4px 9px;
}

.cabinet-preview__main {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 0.92fr) minmax(230px, 1.08fr);
  padding: 14px 0;
}

.cabinet-preview__main p {
  color: var(--ap-text);
  font-size: 14px;
  margin: 10px 0;
}

.cabinet-panel__header a {
  color: var(--ap-blue);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.cabinet-progress {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr auto;
  margin-bottom: 8px;
}

.cabinet-progress span {
  background: linear-gradient(90deg, var(--ap-orange) 0 38%, #e5e7eb 38% 100%);
  border-radius: 999px;
  height: 8px;
}

.cabinet-progress b {
  color: var(--ap-navy);
}

.cabinet-preview__photos {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 10px;
}

.cabinet-preview__photos img {
  border-radius: var(--radius);
  height: 66px;
  object-fit: cover;
  width: 100%;
}

.cabinet-preview__grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 0.8fr 1fr 1fr;
}

.cabinet-preview__grid div {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  min-height: 88px;
  padding: 10px;
}

.cabinet-preview__grid span {
  color: var(--ap-muted);
  display: block;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 6px;
}

.cabinet-preview__grid b {
  color: var(--ap-navy);
  display: block;
  font-size: 17px;
}

.cabinet-preview__grid p {
  color: var(--ap-text);
  font-size: 13px;
  margin: 4px 0;
}

.ordered-list,
.check-list {
  color: var(--color-ink);
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
}

.contact-card {
  color: var(--color-text);
}

.contact-list {
  display: grid;
  gap: 0;
  margin-top: 14px;
}

.contact-list p {
  align-items: center;
  border-bottom: 1px solid var(--color-border);
  display: grid;
  gap: 0 14px;
  grid-template-columns: 54px minmax(0, 1fr);
  margin: 0;
  min-height: 68px;
  padding: 6px 0;
}

.contact-list__icon {
  align-items: center;
  background: var(--ap-bg-warm);
  border-radius: 50%;
  color: var(--ap-blue);
  display: flex;
  grid-row: 1 / span 3;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.contact-list__icon img {
  display: block;
  height: 27px;
  width: 27px;
}

.contact-list a {
  color: var(--color-ink);
  font-weight: 900;
  text-decoration: none;
}

.contact-map {
  align-items: center;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  padding: 30px;
}

.contact-board {
  align-items: stretch;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(280px, 0.95fr) minmax(340px, 1.1fr) minmax(330px, 1.25fr);
}

.contact-board .lead-form,
.contact-board .contact-card {
  align-self: start;
  height: auto;
}

.contact-card h2 {
  color: var(--ap-navy);
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 1.1;
  margin: 0 0 12px;
}

.contact-list small {
  color: var(--ap-muted);
  display: block;
  font-size: 12px;
  margin-top: 3px;
}

.messenger-row {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 12px;
}

.messenger-row a {
  border: 1px solid var(--ap-border);
  border-radius: var(--radius);
  color: var(--ap-navy);
  font-weight: 900;
  font-size: 13px;
  padding: 9px 10px;
  text-align: center;
  text-decoration: none;
}

.contact-strip {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 18px 22px;
}

.contact-strip div {
  min-width: 0;
}

.contact-strip b,
.contact-strip span {
  display: block;
}

.contact-strip b {
  color: var(--ap-navy);
  font-size: 17px;
  margin-bottom: 6px;
}

.contact-strip span {
  color: var(--ap-muted);
  font-size: 14px;
}

.contact-map > * {
  min-width: 0;
}

.contact-map__visual {
  align-items: center;
  aspect-ratio: auto;
  background:
    linear-gradient(rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.32)),
    repeating-linear-gradient(0deg, transparent 0 42px, rgba(15, 61, 117, 0.08) 42px 44px),
    repeating-linear-gradient(90deg, transparent 0 58px, rgba(214, 106, 0, 0.08) 58px 60px),
    linear-gradient(135deg, #f8fafc, #eaf1f5);
  border: 1px solid var(--ap-border-blue);
  border-radius: var(--radius-lg);
  display: grid;
  justify-items: center;
  height: 220px;
  margin-bottom: 14px;
  min-height: 0;
  position: relative;
}

.contact-map__visual span {
  background: #fff;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  color: var(--ap-navy);
  font-weight: 900;
  padding: 10px 16px;
}

.contact-map__visual i {
  background: var(--ap-orange);
  border: 6px solid #fff;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(214, 106, 0, 0.25);
  height: 28px;
  left: 58%;
  position: absolute;
  top: 42%;
  width: 28px;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-line {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: 42px 1fr;
}

.feature-line b {
  margin: 0;
}

.public-page--estimate .page-hero,
.public-page--estimate .page-hero__inner {
  min-height: 356px;
}

.public-page--estimate .page-hero__inner {
  padding-bottom: 24px;
  padding-top: 24px;
}

.public-page--estimate .page-hero__media {
  height: 292px;
}

.public-page--estimate .hero-actions {
  margin-top: 18px;
}

.public-page--estimate .page-hero__content > p {
  font-size: 15px;
  line-height: 1.45;
  max-width: 560px;
}

.estimate-includes__grid .feature-card {
  min-height: 132px;
  padding: 16px;
}

.estimate-includes__grid .feature-icon {
  align-self: start;
}

.estimate-includes__grid .feature-card h3 {
  margin-bottom: 6px;
}

.estimate-includes__grid .feature-card li {
  line-height: 1.32;
}

.estimate-change-flow__grid .feature-line {
  align-items: start;
  gap: 10px 12px;
  grid-template-columns: 34px 46px minmax(0, 1fr);
  min-height: 96px;
  padding: 14px;
}

.estimate-change-flow__grid .feature-line b {
  height: 34px;
  margin: 0;
  width: 34px;
}

.estimate-change-flow__grid .feature-icon img {
  height: 42px;
  width: 42px;
}

.estimate-change-flow__grid h3 {
  font-size: 15px;
}

.estimate-change-flow__grid p {
  font-size: 12px;
  line-height: 1.35;
}

.prices-hero-visual {
  box-shadow: none;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) 312px;
  overflow: visible;
}

.prices-hero-visual > img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  height: 286px;
  object-fit: cover;
  width: 100%;
}

.prices-hero-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--ap-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 12px;
  min-height: 286px;
  padding: 24px;
}

.prices-hero-card h2 {
  color: var(--ap-navy);
  font-size: 17px;
  line-height: 1.2;
  margin: 0 0 4px;
}

.prices-hero-card dl {
  display: grid;
  gap: 13px;
  margin: 0;
}

.prices-hero-card dl div {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr auto;
}

.prices-hero-card dt,
.prices-hero-card dd {
  color: var(--ap-navy);
  font-size: 13px;
  margin: 0;
}

.prices-hero-card dt {
  color: var(--ap-muted);
  font-weight: 800;
}

.prices-hero-card dd {
  font-weight: 900;
}

.prices-hero-card p {
  background: var(--ap-bg-warm);
  border-radius: 8px;
  color: var(--ap-navy);
  font-size: 12px;
  line-height: 1.35;
  margin: 4px 0 0;
  padding: 14px;
}

.public-page--prices .page-hero,
.public-page--prices .page-hero__inner {
  min-height: 318px;
}

.public-page--prices .page-hero__inner {
  grid-template-columns: minmax(0, 600px) minmax(0, 660px);
  padding-bottom: 16px;
  padding-top: 16px;
}

.public-page--prices .page-title {
  font-size: 52px;
  line-height: 1.02;
  margin-top: 26px;
  max-width: 620px;
}

.public-page--prices .eyebrow {
  display: none;
}

.public-page--prices .page-hero__content > p {
  font-size: 16px;
  line-height: 1.48;
  max-width: 600px;
}

.public-page--prices .prices-hero-visual > img {
  object-position: right center;
}

.public-page--prices .hero-actions {
  margin-top: 24px;
}

.public-page--prices .section:not(.section--tight) {
  padding: 14px 0 10px;
}

.public-page--prices .page-hero + .section {
  padding-top: 18px;
}

.public-page--prices .section--warm {
  padding: 0 0 8px;
}

.public-page--prices .section--tight {
  padding-top: 8px;
}

.public-page--prices .price-grid {
  gap: 18px;
}

.public-page--prices .price-card {
  align-items: start;
  grid-template-columns: 70px minmax(0, 1fr);
  min-height: 174px;
  padding: 18px;
}

.public-page--prices .price-card h2 {
  color: var(--ap-navy);
  font-size: 19px;
  line-height: 1.15;
  margin: 0 0 10px;
}

.public-page--prices .price-card p {
  color: var(--ap-ink);
  font-size: 12px;
  line-height: 1.34;
}

.public-page--prices .price-card strong {
  align-self: end;
  background: #fff0e3;
  border-radius: 8px;
  color: var(--color-orange-dark);
  display: block;
  font-size: 12px;
  grid-column: 1 / -1;
  letter-spacing: 0.02em;
  margin-top: 8px;
  padding: 9px;
  text-align: center;
  text-transform: uppercase;
}

.public-page--prices .price-card .feature-icon img {
  height: 54px;
  width: 54px;
}

.prices-factors .section-subtitle {
  color: var(--ap-navy);
  font-family: var(--font-heading);
  font-size: 25px;
  line-height: 1.1;
  margin: 0 0 10px;
}

.prices-factors__grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.prices-factors__grid .mini-card {
  align-content: start;
  display: grid;
  gap: 8px 12px;
  grid-template-columns: 56px minmax(0, 1fr);
  min-height: 92px;
  padding: 14px;
}

.prices-factors__grid .feature-icon {
  align-items: flex-start;
  grid-row: 1 / span 2;
  justify-content: flex-start;
}

.prices-factors__grid .feature-icon img {
  height: 46px;
  width: 46px;
}

.prices-factors__grid h3 {
  color: var(--ap-navy);
  font-size: 14px;
  line-height: 1.15;
  margin: 0;
}

.prices-factors__grid p {
  color: var(--ap-ink);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  margin: 0;
}

.prices-transparency {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.9fr);
  min-height: 82px;
  padding: 14px 20px;
}

.prices-transparency__intro {
  align-items: center;
  display: grid;
  gap: 16px;
  grid-template-columns: 58px minmax(0, 1fr);
}

.prices-transparency h2 {
  color: var(--ap-navy);
  font-family: var(--font-heading);
  font-size: 21px;
  line-height: 1.12;
  margin: 0 0 6px;
}

.prices-transparency p {
  color: var(--ap-ink);
  font-size: 12px;
  line-height: 1.32;
  margin: 0;
}

.prices-transparency__checks {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.prices-transparency__checks span {
  color: var(--ap-navy);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  padding-left: 24px;
  position: relative;
}

.prices-transparency__checks span::before {
  align-items: center;
  background: var(--ap-orange);
  border-radius: 50%;
  color: #fff;
  content: "\2713";
  display: flex;
  font-size: 11px;
  font-weight: 900;
  height: 16px;
  justify-content: center;
  left: 0;
  position: absolute;
  top: 1px;
  width: 16px;
}

.prices-cta {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(11, 47, 85, 0.98), rgba(11, 47, 85, 0.92) 42%, rgba(11, 47, 85, 0.26) 70%),
    url("../img/backgrounds/bg-home.545bd36dba7d.webp") center right / cover no-repeat;
  display: grid;
  gap: 18px 28px;
  grid-template-columns: minmax(0, 390px) auto minmax(0, 1fr);
  min-height: 124px;
  padding: 18px 34px;
}

.prices-cta h2 {
  font-size: 27px;
}

.prices-cta p {
  font-size: 14px;
  line-height: 1.35;
}

.prices-cta .reference-cta__actions {
  margin-top: 0;
}

.prices-cta__facts {
  border-left: 1px solid rgba(255, 255, 255, 0.42);
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-left: 24px;
}

.prices-cta__facts span {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  padding-left: 34px;
  position: relative;
}

.prices-cta__facts span::before {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  content: "\2713";
  display: flex;
  height: 24px;
  justify-content: center;
  left: 0;
  position: absolute;
  top: 0;
  width: 24px;
}

.public-page--estimate .reference-cta {
  align-items: center;
  display: grid;
  gap: 20px 34px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 24px 34px;
}

.public-page--estimate .reference-cta__actions {
  margin-top: 0;
}

.lead-form {
  padding: 22px 24px;
}

.lead-form h2 {
  color: var(--ap-navy);
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 1.1;
  margin: 0 0 8px;
}

.lead-form__intro {
  color: var(--ap-muted);
  font-size: 14px;
  line-height: 1.35;
  margin: 0 0 10px;
}

.lead-form label {
  color: var(--color-ink);
  display: grid;
  font-weight: 800;
  gap: 6px;
  margin-bottom: 10px;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-ink);
  font: inherit;
  min-height: 42px;
  padding: 9px 12px;
  width: 100%;
}

.lead-form textarea {
  min-height: 90px;
  resize: vertical;
}

.contact-board .lead-form {
  padding: 18px 24px;
}

.contact-board .lead-form label {
  font-size: 14px;
  gap: 5px;
  margin-bottom: 7px;
}

.contact-board .lead-form input,
.contact-board .lead-form select,
.contact-board .lead-form textarea {
  min-height: 38px;
  padding: 8px 11px;
}

.contact-board .lead-form textarea {
  height: 68px;
  max-height: 68px;
  min-height: 68px;
  resize: none;
}

.lead-form__hidden-details,
.lead-form__trap {
  display: none;
}

.consent-label,
.lead-form__consent {
  align-items: start;
  display: grid !important;
  gap: 10px !important;
  grid-template-columns: 20px 1fr;
  line-height: 1.3;
  margin: 8px 0 !important;
}

.contact-board .lead-form__consent {
  font-size: 11px;
  gap: 8px !important;
  grid-template-columns: 18px minmax(0, 1fr);
  margin: 6px 0 !important;
}

.contact-board .lead-form__consent span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.consent-label input,
.lead-form__consent input {
  min-height: 20px;
  width: 20px;
}

.contact-board .lead-form__consent input {
  min-height: 18px;
  width: 18px;
}

.errorlist,
.field-error,
.non-field-errors {
  color: #b91c1c;
  font-weight: 800;
}

.form-note {
  color: var(--color-muted);
  font-size: 13px !important;
  margin: 12px 0 0 !important;
}

.contact-board .form-note {
  font-size: 11px !important;
  line-height: 1.25;
  margin: 6px 0 8px !important;
}

.contact-board .lead-form .btn {
  min-height: 44px;
  width: 100%;
}

.messages {
  padding-top: 18px;
}

.message {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: var(--radius);
  color: var(--color-orange-dark);
  font-weight: 800;
  padding: 12px 16px;
}

.site-footer {
  background: var(--color-ink);
  color: #dbe4ef;
  padding: 42px 0;
}

.site-footer p {
  color: #b9c6d8;
  margin: 8px 0 0;
}

.site-footer__grid {
  display: flex;
  gap: 28px;
  justify-content: space-between;
}

.site-footer__links {
  display: grid;
  gap: 8px;
}

.site-footer__links a {
  color: #fff;
  text-decoration: none;
}

.aps-page-hero,
.aps-section,
.aps-hero {
  padding: 72px 0;
}

.aps-container {
  margin: 0 auto;
  max-width: var(--container);
  padding: 0 24px;
}

.aps-card,
.aps-demo-card,
.aps-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: 0 8px 26px rgba(16, 33, 54, 0.06);
  padding: 24px;
}

.aps-card-grid,
.aps-demo-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.aps-demo-layout {
  grid-template-columns: minmax(280px, 0.6fr) minmax(0, 1fr);
}

.aps-lead {
  font-size: 20px;
  max-width: 760px;
}

.aps-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.aps-btn {
  align-items: center;
  border-radius: var(--radius);
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  text-decoration: none;
}

.aps-btn-primary {
  background: var(--color-orange);
  color: #fff;
}

.aps-btn-secondary {
  background: #fff;
  border: 1px solid var(--color-border);
}

.aps-progress {
  background: #edf0f2;
  border-radius: 999px;
  height: 10px;
  margin: 18px 0;
  overflow: hidden;
}

.aps-progress span {
  background: var(--color-green);
  display: block;
  height: 100%;
}

@media (max-width: 1024px) {
  .site-header__inner {
    grid-template-columns: 190px auto 44px;
    min-height: 78px;
  }
}

/* Variant 1 — compact public path, legal footer and consent controls. */
.site-nav {
  gap: clamp(14px, 1.45vw, 26px);
}

.site-nav a {
  white-space: nowrap;
}

.site-actions .btn-small {
  min-width: 178px;
}

.site-footer {
  background: #091a31;
  color: rgba(255, 255, 255, 0.78);
  padding: 58px 0 24px;
}

.site-footer__grid--expanded {
  align-items: start;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(155px, 0.75fr));
}

.site-footer__brand,
.site-footer__links {
  align-content: start;
  display: grid;
  gap: 10px;
}

.site-footer__brand > strong {
  color: #fff;
  font-family: var(--font-serif);
  font-size: 28px;
}

.site-footer__brand p {
  line-height: 1.55;
  margin: 0 0 4px;
  max-width: 390px;
}

.site-footer__brand > a,
.site-footer__brand > span,
.site-footer__links a,
.site-footer__cookie-button {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.45;
}

.site-footer__brand > a:hover,
.site-footer__links a:hover,
.site-footer__cookie-button:hover {
  color: #fff;
}

.site-footer__links > strong {
  color: #fff;
  font-size: 15px;
  margin-bottom: 4px;
}

.site-footer__cookie-button {
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.32);
  text-underline-offset: 4px;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 8px 30px;
  justify-content: space-between;
  margin-top: 36px;
  padding-top: 20px;
}

.messenger-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.messenger-links--footer {
  margin-top: 8px;
}

.messenger-link {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(11, 27, 51, 0.12);
  border-radius: 12px;
  color: var(--ap-navy);
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  gap: 8px;
  justify-content: center;
  min-height: 46px;
  padding: 8px 12px;
}

.messenger-links--footer .messenger-link {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
  min-width: 46px;
  padding: 8px;
}

.messenger-links--footer .messenger-link span {
  position: absolute;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
  width: 1px;
}

.messenger-link img {
  height: 28px;
  object-fit: contain;
  width: 28px;
}

.messenger-link:hover {
  border-color: rgba(214, 106, 0, 0.5);
  box-shadow: 0 8px 22px rgba(11, 27, 51, 0.08);
  color: var(--ap-navy);
  transform: translateY(-1px);
}

.contact-method-card__body {
  display: grid;
  gap: 16px;
  height: 100%;
  padding: 28px;
}

.contact-method-card__direct {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: auto;
}

.legal-page__content {
  max-width: 900px;
}

.legal-page__content h2 {
  color: var(--ap-navy);
  font-family: var(--font-sans);
  font-size: clamp(19px, 2vw, 24px);
  margin: 34px 0 10px;
}

.legal-page__content p,
.legal-page__content li {
  line-height: 1.75;
}

.legal-page__version {
  color: var(--ap-muted);
  font-size: 13px;
}

.legal-table-wrap {
  overflow-x: auto;
}

.legal-table {
  border-collapse: collapse;
  min-width: 680px;
  width: 100%;
}

.legal-table th,
.legal-table td {
  border: 1px solid rgba(11, 27, 51, 0.12);
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: rgba(11, 27, 51, 0.05);
  color: var(--ap-navy);
}

.demo-label {
  color: var(--ap-orange);
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.home-variant-grid,
.home-process__steps {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-variant-grid article,
.home-process__steps li {
  background: #fff;
  border: 1px solid rgba(11, 27, 51, 0.1);
  border-radius: 18px;
  min-height: 190px;
  padding: 24px;
}

.home-variant-grid b,
.home-process__steps > li > b {
  color: var(--ap-orange);
  display: block;
  font-size: 13px;
  margin-bottom: 16px;
}

.home-variant-grid h3,
.home-process__steps h3 {
  color: var(--ap-navy);
  font-family: var(--font-sans);
  font-size: 19px;
  margin: 0 0 9px;
}

.home-variant-grid p,
.home-process__steps p {
  color: var(--ap-muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

.home-variants__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 26px;
}

.home-process__steps .feature-icon {
  margin-bottom: 14px;
}

.home-process > .container > .text-link {
  display: inline-flex;
  margin-top: 24px;
}

.home-lead-points {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.home-lead-points li {
  padding-left: 26px;
  position: relative;
}

.home-lead-points li::before {
  color: var(--ap-orange);
  content: "\2713";
  font-weight: 800;
  left: 0;
  position: absolute;
}

.cookie-banner {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(11, 27, 51, 0.13);
  border-radius: 18px;
  bottom: 18px;
  box-shadow: 0 22px 60px rgba(9, 26, 49, 0.22);
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(280px, 1fr) auto;
  left: 50%;
  max-width: 1120px;
  padding: 20px 22px;
  position: fixed;
  transform: translateX(-50%);
  width: calc(100% - 36px);
  z-index: 1000;
}

.cookie-banner[hidden],
.cookie-settings[hidden] {
  display: none;
}

.cookie-banner__copy strong {
  color: var(--ap-navy);
  font-size: 16px;
}

.cookie-banner__copy p {
  color: var(--ap-muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 5px 0 0;
}

.cookie-banner__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-banner .btn {
  font-size: 13px;
  min-height: 44px;
  padding: 0 16px;
}

.cookie-link-button {
  background: transparent;
  border: 0;
  color: var(--ap-blue);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  min-height: 44px;
  padding: 0 10px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cookie-settings {
  align-items: center;
  background: rgba(4, 14, 28, 0.64);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 1100;
}

.cookie-settings__panel {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 28px 80px rgba(3, 12, 24, 0.35);
  max-height: min(720px, calc(100vh - 40px));
  max-width: 650px;
  overflow: auto;
  padding: 28px;
  width: 100%;
}

.cookie-settings__head,
.cookie-settings__option,
.cookie-settings__actions {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.cookie-settings__head span {
  color: var(--ap-orange);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.cookie-settings__head h2 {
  font-size: 28px;
  margin: 2px 0 0;
}

.cookie-settings__close {
  background: #f4f1ec;
  border: 0;
  border-radius: 50%;
  color: var(--ap-navy);
  cursor: pointer;
  font-size: 28px;
  height: 44px;
  line-height: 1;
  width: 44px;
}

.cookie-settings__option {
  border-top: 1px solid rgba(11, 27, 51, 0.1);
  margin-top: 20px;
  padding-top: 20px;
}

.cookie-settings__option p {
  color: var(--ap-muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 5px 0 0;
}

.cookie-settings__option input {
  accent-color: var(--ap-orange);
  height: 24px;
  min-width: 24px;
  width: 24px;
}

.cookie-settings__always {
  color: var(--ap-muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.cookie-settings__more {
  font-size: 13px;
  margin: 20px 0;
}

.cookie-settings-open {
  overflow: hidden;
}

@media (max-width: 1100px) {
  .site-footer__grid--expanded {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-variant-grid,
  .home-process__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-footer {
    padding-top: 42px;
  }

  .site-footer__grid--expanded {
    gap: 28px;
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    display: grid;
  }

  .home-variant-grid,
  .home-process__steps {
    grid-template-columns: 1fr;
  }

  .home-variant-grid article,
  .home-process__steps li {
    min-height: 0;
    padding: 20px;
  }

  .cookie-banner {
    bottom: 10px;
    gap: 14px;
    grid-template-columns: 1fr;
    padding: 18px;
    width: calc(100% - 20px);
  }

  .cookie-banner__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cookie-banner__actions .cookie-link-button {
    grid-column: 1 / -1;
  }

  .cookie-settings {
    align-items: end;
    padding: 0;
  }

  .cookie-settings__panel {
    border-radius: 20px 20px 0 0;
    max-height: 90vh;
    padding: 22px;
  }

  .cookie-settings__option {
    align-items: start;
  }

  .cookie-settings__actions {
    align-items: stretch;
    display: grid;
  }
}

/* AP Kontur: plan-first managed renovation offer. */
.section--soft {
  background: var(--ap-bg-warm);
}

.section-heading {
  margin-bottom: 24px;
  max-width: 780px;
}

.section-heading h2,
.ap-kontur-hero h1,
.kontur-result h2,
.source-note h2,
.plan-detail-grid h2 {
  color: var(--ap-navy);
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.04;
}

.public-page--ap_kontur .ap-kontur-hero {
  background:
    #e8d6c0
    url("../img/generated/ap-kontur-hero-v1.84c0d2f07664.webp") center center / cover no-repeat;
  isolation: isolate;
}

.public-page--ap_kontur .ap-kontur-hero::before {
  background: linear-gradient(
    90deg,
    rgba(248, 240, 230, 0.98) 0%,
    rgba(248, 240, 230, 0.94) 32%,
    rgba(248, 240, 230, 0.72) 48%,
    rgba(248, 240, 230, 0.1) 74%
  );
  z-index: -1;
}

.ap-kontur-hero .page-hero__content {
  max-width: 650px;
}

.ap-kontur-hero h1 {
  font-size: clamp(42px, 5vw, 66px);
  margin-bottom: 18px;
  max-width: 780px;
}

.ap-kontur-hero .page-hero__inner {
  min-height: 520px;
  padding-bottom: 48px;
  padding-top: 48px;
}

.ap-kontur-hero__panel {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.7);
  display: grid;
  gap: 16px 18px;
  grid-template-columns: 54px minmax(0, 1fr);
  justify-self: end;
  max-width: 360px;
  padding: 30px;
}

.ap-kontur-hero__panel strong {
  align-self: center;
  color: var(--ap-navy);
  font-size: 18px;
}

.ap-kontur-hero__number {
  align-items: center;
  background: var(--ap-orange);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-weight: 800;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.ap-kontur-disclaimer {
  background: rgba(255, 255, 255, 0.78);
  border-left: 4px solid var(--ap-orange);
  color: var(--ap-text);
  font-size: 14px !important;
  margin-top: 22px !important;
  padding: 14px 16px;
}

.kontur-selector {
  align-items: end;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  padding: 24px;
}

.kontur-selector--detail {
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
}

.kontur-selector__field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.kontur-selector__field label {
  color: var(--ap-navy);
  font-size: 14px;
  font-weight: 700;
}

.kontur-selector select {
  background: #fff;
  border: 1px solid var(--ap-border);
  border-radius: var(--radius);
  color: var(--ap-text);
  min-height: 44px;
  padding: 0 14px;
  width: 100%;
}

.kontur-selector .btn {
  align-self: end;
  min-height: 44px;
  white-space: nowrap;
}

.kontur-result {
  margin-top: 24px;
  padding: clamp(24px, 4vw, 44px);
}

.kontur-result__grid,
.plan-detail-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.kontur-result__grid > div,
.plan-detail-grid > article {
  background: var(--ap-bg-warm);
  border: 1px solid var(--ap-border);
  border-radius: var(--radius);
  padding: 22px;
}

.kontur-result__lead {
  margin-top: 26px;
  max-width: 680px;
}

/* Compact proposal shown after the visitor chooses a plan and repair option. */
.kontur-proposal {
  background: transparent;
  border: 0;
  box-shadow: none;
  display: grid;
  gap: 16px;
  padding: 0;
}

.kontur-proposal:hover {
  box-shadow: none;
  transform: none;
}

.kontur-proposal__hero {
  background: var(--ap-navy);
  border-radius: calc(var(--radius) * 1.4);
  color: #fff;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) minmax(250px, auto);
  padding: clamp(24px, 4vw, 40px);
}

.kontur-proposal__intro h2,
.kontur-proposal__intro p,
.kontur-proposal__hero .eyebrow {
  color: #fff;
}

.kontur-proposal__intro h2 {
  margin: 8px 0 12px;
}

.kontur-proposal__intro p {
  margin: 0;
  max-width: 720px;
  opacity: 0.84;
}

.kontur-proposal__intro p + p {
  margin-top: 8px;
}

.kontur-proposal__total {
  align-self: start;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  min-width: 250px;
  padding: 20px;
}

.kontur-proposal__total span,
.kontur-proposal__metrics span {
  color: rgba(255, 255, 255, 0.7);
  display: block;
  font-size: 13px;
}

.kontur-proposal__total strong {
  color: #fff;
  display: block;
  font-size: clamp(28px, 3.4vw, 44px);
  font-variant-numeric: tabular-nums;
  line-height: 1.08;
  margin-top: 7px;
}

.kontur-proposal__metrics {
  display: grid;
  gap: 12px;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.kontur-proposal__metrics > div {
  border-left: 3px solid var(--ap-orange);
  padding: 4px 0 4px 14px;
}

.kontur-proposal__metrics strong {
  color: #fff;
  display: block;
  font-size: clamp(16px, 1.7vw, 20px);
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
  margin-top: 5px;
}

.kontur-proposal__notice {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 16px;
}

.kontur-proposal__body {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
}

.kontur-proposal__scope,
.kontur-proposal__next {
  background: #fff;
  border: 1px solid var(--ap-border);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 30px);
}

.kontur-proposal__scope h3,
.kontur-proposal__next h3 {
  color: var(--ap-navy);
  margin: 0 0 14px;
}

.kontur-proposal__scope ul {
  display: grid;
  gap: 9px;
  margin: 0 0 16px;
  padding-left: 20px;
}

.kontur-proposal__scope > p,
.kontur-proposal__next > p {
  color: var(--ap-muted);
  margin: 0 0 16px;
}

.kontur-proposal__next .eyebrow {
  display: block;
  margin-bottom: 8px;
}

.kontur-proposal__lead {
  margin-top: 18px;
}

.kontur-proposal__lead summary {
  cursor: pointer;
  list-style: none;
  width: 100%;
}

.kontur-proposal__lead summary::-webkit-details-marker {
  display: none;
}

.kontur-proposal__lead summary:focus-visible {
  outline: 3px solid rgba(240, 111, 24, 0.34);
  outline-offset: 3px;
}

.kontur-proposal__lead-form {
  border-top: 1px solid var(--ap-border);
  margin-top: 18px;
  padding-top: 18px;
}

.kontur-proposal__lead-form .lead-form {
  box-shadow: none;
  padding: 0;
}

.kontur-proposal__lead-form .lead-form:hover {
  box-shadow: none;
  transform: none;
}

.kontur-proposal__lead-form .lead-form h3 {
  font-size: 22px;
}

.kontur-proposal__phone {
  display: inline-block;
  font-weight: 700;
  margin-top: 16px;
}

.kontur-proposal__source {
  color: var(--ap-muted);
  font-size: 12px;
  margin: 0;
  padding: 0 4px;
}

@media (max-width: 768px) {
  .kontur-proposal__hero,
  .kontur-proposal__body {
    grid-template-columns: 1fr;
  }

  .kontur-proposal__total {
    min-width: 0;
    width: 100%;
  }

  .kontur-proposal__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kontur-proposal__metrics > div:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 430px) {
  .kontur-proposal {
    gap: 12px;
    margin-top: 18px;
  }

  .kontur-proposal__hero,
  .kontur-proposal__scope,
  .kontur-proposal__next {
    padding: 20px;
  }

  .kontur-proposal__total {
    padding: 17px;
  }

  .kontur-proposal__metrics {
    gap: 14px 10px;
  }

  .kontur-proposal__metrics > div {
    padding-left: 10px;
  }

  .kontur-proposal__metrics strong {
    font-size: 16px;
  }
}

.kontur-price-panel {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 24px 0;
}

.kontur-price-panel > div,
.kontur-detail-price {
  background: var(--ap-bg-warm);
  border: 1px solid var(--ap-border);
  border-radius: var(--radius);
  padding: 20px;
}

.kontur-price-panel span,
.kontur-detail-price span,
.kontur-detail-price small {
  color: var(--ap-muted);
  display: block;
  font-size: 13px;
}

.kontur-price-panel strong,
.kontur-detail-price strong {
  color: var(--ap-navy);
  display: block;
  font-size: clamp(20px, 2vw, 28px);
  font-variant-numeric: tabular-nums;
  margin-top: 6px;
}

.kontur-detail-hero .page-hero__inner {
  min-height: 390px;
}

.kontur-detail-price {
  display: grid;
  gap: 6px;
  justify-self: end;
  max-width: 380px;
  width: 100%;
}

.kontur-detail-price small {
  border-top: 1px solid var(--ap-border);
  margin-top: 10px;
  padding-top: 12px;
}

.kontur-level-switcher {
  background: #fff;
  border-bottom: 1px solid var(--ap-border);
  border-top: 1px solid var(--ap-border);
  padding: 26px 0;
}

.kontur-level-switcher__heading {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.kontur-level-switcher__heading h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 0;
}

.kontur-level-nav {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.kontur-level-nav__link {
  background: var(--ap-bg-warm);
  border: 1px solid var(--ap-border);
  border-radius: var(--radius);
  color: var(--ap-text);
  display: grid;
  gap: 3px;
  min-height: 96px;
  padding: 16px 18px;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.kontur-level-nav__link:hover,
.kontur-level-nav__link:focus-visible {
  border-color: var(--ap-orange);
  box-shadow: 0 10px 24px rgba(10, 34, 64, 0.1);
  transform: translateY(-2px);
}

.kontur-level-nav__link > span {
  color: var(--ap-orange);
  font-size: 13px;
  font-weight: 800;
}

.kontur-level-nav__link > strong {
  color: var(--ap-navy);
  font-size: 17px;
}

.kontur-level-nav__link > small {
  color: var(--ap-muted);
}

.kontur-level-nav__link.is-active {
  background: var(--ap-navy);
  border-color: var(--ap-navy);
  box-shadow: inset 0 -4px 0 var(--ap-orange);
}

.kontur-level-nav__link.is-active > strong,
.kontur-level-nav__link.is-active > small {
  color: #fff;
}

.kontur-scope-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.kontur-scope-grid .card {
  padding: 22px;
}

.kontur-scope-grid ul {
  margin-bottom: 0;
  padding-left: 20px;
}

.kontur-schedule {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.kontur-schedule li {
  align-items: center;
  background: #fff;
  border: 1px solid var(--ap-border);
  border-radius: var(--radius);
  display: grid;
  gap: 16px;
  grid-template-columns: 46px minmax(0, 1fr);
  min-height: 64px;
  padding: 10px 18px;
}

.kontur-schedule span {
  color: var(--ap-orange);
  font-weight: 900;
}

.kontur-lines {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.kontur-line {
  color: var(--ap-text);
  min-width: 0;
  padding: 24px;
  text-decoration: none;
}

.kontur-line > span {
  color: var(--ap-orange);
  display: block;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 18px;
}

.kontur-line h3 {
  font-size: 22px;
}

.kontur-line h4 {
  color: var(--ap-navy);
  margin-bottom: 8px;
}

.kontur-line ul,
.kontur-result ul,
.plan-detail-grid ul,
.plan-detail-grid ol {
  padding-left: 20px;
}

.kontur-line li,
.kontur-result li,
.plan-detail-grid li {
  margin-bottom: 7px;
}

.plan-catalog {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.plan-card {
  align-items: stretch;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
}

.plan-card__media {
  align-items: center;
  background: var(--ap-bg-warm);
  border: 1px solid var(--ap-border);
  border-radius: calc(var(--radius) - 4px);
  display: flex;
  justify-content: center;
  min-height: clamp(280px, 32vw, 390px);
  overflow: hidden;
  padding: clamp(14px, 2vw, 24px);
}

.plan-card__media img {
  display: block;
  height: auto;
  max-height: 360px;
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.plan-card__content {
  flex: 1;
}

.plan-card .btn {
  align-self: flex-start;
}

.plan-card h2 {
  color: var(--ap-navy);
  font-family: var(--font-heading);
  margin-bottom: 8px;
}

.source-note {
  margin-top: 24px;
  padding: 26px;
}

.source-note a,
.plan-detail-grid a {
  color: var(--ap-blue);
  font-weight: 700;
}

.plan-passport {
  background: var(--ap-bg-warm);
  border: 1px solid var(--ap-border);
  border-radius: var(--radius);
  display: grid;
  gap: 8px;
  margin: 24px 0;
  padding: 24px;
}

.plan-passport span {
  color: var(--ap-orange);
  font-weight: 800;
}

.plan-passport strong {
  color: var(--ap-navy);
  font-family: var(--font-heading);
  font-size: clamp(48px, 6vw, 76px);
  line-height: 1;
}

.plan-passport small {
  color: var(--ap-muted);
}

.plan-hero {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
}

.plan-hero__visual {
  align-items: center;
  background: #fff;
  border: 1px solid var(--ap-border);
  border-radius: var(--radius);
  display: flex;
  justify-content: center;
  min-height: 460px;
  padding: clamp(18px, 3vw, 38px);
}

.plan-hero__visual img {
  display: block;
  height: auto;
  max-height: 620px;
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.plan-hero__content {
  min-width: 0;
}

@media (max-width: 1100px) {
  .kontur-selector,
  .kontur-selector--detail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .kontur-selector .btn {
    grid-column: 1 / -1;
  }

  .kontur-lines {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plan-catalog {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .public-page--ap_kontur .ap-kontur-hero {
    background-position: 67% center;
  }

  .public-page--ap_kontur .ap-kontur-hero::before {
    background: linear-gradient(
      180deg,
      rgba(248, 240, 230, 0.96) 0%,
      rgba(248, 240, 230, 0.92) 58%,
      rgba(248, 240, 230, 0.78) 100%
    );
  }

  .ap-kontur-hero .page-hero__inner,
  .kontur-result__grid,
  .plan-detail-grid {
    grid-template-columns: 1fr;
  }

  .ap-kontur-hero .page-hero__inner {
    min-height: auto;
    padding-bottom: 32px;
    padding-top: 32px;
  }

  .ap-kontur-hero h1 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .ap-kontur-hero__panel {
    justify-self: stretch;
    max-width: none;
  }

  .kontur-selector {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .kontur-selector .btn {
    grid-column: 1;
  }

  .kontur-price-panel,
  .kontur-scope-grid {
    grid-template-columns: 1fr;
  }

  .kontur-detail-price {
    justify-self: stretch;
    max-width: none;
  }

  .kontur-level-switcher__heading {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }

  .kontur-level-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kontur-level-nav__link {
    min-height: 92px;
    padding: 14px;
  }

  .kontur-lines {
    grid-template-columns: 1fr;
  }

  .plan-hero {
    grid-template-columns: 1fr;
  }

  .plan-hero__visual {
    min-height: 320px;
    padding: 14px;
  }

  .plan-card__media {
    min-height: 300px;
  }

  .plan-card .btn {
    align-self: stretch;
    width: 100%;
  }
}

@media (max-width: 1024px) {

  .site-logo img {
    height: 64px;
  }

  .site-burger {
    display: block;
    grid-column: 3;
  }

  .site-actions {
    display: none;
  }

  .site-nav {
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    display: none;
    left: 0;
    padding: 12px 24px 24px;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
  }

  .site-nav.is-open {
    display: grid;
    justify-content: stretch;
  }

  .site-nav__mobile-action {
    display: block;
  }

  .site-nav a {
    padding: 12px;
  }

  .demo-lk-hero__inner,
  .demo-client-hero,
  .demo-object-card,
  .demo-producer-layout,
  .demo-help {
    grid-template-columns: 1fr;
  }

  .demo-dashboard {
    padding: 14px 18px 24px;
  }

  .demo-dashboard__top {
    grid-template-columns: 1fr auto;
  }

  .demo-dashboard__top nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .demo-dashboard__user {
    justify-self: end;
  }

  .demo-client-actions,
  .demo-lk-summary__stats,
  .demo-kpi-row,
  .demo-alert-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo-dashboard-grid--client,
  .demo-dashboard-grid--producer,
  .demo-lk-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cabinet-visible__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-title {
    font-size: 50px;
  }

  .page-hero__inner,
  .public-page--home .page-hero__inner,
  .public-page--process .page-hero__inner,
  .public-page--quality .page-hero__inner,
  .public-page--estimate .page-hero__inner,
  .public-page--prices .page-hero__inner,
  .public-page--contacts .page-hero__inner,
  .image-split,
  .contact-layout,
  .contact-map,
  .contact-board,
  .contact-strip,
  .split,
  .aps-demo-layout {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .feature-grid--four,
  .process-benefits__grid,
  .quality-control-flow__grid,
  .estimate-includes__grid,
  .estimate-change-flow__grid,
  .prices-factors__grid,
  .prices-transparency,
  .prices-transparency__checks,
  .prices-cta,
  .public-page--quality .feature-grid,
  .price-grid,
  .timeline,
  .aps-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .prices-hero-visual {
    grid-template-columns: 1fr;
  }

  .prices-hero-card {
    min-height: auto;
  }

  .prices-cta__facts {
    border-left: 0;
    grid-column: 1 / -1;
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  .container,
  .aps-container {
    padding: 0 18px;
  }

  .page-hero,
  .page-hero__inner {
    min-height: auto;
  }

  .page-hero::before {
    background: linear-gradient(180deg, rgba(251, 247, 240, 0.98), rgba(251, 247, 240, 0.82) 54%, rgba(251, 247, 240, 0.42));
  }

  .page-hero__inner {
    gap: 28px;
    padding-bottom: 34px;
    padding-top: 38px;
  }

  .public-page--home .page-hero__inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .page-title {
    font-size: 42px;
  }

  .page-hero__content > p {
    font-size: 17px;
  }

  .section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 30px;
    overflow-wrap: anywhere;
  }

  .feature-grid,
  .price-grid,
  .timeline,
  .link-grid,
  .link-card-grid,
  .process-benefits__grid,
  .quality-control-flow__grid,
  .estimate-includes__grid,
  .estimate-change-flow__grid,
  .prices-factors__grid,
  .prices-transparency,
  .prices-transparency__checks,
  .prices-cta,
  .prices-cta__facts,
  .public-page--quality .feature-grid,
  .mini-grid,
  .demo-card__grid,
  .cabinet-stats,
  .cabinet-columns,
  .aps-card-grid {
    grid-template-columns: 1fr;
  }

  .prices-hero-visual > img {
    height: 260px;
  }

  .prices-factors__grid .mini-card,
  .prices-transparency__intro {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .prices-cta {
    min-height: auto;
  }

  .public-page--estimate .feature-grid--four {
    grid-template-columns: 1fr;
  }

  .estimate-change-flow__grid .feature-line:not(:last-child)::after {
    display: none;
  }

  .estimate-hero-card {
    bottom: 18px;
    left: 18px;
    min-width: 154px;
    right: auto;
    top: auto;
  }

  .public-page--estimate .reference-cta {
    grid-template-columns: 1fr;
  }

  .public-page--estimate .reference-cta__actions {
    margin-top: 8px;
  }

  .feature-grid--four {
    gap: 10px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cabinet-visible__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .link-card {
    grid-template-columns: 118px minmax(0, 1fr) 28px;
    min-height: 108px;
  }

  .link-card > span {
    padding: 0 14px 0 0;
    text-align: center;
  }

  .link-card img {
    height: 100%;
  }

  .image-split > img {
    height: 260px;
  }

  .site-footer__grid {
    flex-direction: column;
  }

  .contact-map {
    gap: 22px;
    padding: 22px 18px;
  }

  .contact-map__visual {
    min-height: 190px;
    width: 100%;
  }

  .reference-cta {
    padding: 24px 20px;
  }

  .reference-cta h2 {
    font-size: 26px;
  }

  .demo-lk-hero {
    padding: 48px 0 34px;
  }

  .demo-lk-hero h1 {
    font-size: 48px;
  }

  .demo-lk-hero p {
    font-size: 17px;
  }

  .demo-lk-summary strong {
    font-size: 24px;
  }

  .demo-lk-card {
    grid-template-columns: 70px minmax(0, 1fr) 24px;
    min-height: 132px;
    padding: 20px;
  }

  .public-page--home .page-hero {
    background:
      linear-gradient(90deg, rgba(251, 247, 240, .98) 0%, rgba(251, 247, 240, .82) 46%, rgba(251, 247, 240, .56) 100%),
      url("../img/backgrounds/bg-home.545bd36dba7d.webp") center top / cover no-repeat,
      #fbf7f0;
  }

  .public-page--home .page-hero .eyebrow,
  .public-page--home .hero-note {
    display: none;
  }

  .public-page--home .page-hero__content {
    max-width: 350px;
    padding-left: 0;
  }

  .public-page--home .hero-title {
    font-size: 46px;
    line-height: 1.03;
    max-width: 340px;
  }

  .public-page--home .page-hero__content > p {
    max-width: 330px;
  }

  .public-page--home .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
    width: min(310px, 100%);
  }

  .public-page--home .hero-actions .btn {
    justify-content: center;
    min-height: 50px;
    width: 100%;
  }

  .hero-demo-card {
    grid-template-columns: 130px minmax(0, 1fr);
    justify-self: center;
    max-width: 562px;
    padding: 16px;
    width: 100%;
  }

  .hero-demo-card > img {
    height: 214px;
    width: 130px;
  }

  .hero-demo-card .status-list {
    list-style: none;
    padding-left: 0;
  }

  .hero-demo-card .status-list li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .public-page--home .feature-grid--four {
    gap: 10px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .public-page--home .feature-card {
    align-content: start;
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 170px;
    padding: 16px 8px;
    text-align: center;
  }

  .public-page--home .feature-card h2,
  .public-page--home .feature-card p {
    grid-column: 1;
  }

  .public-page--home .feature-card h2 {
    font-size: 17px;
  }

  .public-page--home .feature-card p {
    font-size: 14px;
    line-height: 1.38;
  }

  .public-page--home .feature-icon {
    grid-row: auto;
    margin-bottom: 8px;
  }

  .public-page--home .feature-icon img {
    height: 54px;
    width: 54px;
  }
}

@media (max-width: 480px) {
  .container,
  .aps-container {
    width: min(var(--container), calc(100% - 44px));
    padding: 0;
  }

  .site-header__inner {
    gap: 8px;
    grid-template-columns: minmax(0, 170px) 1fr 32px;
    min-height: 58px;
    padding: 0 12px;
  }

  .site-logo img {
    height: 36px;
    max-width: 170px;
  }

  .page-title {
    font-size: 34px;
  }

  .hero-title {
    font-size: 34px;
    line-height: 1.04;
    max-width: 285px;
    overflow-wrap: normal;
  }

  .page-hero__inner {
    gap: 16px;
    padding-bottom: 20px;
    padding-top: 22px;
  }

  .page-hero__content > p {
    font-size: 17px;
    line-height: 1.38;
    margin-top: 12px;
    max-width: 305px;
  }

  .hero-actions {
    gap: 7px;
    margin-top: 10px;
  }

  .hero-note {
    font-size: 12px !important;
    line-height: 1.35;
    margin-top: 10px !important;
  }

  .hero-actions,
  .aps-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn,
  .aps-btn {
    width: 100%;
  }

  .public-page--home .hero-actions .btn {
    font-size: 16px;
    min-height: 50px;
    padding: 12px 18px;
    width: min(302px, 100%);
  }

  .hero-demo-card,
  .cabinet-panel,
  .contact-card {
    padding: 10px;
  }

  .hero-demo-card {
    gap: 10px;
    grid-template-columns: 118px minmax(0, 1fr);
    justify-self: stretch;
    max-width: 100%;
    width: 100%;
  }

  .hero-demo-card > img {
    height: 164px;
  }

  .demo-card__content {
    padding: 0;
  }

  .demo-card__content h2 {
    font-size: 15px;
    margin-bottom: 4px;
  }

  .hero-demo-card p {
    font-size: 11px;
    margin: 0;
  }

  .hero-demo-card .progress-row {
    gap: 8px;
    margin: 8px 0;
  }

  .hero-demo-card .status-list {
    font-size: 10px;
    gap: 2px;
    line-height: 1.2;
    margin-bottom: 4px;
    padding-left: 12px;
  }

  .hero-demo-card .status-list small {
    display: inline;
    font-size: 9px;
    margin-left: 4px;
  }

  .hero-demo-card .status-list li:nth-child(n+3) {
    display: none;
  }

  .hero-demo-card .text-link {
    font-size: 11px;
  }

  .lead-form,
  .price-card,
  .timeline-card,
  .mini-card,
  .link-card__body {
    padding: 20px;
  }

  .feature-card {
    align-content: start;
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 170px;
    padding: 10px 4px;
    text-align: center;
  }

  .feature-card h2,
  .feature-card p,
  .process-benefits__grid h3,
  .process-benefits__grid p {
    grid-column: 1;
  }

  .feature-card h2 {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .feature-card p {
    font-size: 12px;
    line-height: 1.35;
  }

  .feature-icon {
    grid-row: auto;
    margin-bottom: 6px;
  }

  .feature-icon img {
    height: 52px;
    width: 52px;
  }

  .price-card .feature-icon img,
  .timeline-card .feature-icon img {
    height: 48px;
    width: 48px;
  }

  .link-card > div {
    padding: 14px 12px 14px 16px;
  }

  .link-card h2 {
    font-size: 18px;
    margin-bottom: 6px;
  }

  .link-card p {
    font-size: 14px;
    line-height: 1.35;
  }

  .messenger-row {
    grid-template-columns: 1fr;
  }

  .contact-strip {
    padding: 18px;
  }

  .demo-dashboard {
    padding: 10px 10px 18px;
  }

  .demo-dashboard__top {
    border-radius: var(--radius);
    gap: 10px;
    padding: 10px;
  }

  .demo-dashboard__brand strong,
  .demo-dashboard__user b {
    display: none;
  }

  .demo-dashboard__top nav {
    gap: 18px;
  }

  .demo-dashboard__top nav a {
    padding: 12px 0;
  }

  .demo-client-actions,
  .demo-lk-summary__stats,
  .demo-dashboard-grid--client,
  .demo-dashboard-grid--producer,
  .demo-lk-grid,
  .demo-kpi-row,
  .demo-alert-row,
  .cabinet-visible__grid,
  .demo-photos {
    grid-template-columns: 1fr;
  }

  .demo-lk-hero h1 {
    font-size: 40px;
  }

  .demo-lk-summary,
  .demo-panel,
  .demo-object-card,
  .demo-help,
  .demo-safe-note {
    padding: 18px;
  }

  .demo-lk-card {
    grid-template-columns: 58px minmax(0, 1fr) 20px;
    padding: 16px;
  }

  .demo-lk-card h2 {
    font-size: 19px;
  }

  .demo-object-card dl {
    grid-template-columns: 1fr;
  }

  .demo-object-card > img {
    height: 180px;
  }

  .demo-client-hero h1,
  .demo-producer-head h1 {
    font-size: 24px;
  }

  .demo-producer-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .demo-producer-tools {
    flex-direction: column;
    width: 100%;
  }

  .demo-producer-tools button {
    width: 100%;
  }
}

/* Reference fidelity pass: import/*_view.png layouts, current logo preserved. */
@media (min-width: 769px) {
  .site-header {
    padding: 0;
  }

  .site-header__inner {
    min-height: 84px;
    padding: 0 28px;
  }

  .site-logo img {
    height: 70px;
  }

  .site-nav {
    gap: 14px;
  }

  .site-nav a,
  .login-link {
    font-size: 14px;
    padding: 12px 10px;
  }

  .btn {
    min-height: 56px;
    padding: 0 34px;
  }

  .hero-actions .btn-primary::before {
    align-items: center;
    border: 2px solid currentColor;
    border-radius: 3px;
    content: "";
    display: inline-flex;
    height: 20px;
    margin-right: 14px;
    width: 16px;
  }

  .hero-actions .btn-secondary::before,
  .reference-cta__actions .btn-primary::before {
    border-color: transparent transparent transparent currentColor;
    border-style: solid;
    border-width: 9px 0 9px 14px;
    content: "";
    display: inline-flex;
    height: 0;
    margin-right: 14px;
    width: 0;
  }

  .page-hero .eyebrow,
  .hero-note {
    display: none;
  }

  .page-hero {
    background:
      linear-gradient(100deg, rgba(251, 247, 240, 0.98), rgba(251, 247, 240, 0.94) 52%, rgba(246, 239, 229, 0.86)),
      linear-gradient(135deg, rgba(15, 61, 117, 0.06) 0 1px, transparent 1px 24px);
  }

  .page-hero__inner {
    grid-template-columns: minmax(0, 540px) minmax(0, 1fr);
    min-height: 366px;
    padding-bottom: 28px;
    padding-top: 28px;
  }

  .page-hero__content {
    padding-left: 66px;
  }

  .page-title {
    font-size: 60px;
    line-height: 0.98;
  }

  .page-hero__content > p {
    font-size: 17px;
    line-height: 1.5;
    margin-top: 18px;
  }

  .page-hero__media {
    height: 310px;
  }

  .public-page--home .page-hero {
    background:
      linear-gradient(90deg, rgba(251, 247, 240, 0.92), rgba(251, 247, 240, 0.76) 44%, rgba(251, 247, 240, 0.68) 100%),
      url("../img/backgrounds/bg-home.545bd36dba7d.webp") center center / cover no-repeat,
      #fbf7f0;
    min-height: 388px;
  }

  .public-page--home .page-hero::before {
    background:
      linear-gradient(90deg, rgba(251, 247, 240, 0.45), rgba(251, 247, 240, 0.15) 50%, transparent 78%),
      repeating-linear-gradient(115deg, rgba(15, 61, 117, 0.028) 0 1px, transparent 1px 28px);
  }

  .public-page--home .page-hero__inner {
    gap: 10px;
    grid-template-columns: minmax(0, 730px) minmax(0, 580px);
    min-height: 388px;
    padding-bottom: 20px;
    padding-top: 20px;
  }

  .public-page--home .page-hero__content {
    max-width: 730px;
    padding-left: 66px;
  }

  .hero-title {
    font-size: 52px;
    line-height: 1;
    max-width: 690px;
  }

  .public-page--home .page-hero__content > p {
    font-size: 18px;
    line-height: 1.52;
    margin-top: 24px;
    max-width: 540px;
  }

  .public-page--home .hero-actions {
    gap: 18px;
    margin-top: 28px;
  }

  .hero-demo-card {
    border-radius: 24px;
    box-shadow: 0 14px 42px rgba(11, 27, 51, 0.11);
    gap: 24px;
    grid-template-columns: 148px minmax(0, 1fr);
    max-width: none;
    height: 358px;
    min-height: 0;
    padding: 24px;
    width: 588px;
  }

  .hero-demo-card > img {
    height: 270px;
    object-position: 64% center;
    width: 148px;
  }

  .demo-card__content h2 {
    font-size: 20px;
    line-height: 1.08;
    margin-bottom: 8px;
  }

  .hero-demo-card p {
    font-size: 14px;
    line-height: 1.35;
    margin: 0;
  }

  .hero-demo-card .progress-row {
    gap: 18px;
    margin: 12px 0;
  }

  .hero-demo-card .progress-row span {
    background: linear-gradient(90deg, var(--ap-blue) 62%, #e6e8eb 62%);
    height: 12px;
  }

  .status-list {
    gap: 4px;
    list-style: none;
    padding-left: 0;
  }

  .status-list li {
    align-items: center;
    border: 1px solid #e6e8ee;
    border-radius: 8px;
    display: grid;
    font-size: 13px;
    grid-template-columns: 1fr auto;
    min-height: 34px;
    padding: 5px 10px;
  }

  .status-list small {
    display: block;
    font-size: 11px;
    margin-left: 12px;
  }

  .hero-demo-card .text-link {
    color: var(--ap-navy);
    display: inline-block;
    font-size: 14px;
    margin-top: 4px;
    text-decoration: none;
  }

  .public-page--home .section {
    padding: 20px 0;
  }

  .public-page--home .section--tight {
    padding-top: 20px;
  }

  .public-page--home .feature-grid--four {
    gap: 14px;
  }

  .public-page--home .feature-card {
    grid-template-columns: 84px minmax(0, 1fr);
    min-height: 104px;
    padding: 14px 24px;
  }

  .public-page--home .feature-card h2 {
    font-size: 18px;
    margin-bottom: 4px;
  }

  .public-page--home .feature-card p {
    font-size: 14px;
    line-height: 1.35;
  }

  .public-page--home .feature-icon img {
    height: 72px;
    width: 72px;
  }

  .link-card-grid {
    gap: 10px 14px;
  }

  .public-page--home .link-card {
    grid-template-columns: 166px minmax(0, 1fr) 34px;
    min-height: 106px;
  }

  .public-page--home .link-card > div {
    padding: 14px 16px 14px 24px;
  }

  .public-page--home .link-card h2 {
    font-size: 18px;
    margin-bottom: 6px;
  }

  .public-page--home .link-card p {
    font-size: 14px;
    line-height: 1.35;
  }

  .public-page--process .page-hero,
  .public-page--process .page-hero__inner,
  .public-page--quality .page-hero,
  .public-page--quality .page-hero__inner,
  .public-page--estimate .page-hero,
  .public-page--estimate .page-hero__inner,
  .public-page--prices .page-hero,
  .public-page--prices .page-hero__inner,
  .public-page--contacts .page-hero,
  .public-page--contacts .page-hero__inner {
    min-height: 366px;
  }

  .public-page--process .page-hero__inner,
  .public-page--quality .page-hero__inner,
  .public-page--estimate .page-hero__inner,
  .public-page--prices .page-hero__inner {
    grid-template-columns: minmax(0, 560px) minmax(0, 706px);
  }

  .public-page--process .page-hero__content > p,
  .public-page--quality .page-hero__content > p,
  .public-page--estimate .page-hero__content > p,
  .public-page--prices .page-hero__content > p {
    max-width: 560px;
  }

  .public-page--process .page-hero + .section {
    padding: 24px 0 14px;
  }

  .public-page--process .timeline {
    gap: 16px;
  }

  .public-page--process .timeline-card {
    min-height: 228px;
    padding: 22px 20px;
  }

  .process-benefits .process-benefits__grid,
  .public-page--client_portal .feature-grid--four,
  .cabinet-visible__grid {
    gap: 14px;
  }

  .reference-cta {
    border-radius: 8px;
    min-height: 190px;
    padding: 30px 44px;
  }

  .reference-cta h2 {
    font-size: 29px;
  }

  .public-page--client_portal .page-hero,
  .public-page--client_portal .page-hero__inner {
    min-height: 480px;
  }

  .public-page--client_portal .page-hero__inner {
    grid-template-columns: minmax(0, 500px) minmax(0, 770px);
  }

  .public-page--client_portal .page-hero__content {
    padding-left: 36px;
  }

  .public-page--client_portal .page-title {
    font-size: 62px;
    max-width: 500px;
  }

  .cabinet-panel {
    border-radius: 18px;
    box-shadow: 0 14px 42px rgba(11, 27, 51, 0.12);
    max-width: 770px;
    padding: 22px;
  }

  .cabinet-preview__main {
    gap: 18px;
  }

  .cabinet-preview__grid {
    gap: 18px;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 4px 0 0;
  }

  .site-header__inner {
    border-radius: 14px 14px 0 0;
    min-height: 98px;
    padding: 0 26px;
  }

  .site-logo img {
    height: 58px;
    max-width: 260px;
  }

  .site-burger {
    height: 44px;
    width: 44px;
  }

  .site-burger span {
    height: 3px;
    margin: 6px 0;
    width: 30px;
  }

  .public-page--home .page-hero {
    background:
      linear-gradient(90deg, rgba(251, 247, 240, 0.96), rgba(251, 247, 240, 0.68) 48%, rgba(251, 247, 240, 0.38)),
      url("../img/backgrounds/bg-home.545bd36dba7d.webp") center top / cover no-repeat,
      #fbf7f0;
  }

  .page-hero .eyebrow,
  .hero-note {
    display: none;
  }

  .page-hero__inner {
    padding-top: 28px;
  }

  .hero-title {
    font-size: 41px;
    line-height: 1.02;
    max-width: 330px;
  }

  .page-hero__content > p {
    max-width: 330px;
  }

  .public-page--home .hero-actions .btn {
    border-radius: 8px;
    font-size: 17px;
    min-height: 50px;
    width: min(302px, 100%);
  }

  .public-page--home .feature-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-demo-card {
    border-radius: 22px;
    box-shadow: 0 14px 42px rgba(11, 27, 51, 0.11);
    grid-template-columns: 130px minmax(0, 1fr);
    padding: 20px 18px;
  }

  .hero-demo-card > img {
    height: 220px;
  }

  .hero-demo-card .progress-row span {
    background: linear-gradient(90deg, var(--ap-blue) 62%, #e6e8eb 62%);
  }

  .hero-demo-card .status-list {
    list-style: none;
    padding-left: 0;
  }

  .hero-demo-card .status-list li {
    border: 1px solid #e6e8ee;
    border-radius: 8px;
    padding: 5px 7px;
  }

  .hero-demo-card .text-link {
    color: var(--ap-navy);
    text-decoration: none;
  }

  .public-page--home .link-card-grid {
    gap: 8px;
  }

  .public-page--home .link-card {
    grid-template-columns: 135px minmax(0, 1fr) 24px;
  }
}

/* Typography fidelity pass: closer to import/*_view.png proportions. */
@media (min-width: 769px) {
  body {
    font-size: 15px;
    line-height: 1.5;
  }

  .site-nav a,
  .site-header__login,
  .btn {
    font-size: 14px;
  }

  .hero-title,
  .page-hero__content h1 {
    font-size: 50px;
    line-height: 1.02;
  }

  .page-title {
    font-size: 48px;
    line-height: 1.03;
  }

  .public-page--client_portal .page-title {
    font-size: 46px;
  }

  .page-hero__content > p,
  .public-page--home .page-hero__content > p,
  .public-page--process .page-hero__content > p,
  .public-page--quality .page-hero__content > p,
  .public-page--estimate .page-hero__content > p,
  .public-page--prices .page-hero__content > p {
    font-size: 16px;
    line-height: 1.48;
  }

  .section-title {
    font-size: 30px;
  }

  .section-subtitle {
    font-size: 24px;
  }

  .feature-card h2,
  .link-card h2,
  .timeline-card h2,
  .price-card h2,
  .mini-card h3,
  .feature-line h3 {
    font-size: 17px;
    line-height: 1.22;
    overflow-wrap: normal;
  }

  .feature-card p,
  .link-card p,
  .timeline-card p,
  .price-card p,
  .mini-card p,
  .feature-line p {
    font-size: 13px;
    line-height: 1.42;
    overflow-wrap: normal;
  }

  .demo-card__content h2 {
    font-size: 19px;
  }

  .hero-demo-card p,
  .status-list li,
  .cabinet-panel,
  .contact-card {
    font-size: 13px;
  }

  .status-list small {
    font-size: 11px;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
    line-height: 1.48;
  }

  .hero-title,
  .public-page--home .hero-title {
    font-size: 42px;
    line-height: 1.04;
  }

  .page-title {
    font-size: 40px;
  }

  .page-hero__content > p,
  .public-page--home .page-hero__content > p {
    font-size: 15px;
    line-height: 1.45;
  }

  .feature-card h2,
  .link-card h2,
  .timeline-card h2,
  .price-card h2,
  .public-page--home .feature-card h2 {
    font-size: 16px;
    line-height: 1.2;
    overflow-wrap: normal;
  }

  .feature-card p,
  .link-card p,
  .timeline-card p,
  .price-card p,
  .public-page--home .feature-card p {
    font-size: 13px;
    line-height: 1.38;
    overflow-wrap: normal;
  }
}

@media (max-width: 480px) {
  .hero-title,
  .public-page--home .hero-title {
    font-size: 38px;
  }

  .page-hero__content > p,
  .public-page--home .page-hero__content > p {
    font-size: 14px;
  }

  .demo-card__content h2 {
    font-size: 14px;
  }

  .hero-demo-card p,
  .hero-demo-card .status-list,
  .hero-demo-card .text-link {
    font-size: 10px;
  }
}

/* Final view typography and contact-card fit pass. */
body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.46;
}

.page-title,
.hero-title,
.section-title,
.section-subtitle,
.lead-form h2,
.contact-card h2,
.reference-cta h2,
.demo-panel h2,
.demo-lk-card h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0;
}

.site-nav a,
.site-header__login,
.login-link {
  font-size: 13px;
  font-weight: 700;
}

.btn,
.aps-btn,
.messenger-row a,
.lead-form label,
.form-note,
.contact-list span,
.contact-list small,
.demo-dashboard,
.demo-lk-summary {
  font-family: var(--font-body);
}

.btn,
.aps-btn {
  font-size: 14px;
  font-weight: 800;
}

.page-hero__content > p,
.public-page--home .page-hero__content > p,
.public-page--process .page-hero__content > p,
.public-page--quality .page-hero__content > p,
.public-page--estimate .page-hero__content > p,
.public-page--prices .page-hero__content > p {
  font-size: 15px;
  line-height: 1.46;
}

.feature-card h2,
.link-card h2,
.timeline-card h2,
.price-card h2,
.mini-card h3,
.feature-line h3 {
  font-size: 16px;
  line-height: 1.22;
}

.feature-card p,
.link-card p,
.timeline-card p,
.price-card p,
.mini-card p,
.feature-line p,
.contact-card p,
.lead-form__intro {
  font-size: 13px;
  line-height: 1.42;
}

@media (min-width: 769px) {
  .hero-title,
  .page-hero__content h1 {
    font-size: 48px;
    line-height: 1.03;
  }

  .page-title {
    font-size: 46px;
    line-height: 1.03;
  }

  .public-page--client_portal .page-title {
    font-size: 46px;
  }

  .section-title {
    font-size: 28px;
  }

  .section-subtitle {
    font-size: 22px;
  }
}

.public-page--contacts .section {
  padding: 18px 0;
}

.public-page--contacts .contact-board {
  gap: 14px;
  grid-template-columns: minmax(280px, .88fr) minmax(360px, 1fr) minmax(340px, 1.12fr);
}

.public-page--contacts .contact-board .lead-form,
.public-page--contacts .contact-board .contact-card {
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(11, 27, 51, .06);
  padding: 16px 18px;
}

.public-page--contacts .contact-card h2,
.public-page--contacts .lead-form h2 {
  font-size: 18px;
  line-height: 1.08;
  margin-bottom: 10px;
}

.public-page--contacts .lead-form__intro {
  color: var(--ap-muted);
  margin-bottom: 8px;
  max-width: 270px;
}

.public-page--contacts .contact-list {
  margin-top: 8px;
}

.public-page--contacts .contact-list p {
  gap: 0 10px;
  grid-template-columns: 40px minmax(0, 1fr);
  min-height: 52px;
  padding: 5px 0;
}

.public-page--contacts .contact-list__icon {
  background: transparent;
  height: 38px;
  width: 38px;
}

.public-page--contacts .contact-list__icon img {
  height: 38px;
  width: 38px;
}

.public-page--contacts .contact-list span {
  color: var(--ap-muted);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.1;
}

.public-page--contacts .contact-list a,
.public-page--contacts .contact-list__item {
  color: var(--ap-navy);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.public-page--contacts .contact-list small {
  font-size: 10px;
  line-height: 1.2;
  margin-top: 2px;
}

.public-page--contacts .lead-form label {
  gap: 4px;
  margin-top: 7px;
}

.public-page--contacts .lead-form label > span {
  font-size: 11px;
  font-weight: 800;
}

.public-page--contacts .lead-form input,
.public-page--contacts .lead-form select,
.public-page--contacts .lead-form textarea {
  border-radius: 7px;
  font-size: 13px;
  min-height: 30px;
  padding: 6px 10px;
}

.public-page--contacts .lead-form textarea {
  min-height: 56px;
}

.public-page--contacts .lead-form__consent {
  align-items: start;
  gap: 7px;
  margin-top: 7px;
}

.public-page--contacts .lead-form__consent input {
  height: 14px;
  margin-top: 1px;
  width: 14px;
}

.public-page--contacts .lead-form__consent span,
.public-page--contacts .form-note {
  font-size: 10px;
  line-height: 1.25;
}

.public-page--contacts .lead-form .btn {
  font-size: 13px;
  min-height: 40px;
}

.public-page--contacts .contact-map__visual {
  border-radius: 7px;
  height: 150px;
  margin-bottom: 11px;
}

.public-page--contacts .contact-map__visual span {
  font-size: 11px;
  padding: 7px 14px;
}

.public-page--contacts .contact-map__visual i {
  border-width: 5px;
  height: 22px;
  width: 22px;
}

.public-page--contacts .messenger-row {
  gap: 7px;
  margin-top: 10px;
}

.public-page--contacts .messenger-row a {
  border-radius: 7px;
  font-size: 11px;
  font-weight: 800;
  padding: 7px 10px;
}

@media (max-width: 768px) {
  .public-page--contacts .contact-board {
    grid-template-columns: 1fr;
  }

  .public-page--contacts .contact-map__visual {
    height: 180px;
  }
}

@media (min-width: 769px) and (max-width: 1180px) {
  .page-hero__inner {
    gap: 28px;
    grid-template-columns: minmax(0, 390px) minmax(0, 1fr);
  }

  .page-hero__content {
    padding-left: 32px;
  }

  .page-title,
  .hero-title,
  .page-hero__content h1 {
    font-size: 42px;
    line-height: 1.04;
  }

  .page-hero__content > p,
  .public-page--home .page-hero__content > p {
    font-size: 14px;
    line-height: 1.42;
    max-width: 360px;
  }

  .public-page--home .page-hero__inner {
    gap: 24px;
    grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  }

  .public-page--home .page-hero__content {
    max-width: 340px;
    padding-left: 32px;
  }

  .public-page--home .hero-title {
    font-size: 38px;
    line-height: 1.04;
    max-width: 340px;
  }

  .public-page--home .hero-actions {
    gap: 12px;
    margin-top: 22px;
  }

  .public-page--home .hero-actions .btn {
    min-height: 52px;
    padding: 0 24px;
  }

  .public-page--home .hero-demo-card {
    gap: 18px;
    grid-template-columns: 140px minmax(0, 1fr);
    height: auto;
    padding: 22px;
    width: 100%;
  }

  .public-page--home .hero-demo-card > img {
    height: 240px;
    width: 140px;
  }

  .public-page--home .status-list li {
    min-height: 30px;
    padding: 4px 8px;
  }

  .public-page--contacts .contact-board {
    grid-template-columns: minmax(280px, .9fr) minmax(360px, 1.1fr);
  }

  .public-page--contacts .contact-board .contact-map {
    grid-column: 1 / -1;
  }
}

.public-page--process .timeline-card:not(:last-child)::after {
  border-right: 2px solid #a9b2bf;
  border-top: 2px solid #a9b2bf;
  content: "";
  height: 10px;
  right: -12px;
  top: 100px;
  transform: rotate(45deg);
  width: 10px;
}

/* Final browser QA pass: stabilize the home hero image and remove encoded pseudo text. */
@media (min-width: 769px) {
  .public-page--home .page-hero {
    background:
      linear-gradient(90deg, rgba(251, 247, 240, .90) 0%, rgba(251, 247, 240, .94) 45%, rgba(251, 247, 240, .98) 74%, rgba(251, 247, 240, 1) 100%),
      url("../img/backgrounds/bg-home.545bd36dba7d.webp") left 50% / min(1040px, 58vw) auto no-repeat,
      #fbf7f0;
  }

  .public-page--home .page-hero::before {
    background: repeating-linear-gradient(115deg, rgba(11, 47, 85, .035) 0 1px, transparent 1px 28px);
    opacity: .72;
  }

  .public-page--home .hero-demo-card {
    background: rgba(255, 255, 255, .98);
  }
}

.quality-control-flow__grid .feature-line:not(:last-child)::after,
.estimate-change-flow__grid .feature-line:not(:last-child)::after,
.public-page--process .timeline-card:not(:last-child)::after {
  border-right: 2px solid #a9b2bf;
  border-top: 2px solid #a9b2bf;
  color: transparent;
  content: "";
  font-size: 0;
  height: 10px;
  line-height: 0;
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
}

@media (max-width: 768px) {
  .page-title {
    font-size: 42px;
    line-height: 1;
  }

  .page-hero__content > p {
    font-size: 16px;
    line-height: 1.42;
  }

  .page-hero__actions .btn {
    font-size: 16px;
    min-height: 52px;
  }

  .quality-control-flow__grid .feature-line:not(:last-child)::after,
  .estimate-change-flow__grid .feature-line:not(:last-child)::after,
  .public-page--process .timeline-card:not(:last-child)::after {
    display: none;
  }
}

/* Final typography/layout QA pass: one compact scale across public pages. */
html {
  text-size-adjust: 100%;
}

body {
  font-size: 14px;
  line-height: 1.48;
}

.site-header__inner,
.card,
.btn,
.lead-form input,
.lead-form select,
.lead-form textarea {
  -webkit-font-smoothing: antialiased;
}

.page-title,
.hero-title,
.page-hero__content h1 {
  text-wrap: balance;
}

.page-hero__content > p,
.feature-card p,
.feature-card li,
.price-card p,
.price-card li,
.timeline-card p,
.mini-card p,
.feature-line p,
.contact-card p,
.lead-form__intro {
  text-wrap: pretty;
}

.feature-card,
.price-card,
.timeline-card,
.mini-card,
.feature-line {
  min-width: 0;
}

.feature-card h2,
.feature-card h3,
.price-card h2,
.price-card h3,
.timeline-card h2,
.mini-card h3,
.feature-line h3 {
  overflow-wrap: normal;
  word-break: normal;
}

.feature-card p,
.feature-card li,
.price-card p,
.price-card li,
.timeline-card p,
.mini-card p,
.feature-line p {
  overflow-wrap: anywhere;
}

.lead-form__consent span,
.lead-form__consent a {
  min-width: 0;
  overflow-wrap: anywhere;
}

.contact-board .lead-form__consent span,
.public-page--contacts .lead-form__consent span {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.cabinet-panel * {
  min-width: 0;
}

@media (min-width: 1181px) {
  .hero-title,
  .page-hero__content h1 {
    font-size: 48px;
    line-height: 1.03;
  }

  .page-title {
    font-size: 46px;
    line-height: 1.04;
  }

  .public-page--quality .page-title,
  .public-page--estimate .page-title,
  .public-page--prices .page-title {
    font-size: 50px;
  }

  .page-hero__content > p,
  .public-page--home .page-hero__content > p,
  .public-page--process .page-hero__content > p,
  .public-page--quality .page-hero__content > p,
  .public-page--estimate .page-hero__content > p,
  .public-page--prices .page-hero__content > p {
    font-size: 15px;
    line-height: 1.48;
  }
}

@media (min-width: 769px) and (max-width: 1180px) {
  .page-hero__inner,
  .public-page--process .page-hero__inner,
  .public-page--quality .page-hero__inner,
  .public-page--estimate .page-hero__inner,
  .public-page--prices .page-hero__inner,
  .public-page--contacts .page-hero__inner {
    align-items: center;
    gap: 24px;
    grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  }

  .public-page--client_portal .page-hero__inner {
    grid-template-columns: minmax(0, 330px) minmax(0, 1fr);
  }

  .page-hero__content {
    padding-left: 0;
  }

  .page-title,
  .hero-title,
  .page-hero__content h1,
  .public-page--client_portal .page-title {
    font-size: 40px;
    line-height: 1.04;
  }

  .public-page--home .hero-title {
    font-size: 38px;
  }
}

@media (min-width: 769px) and (max-width: 900px) {
  .public-page--client_portal .page-hero,
  .public-page--client_portal .page-hero__inner {
    min-height: auto;
  }

  .public-page--client_portal .page-hero__inner {
    gap: 26px;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    padding-bottom: 34px;
    padding-top: 34px;
  }

  .public-page--client_portal .page-hero__content {
    justify-self: stretch;
    max-width: 640px;
  }

  .public-page--client_portal .page-title {
    max-width: 560px;
  }

  .public-page--client_portal .page-hero__content > p {
    max-width: 560px;
  }

  .public-page--client_portal .hero-actions {
    flex-wrap: wrap;
  }

  .public-page--client_portal .hero-actions .btn {
    min-width: 190px;
  }

  .public-page--client_portal .cabinet-panel {
    justify-self: center;
    max-width: 680px;
  }
}

@media (min-width: 1181px) {
  .public-page--contacts .page-hero,
  .public-page--contacts .page-hero__inner {
    min-height: 286px;
  }

  .public-page--contacts .page-hero__inner {
    padding-bottom: 18px;
    padding-top: 18px;
  }

  .public-page--contacts .page-hero__content {
    padding-left: 0;
  }

  .public-page--contacts .page-hero__media {
    height: 238px;
    object-position: center center;
  }

  .public-page--contacts .contact-map__visual {
    background:
      radial-gradient(circle at 58% 46%, rgba(214, 106, 0, 0.18) 0 14px, transparent 15px),
      linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)),
      url("../img/backgrounds/bg-contacts.c10d9c17e078.webp") center center / cover no-repeat;
    height: 176px;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 14px;
    line-height: 1.46;
  }

  .page-hero__inner,
  .public-page--home .page-hero__inner,
  .public-page--client_portal .page-hero__inner {
    gap: 22px;
    padding-bottom: 28px;
    padding-top: 28px;
  }

  .hero-title,
  .public-page--home .hero-title,
  .page-title,
  .public-page--client_portal .page-title {
    font-size: 40px;
    line-height: 1.04;
  }

  .public-page--quality .page-title,
  .public-page--estimate .page-title,
  .public-page--prices .page-title {
    font-size: 42px;
  }

  .page-hero__content > p,
  .public-page--home .page-hero__content > p,
  .public-page--process .page-hero__content > p,
  .public-page--quality .page-hero__content > p,
  .public-page--estimate .page-hero__content > p,
  .public-page--prices .page-hero__content > p {
    font-size: 14px;
    line-height: 1.44;
  }

  .page-hero__actions .btn,
  .hero-actions .btn {
    font-size: 14px;
    min-height: 48px;
  }

  .feature-grid--four,
  .public-page--estimate .feature-grid--four,
  .cabinet-visible__grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    align-items: center;
    gap: 10px 12px;
    grid-template-columns: 54px minmax(0, 1fr);
    justify-items: stretch;
    min-height: 0;
    padding: 14px;
    text-align: left;
  }

  .feature-card h2,
  .feature-card h3,
  .feature-card p {
    grid-column: 2;
  }

  .feature-card h2,
  .feature-card h3,
  .price-card h2,
  .timeline-card h2,
  .mini-card h3,
  .feature-line h3 {
    font-size: 16px;
    line-height: 1.22;
    margin-bottom: 5px;
  }

  .feature-card p,
  .price-card p,
  .timeline-card p,
  .mini-card p,
  .feature-line p {
    font-size: 13px;
    line-height: 1.38;
  }

  .feature-icon {
    grid-row: 1 / span 2;
    margin: 0;
  }

  .feature-icon img {
    height: 46px;
    width: 46px;
  }

  .public-page--client_portal .hero-actions {
    flex-wrap: wrap;
  }

  .cabinet-panel {
    justify-self: stretch;
    max-width: 100%;
  }

  .cabinet-preview__main,
  .cabinet-preview__grid {
    grid-template-columns: 1fr;
  }

  .cabinet-preview__photos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cabinet-preview__photos img {
    height: 58px;
  }

  .contact-board .lead-form,
  .public-page--contacts .contact-board .lead-form,
  .public-page--contacts .contact-board .contact-card {
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .container,
  .aps-container {
    width: min(100% - 28px, var(--container));
    padding-left: 0;
    padding-right: 0;
  }

  .hero-title,
  .public-page--home .hero-title,
  .page-title,
  .public-page--client_portal .page-title {
    font-size: 38px;
  }

  .site-header__inner {
    min-height: 70px;
  }

  .site-logo img {
    height: 54px;
  }

  .hero-demo-card {
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .hero-demo-card > img {
    height: 150px;
  }

  .cabinet-preview__top {
    align-items: flex-start;
    gap: 8px;
  }

  .lead-form__consent {
    grid-template-columns: 18px minmax(0, 1fr);
  }
}

/* Full visual QA pass: mobile density, CTA readability, and final page balance. */
.reference-cta {
  background:
    linear-gradient(90deg, rgba(11, 27, 51, .98) 0%, rgba(11, 27, 51, .92) 55%, rgba(11, 27, 51, .72) 100%),
    url("../img/backgrounds/bg-home.545bd36dba7d.webp") center right / cover no-repeat;
}

.reference-cta h2 {
  text-shadow: 0 1px 1px rgba(0, 0, 0, .12);
}

.reference-cta p {
  color: rgba(255, 255, 255, .9);
}

.home-faq-section .split {
  align-items: start;
  gap: 36px;
  grid-template-columns: minmax(250px, .56fr) minmax(520px, 1fr);
}

.home-faq-section .section-title {
  max-width: 360px;
}

.home-faq-section .faq-list {
  margin-left: auto;
  max-width: 640px;
  width: 100%;
}

.faq-list details {
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(11, 27, 51, .035);
}

.faq-list summary {
  line-height: 1.35;
}

.contact-strip {
  align-items: stretch;
}

.contact-strip div {
  min-width: 0;
}

.contact-strip span {
  overflow-wrap: anywhere;
}

@media (min-width: 1181px) {
  .page-hero__inner {
    max-width: 1280px;
  }

  .feature-grid--four .feature-card,
  .price-grid .price-card,
  .prices-factors__grid .mini-card,
  .quality-control-flow__grid .feature-line,
  .estimate-change-flow__grid .feature-line {
    min-height: 130px;
  }

  .link-card {
    min-height: 108px;
  }
}

@media (min-width: 769px) and (max-width: 1180px) {
  .home-faq-section .split {
    grid-template-columns: minmax(230px, .62fr) minmax(420px, 1fr);
  }

  .home-faq-section .faq-list {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .section {
    padding-bottom: 34px;
    padding-top: 34px;
  }

  .section--tight {
    padding-bottom: 26px;
    padding-top: 26px;
  }

  .home-faq-section .split {
    gap: 18px;
    grid-template-columns: 1fr;
  }

  .home-faq-section .section-title {
    max-width: 100%;
  }

  .home-faq-section .faq-list {
    max-width: 100%;
  }

  .public-page--client_portal .page-hero__inner {
    grid-template-columns: 1fr;
  }

  .public-page--client_portal .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  .public-page--client_portal .hero-actions .btn {
    width: 100%;
  }

  .public-page--client_portal .cabinet-panel {
    max-width: 100%;
    width: 100%;
  }

  .faq-list {
    gap: 10px;
  }

  .faq-list details {
    padding: 14px 15px;
  }

  .faq-list summary {
    font-size: 14px;
  }

  .faq-list p {
    font-size: 13px;
    line-height: 1.45;
  }

  .reference-cta {
    background:
      linear-gradient(180deg, rgba(11, 27, 51, .98) 0%, rgba(11, 27, 51, .94) 58%, rgba(11, 27, 51, .82) 100%),
      url("../img/backgrounds/bg-home.545bd36dba7d.webp") center right / cover no-repeat;
    padding: 22px 16px 18px;
  }

  .reference-cta h2 {
    font-size: 24px;
    line-height: 1.08;
    max-width: 360px;
  }

  .reference-cta p {
    font-size: 14px;
    line-height: 1.44;
    max-width: 360px;
  }

  .reference-cta__actions {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr;
    margin-top: 16px;
  }

  .reference-cta__actions .btn {
    justify-content: center;
    min-height: 48px;
    padding: 0 16px;
    width: 100%;
  }

  .prices-cta {
    display: grid;
    gap: 14px;
  }

  .prices-cta__facts {
    display: grid;
    gap: 8px;
  }

  .contact-strip {
    gap: 12px;
    padding: 18px;
  }

  .contact-strip b {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 0;
  }

  .site-header__inner {
    border-radius: 10px;
    grid-template-columns: minmax(0, 1fr) 42px;
    min-height: 76px;
    padding: 0 12px;
  }

  .site-logo img {
    height: 54px;
    max-width: 230px;
  }

  .site-burger {
    height: 42px;
    justify-self: end;
    width: 42px;
  }

  .site-burger span {
    width: 24px;
  }

  .page-hero__inner,
  .public-page--home .page-hero__inner,
  .public-page--client_portal .page-hero__inner {
    padding-bottom: 24px;
    padding-top: 24px;
  }

  .hero-title,
  .public-page--home .hero-title,
  .page-title,
  .public-page--client_portal .page-title {
    font-size: 36px;
  }

  .public-page--quality .page-title,
  .public-page--estimate .page-title,
  .public-page--prices .page-title {
    font-size: 38px;
  }

  .hero-actions,
  .page-hero__actions {
    gap: 10px;
  }

  .hero-actions .btn,
  .page-hero__actions .btn {
    min-height: 46px;
    padding: 0 16px;
  }

  .reference-cta {
    border-radius: 8px;
    padding: 18px 10px 12px;
  }

  .reference-cta h2 {
    font-size: 23px;
  }

  .reference-cta p {
    font-size: 13px;
  }

  .reference-cta__actions .btn {
    min-height: 54px;
  }

  .prices-transparency {
    padding: 16px;
  }

  .prices-transparency__intro {
    align-items: start;
    gap: 10px;
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .prices-transparency__checks span {
    font-size: 13px;
    line-height: 1.35;
  }
}

@media (max-width: 380px) {
  .container,
  .aps-container {
    width: min(100% - 20px, var(--container));
  }

  .site-logo img {
    height: 48px;
    max-width: 200px;
  }

  .site-header__inner {
    min-height: 70px;
  }
}

/* Typography calibration from the 1440px visual reference. */
@media (min-width: 1181px) {
  .site-header {
    font-family: var(--font-ui);
  }

  .site-nav a,
  .login-link {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
  }

  .site-actions .btn,
  .header-cta {
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
  }

  .hero-title,
  .public-page--home .hero-title {
    color: #10213d;
    font-family: var(--font-heading);
    font-size: 66px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.08;
  }

  .page-title,
  .page-hero__content h1,
  .public-page--client_portal .page-title,
  .public-page--quality .page-title,
  .public-page--estimate .page-title,
  .public-page--prices .page-title {
    color: #10213d;
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.08;
  }

  .page-hero__content > p,
  .public-page--home .page-hero__content > p,
  .public-page--process .page-hero__content > p,
  .public-page--quality .page-hero__content > p,
  .public-page--estimate .page-hero__content > p,
  .public-page--prices .page-hero__content > p,
  .public-page--contacts .page-hero__content > p {
    color: #243653;
    font-family: var(--font-body);
    font-size: 21px;
    font-weight: 500;
    line-height: 1.45;
  }

  .btn,
  .aps-btn,
  .hero-actions .btn,
  .page-hero__actions .btn,
  .reference-cta__actions .btn {
    border-radius: 12px;
    font-family: var(--font-ui);
    font-size: 17px;
    line-height: 1;
    min-height: 58px;
    padding-left: 32px;
    padding-right: 32px;
  }

  .btn-primary {
    font-weight: 700;
  }

  .btn-secondary {
    font-weight: 600;
  }

  .feature-card h2,
  .feature-card h3,
  .price-card h2,
  .price-card h3,
  .public-page--home .feature-card h2,
  .mini-card h3,
  .feature-line h3 {
    font-family: var(--font-ui);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.2;
  }

  .feature-card p,
  .feature-card li,
  .price-card p,
  .price-card li,
  .public-page--home .feature-card p,
  .mini-card p,
  .mini-card small,
  .feature-line p {
    font-family: var(--font-body);
    font-size: 15.5px;
    font-weight: 500;
    line-height: 1.35;
  }

  .demo-card__content h2 {
    font-family: var(--font-ui);
    font-size: 25px;
    font-weight: 700;
    line-height: 1.2;
  }

  .hero-demo-card p,
  .demo-card__top span,
  .progress-row b {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35;
  }

  .hero-demo-card .status-list,
  .hero-demo-card .status-list li,
  .hero-demo-card .text-link {
    font-size: 15.5px;
    font-weight: 500;
    line-height: 1.25;
  }

  .link-card h2,
  .link-card__body h2,
  .public-page--home .link-card h2,
  .section-card-title {
    font-family: var(--font-ui);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
  }

  .link-card p,
  .link-card__body p,
  .public-page--home .link-card p,
  .section-card-text {
    font-family: var(--font-body);
    font-size: 15.5px;
    font-weight: 400;
    line-height: 1.45;
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .hero-title,
  .public-page--home .hero-title,
  .page-title,
  .page-hero__content h1 {
    font-size: 58px;
    letter-spacing: 0;
    line-height: 1.08;
  }

  .page-hero__content > p,
  .public-page--home .page-hero__content > p {
    font-size: 19px;
    line-height: 1.45;
  }
}

@media (min-width: 769px) and (max-width: 900px) {
  .hero-title,
  .public-page--home .hero-title,
  .page-title,
  .page-hero__content h1,
  .public-page--client_portal .page-title {
    font-size: 46px;
    letter-spacing: 0;
    line-height: 1.1;
  }

  .page-hero__content > p,
  .public-page--home .page-hero__content > p {
    font-size: 18px;
    line-height: 1.45;
  }
}

/* Client cabinet: keep the demo panel below the copy on mobile and tablet. */
@media (max-width: 1180px) {
  .public-page--client_portal .page-hero__inner {
    align-items: start;
    gap: 24px;
    grid-template-columns: 1fr !important;
  }

  .public-page--client_portal .page-hero__content {
    max-width: 620px;
  }

  .public-page--client_portal .cabinet-panel {
    justify-self: stretch;
    max-width: 720px;
    width: 100%;
  }

  .public-page--client_portal .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 520px;
  }
}

@media (max-width: 768px) {
  .hero-title,
  .public-page--home .hero-title,
  .page-title,
  .page-hero__content h1,
  .public-page--client_portal .page-title {
    font-size: 36px;
    letter-spacing: 0;
    line-height: 1.1;
  }

  .page-hero__content > p,
  .public-page--home .page-hero__content > p {
    font-size: 16px;
    line-height: 1.45;
  }
}

/* Semantic CTA icons. */
.hero-actions .btn-secondary:not(.btn-preview):not(.btn-estimate):not(.btn-phone)::before,
.page-hero__actions .btn-secondary:not(.btn-preview):not(.btn-estimate):not(.btn-phone)::before {
  content: none;
  display: none;
}

.hero-actions .btn-estimate::before,
.page-hero__actions .btn-estimate::before,
.reference-cta__actions .btn-estimate::before {
  align-items: center;
  background: rgba(255, 255, 255, 0.18);
  border: 1.5px solid currentColor;
  border-radius: 6px;
  content: "✓";
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  height: 22px;
  justify-content: center;
  line-height: 1;
  margin-right: 13px;
  width: 22px;
}

.hero-actions .btn-preview::before,
.page-hero__actions .btn-preview::before,
.reference-cta__actions .btn-preview::before {
  background: transparent;
  border-color: transparent transparent transparent currentColor;
  border-radius: 0;
  border-style: solid;
  border-width: 7px 0 7px 11px;
  box-shadow: none;
  content: "";
  display: inline-flex;
  height: 0;
  margin-right: 13px;
  width: 0;
}

.hero-actions .btn-phone::before,
.page-hero__actions .btn-phone::before {
  align-items: center;
  background: rgba(255, 255, 255, 0.18);
  border: 1.5px solid currentColor;
  border-radius: 999px;
  content: "☎";
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  height: 22px;
  justify-content: center;
  line-height: 1;
  margin-right: 13px;
  width: 22px;
}

/* Demo LK and contacts finishing pass. */
.demo-dashboard__brand picture,
.demo-dashboard__brand img {
  display: block;
}

.demo-dashboard__brand img {
  height: auto;
  max-height: 58px;
  object-fit: contain;
  width: 205px;
}

@media (max-width: 900px) {
  .demo-dashboard__brand img {
    max-height: 50px;
    width: 178px;
  }
}

@media (min-width: 769px) {
  .public-page--contacts .contact-board {
    align-items: stretch;
  }

  .public-page--contacts .contact-board > .contact-card:not(.contact-method-card),
  .public-page--contacts .contact-board > .lead-form {
    align-self: stretch;
    height: 100%;
  }

  .public-page--contacts .contact-board > .contact-card:not(.contact-method-card) {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .public-page--contacts .contact-board > .contact-card:not(.contact-method-card) h2 {
    font-size: 24px;
    line-height: 1.12;
    margin-bottom: 18px;
  }

  .public-page--contacts .contact-board > .contact-card:not(.contact-method-card) .contact-list {
    flex: 1;
    margin-top: 4px;
  }

  .public-page--contacts .contact-board > .contact-card:not(.contact-method-card) .contact-list p {
    gap: 0 20px;
    grid-template-columns: 60px minmax(0, 1fr);
    min-height: 100px;
    padding: 18px 0;
  }

  .public-page--contacts .contact-board > .contact-card:not(.contact-method-card) .contact-list__icon {
    height: 54px;
    width: 54px;
  }

  .public-page--contacts .contact-board > .contact-card:not(.contact-method-card) .contact-list__icon img {
    height: 54px;
    width: 54px;
  }

  .public-page--contacts .contact-board > .contact-card:not(.contact-method-card) .contact-list span {
    font-size: 13px;
    line-height: 1.16;
  }

  .public-page--contacts .contact-board > .contact-card:not(.contact-method-card) .contact-list a,
  .public-page--contacts .contact-board > .contact-card:not(.contact-method-card) .contact-list__item {
    font-size: 17px;
    line-height: 1.25;
  }

  .public-page--contacts .contact-board > .contact-card:not(.contact-method-card) .contact-list small {
    font-size: 13px;
    line-height: 1.28;
    margin-top: 5px;
  }
}

/* Contacts page: give the communication block room to breathe. */
@media (min-width: 769px) {
  .public-page--contacts .contact-board {
    gap: 22px;
    grid-template-columns: minmax(320px, 0.92fr) minmax(420px, 1.08fr);
  }

  .public-page--contacts .contact-board .lead-form,
  .public-page--contacts .contact-board .contact-card {
    padding: 24px 28px;
  }

  .public-page--contacts .contact-list {
    margin-top: 14px;
  }

  .public-page--contacts .contact-list p {
    gap: 0 18px;
    grid-template-columns: 54px minmax(0, 1fr);
    min-height: 78px;
    padding: 13px 0;
  }

  .public-page--contacts .contact-list__icon {
    height: 46px;
    width: 46px;
  }

  .public-page--contacts .contact-list__icon img {
    height: 46px;
    width: 46px;
  }

  .public-page--contacts .contact-method-card {
    align-items: center;
    display: grid;
    gap: 28px;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  }

  .public-page--contacts .contact-method-card .contact-map__visual {
    height: 286px;
    margin-bottom: 0;
    min-height: 240px;
  }

  .public-page--contacts .contact-method-card__body {
    min-width: 0;
  }

  .public-page--contacts .contact-method-card__body h2 {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .public-page--contacts .contact-method-card__body p {
    font-size: 16px;
    line-height: 1.5;
    max-width: 420px;
  }

  .public-page--contacts .contact-method-card .messenger-row {
    gap: 10px;
    margin-top: 18px;
  }

  .public-page--contacts .contact-method-card .messenger-row a {
    font-size: 14px;
    min-height: 44px;
    padding: 13px 14px;
  }
}

@media (min-width: 769px) and (max-width: 900px) {
  .public-page--contacts .contact-method-card {
    grid-template-columns: 1fr;
  }

  .public-page--contacts .contact-method-card .contact-map__visual {
    height: 240px;
  }
}

@media (min-width: 1181px) {
  .public-page--home .hero-demo-card {
    gap: 20px;
    grid-template-columns: 132px minmax(0, 1fr);
  }

  .public-page--home .hero-demo-card > img {
    width: 132px;
  }
}

/* Client cabinet and contacts visual polish: glossy assets, calmer equal-height desktop blocks. */
@media (min-width: 1181px) {
  .public-page--client_portal .page-hero__inner {
    align-items: stretch;
    gap: clamp(36px, 4vw, 58px);
    grid-template-columns: minmax(420px, 0.82fr) minmax(620px, 1.18fr);
    min-height: 450px;
    padding-bottom: 34px;
    padding-top: 34px;
  }

  .public-page--client_portal .page-hero__content,
  .public-page--client_portal .cabinet-panel {
    align-self: stretch;
  }

  .public-page--client_portal .page-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 8px;
    padding-top: 8px;
  }

  .public-page--client_portal .page-title {
    font-size: 64px;
    line-height: 1.05;
    max-width: 520px;
  }

  .public-page--client_portal .page-hero__content > p {
    font-size: 21px;
    line-height: 1.48;
    max-width: 650px;
  }

  .public-page--client_portal .hero-actions {
    gap: 16px;
    margin-top: 28px;
  }

  .public-page--client_portal .hero-actions .btn {
    min-height: 64px;
    padding-left: 32px;
    padding-right: 32px;
  }

  .public-page--client_portal .cabinet-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 450px;
    padding: 32px 34px;
  }

  .public-page--client_portal .cabinet-preview__main {
    gap: 26px;
    margin-top: 22px;
  }

  .public-page--client_portal .cabinet-preview__grid {
    gap: 18px;
    margin-top: 24px;
  }

  .public-page--client_portal .cabinet-preview__grid div {
    padding: 18px 20px;
  }

  .public-page--client_portal .feature-grid--four {
    align-items: stretch;
    gap: 22px;
  }

  .public-page--client_portal .feature-grid--four .feature-card {
    min-height: 176px;
    padding: 30px 34px;
  }

  .public-page--client_portal .feature-grid--four .feature-card h2 {
    font-size: 24px;
    line-height: 1.18;
    margin-bottom: 12px;
  }

  .public-page--client_portal .feature-grid--four .feature-card p {
    font-size: 17px;
    line-height: 1.45;
  }

  .public-page--client_portal .feature-grid--four .feature-icon img {
    height: 72px;
    width: 72px;
  }

  .public-page--client_portal .cabinet-visible {
    margin-top: 30px;
  }

  .public-page--client_portal .cabinet-visible .section-subtitle {
    font-size: 26px;
    margin-bottom: 18px;
  }

  .public-page--client_portal .cabinet-visible__grid {
    gap: 16px;
  }

  .public-page--client_portal .cabinet-visible__grid .mini-card {
    min-height: 126px;
    padding: 18px;
  }

  .public-page--client_portal .cabinet-visible__grid strong {
    font-size: 16px;
  }

  .public-page--client_portal .cabinet-visible__grid small {
    font-size: 13px;
    line-height: 1.32;
  }

  .public-page--contacts .contact-board {
    align-items: stretch;
    gap: 26px;
    grid-template-columns: minmax(340px, 0.92fr) minmax(430px, 1.02fr) minmax(380px, 1.06fr);
  }

  .public-page--contacts .contact-board .lead-form,
  .public-page--contacts .contact-board > .contact-card {
    align-self: stretch;
    height: 100%;
    padding: 30px 34px;
  }

  .public-page--contacts .contact-method-card {
    align-content: start;
    display: grid;
    gap: 22px;
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .public-page--contacts .contact-method-card .contact-map__visual {
    height: 282px;
    margin-bottom: 0;
  }

  .public-page--contacts .contact-card h2,
  .public-page--contacts .lead-form h2,
  .public-page--contacts .contact-method-card__body h2 {
    font-size: 28px;
    line-height: 1.12;
  }

  .public-page--contacts .lead-form__intro,
  .public-page--contacts .contact-method-card__body p {
    font-size: 18px;
    line-height: 1.52;
  }
}

@media (min-width: 769px) and (max-width: 1180px) {
  .public-page--client_portal .page-hero__inner {
    align-items: stretch;
  }

  .public-page--client_portal .page-hero__content,
  .public-page--client_portal .cabinet-panel {
    align-self: stretch;
  }

  .public-page--contacts .contact-board {
    align-items: stretch;
    gap: 24px;
    grid-template-columns: 1fr 1fr;
  }

  .public-page--contacts .contact-method-card {
    grid-column: 1 / -1;
  }
}

/* Public-site polish pass: richer affordances without changing data visibility. */
@media (min-width: 769px) {
  .hero-actions .btn-primary::before,
  .reference-cta__actions .btn-primary::before {
    align-items: center;
    background: rgba(255, 255, 255, 0.18);
    border: 1.5px solid rgba(255, 255, 255, 0.78);
    border-radius: 6px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
    color: inherit;
    content: "✓";
    display: inline-flex;
    font-size: 14px;
    font-weight: 900;
    height: 22px;
    justify-content: center;
    line-height: 1;
    margin-right: 13px;
    width: 22px;
  }

  .hero-actions .btn-secondary::before {
    border-color: transparent transparent transparent currentColor;
    border-style: solid;
    border-width: 7px 0 7px 11px;
    content: "";
    display: inline-flex;
    height: 0;
    margin-right: 13px;
    width: 0;
  }

  .public-page--home .hero-demo-card {
    border: 1px solid rgba(16, 33, 61, 0.08);
    box-shadow: 0 24px 60px rgba(16, 33, 61, 0.12);
  }

  .public-page--home .hero-demo-card > img {
    box-shadow: 0 12px 28px rgba(16, 33, 61, 0.08);
  }

  .public-page--home .status-list {
    list-style: none;
    padding-left: 0;
  }

  .public-page--home .status-list li {
    align-items: center;
    background: linear-gradient(180deg, #fff, #fbfaf7);
    border: 1px solid rgba(16, 33, 61, 0.08);
    border-radius: 8px;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 8px 10px 8px 28px;
  }

  .public-page--home .status-list li::before {
    background: #18a36c;
    border-radius: 999px;
    box-shadow: 0 0 0 4px rgba(24, 163, 108, 0.11);
    content: "";
    height: 7px;
    justify-self: start;
    left: 12px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 7px;
  }

  .public-page--home .status-list li {
    position: relative;
  }

  .public-page--home .status-list li > span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .public-page--home .status-list small {
    background: #f2f5f7;
    border-radius: 999px;
    color: #647086;
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    padding: 5px 7px;
    white-space: nowrap;
  }

  .public-page--home .link-card {
    border-color: rgba(16, 33, 61, 0.08);
    box-shadow: 0 8px 24px rgba(16, 33, 61, 0.055);
    isolation: isolate;
  }

  .public-page--home .link-card::after {
    background: linear-gradient(90deg, rgba(214, 106, 0, 0.12), rgba(214, 106, 0, 0));
    content: "";
    inset: 0 auto 0 0;
    opacity: 0;
    position: absolute;
    transition: opacity 0.2s ease;
    width: 6px;
  }

  .public-page--home .link-card {
    position: relative;
  }

  .public-page--home .link-card:hover::after {
    opacity: 1;
  }

  .public-page--home .link-card img {
    filter: saturate(0.96) contrast(1.02);
    transition: transform 0.22s ease, filter 0.22s ease;
  }

  .public-page--home .link-card:hover img {
    filter: saturate(1.05) contrast(1.04);
    transform: scale(1.025);
  }

  .public-page--home .link-card > span {
    align-items: center;
    background: #fff7ef;
    border: 1px solid rgba(214, 106, 0, 0.18);
    border-radius: 999px;
    display: inline-flex;
    font-size: 27px;
    height: 34px;
    justify-content: center;
    margin-right: 18px;
    padding: 0 0 3px;
    transition: background 0.2s ease, transform 0.2s ease;
    width: 34px;
  }

  .public-page--home .link-card:hover > span {
    background: #fff;
    transform: translateX(2px);
  }
}

/* Keep CTA glyphs tied to meaning after page-specific polish overrides. */
.hero-actions .btn-secondary:not(.btn-preview):not(.btn-estimate):not(.btn-phone)::before,
.page-hero__actions .btn-secondary:not(.btn-preview):not(.btn-estimate):not(.btn-phone)::before {
  content: none;
  display: none;
}

.hero-actions .btn-estimate::before,
.page-hero__actions .btn-estimate::before,
.reference-cta__actions .btn-estimate::before {
  align-items: center;
  background: rgba(255, 255, 255, 0.18);
  border: 1.5px solid currentColor;
  border-radius: 6px;
  box-shadow: none;
  color: inherit;
  content: "✓";
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  height: 22px;
  justify-content: center;
  line-height: 1;
  margin-right: 13px;
  width: 22px;
}

.hero-actions .btn-preview::before,
.page-hero__actions .btn-preview::before,
.reference-cta__actions .btn-preview::before {
  background: transparent;
  border-color: transparent transparent transparent currentColor;
  border-radius: 0;
  border-style: solid;
  border-width: 7px 0 7px 11px;
  box-shadow: none;
  content: "";
  display: inline-flex;
  height: 0;
  margin-right: 13px;
  width: 0;
}

.hero-actions .btn-phone::before,
.page-hero__actions .btn-phone::before {
  align-items: center;
  background: rgba(255, 255, 255, 0.18);
  border: 1.5px solid currentColor;
  border-radius: 999px;
  box-shadow: none;
  content: "☎";
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  height: 22px;
  justify-content: center;
  line-height: 1;
  margin-right: 13px;
  width: 22px;
}

@media (max-width: 768px) {
  .public-page--client_portal .hero-actions {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
}

/* Home page density pass: structured conversion sections without touching other public pages. */
.public-page--home .home-section-head {
  align-items: end;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.62fr);
  margin-bottom: 18px;
}

.public-page--home .home-section-head .section-title {
  margin-bottom: 0;
}

.public-page--home .home-section-head p {
  color: var(--ap-blue);
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 4px;
}

.home-control-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(246, 240, 232, 0.86)),
    linear-gradient(135deg, rgba(11, 47, 85, 0.04) 0 1px, transparent 1px 26px);
}

.home-control-layout {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
}

.home-control-copy {
  max-width: 470px;
}

.home-control-copy .section-title {
  margin-bottom: 14px;
}

.home-control-copy > p {
  color: var(--ap-blue);
  font-size: 15px;
  line-height: 1.54;
  margin: 0;
}

.home-control-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.home-control-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-control-card {
  align-content: start;
  display: grid;
  gap: 8px;
  min-height: 178px;
  padding: 20px 22px;
}

.home-control-card .feature-icon {
  justify-content: flex-start;
  margin: 0 0 2px;
}

.home-control-card .feature-icon img {
  height: 58px;
  width: 58px;
}

.home-control-card h3 {
  color: var(--ap-navy);
  font-size: 17px;
  line-height: 1.22;
  margin: 0;
}

.home-control-card p {
  color: var(--ap-blue);
  font-size: 13px;
  line-height: 1.42;
  margin: 0;
}

.home-faq-section .split {
  align-items: start;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
}

.home-faq-aside {
  align-self: stretch;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
}

.home-faq-aside .section-title {
  margin-bottom: 12px;
}

.home-faq-aside > p {
  color: var(--ap-blue);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
  max-width: 470px;
}

.home-faq-points {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.home-faq-points div {
  align-items: center;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(11, 47, 85, 0.1);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: 44px minmax(0, 1fr);
  min-height: 68px;
  padding: 12px 14px;
}

.home-faq-points b {
  align-items: center;
  background: #f1eee7;
  border-radius: 50%;
  color: var(--ap-navy);
  display: inline-grid;
  font-variant-numeric: tabular-nums;
  height: 44px;
  justify-content: center;
  line-height: 1;
  width: 44px;
}

.home-faq-points span {
  color: var(--ap-blue);
  font-size: 13px;
  line-height: 1.38;
}

.public-page--home .faq-list details {
  box-shadow: 0 10px 24px rgba(11, 27, 51, 0.045);
}

.public-page--home .final-cta {
  background:
    linear-gradient(90deg, rgba(5, 32, 64, 0.98), rgba(6, 44, 84, 0.94) 48%, rgba(7, 50, 91, 0.72)),
    url("../img/backgrounds/bg-home.545bd36dba7d.webp") right center / auto 100% no-repeat,
    #062c54;
  color: #fff;
  padding: 34px 0;
}

.public-page--home .final-cta .split {
  align-items: stretch;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.68fr);
}

.final-cta__copy {
  display: flex;
  flex-direction: column;
  min-height: 396px;
  padding: 8px 0;
}

.final-cta__copy .eyebrow {
  color: #ffb56e;
}

.final-cta__copy .section-title,
.final-cta__copy p {
  color: #fff;
}

.final-cta__copy > p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  line-height: 1.52;
  margin: 0;
  max-width: 520px;
}

.final-cta__steps {
  display: grid;
  gap: 13px 14px;
  grid-template-columns: 44px minmax(0, 520px);
  margin-top: 24px;
}

.final-cta__steps span {
  align-items: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: #fff;
  display: inline-grid;
  font-weight: 800;
  height: 44px;
  justify-content: center;
  line-height: 1;
  width: 44px;
}

.final-cta__steps p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  line-height: 1.42;
  margin: 0;
}

.final-cta__steps b {
  color: #fff;
  font-size: 14px;
}

.final-cta__note {
  border-left: 3px solid var(--ap-orange);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.42;
  margin-top: auto;
  max-width: 520px;
  padding-left: 14px;
}

.public-page--home .final-cta .lead-form {
  align-self: stretch;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2);
  padding: 22px 24px;
}

.public-page--home .final-cta .lead-form h2 {
  font-size: 24px;
  line-height: 1.08;
  margin-bottom: 8px;
}

.public-page--home .final-cta .lead-form__intro {
  margin-bottom: 12px;
}

@media (min-width: 769px) {
  .public-page--home .section {
    padding: 24px 0;
  }

  .public-page--home .home-control-section {
    padding: 30px 0;
  }

  .public-page--home .home-faq-section {
    padding: 30px 0;
  }

  .public-page--home .link-card-grid {
    gap: 14px;
  }

  .public-page--home .link-card {
    min-height: 118px;
  }
}

@media (max-width: 1024px) {
  .public-page--home .home-section-head,
  .home-control-layout,
  .home-faq-section .split,
  .public-page--home .final-cta .split {
    grid-template-columns: 1fr;
  }

  .home-control-copy {
    max-width: 680px;
  }

  .final-cta__copy {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .public-page--home .home-section-head {
    align-items: start;
    gap: 10px;
    margin-bottom: 14px;
  }

  .home-control-grid {
    grid-template-columns: 1fr;
  }

  .home-control-card {
    min-height: auto;
  }

  .home-control-actions {
    flex-direction: column;
  }

  .home-faq-points {
    margin-bottom: 8px;
  }

  .public-page--home .final-cta {
    background: linear-gradient(180deg, #052040, #07345f);
  }

  .public-page--home .final-cta .lead-form {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .public-page--home .home-section-head p,
  .home-control-copy > p,
  .home-faq-aside > p,
  .final-cta__copy > p {
    font-size: 14px;
  }

  .home-faq-points div {
    grid-template-columns: 40px minmax(0, 1fr);
    padding: 10px 12px;
  }

  .home-faq-points b {
    height: 40px;
    width: 40px;
  }

  .final-cta__steps {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .final-cta__steps span {
    height: 38px;
    width: 38px;
  }
}

/* Production-level demo dashboards for client and producer cabinets. */
.demo-dashboard {
  --demo-card: rgba(255, 255, 255, 0.94);
  --demo-line: rgba(11, 47, 85, 0.11);
  --demo-soft: rgba(11, 47, 85, 0.055);
  --demo-ok: #1f9d62;
  --demo-warn: #d86a00;
  --demo-danger: #c2410c;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(246, 241, 233, 0.9)),
    linear-gradient(135deg, rgba(11, 47, 85, 0.035) 0 1px, transparent 1px 28px),
    var(--ap-bg);
  font-family: var(--font-ui);
}

.demo-dashboard .card {
  background: var(--demo-card);
  border: 1px solid var(--demo-line);
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(11, 27, 51, 0.055);
}

.demo-dashboard__top {
  backdrop-filter: blur(16px);
  position: sticky;
  top: 12px;
  z-index: 20;
}

.demo-dashboard__top nav a {
  font-family: var(--font-ui);
  letter-spacing: -0.01em;
}

.demo-dashboard__user b {
  color: var(--ap-navy);
  line-height: 1.12;
}

.demo-dashboard__user > span {
  box-shadow: 0 0 0 3px #fff;
}

.demo-dashboard h1,
.demo-dashboard .demo-panel h2,
.demo-dashboard .demo-object-card h2,
.demo-dashboard .demo-producer-side h2 {
  color: var(--ap-navy);
  font-family: var(--font-ui);
  letter-spacing: -0.028em;
}

.demo-dashboard h1 {
  font-size: clamp(30px, 2.7vw, 42px);
  font-weight: 800;
  line-height: 1.04;
}

.demo-dashboard .demo-panel h2,
.demo-dashboard .demo-object-card h2,
.demo-dashboard .demo-producer-side h2 {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.16;
  margin: 0;
}

.demo-dashboard b,
.demo-dashboard em,
.demo-dashboard .demo-kpi-card b,
.demo-dashboard .demo-row b,
.demo-dashboard .demo-finance-line b {
  font-variant-numeric: tabular-nums;
}

.demo-mode-badge {
  align-items: center;
  background: rgba(216, 106, 0, 0.09);
  border: 1px solid rgba(216, 106, 0, 0.2);
  border-radius: 999px;
  color: var(--ap-orange-hover);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  justify-content: center;
  line-height: 1;
  margin-bottom: 12px;
  padding: 8px 12px;
  width: max-content;
}

.demo-client-hero--production {
  align-items: stretch;
  grid-template-columns: minmax(0, 0.9fr) minmax(560px, 1.1fr);
}

.demo-client-welcome {
  align-content: center;
  display: grid;
  min-height: 260px;
}

.demo-client-welcome > p,
.demo-object-card--portal > div > p,
.demo-panel > p {
  color: var(--ap-blue);
  line-height: 1.5;
}

.demo-client-status-row {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
}

.demo-client-status-row div {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--demo-line);
  border-radius: 9px;
  min-height: 74px;
  padding: 14px;
}

.demo-client-status-row span,
.demo-panel__meta,
.demo-kpi-card span,
.demo-kpi-card small {
  color: var(--ap-muted);
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.demo-client-status-row b {
  color: var(--ap-navy);
  display: block;
  font-size: 14px;
  line-height: 1.25;
  margin-top: 7px;
}

.demo-client-actions a {
  gap: 7px;
  min-height: 116px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.demo-client-actions a:hover {
  border-color: rgba(216, 106, 0, 0.35);
  box-shadow: 0 16px 34px rgba(216, 106, 0, 0.12);
  transform: translateY(-1px);
}

.demo-client-actions a span {
  color: var(--ap-navy);
}

.demo-client-actions a small {
  color: var(--ap-muted);
  font-size: 11px;
  font-weight: 800;
}

.demo-object-card--portal {
  align-content: stretch;
  min-height: 260px;
}

.demo-panel__head {
  align-items: start;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.demo-pill {
  align-items: center;
  background: rgba(11, 47, 85, 0.06);
  border: 1px solid rgba(11, 47, 85, 0.12);
  border-radius: 999px;
  color: var(--ap-blue);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  min-height: 28px;
  padding: 0 10px;
}

.demo-pill--ok {
  background: rgba(31, 157, 98, 0.1);
  border-color: rgba(31, 157, 98, 0.2);
  color: var(--demo-ok);
}

.demo-pill--warning {
  background: rgba(216, 106, 0, 0.1);
  border-color: rgba(216, 106, 0, 0.22);
  color: var(--demo-warn);
}

.demo-pill--danger {
  background: rgba(194, 65, 12, 0.1);
  border-color: rgba(194, 65, 12, 0.22);
  color: var(--demo-danger);
}

.demo-dashboard .demo-progress span {
  background: linear-gradient(90deg, var(--ap-blue) 0 var(--value, 62%), #e3e7ed var(--value, 62%) 100%);
  width: 100% !important;
}

.demo-progress--green span {
  background: linear-gradient(90deg, var(--demo-ok) 0 var(--value, 76%), #e3e7ed var(--value, 76%) 100%) !important;
}

.demo-dashboard-grid--client-production {
  align-items: stretch;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.98fr) minmax(0, 0.98fr);
}

.demo-dashboard-grid--producer-production {
  align-items: stretch;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.demo-panel {
  align-content: start;
  display: grid;
  gap: 12px;
  min-height: 0;
  padding: 20px;
}

.demo-panel--large {
  grid-row: span 2;
}

.demo-panel--xwide {
  grid-column: span 2;
}

.demo-panel--full {
  grid-column: 1 / -1;
}

.demo-panel--attention {
  background:
    linear-gradient(180deg, rgba(255, 248, 239, 0.92), rgba(255, 255, 255, 0.96)),
    #fff;
  border-color: rgba(216, 106, 0, 0.22) !important;
}

.demo-action-list,
.demo-stage-list,
.demo-file-list,
.demo-check-list,
.demo-date-list,
.demo-project-list,
.demo-metric-list {
  display: grid;
  gap: 10px;
}

.demo-action-item {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--demo-line);
  border-radius: 9px;
  display: grid;
  gap: 5px;
  padding: 13px 14px;
}

.demo-action-item b {
  color: var(--ap-navy);
  font-size: 14px;
  line-height: 1.26;
}

.demo-action-item span,
.demo-stage span,
.demo-file-list span,
.demo-check-list span,
.demo-date-list span,
.demo-person-row span {
  color: var(--ap-muted);
  font-size: 12px;
  line-height: 1.38;
}

.demo-action-item em {
  color: var(--ap-orange-hover);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.demo-action-item.is-hot {
  border-color: rgba(216, 106, 0, 0.3);
  box-shadow: inset 3px 0 0 var(--ap-orange);
}

.demo-action-item.is-muted {
  opacity: 0.72;
}

.demo-action-list--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.demo-stage {
  border-left: 3px solid rgba(11, 47, 85, 0.12);
  padding: 3px 0 8px 14px;
}

.demo-stage b {
  color: var(--ap-navy);
  display: block;
}

.demo-stage.is-done {
  border-left-color: var(--demo-ok);
}

.demo-stage.is-current {
  border-left-color: var(--ap-orange);
}

.demo-photos--large img {
  height: 92px;
}

.demo-finance-line {
  align-items: end;
  display: flex;
  justify-content: space-between;
}

.demo-finance-line span,
.demo-row span {
  color: var(--ap-muted);
  font-size: 12px;
  font-weight: 800;
}

.demo-finance-line b {
  color: var(--ap-navy);
  font-size: 24px;
  letter-spacing: -0.03em;
}

.demo-row,
.demo-file-list div,
.demo-check-list div,
.demo-date-list div,
.demo-metric-list div {
  align-items: center;
  border-top: 1px solid rgba(11, 47, 85, 0.08);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  min-height: 38px;
  padding-top: 10px;
}

.demo-file-list div,
.demo-check-list div,
.demo-date-list div {
  align-items: start;
  flex-direction: column;
  gap: 3px;
}

.demo-file-list b,
.demo-check-list b,
.demo-date-list b,
.demo-metric-list b,
.demo-row b {
  color: var(--ap-navy);
}

.demo-person-row {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 48px minmax(0, 1fr);
}

.demo-person-row img {
  border-radius: 50%;
  height: 48px;
  object-fit: cover;
  width: 48px;
}

.demo-dashboard .demo-help--production {
  background:
    linear-gradient(90deg, rgba(6, 44, 84, 0.98), rgba(6, 44, 84, 0.88)),
    #062c54 !important;
  border: 0 !important;
  color: #fff;
}

.demo-dashboard .demo-help--production b,
.demo-dashboard .demo-help--production p,
.demo-dashboard .demo-help--production span {
  color: #fff;
}

.demo-dashboard .demo-help--production p,
.demo-dashboard .demo-help--production span {
  opacity: 0.8;
}

.demo-producer-layout--production {
  grid-template-columns: minmax(0, 1fr) 300px;
}

.demo-producer-head--production {
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid var(--demo-line);
  border-radius: 10px;
  padding: 18px 20px;
}

.demo-producer-head--production h1 {
  margin-bottom: 6px;
}

.demo-kpi-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 251, 246, 0.96)) !important;
  min-height: 108px;
}

.demo-kpi-card--hot {
  border-color: rgba(216, 106, 0, 0.28) !important;
}

.demo-kpi-card b {
  font-size: clamp(21px, 1.5vw, 27px);
  letter-spacing: -0.035em;
}

.demo-project-list div {
  display: grid;
  gap: 7px 10px;
  grid-template-columns: minmax(0, 1fr) 44px;
}

.demo-project-list b {
  color: var(--ap-navy);
}

.demo-project-list em {
  color: var(--ap-navy);
  font-style: normal;
  font-weight: 900;
  justify-self: end;
}

.demo-progress-line {
  background: #e3e7ed;
  border-radius: 999px;
  grid-column: 1 / -1;
  height: 8px;
  overflow: hidden;
}

.demo-progress-line i {
  background: var(--ap-blue);
  border-radius: inherit;
  display: block;
  height: 100%;
}

.demo-progress-line.is-warning i {
  background: var(--ap-orange);
}

.demo-producer-side--production {
  align-content: start;
  position: sticky;
  top: 108px;
}

.demo-producer-side--production .card {
  background: rgba(255, 255, 255, 0.9);
}

.demo-safe-note {
  background: rgba(255, 248, 239, 0.9) !important;
  border-color: rgba(216, 106, 0, 0.22) !important;
}

.demo-producer-side--production .demo-safe-note {
  display: grid;
  gap: 10px;
}

.demo-producer-side--production .demo-safe-note h2 {
  margin: 0;
}

.demo-safe-note p {
  border-bottom: 0;
  color: var(--ap-blue);
  font-size: 13px;
  line-height: 1.46;
  margin: 0;
  padding-bottom: 0;
  padding-top: 0;
}

.demo-alert-row--production {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 16px;
}

.demo-alert-row--production article {
  background: rgba(255, 248, 239, 0.92);
  border: 1px solid rgba(216, 106, 0, 0.24);
  border-radius: 10px;
  color: var(--ap-orange-hover);
  font-size: 12px;
  line-height: 1.35;
  padding: 14px;
}

.demo-alert-row--production b {
  color: var(--ap-navy);
  display: block;
  margin-top: 3px;
}

@media (max-width: 1180px) {
  .demo-client-hero--production,
  .demo-producer-layout--production {
    grid-template-columns: 1fr;
  }

  .demo-dashboard-grid--client-production,
  .demo-dashboard-grid--producer-production {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo-producer-side--production {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    position: static;
  }

  .demo-producer-side--production .demo-safe-note {
    grid-column: 1 / -1;
  }

  .demo-panel--xwide {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .demo-dashboard {
    padding: 10px 10px 18px;
  }

  .demo-dashboard__top {
    position: static;
  }

  .demo-dashboard__top nav {
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    width: 100%;
  }

  .demo-dashboard__top nav a {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(11, 47, 85, 0.1);
    border-radius: 999px;
    font-size: 11px;
    overflow: hidden;
    padding: 8px 6px;
    text-align: center;
    text-overflow: ellipsis;
  }

  .demo-dashboard__top nav a.is-active {
    background: rgba(11, 47, 85, 0.08);
  }

  .demo-dashboard__top nav a.is-active::after {
    display: none;
  }

  .demo-client-welcome {
    min-height: auto;
  }

  .demo-client-status-row,
  .demo-dashboard-grid--client-production,
  .demo-dashboard-grid--producer-production,
  .demo-alert-row--production,
  .demo-producer-side--production {
    grid-template-columns: 1fr;
  }

  .demo-panel--large,
  .demo-panel--xwide,
  .demo-panel--full {
    grid-column: auto;
    grid-row: auto;
  }

  .demo-action-list--compact {
    grid-template-columns: 1fr;
  }

  .demo-client-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo-client-actions a {
    min-height: 108px;
  }

  .demo-object-card--portal {
    min-height: auto;
  }

  .demo-object-card--portal > img {
    height: 180px;
  }

  .demo-panel__head {
    align-items: start;
    gap: 10px;
  }

  .demo-help--production {
    grid-template-columns: 1fr;
  }

  .demo-producer-head--production {
    padding: 16px;
  }
}

@media (max-width: 430px) {
  .demo-dashboard__brand img {
    max-height: 44px;
    width: 156px;
  }

  .demo-dashboard h1 {
    font-size: 27px;
  }

  .demo-dashboard .demo-panel h2,
  .demo-dashboard .demo-object-card h2,
  .demo-dashboard .demo-producer-side h2 {
    font-size: 17px;
  }

  .demo-client-actions {
    gap: 10px;
  }

  .demo-panel,
  .demo-object-card,
  .demo-help {
    padding: 16px;
  }

  .demo-photos--large img {
    height: 78px;
  }
}

/* Demo cabinet polish pass: stronger hierarchy, safer controls, tighter mobile rhythm. */
.demo-dashboard {
  color: var(--ap-text);
}

.demo-dashboard h1 {
  color: var(--ap-navy);
  font-family: var(--font-heading);
  font-size: clamp(42px, 4.1vw, 60px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 0.93;
}

.demo-dashboard--client h1 {
  font-size: clamp(44px, 4.25vw, 62px);
}

.demo-dashboard .demo-panel h2,
.demo-dashboard .demo-object-card h2,
.demo-dashboard .demo-producer-side h2 {
  font-family: var(--font-ui);
  letter-spacing: -0.015em;
}

.demo-client-hero--production,
.demo-producer-head--production {
  position: relative;
}

.demo-client-hero--production {
  align-items: start;
}

.demo-client-hero-side {
  align-content: start;
  display: grid;
  gap: 12px;
}

.demo-client-hero--production::before,
.demo-producer-head--production::before {
  background:
    linear-gradient(90deg, rgba(216, 106, 0, 0.18), rgba(216, 106, 0, 0)),
    linear-gradient(180deg, rgba(11, 47, 85, 0.08), rgba(11, 47, 85, 0));
  border-radius: 10px 0 0 10px;
  bottom: 0;
  content: "";
  left: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  width: 4px;
}

.demo-client-welcome > p,
.demo-producer-head--production p {
  max-width: 560px;
}

.demo-client-status-row div {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.demo-client-status-row b,
.demo-action-item b,
.demo-stage b,
.demo-file-list b,
.demo-check-list b,
.demo-date-list b,
.demo-project-list b {
  font-weight: 800;
}

.demo-object-card--portal {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 251, 246, 0.9)),
    var(--demo-card) !important;
}

.demo-object-card--portal > img,
.demo-photos--large img {
  box-shadow: 0 10px 24px rgba(11, 27, 51, 0.08);
}

.demo-client-evidence-row {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.demo-client-evidence-row div {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(11, 47, 85, 0.1);
  border-radius: 10px;
  min-height: 76px;
  padding: 13px 14px;
}

.demo-client-evidence-row b {
  color: var(--ap-navy);
  display: block;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.demo-client-evidence-row span {
  color: var(--ap-muted);
  display: block;
  font-size: 12px;
  line-height: 1.35;
  margin-top: 5px;
}

.demo-panel--attention .demo-panel__head h2 {
  font-size: 20px;
}

.demo-side-actions {
  display: grid;
  gap: 0;
}

.demo-side-actions a {
  border-bottom: 1px solid rgba(11, 47, 85, 0.1);
  color: var(--ap-blue);
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  padding: 11px 0;
  text-decoration: none;
}

.demo-side-actions a:hover,
.demo-side-actions a:focus-visible {
  color: var(--ap-orange-hover);
}

.demo-dashboard a:focus-visible,
.demo-dashboard button:focus-visible {
  border-radius: 8px;
  outline: 3px solid rgba(216, 106, 0, 0.34);
  outline-offset: 3px;
}

.demo-dashboard .demo-progress b,
.demo-progress-line + em,
.demo-kpi-card b,
.demo-finance-line b,
.demo-row b,
.demo-metric-list b {
  font-variant-numeric: tabular-nums;
}

@media (max-width: 1180px) {
  .demo-dashboard h1 {
    max-width: 820px;
  }

  .demo-producer-side--production {
    align-items: stretch;
    display: grid;
  }
}

@media (max-width: 768px) {
  .demo-dashboard h1 {
    font-size: clamp(35px, 10vw, 46px);
    line-height: 0.94;
  }

  .demo-client-hero--production::before,
  .demo-producer-head--production::before {
    width: 3px;
  }

  .demo-client-status-row div {
    min-height: 66px;
    padding: 12px;
  }

  .demo-object-card--portal {
    gap: 16px;
  }

  .demo-client-evidence-row {
    display: none;
  }

  .demo-side-actions a {
    min-height: 42px;
  }
}

@media (max-width: 430px) {
  .demo-dashboard h1 {
    font-size: 36px;
  }

  .demo-dashboard__top {
    gap: 12px;
    padding: 12px;
  }

  .demo-dashboard__top nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo-dashboard__top nav a {
    font-size: 10.5px;
  }

  .demo-producer-tools {
    gap: 8px;
  }
}

/* Public site refinement pass: shared polish, stronger conversion blocks, remote/prices pages. */
:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid rgba(216, 106, 0, 0.42);
  outline-offset: 3px;
}

.site-header {
  backdrop-filter: blur(18px);
  transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

.site-header.is-scrolled {
  background: rgba(247, 244, 239, 0.96);
  box-shadow: 0 10px 26px rgba(11, 27, 51, 0.08);
}

.site-nav a,
.login-link,
.site-burger,
.text-link,
.site-footer a {
  min-height: 44px;
}

.site-nav a,
.login-link,
.site-footer a {
  align-items: center;
  display: inline-flex;
}

.site-footer a {
  width: max-content;
}

.site-nav .site-nav__mobile-action {
  display: none;
}

.section-head {
  align-items: end;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.58fr);
  margin-bottom: 22px;
}

.section-head > p {
  color: var(--ap-blue);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 4px;
}

.managed-difference-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.managed-difference-card {
  padding: 26px;
}

.managed-difference-card h3 {
  color: var(--ap-navy);
  font-size: 24px;
  margin: 0 0 16px;
}

.managed-difference-card ul,
.remote-proof-list ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.managed-difference-card li,
.remote-proof-list li {
  color: var(--ap-blue);
  line-height: 1.45;
  padding-left: 26px;
  position: relative;
}

.managed-difference-card li::before,
.remote-proof-list li::before {
  align-items: center;
  border-radius: 50%;
  content: "\2713";
  display: inline-flex;
  font-size: 11px;
  font-weight: 900;
  height: 18px;
  justify-content: center;
  left: 0;
  position: absolute;
  top: 2px;
  width: 18px;
}

.managed-difference-card--muted {
  background: rgba(255, 255, 255, 0.68);
}

.managed-difference-card--muted li::before {
  background: rgba(96, 112, 134, 0.14);
  color: var(--ap-muted);
  content: "\00D7";
}

.managed-difference-card--strong {
  background:
    linear-gradient(135deg, rgba(255, 251, 246, 0.98), rgba(255, 255, 255, 0.96)),
    var(--ap-surface);
  border-color: rgba(216, 106, 0, 0.26);
  box-shadow: 0 18px 44px rgba(216, 106, 0, 0.1);
}

.managed-difference-card--strong li::before,
.remote-proof-list li::before {
  background: rgba(216, 106, 0, 0.14);
  color: var(--ap-orange-hover);
}

.control-timeline {
  counter-reset: control;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.control-timeline li {
  background: var(--ap-surface);
  border: 1px solid var(--ap-border);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(11, 27, 51, 0.05);
  min-height: 182px;
  padding: 18px;
  position: relative;
}

.control-timeline li::after {
  background: rgba(216, 106, 0, 0.25);
  content: "";
  height: 2px;
  left: calc(100% - 4px);
  position: absolute;
  top: 38px;
  width: 18px;
}

.control-timeline li:last-child::after {
  display: none;
}

.control-timeline b,
.price-scenario-card span,
.remote-steps b {
  align-items: center;
  background: var(--ap-orange);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  height: 40px;
  justify-content: center;
  line-height: 1;
  margin-bottom: 14px;
  width: 40px;
}

.control-timeline h3,
.price-scenario-card h3,
.remote-fit-card h2,
.remote-proof-list h3 {
  color: var(--ap-navy);
  font-size: 18px;
  line-height: 1.18;
  margin: 0 0 8px;
}

.control-timeline p,
.price-scenario-card p,
.remote-fit-card p {
  color: var(--ap-blue);
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

.cabinet-showcase {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 249, 242, 0.92)),
    var(--ap-surface);
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
  padding: 32px;
}

.cabinet-showcase__copy > p,
.remote-lead,
.remote-proof-copy > p {
  color: var(--ap-blue);
  line-height: 1.58;
}

.cabinet-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}

.cabinet-tabs span {
  background: rgba(11, 47, 85, 0.07);
  border: 1px solid rgba(11, 47, 85, 0.1);
  border-radius: 999px;
  color: var(--ap-blue);
  font-size: 13px;
  font-weight: 800;
  padding: 8px 11px;
}

.cabinet-window {
  background: #f8fafc;
  border: 1px solid rgba(11, 47, 85, 0.12);
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(11, 27, 51, 0.12);
  overflow: hidden;
}

.cabinet-window__bar {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid rgba(11, 47, 85, 0.1);
  display: flex;
  gap: 7px;
  min-height: 46px;
  padding: 0 16px;
}

.cabinet-window__bar span {
  background: #e7edf4;
  border-radius: 50%;
  height: 10px;
  width: 10px;
}

.cabinet-window__bar b {
  color: var(--ap-navy);
  font-size: 13px;
  margin-left: 8px;
}

.cabinet-window__grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 18px;
}

.cabinet-window__grid article {
  background: #fff;
  border: 1px solid rgba(11, 47, 85, 0.1);
  border-radius: 10px;
  display: grid;
  gap: 8px;
  min-height: 126px;
  padding: 16px;
}

.cabinet-window__grid small {
  color: var(--ap-muted);
  font-weight: 800;
}

.cabinet-window__grid strong {
  color: var(--ap-navy);
  line-height: 1.2;
}

.cabinet-window__grid em {
  color: var(--ap-orange-hover);
  font-style: normal;
  font-weight: 900;
}

.page-hero--remote {
  background:
    linear-gradient(100deg, rgba(251, 247, 240, 0.98), rgba(251, 247, 240, 0.93) 52%, rgba(246, 239, 229, 0.74)),
    url("../img/backgrounds/bg-cabinet.28175e00ce52.webp") right center / cover no-repeat;
}

.remote-hero-board {
  justify-self: end;
  max-width: 520px;
  padding: 24px;
  width: 100%;
}

.remote-hero-board__top {
  align-items: start;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.remote-hero-board__top span,
.remote-hero-board__items small {
  color: var(--ap-muted);
  display: block;
  font-size: 12px;
  font-weight: 800;
}

.remote-hero-board__top b {
  color: var(--ap-navy);
}

.remote-hero-board__items {
  display: grid;
  gap: 10px;
}

.remote-hero-board__items div {
  background: #f8fafc;
  border: 1px solid rgba(11, 47, 85, 0.1);
  border-radius: 10px;
  padding: 12px 14px;
}

.remote-hero-board__items strong {
  color: var(--ap-navy);
  display: block;
  line-height: 1.25;
}

.remote-fit-grid,
.price-scenario-grid {
  display: grid;
  gap: 18px;
}

.remote-fit-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.remote-fit-card,
.price-scenario-card,
.remote-proof-list {
  padding: 22px;
}

.remote-control-section .split,
.remote-proof-grid {
  align-items: start;
}

.remote-steps {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.remote-steps li {
  align-items: start;
  background: #fff;
  border: 1px solid var(--ap-border);
  border-radius: var(--radius);
  display: grid;
  gap: 16px;
  grid-template-columns: 52px minmax(0, 1fr);
  padding: 16px;
}

.remote-steps b {
  margin: 0;
}

.remote-steps h3 {
  color: var(--ap-navy);
  font-size: 17px;
  margin: 0 0 5px;
}

.remote-steps p {
  color: var(--ap-blue);
  margin: 0;
}

.remote-proof-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.78fr);
}

.remote-final-cta {
  background:
    linear-gradient(90deg, rgba(5, 32, 64, 0.98), rgba(6, 44, 84, 0.9)),
    #062c54;
  color: #fff;
}

.remote-final-cta .section-title,
.remote-final-cta p {
  color: #fff;
}

.price-scenario-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.price-scenario-card {
  align-content: start;
  display: grid;
  min-height: 238px;
}

.price-scenario-card b {
  align-self: end;
  background: rgba(216, 106, 0, 0.08);
  border-radius: 8px;
  color: var(--ap-orange-hover);
  display: block;
  font-size: 12px;
  line-height: 1.35;
  margin-top: 16px;
  padding: 10px;
}

@media (max-width: 1180px) {
  .control-timeline,
  .price-scenario-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .control-timeline li::after {
    display: none;
  }
}

@media (max-width: 960px) {
  .site-header__inner {
    grid-template-columns: minmax(136px, 1fr) auto auto;
  }

  .site-actions .login-link {
    display: none;
  }

  .section-head,
  .managed-difference-grid,
  .cabinet-showcase,
  .remote-fit-grid,
  .remote-proof-grid {
    grid-template-columns: 1fr;
  }

  .cabinet-showcase {
    padding: 24px;
  }
}

@media (max-width: 1024px) {
  .site-nav.is-open .site-nav__mobile-action {
    display: inline-flex;
  }
}

@media (max-width: 768px) {
  .site-header__inner {
    gap: 10px;
    min-height: 68px;
    padding: 0 10px;
  }

  .site-logo img {
    height: 52px;
    width: 150px;
  }

  .site-actions .btn {
    font-size: 13px;
    min-height: 42px;
    padding: 0 13px;
  }

  .control-timeline,
  .price-scenario-grid,
  .cabinet-window__grid {
    grid-template-columns: 1fr;
  }

  .control-timeline li,
  .price-scenario-card {
    min-height: auto;
  }

  .remote-hero-board {
    justify-self: stretch;
    max-width: none;
  }
}

@media (max-width: 430px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .site-actions .btn {
    max-width: 132px;
  }

  .section-head {
    gap: 10px;
  }

  .managed-difference-card,
  .cabinet-showcase,
  .remote-fit-card,
  .price-scenario-card,
  .remote-proof-list {
    padding: 18px;
  }

  .remote-steps li {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 14px;
  }
}

/* Final public polish pass: unify icon language, form readability and compact mobile previews. */
.demo-pill {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0;
  line-height: 1.1;
  min-height: 28px;
  padding: 7px 12px;
  white-space: nowrap;
}

.demo-panel__meta {
  font-size: 12px;
  letter-spacing: 0;
}

.demo-action-item em {
  font-size: 12px;
  letter-spacing: 0;
  line-height: 1.2;
}

.public-page--contacts .lead-form label > span {
  font-size: 13px;
  line-height: 1.2;
}

.public-page--contacts .lead-form input,
.public-page--contacts .lead-form select,
.public-page--contacts .lead-form textarea {
  font-size: 15px;
  min-height: 42px;
}

.public-page--contacts .lead-form textarea {
  min-height: 76px;
}

.public-page--contacts .lead-form__consent {
  align-items: center;
  cursor: pointer;
  grid-template-columns: 22px minmax(0, 1fr);
  margin-top: 12px;
  min-height: 44px;
}

.public-page--contacts .lead-form__consent input {
  height: 20px;
  width: 20px;
}

.public-page--contacts .lead-form__consent span,
.public-page--contacts .form-note {
  font-size: 12.5px;
  line-height: 1.35;
}

.contact-board .lead-form__consent span,
.public-page--contacts .lead-form__consent span {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.public-page--contacts .lead-form .btn {
  font-size: 15px;
  min-height: 48px;
}

@media (min-width: 1181px) {
  .public-page--contacts .lead-form h2 {
    margin-bottom: 14px;
  }

  .public-page--contacts .lead-form__intro {
    margin-bottom: 14px;
    max-width: 360px;
  }

  .public-page--contacts .lead-form label {
    margin-top: 10px;
  }
}

@media (max-width: 768px) {
  .public-page--contacts .contact-list p {
    gap: 0 14px;
    grid-template-columns: 44px minmax(0, 1fr);
    min-height: 74px;
    padding: 11px 0;
  }

  .public-page--contacts .contact-list__icon,
  .public-page--contacts .contact-list__icon img {
    height: 40px;
    width: 40px;
  }

  .public-page--contacts .contact-list span {
    font-size: 11px;
  }

  .public-page--contacts .contact-list a,
  .public-page--contacts .contact-list__item {
    font-size: 15px;
    line-height: 1.25;
  }

  .public-page--contacts .contact-list small {
    font-size: 12px;
    line-height: 1.25;
  }

  .public-page--contacts .lead-form {
    padding: 24px 22px;
  }

  .public-page--contacts .lead-form h2 {
    font-size: 25px;
  }

  .public-page--contacts .lead-form__intro {
    font-size: 15px;
    line-height: 1.45;
  }
}

@media (max-width: 560px) {
  .public-page--client_portal .cabinet-panel {
    gap: 12px;
    padding: 16px;
  }

  .public-page--client_portal .cabinet-preview__top {
    padding-bottom: 12px;
  }

  .public-page--client_portal .cabinet-preview__main {
    gap: 12px;
    margin-top: 12px;
  }

  .public-page--client_portal .cabinet-preview__photos {
    gap: 8px;
  }

  .public-page--client_portal .cabinet-preview__photos img {
    height: 58px;
    min-width: 0;
  }

  .public-page--client_portal .cabinet-preview__grid {
    gap: 10px;
    margin-top: 12px;
  }

  .public-page--client_portal .cabinet-preview__grid div {
    padding: 12px;
  }

  .public-page--client_portal .cabinet-preview__grid div:nth-child(3),
  .public-page--client_portal .cabinet-panel > .form-note {
    display: none;
  }

  .public-page--client_portal .cabinet-progress {
    margin: 8px 0;
  }

  .public-page--client_portal .feature-grid--four {
    gap: 12px;
  }
}

@media (max-width: 430px) {
  .demo-pill {
    font-size: 11px;
    min-height: 26px;
    padding: 6px 10px;
  }

  .demo-panel__meta,
  .demo-action-item em {
    font-size: 11.5px;
  }

  .public-page--contacts .lead-form__consent {
    align-items: start;
  }

  .public-page--contacts .lead-form__consent span,
  .public-page--contacts .form-note {
    font-size: 12px;
  }
}

/* Final client-cabinet hero balance: keep the preview and text column visually equal on wide screens. */
@media (min-width: 1024px) {
  .public-page--client_portal .page-hero__inner {
    align-items: stretch;
  }

  .public-page--client_portal .page-hero__content,
  .public-page--client_portal .cabinet-panel {
    align-self: stretch;
    min-height: clamp(500px, 38vw, 680px);
  }

  .public-page--client_portal .page-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: clamp(28px, 3vw, 52px);
    padding-top: clamp(28px, 3vw, 52px);
  }
}

/* Visual QA fixes: link-card arrows, glossy step numbers, quality hero crop, prices CTA wrapping. */
@media (min-width: 901px) {
  .public-page--home .link-card {
    grid-template-columns: 190px minmax(0, 1fr) 84px;
  }

  .public-page--home .link-card > div {
    padding-right: 30px;
  }

  .public-page--home .link-card > span {
    height: 42px;
    margin-right: 26px;
    padding-bottom: 4px;
    width: 42px;
  }
}

.public-page--process .timeline-card b {
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.92) 0 12%, rgba(255, 255, 255, 0) 36%),
    linear-gradient(145deg, #ff9a42 0%, #f06f18 48%, #d65f00 100%);
  box-shadow:
    0 12px 22px rgba(216, 106, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.58);
  color: #fff;
  text-shadow: 0 1px 1px rgba(108, 44, 0, 0.22);
}

.quality-hero-visual > img {
  object-position: 50% 18%;
}

.quality-control-flow__grid .feature-line b {
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.88) 0 12%, rgba(255, 255, 255, 0) 36%),
    linear-gradient(145deg, #ff9a42 0%, #f06f18 48%, #d65f00 100%);
  box-shadow:
    0 10px 20px rgba(216, 106, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

@media (min-width: 1181px) {
  .public-page--prices .prices-cta {
    align-items: center;
    gap: 20px 32px;
    grid-template-columns: minmax(320px, 0.9fr) minmax(360px, auto);
    padding: 30px 42px;
  }

  .public-page--prices .prices-cta .reference-cta__actions {
    justify-self: end;
  }

  .public-page--prices .prices-cta__facts {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.34);
    gap: 18px;
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    padding-left: 0;
    padding-top: 18px;
  }

  .public-page--prices .prices-cta__facts span {
    min-width: 0;
  }
}

/* Final QA follow-up: prices transparency spacing and consistent client-cabinet icon scale. */
.public-page--prices .prices-transparency {
  align-items: start;
  gap: 26px;
  padding: 28px 34px 34px;
}

.public-page--prices .prices-transparency__checks {
  align-items: start;
  gap: 18px 22px;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
}

.public-page--prices .prices-transparency__checks span {
  min-height: 30px;
  padding-bottom: 2px;
}

.public-page--client_portal .feature-icon,
.public-page--client_portal .cabinet-visible__grid .mini-icon {
  align-items: center;
  display: inline-flex;
  height: 58px;
  justify-content: center;
  width: 58px;
}

  .public-page--client_portal .feature-icon img,
  .public-page--client_portal .feature-grid--four .feature-icon img,
  .public-page--client_portal .cabinet-visible__grid .mini-icon img {
    height: 58px;
    object-fit: contain;
    width: 58px;
  }

  .public-page--client_portal .cabinet-visible__grid {
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .public-page--client_portal .cabinet-visible__grid .mini-card {
    align-content: center;
    gap: 6px 14px;
    grid-template-columns: 58px minmax(0, 1fr);
    min-height: 132px;
    padding: 22px 24px;
    text-align: left;
  }

  .public-page--client_portal .cabinet-visible__grid strong {
    font-size: 18px;
    line-height: 1.15;
  }

  .public-page--client_portal .cabinet-visible__grid small {
    font-size: 15px;
    line-height: 1.35;
  }

  .public-page--estimate .estimate-change-flow__grid .feature-line {
    gap: 14px;
    grid-template-columns: 48px minmax(0, 1fr);
    min-height: 158px;
    padding: 24px 26px;
  }

  .public-page--estimate .estimate-change-flow__grid .feature-line b {
    height: 48px;
    width: 48px;
  }

  @media (max-width: 768px) {
    .public-page--prices .prices-transparency {
      gap: 22px;
      padding: 28px 28px 34px;
  }

  .public-page--prices .prices-transparency__checks {
    gap: 16px;
    grid-template-columns: 1fr;
  }

  .public-page--prices .prices-transparency__checks span {
    min-height: 28px;
  }

  .public-page--client_portal .feature-icon,
  .public-page--client_portal .cabinet-visible__grid .mini-icon {
    height: 58px;
    width: 58px;
  }

    .public-page--client_portal .feature-icon img,
    .public-page--client_portal .feature-grid--four .feature-icon img,
    .public-page--client_portal .cabinet-visible__grid .mini-icon img {
      height: 58px;
      object-fit: contain;
      width: 58px;
    }

    .public-page--client_portal .cabinet-visible__grid {
      grid-template-columns: 1fr;
    }

    .public-page--client_portal .cabinet-visible__grid .mini-card {
      min-height: 118px;
      padding: 22px;
    }

    .public-page--estimate .estimate-change-flow__grid .feature-line {
      grid-template-columns: 48px minmax(0, 1fr);
      min-height: 132px;
      padding: 22px;
    }
  }

/* Chrome QA: keep the compact Variant 1 header on a single desktop row. */
@media (min-width: 1025px) {
  .site-header__inner {
    grid-template-columns: 190px minmax(0, 1fr) auto;
  }

  .site-nav {
    flex-wrap: nowrap;
    gap: 2px;
  }

  .site-nav a {
    font-size: 14px;
    padding-inline: 9px;
  }
}

/* Pavlovo-3 v1: public commercial ranges with auditable work/material groups. */
.public-estimate-details {
  display: grid;
  gap: 12px;
  padding: 0 30px 26px;
}

.public-estimate-details__section {
  background: var(--ap-surface-soft);
  border: 1px solid var(--ap-border-blue);
  border-radius: var(--radius-md);
  min-width: 0;
}

.public-estimate-details__section summary {
  align-items: center;
  color: var(--ap-navy);
  cursor: pointer;
  display: flex;
  font-weight: 700;
  justify-content: space-between;
  min-height: 52px;
  padding: 12px 16px;
}

.public-estimate-details__section summary:focus-visible {
  outline: 3px solid rgba(214, 106, 0, 0.38);
  outline-offset: 3px;
}

.public-estimate-groups,
.public-material-candidates {
  display: grid;
  gap: 10px;
  padding: 0 16px 16px;
}

.public-estimate-group {
  align-items: baseline;
  border-top: 1px solid var(--ap-border);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding-top: 10px;
}

.public-estimate-group strong,
.plan-estimate-card__price {
  color: var(--ap-blue);
  overflow-wrap: anywhere;
}

.public-material-candidates {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.public-material-candidate {
  background: var(--ap-surface);
  border: 1px solid var(--ap-border);
  border-radius: var(--radius-sm);
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 14px;
}

.public-material-candidate strong,
.public-material-candidate span,
.public-material-candidate small,
.plan-estimate-card small {
  overflow-wrap: anywhere;
}

.public-material-candidate span,
.public-material-candidate small,
.public-estimate-details__optional,
.plan-estimate-height,
.plan-estimate-card small {
  color: var(--ap-muted);
}

.public-estimate-details__optional {
  margin: 0;
}

.plan-estimate-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.plan-estimate-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.plan-estimate-card h3,
.plan-estimate-card p,
.plan-estimate-card small {
  margin: 0;
}

.plan-estimate-card__price {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1;
}

.plan-estimate-card .text-link {
  margin-top: auto;
  min-height: 44px;
  padding-top: 12px;
}

@media (max-width: 768px) {
  .public-estimate-details {
    padding: 0 18px 20px;
  }

  .public-material-candidates,
  .plan-estimate-grid {
    grid-template-columns: 1fr;
  }

  .public-estimate-group {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

/* Pavlovo 3: calm, scan-friendly comparison of public estimate packages. */
.public-page--pavlovo_plan .plan-estimate-section {
  background:
    radial-gradient(circle at 88% 4%, rgba(214, 106, 0, 0.08), transparent 29%),
    linear-gradient(180deg, #fbf8f3 0%, #f7f3ed 100%);
  border-bottom: 1px solid rgba(16, 32, 51, 0.06);
  border-top: 1px solid rgba(16, 32, 51, 0.06);
  overflow: clip;
  position: relative;
}

.public-page--pavlovo_plan .plan-estimate-intro {
  align-items: end;
  display: grid;
  gap: clamp(22px, 4vw, 54px);
  grid-template-columns: minmax(0, 1fr) minmax(270px, 330px);
  margin-bottom: clamp(26px, 3vw, 38px);
}

.public-page--pavlovo_plan .plan-estimate-intro__copy {
  margin: 0;
  max-width: 820px;
}

.public-page--pavlovo_plan .plan-estimate-intro__copy .eyebrow {
  color: #a84f00;
}

.public-page--pavlovo_plan .plan-estimate-intro__copy h2 {
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 0.98;
  margin: 8px 0 16px;
  text-wrap: balance;
}

.public-page--pavlovo_plan .plan-estimate-intro__copy p {
  color: var(--ap-muted);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.6;
  margin: 0;
  max-width: 68ch;
}

.public-page--pavlovo_plan .plan-estimate-height {
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 61, 117, 0.14);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(16, 33, 54, 0.06);
  display: grid;
  gap: 2px 16px;
  grid-template-columns: auto minmax(0, 1fr);
  margin: 0;
  padding: 18px 20px;
}

.public-page--pavlovo_plan .plan-estimate-height span {
  color: var(--ap-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.public-page--pavlovo_plan .plan-estimate-height strong {
  color: var(--ap-navy);
  font-family: var(--font-ui);
  font-size: 24px;
  font-variant-numeric: tabular-nums;
  grid-row: 1 / span 2;
  line-height: 1;
  white-space: nowrap;
}

.public-page--pavlovo_plan .plan-estimate-height small {
  color: var(--ap-muted);
  font-size: 12px;
  line-height: 1.4;
}

.public-page--pavlovo_plan .plan-estimate-grid {
  gap: clamp(18px, 2vw, 24px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.public-page--pavlovo_plan .plan-estimate-card {
  --package-accent: #b85600;
  --package-tint: #fff3e7;
  background:
    linear-gradient(180deg, var(--package-tint) 0, rgba(255, 255, 255, 0) 112px),
    #fff;
  border: 1px solid rgba(16, 32, 51, 0.11);
  border-radius: 18px;
  box-shadow: 0 16px 42px rgba(16, 33, 54, 0.07);
  display: flex;
  gap: 0;
  min-width: 0;
  overflow: hidden;
  padding: clamp(22px, 2.4vw, 32px);
  position: relative;
}

.public-page--pavlovo_plan .plan-estimate-card::before {
  background: var(--package-accent);
  content: "";
  height: 4px;
  inset: 0 0 auto;
  position: absolute;
}

.public-page--pavlovo_plan .plan-estimate-card--gotovo {
  --package-accent: #1f7652;
  --package-tint: #eef8f3;
}

.public-page--pavlovo_plan .plan-estimate-card--vybor {
  --package-accent: #0f3d75;
  --package-tint: #edf4fc;
}

.public-page--pavlovo_plan .plan-estimate-card--avtorskiy {
  --package-accent: #563e70;
  --package-tint: #f5f0fa;
}

.public-page--pavlovo_plan .plan-estimate-card:hover {
  box-shadow: 0 16px 42px rgba(16, 33, 54, 0.07);
  transform: none;
}

.public-page--pavlovo_plan .plan-estimate-card__top {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 22px;
}

.public-page--pavlovo_plan .plan-estimate-card__number {
  align-items: center;
  background: var(--package-accent);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 800;
  height: 36px;
  justify-content: center;
  letter-spacing: 0.04em;
  width: 36px;
}

.public-page--pavlovo_plan .plan-estimate-card__label {
  color: var(--package-accent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.055em;
  line-height: 1.35;
  max-width: 32ch;
  text-align: right;
  text-transform: uppercase;
}

.public-page--pavlovo_plan .plan-estimate-card h3 {
  color: var(--ap-navy);
  font-family: var(--font-ui);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin: 0 0 12px;
  text-wrap: balance;
}

.public-page--pavlovo_plan .plan-estimate-card__summary {
  color: var(--ap-text);
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 22px;
}

.public-page--pavlovo_plan .plan-estimate-card__pricing {
  border-top: 1px solid rgba(16, 32, 51, 0.1);
  margin-top: auto;
  padding-top: 18px;
}

.public-page--pavlovo_plan .plan-estimate-card__price-label {
  color: var(--ap-muted);
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.075em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.public-page--pavlovo_plan .plan-estimate-card__range {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.public-page--pavlovo_plan .plan-estimate-card__range > div {
  min-width: 0;
}

.public-page--pavlovo_plan .plan-estimate-card__range > div + div {
  border-left: 1px solid rgba(16, 32, 51, 0.12);
  padding-left: 14px;
}

.public-page--pavlovo_plan .plan-estimate-card__range dt {
  color: var(--package-accent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.public-page--pavlovo_plan .plan-estimate-card__range dd {
  color: var(--ap-navy);
  font-family: var(--font-ui);
  font-size: clamp(22px, 2.15vw, 31px);
  font-variant-numeric: tabular-nums;
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin: 0;
  white-space: nowrap;
}

.public-page--pavlovo_plan .plan-estimate-card__note {
  background: var(--package-tint);
  border-radius: 10px;
  color: var(--ap-muted);
  font-size: 12px;
  line-height: 1.5;
  margin: 16px 0 0;
  padding: 11px 12px;
}

.public-page--pavlovo_plan .plan-estimate-card__note span {
  color: var(--package-accent);
  display: block;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.075em;
  margin-bottom: 3px;
  text-transform: uppercase;
}

.public-page--pavlovo_plan .plan-estimate-card__action {
  background: var(--package-accent);
  border: 1px solid var(--package-accent);
  border-radius: 12px;
  color: #fff;
  justify-content: space-between;
  margin-top: 20px;
  min-height: 52px;
  padding: 0 18px;
  width: 100%;
}

.public-page--pavlovo_plan .plan-estimate-card__action:hover {
  background: var(--package-accent);
  border-color: var(--package-accent);
  box-shadow: 0 10px 24px rgba(16, 33, 54, 0.15);
  color: #fff;
  filter: brightness(0.93);
  transform: translateY(-1px);
}

.public-page--pavlovo_plan .plan-estimate-card__action:focus-visible {
  outline: 3px solid rgba(15, 61, 117, 0.35);
  outline-offset: 3px;
}

.public-page--pavlovo_plan .plan-estimate-card__arrow {
  font-size: 22px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.public-page--pavlovo_plan .plan-estimate-card__action:hover .plan-estimate-card__arrow {
  transform: translateX(3px);
}

@media (max-width: 980px) {
  .public-page--pavlovo_plan .plan-estimate-intro {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .public-page--pavlovo_plan .plan-estimate-height {
    max-width: 430px;
  }

  .public-page--pavlovo_plan .plan-estimate-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .public-page--pavlovo_plan .plan-estimate-intro__copy h2 {
    font-size: clamp(30px, 10vw, 40px);
  }

  .public-page--pavlovo_plan .plan-estimate-height {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 15px 16px;
  }

  .public-page--pavlovo_plan .plan-estimate-card {
    border-radius: 15px;
    padding: 22px 18px 18px;
  }

  .public-page--pavlovo_plan .plan-estimate-card__top {
    align-items: flex-start;
    margin-bottom: 18px;
  }

  .public-page--pavlovo_plan .plan-estimate-card__label {
    font-size: 10px;
    max-width: 24ch;
  }

  .public-page--pavlovo_plan .plan-estimate-card__range {
    gap: 11px;
  }

  .public-page--pavlovo_plan .plan-estimate-card__range > div + div {
    padding-left: 11px;
  }

  .public-page--pavlovo_plan .plan-estimate-card__range dd {
    font-size: clamp(20px, 6.3vw, 25px);
  }
}

@media (max-width: 360px) {
  .public-page--pavlovo_plan .plan-estimate-card__range {
    grid-template-columns: 1fr;
  }

  .public-page--pavlovo_plan .plan-estimate-card__range > div + div {
    border-left: 0;
    border-top: 1px solid rgba(16, 32, 51, 0.12);
    padding-left: 0;
    padding-top: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .public-page--pavlovo_plan .plan-estimate-card,
  .public-page--pavlovo_plan .plan-estimate-card__action,
  .public-page--pavlovo_plan .plan-estimate-card__arrow {
    transition: none;
  }

  .public-page--pavlovo_plan .plan-estimate-card__action:hover,
  .public-page--pavlovo_plan .plan-estimate-card__action:hover .plan-estimate-card__arrow {
    transform: none;
  }
}

/* Lead dialog */
[hidden] {
  display: none !important;
}

body.lead-dialog-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.lead-dialog {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 1200;
}

.lead-dialog__backdrop {
  animation: lead-dialog-backdrop-in 160ms ease-out both;
  background: rgba(4, 14, 28, 0.7);
  inset: 0;
  position: absolute;
}

.lead-dialog__panel {
  animation: lead-dialog-panel-in 180ms ease-out both;
  background: var(--ap-surface);
  border: 1px solid rgba(231, 223, 212, 0.92);
  border-radius: 18px;
  box-shadow: 0 30px 90px rgba(3, 12, 24, 0.36);
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  max-width: 620px;
  overflow-y: auto;
  overscroll-behavior: contain;
  position: relative;
  scrollbar-gutter: stable;
  width: 100%;
  -webkit-overflow-scrolling: touch;
}

.lead-dialog__close {
  align-items: center;
  background: var(--ap-bg-warm);
  border: 1px solid var(--ap-border);
  border-radius: 50%;
  color: var(--ap-navy);
  cursor: pointer;
  display: inline-flex;
  font-size: 28px;
  height: 44px;
  justify-content: center;
  line-height: 1;
  min-height: 44px;
  min-width: 44px;
  padding: 0 0 3px;
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 2;
}

.lead-dialog__close:hover {
  background: var(--ap-blue-soft);
  border-color: var(--ap-border-blue);
}

.lead-dialog__context {
  color: var(--ap-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.025em;
  margin: 0;
  padding: 28px 82px 0 32px;
}

.lead-dialog__content {
  min-width: 0;
}

.lead-dialog .lead-form.card,
.lead-dialog .lead-form.card:hover {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  max-width: none;
  padding: 32px;
  transform: none;
  transition: none;
  width: 100%;
}

.lead-dialog__context:not([hidden]) + .lead-dialog__content .lead-form.card {
  padding-top: 12px;
}

.lead-dialog .lead-form h2,
.lead-dialog-success h2 {
  font-size: clamp(29px, 4vw, 38px);
  line-height: 1.05;
  margin: 0 64px 10px 0;
}

.lead-dialog .lead-form__intro,
.lead-dialog-success p {
  color: var(--ap-muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0 52px 22px 0;
}

.lead-dialog .lead-form label {
  font-size: 14px;
  gap: 7px;
  margin-bottom: 13px;
}

.lead-dialog .lead-form input,
.lead-dialog .lead-form select,
.lead-dialog .lead-form textarea {
  border-color: var(--ap-border);
  font-size: 16px;
  min-height: 46px;
  padding: 10px 12px;
}

.lead-dialog .lead-form textarea {
  min-height: 88px;
}

.lead-dialog .lead-form__consent {
  font-size: 12px;
  line-height: 1.45;
  margin: 10px 0 !important;
}

.lead-dialog .form-note {
  font-size: 12px !important;
  line-height: 1.45;
  margin: 10px 0 14px !important;
}

.lead-dialog .form-error {
  background: #fff4f1;
  border: 1px solid rgba(201, 74, 58, 0.28);
  border-radius: var(--radius);
  color: var(--ap-danger);
  font-size: 13px;
  line-height: 1.45;
  margin: 0 0 16px;
  padding: 11px 13px;
}

.lead-dialog .form-error p,
.lead-dialog .errorlist {
  margin: 0;
}

.lead-dialog .errorlist {
  font-size: 12px;
  padding-left: 18px;
}

.lead-dialog [data-lead-dialog-submit],
.lead-dialog-success .btn {
  min-height: 48px;
  width: 100%;
}

.lead-dialog [aria-busy="true"] [data-lead-dialog-submit] {
  cursor: wait;
  opacity: 0.72;
}

.lead-dialog-success {
  padding: 48px 32px 32px;
}

.lead-dialog-success:focus {
  outline: 0;
}

.lead-dialog :focus-visible {
  outline: 3px solid rgba(15, 61, 117, 0.38);
  outline-offset: 3px;
}

.lead-cta-card {
  align-content: start;
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 24px;
}

.lead-cta-card h3 {
  color: var(--ap-navy);
  font-size: 20px;
  line-height: 1.2;
  margin: 0;
}

.lead-cta-card p {
  color: var(--ap-muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

.lead-cta-card .btn {
  justify-self: start;
  margin-top: 6px;
}

@keyframes lead-dialog-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes lead-dialog-panel-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .lead-dialog {
    align-items: flex-end;
    padding: 0;
  }

  .lead-dialog__panel {
    border-bottom: 0;
    border-radius: 20px 20px 0 0;
    max-height: calc(100vh - max(16px, env(safe-area-inset-top)));
    max-height: calc(100dvh - max(16px, env(safe-area-inset-top)));
    max-width: none;
    padding-bottom: env(safe-area-inset-bottom);
    width: 100%;
  }

  .lead-dialog__close {
    right: 16px;
    top: 14px;
  }

  .lead-dialog__context {
    padding: 24px 76px 0 24px;
  }

  .lead-dialog .lead-form.card,
  .lead-dialog-success {
    padding: 28px 24px 24px;
  }

  .lead-dialog__context:not([hidden]) + .lead-dialog__content .lead-form.card {
    padding-top: 10px;
  }

  .lead-cta-card .btn {
    justify-self: stretch;
  }
}

@media (max-width: 480px) {
  .lead-dialog__close {
    right: 12px;
    top: 12px;
  }

  .lead-dialog__context {
    padding: 22px 68px 0 18px;
  }

  .lead-dialog .lead-form.card,
  .lead-dialog-success {
    padding: 24px 18px calc(20px + env(safe-area-inset-bottom));
  }

  .lead-dialog__context:not([hidden]) + .lead-dialog__content .lead-form.card {
    padding-top: 8px;
  }

  .lead-dialog .lead-form h2,
  .lead-dialog-success h2 {
    font-size: 28px;
    margin-right: 48px;
  }

  .lead-dialog .lead-form__intro,
  .lead-dialog-success p {
    margin-right: 0;
  }

  .lead-cta-card {
    padding: 20px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lead-dialog__backdrop,
  .lead-dialog__panel {
    animation: none;
    scroll-behavior: auto;
  }
}
