﻿:root {
  --bg: #f3f0e8;
  --text: #142f27;
  --muted: #4c6058;
  --line: #d7dfd7;
  --primary-dark: #21563f;
  --green: #215d46;
  --shadow: 0 12px 32px rgb(30 59 48 / 7%);
}
body {
  background: var(--bg);
  font-family: system-ui, sans-serif;
}
h1 {
  font-family: Georgia, serif;
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.03;
}
.nav { margin-block: 20px; }
.nav a { color: var(--text); }
.nav a:hover, .nav a:focus-visible { background: #deebe1; }
.premium-top {
  background: #153e31;
  box-shadow: none;
}
.form-page .hero { gap: 16px; margin-block: 20px 32px; }
.form-page .hero-card {
  padding: clamp(24px, 4vw, 50px);
  background: #e5ece2;
  border: 0;
  box-shadow: none;
}
.form-page h1 {
  max-width: 12ch;
  margin-top: 0;
  font-size: clamp(42px, 5.5vw, 74px);
}
.hero-action {
  display: inline-flex;
  background: #153e31;
  color: #fff;
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
}
.hero-action:hover { background: #28624b; }
.form-page .visual {
  position: relative;
  min-height: 330px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #c6d2c1;
  border: 0;
}
.visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.form-page .energy-label { margin-top: 24px; background: #f4f7f0; }
.energy-row {
  min-height: 24px;
  height: auto;
  padding: 4px 10px;
  line-height: 1.3;
}
.form-page .energy-row { width: max(var(--row-width), min(100%, 220px)); }
.energy-a { --row-width: 52%; }
.energy-b { --row-width: 64%; }
.energy-c { --row-width: 76%; }
.energy-d { --row-width: 88%; }
.energy-e { --row-width: 100%; }
.energy-row.energy-e, .energy-row.e { background: #af382d; }
.pricing-page .hero { background: #e5ece2; }
:is(.certificate-card, .pricing-page .hero) h1 { font-size: clamp(30px, 5vw, 49px); }
.pricing-page .lead { margin-inline: auto; max-width: 52ch; }
.pricing-page .energy-row { width: max(var(--row-width), min(100%, 230px)); }
.pricing-page .energy-row.a { --row-width: 38%; }
.pricing-page .energy-row.b { --row-width: 48%; }
.pricing-page .energy-row.c { --row-width: 58%; }
.pricing-page .energy-row.d { --row-width: 70%; }
.pricing-page .energy-row.e { --row-width: 82%; }
.pricing-page .table { overflow-x: auto; }
.pricing-page .table table { min-width: 450px; }
@media (max-width: 600px) {
  .form-page .visual { min-height: 260px; }
  .form-card, .pricing-page .hero { padding: 20px; }
  fieldset { min-inline-size: 0; }
  .mini-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .verified-seal { animation: none; }
}

.form-page .hero-card {
  background:
    linear-gradient(180deg, #e5ece2 38%, transparent 94%),
    url("house.webp") center bottom / cover;
  min-height: 510px;
}
.form-page .visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  background: #dee7dd;
}
.visual img {
  position: static;
  display: block;
  width: min(100%, 340px);
  height: auto;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.visual figcaption {
  font-size: 14px;
  text-align: center;
}
.visual figcaption a { color: var(--primary-dark); }
@media (max-width: 600px) {
  .form-page .hero-card { min-height: 430px; }
}

.order-overview {
  margin-bottom: 30px;
  padding: clamp(18px, 4vw, 32px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 20px;
}
.section-heading a { color: var(--primary-dark); }
.property-options, .order-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.property-options { margin: 12px 0 26px; }
.property-options a {
  display: grid;
  gap: 4px;
  padding: 16px;
  color: var(--text);
  background: #edf3ec;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
}
.property-options a:hover, .property-options a:focus-visible { background: #dceadc; }
.property-options span { color: var(--primary-dark); }
.order-steps { padding-inline-start: 24px; margin-bottom: 0; }
.order-steps li { padding-inline-end: 12px; color: var(--muted); }
.order-steps strong { display: block; color: var(--text); }
.sidebar details { padding: 12px 0; border-top: 1px solid var(--line); }
.sidebar summary { cursor: pointer; font-weight: 700; }
.sidebar h2 { font-size: 23px; }
@media (max-width: 680px) {
  .property-options, .order-steps { grid-template-columns: 1fr; }
}

.sidebar .pro-price { margin: 0; }
.sidebar .pro-price h2 { margin-bottom: 12px; }
.sidebar .pro-price .footer-note:last-child { margin-bottom: 0; }
.sidebar .mini-grid { grid-template-columns: 1fr; }
@media (min-width: 921px) {
  .form-page .grid > .form-card { grid-area: 1 / 1; }
  .form-page .grid > .sidebar { grid-area: 1 / 2; }
}

.sidebar .premium-top {
  width: 100%;
  margin: 0;
  grid-template-columns: 1fr;
  gap: 12px;
  text-align: left;
}
.sidebar .verify-btn {
  justify-self: start;
  white-space: normal;
}

html { scroll-padding-top: 220px; }
.site-masthead {
  position: sticky;
  top: 0;
  z-index: 55;
  padding: 8px 0 4px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.site-banner {
  display: flex;
  align-items: center;
  min-height: clamp(94px, 17vh, 156px);
  padding: 16px clamp(14px, 4vw, 48px);
  box-sizing: border-box;
  border-radius: 18px;
  background: linear-gradient(90deg, #132d24ee, #132d2488 65%, #132d2433), url("house.webp") center 51% / cover;
}
.site-banner .site-banner-title {
  margin: 0;
  max-width: none;
  color: white;
  font: 500 clamp(28px, 5vw, 59px)/1.03 Georgia, serif;
  letter-spacing: -.035em;
}
.site-navigation {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 5px auto 0;
}
.site-navigation a {
  display: inline-block;
  padding: 7px clamp(7px, 2vw, 15px);
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--text);
  background: transparent;
  text-decoration: none;
  font-size: clamp(12px, 2.7vw, 15px);
  font-weight: 750;
}
.site-navigation a[aria-current="page"] {
  background: #21563f;
  color: white;
  border-color: #21563f;
}
.form-page main { margin-top: 18px; }
@media (min-width: 921px) {
  .form-page .sidebar { top: 218px; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 155px; }
  .site-banner { min-height: 94px; }
}
.certificate-page { margin: 0; color: var(--text); }
.certificate-page .container { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.certificate-card {
  margin: 20px 0 32px;
  padding: clamp(16px, 4vw, 36px);
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}
.certificate-card h1 { margin: 0 0 22px; }
.certificate-preview { margin: 0; }
.certificate-preview img {
  display: block;
  width: min(100%, 600px);
  height: auto;
  margin-inline: auto;
  border: 1px solid var(--line);
}
.certificate-preview figcaption { margin-top: 14px; }
.certificate-preview a, .order-steps a { color: var(--primary-dark); }

.certificate-documents { text-align: left; }
.certificate-documents li + li { margin-top: 8px; }
.certificate-documents a { color: var(--primary-dark); }

.certificate-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  align-items: start;
  gap: 18px;
  margin-block: 20px 32px;
}
.certificate-layout .certificate-card { margin: 0; }
.certificate-preview img { width: min(100%, 300px); }
.certificate-documents ul { padding-inline-start: 22px; }
@media (max-width: 680px) {
  .certificate-layout { grid-template-columns: minmax(0, 1fr); }
}

.form-page .property-options {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.property-options button { grid-column: span 2; }
.property-options button:nth-child(n + 4) { grid-column: span 3; }
.property-options button {
  min-height: 50px;
  padding: 9px 10px;
  border: 2px solid #d2ddd8;
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font-size: 14px;
  line-height: 1.25;
}
.property-options button:hover { background: #f3f7ed; }
.property-options button[aria-pressed="true"] {
  border-color: var(--primary-dark);
  background: var(--primary-dark);
  color: #fff;
}

.contact-page { margin: 0; color: var(--text); }
.contact-page .container { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.contact-card { text-align: left; }
.contact-card form { display: grid; gap: 8px; }
.contact-card label { font-weight: 700; }
.contact-card input, .contact-card textarea {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px;
  font: inherit;
}
.contact-card textarea { resize: vertical; }
.contact-card button, .contact-call {
  justify-self: start;
  display: inline-block;
  padding: 10px 16px;
  border: 0;
  border-radius: 10px;
  background: var(--primary-dark);
  color: #fff;
  font: inherit;
  cursor: pointer;
}
.contact-card figure { margin: 14px 0 0; }
#contactStatus { margin: 0; }
@media (max-width: 680px) {
  .contact-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

.contact-qr-options {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
  margin-top: 14px;
}
.contact-qr-options figure {
  flex: 1 1 180px;
  margin: 0;
}
.contact-qr-options img { display: block; }

a.site-banner { text-decoration: none; }
a.site-banner:focus-visible { outline: 3px solid var(--primary-dark); outline-offset: 2px; }

.contact-sidebar {
  display: grid;
  gap: 12px;
  margin: 20px 0 32px;
}
.contact-method {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: start;
  gap: 5px 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.contact-method-phone { border-color: #96baa6; }
.contact-method-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  color: var(--primary-dark);
  background: #e5eee7;
  font-weight: 750;
}
.contact-method h2, .contact-method p { margin: 0; }
.contact-method h2 { font-size: 15px; color: var(--muted); }
.contact-method p, .contact-method figcaption { font-size: 14px; color: var(--muted); }
.contact-method-action {
  display: inline-block;
  margin: 2px 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--primary-dark);
  font: 750 17px/1.4 system-ui, sans-serif;
  text-decoration: underline;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.contact-method-action[hidden] { display: none; }
.contact-method .contact-qr-options { grid-column: 2; align-items: center; }
.contact-method .contact-qr-options figure { flex: 0 1 auto; }
.contact-method .contact-call { padding: 8px 11px; font-size: 14px; }
.contact-details {
  grid-template-columns: minmax(0, 1fr);
  background: #e9f0e9;
}
.contact-details h2 { color: var(--text); font-size: 18px; }
.contact-details a { color: var(--primary-dark); }
@media (max-width: 680px) {
  .contact-sidebar { margin-top: 0; }
  .contact-method .contact-qr-options { grid-column: 1 / -1; }
}

.registry-filter {
  display: grid;
  justify-items: start;
  gap: 6px;
}
.registry-filter button {
  border: 1px solid var(--primary-dark);
  border-radius: 8px;
  padding: 5px 9px;
  background: #fff;
  color: var(--primary-dark);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.registry-status:empty { display: none; }

.privacy-check {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 4px 9px;
  margin-bottom: 12px;
}
.privacy-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--primary-dark);
}
.privacy-check .error-message { grid-column: 2; }
.privacy-check a, .privacy-policy a { color: var(--primary-dark); }
.privacy-policy {
  max-width: 820px;
  margin-inline: auto;
  text-align: left;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.privacy-policy h2 { font-size: 21px; margin-top: 22px; }

.site-navigation { flex-wrap: wrap; }
@media (max-width: 460px) {
  html { scroll-padding-top: 195px; }
}

.partner-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 14px;
  margin-block: 24px;
  text-align: left;
}
.partner-sections section {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #edf3ec;
}
.partner-sections h2 { margin: 0 0 8px; font-size: 19px; }
.partner-sections p { margin: 0; color: var(--muted); }

.site-footer {
  margin-top: 28px;
  padding: 26px 0 30px;
  background: #173e33;
  color: #fff;
}
.site-footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px 38px;
  padding-right: 76px;
  box-sizing: border-box;
}
.site-footer p { margin: 5px 0 8px; }
.site-footer a { display: inline-block; margin-inline-end: 12px; color: inherit; }
.site-footer nav { display: flex; flex-wrap: wrap; align-content: start; gap: 8px 12px; }
.site-footer nav a { margin: 0; }
.site-footer a:focus-visible { outline: 2px solid white; outline-offset: 3px; }

.partner-sections h2 {
  display: flex;
  align-items: center;
  gap: 10px;
}
.partner-sections h2 img { flex: none; object-fit: contain; }
.site-footer .site-credit { margin-top: 14px; font-size: 14px; }
.site-credit a { margin: 0; }

.price-property-title { display: flex; align-items: center; gap: 10px; }
.price-property-title span {
  display: inline-grid;
  place-items: center;
  flex: 0 0 36px;
  height: 36px;
  border-radius: 9px;
  background: #e5eee7;
  font-size: 21px;
}

.pricing-page .card .btn {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #bbf7d0;
}
.pricing-page .card .btn:hover { background: #dcfce7; }

.price-tag-line { display: flex; align-items: center; gap: 8px; }
.price-tag-icon { font-size: 26px; line-height: 1; }

.price-tag-line .tag { color: #000; }

.price-tag-line h2 { margin: 0; }

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }

  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
  }
}
