/**
 * Toothfit readability enhancements — typography & contrast.
 */

body {
  font-family: var(--tf-font-sans, "Plus Jakarta Sans", system-ui, sans-serif);
  font-size: 16px;
  line-height: 1.75;
  color: #475569;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

p,
.pq-section-description,
.pq-fancybox-description,
.description,
.pq-blog-contain p,
.pq-blog-info p {
  font-size: 1rem;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 1rem;
}

h1, h2, h3, h4, h5, h6,
.pq-section-title,
.pq-fancy-box-title,
.box-title,
.pq-service-title {
  font-family: var(--tf-font-display, "Fraunces", Georgia, serif);
  color: #0f172a;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.pq-section-sub-title {
  font-family: var(--tf-font-sans, "Plus Jakarta Sans", sans-serif);
  letter-spacing: 0.14em;
  font-weight: 700;
}

.pq-bg-grey {
  background-color: #f8fafc !important;
}

.pq-fancy-box.pq-style-1,
.pq-service-box,
.pq-testimonial-box,
.pq-counter.pq-style-2 {
  border-radius: 16px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

a {
  transition: color 0.2s ease;
}

a:hover {
  color: var(--ins-brand-color);
}

a:focus-visible,
button:focus-visible,
.pq-button:focus-visible,
.btn:focus-visible,
.tf-btn:focus-visible {
  outline: 2px solid var(--ins-brand-color);
  outline-offset: 3px;
}

#pq-main-menu > li > a {
  font-weight: 600;
  font-size: 0.9375rem;
}

.pq-header-contact a,
.pq-top-header {
  font-size: 0.8125rem;
}

.pq-button,
.pq-button-flat,
.btn-primary,
.submitForm,
.btn-theme {
  min-height: 44px;
  font-weight: 700;
}

.form-control,
input.form-control,
textarea.form-control {
  font-size: 15px;
  line-height: 1.5;
  padding: 12px 16px;
  border-radius: 10px;
  border-color: #e2e8f0;
  color: #0f172a;
}

.form-control:focus {
  border-color: var(--ins-brand-color);
  box-shadow: 0 0 0 3px rgba(0, 99, 160, 0.12);
}

.form-control::placeholder {
  color: #94a3b8;
}

.pq-testimonial-content p,
.pq-testimonial-box p {
  font-size: 1rem;
  line-height: 1.85;
  color: #475569;
}

#pq-footer,
.pq-footer {
  line-height: 1.7;
}

footer#pq-footer p,
footer#pq-footer .pq-footer-block p {
  color: rgba(255, 255, 255, 0.82);
}

.pq-counter-num-prefix h5,
.pq-counter-num-prefix .timer {
  font-weight: 700;
  color: var(--ins-brand-color);
}

.pq-blog-title a {
  line-height: 1.4;
  color: #0f172a;
}

@media (max-width: 767px) {
  body { font-size: 15px; }
  h1, .pq-section-title { font-size: 1.5rem; }
}

.mainkeyword-container a {
  font-size: 12px;
  opacity: 0.75;
}

#pq-loading-center img {
  max-width: 100px;
}
