/* Shared web components. Sizes and interaction states extend the Uus Maa identity. */
body :is(form, .price-calculator) :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], select, textarea) {
  min-height: 48px;
  max-width: 100%;
  box-sizing: border-box;
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

body :is(form, .price-calculator) :is(input, select, textarea):focus-visible {
  outline: 2px solid #012169;
  outline-offset: 2px;
}

body :is(form, .price-calculator) :is(input, textarea)::placeholder {
  color: #4f5a70;
  opacity: 1;
}

:is(.form-card, .contact-form-box, .price-calculator, .price-lead__form) {
  scroll-margin-top: 100px;
}

.price-calculator .price-result {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.price-calculator .price-result__range {
  order: -1;
  border-left: 0;
  border-right: 1px solid rgba(255, 255, 255, .25);
  background: #012169;
}

.price-calculator .price-result__range strong { color: #ffd100; }
.price-calculator .price-result__primary strong { font-size: 24px; }
.price-calculator .price-result--single { grid-template-columns: 1fr; }
.price-calculator .price-result--single .price-result__primary strong { font-size: 32px; }

body form .fg label {
  opacity: 1;
  color: #012169;
  font-size: 13px;
  font-weight: 500;
}

.price-calculator .price-calculator__owner p,
.price-calculator .price-result-brand p {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

.form-card .form-head h2 { font-size: 26px; line-height: 1.15; }
.calc-page .hero h1 { font-size: 48px; overflow-wrap: normal; }
.single-post-title { font-size: 40px; font-weight: 700; line-height: 1.15; margin-bottom: 32px; }

@media (min-width: 901px) and (max-width: 1100px) {
  .form-card .form-head h2 { font-size: 22px; }
  .calc-page .hero h1 { font-size: 40px; }
}

@media (max-width: 700px) {
  .price-calculator .price-result { grid-template-columns: minmax(0, 1fr); }
  .price-calculator .price-result__range { border-right: 0; border-top: 0; border-bottom: 1px solid rgba(255, 255, 255, .25); }
  .price-calculator .price-lead__head h2 { font-size: 24px; line-height: 1.2; }
}

@media (max-width: 560px) {
  .single-post-title { font-size: 28px; }
  .page .hero h1 { font-size: 34px; }
  .page .seo-section h2 { font-size: 28px; }
  .page .step h2, .page .result-head h2 { font-size: 26px; }
  .form-card .form-head h2 { font-size: 24px; }
  .calc-page .hero h1 { font-size: 32px; }
  .media-page .media-hero h1 { font-size: 36px; line-height: 1.1; }
  .media-page .media-list-section h2 { font-size: 28px; line-height: 1.15; }
}
