/**
 * Стили страниц SEO-отчётов (/seo-report/домен/).
 * Цветовая схема hozyindachi.ru (#005DAC, Manrope).
 */
:root {
  --rpt-bg: #f4f6fb;
  --rpt-primary: #005DAC;
  --rpt-primary-dark: #003d72;
  --rpt-accent: #005DAC;
  --rpt-text: #11172D;
  --rpt-muted: #5D6584;
  --rpt-success: #16a34a;
  --rpt-success-bg: #f0fdf4;
  --rpt-success-border: #bbf7d0;
  --rpt-danger: #dc2626;
  --rpt-danger-bg: #fef2f2;
  --rpt-danger-border: #fecaca;
  --rpt-info-bg: #f8fafc;
  --rpt-info-border: #e2e8f0;
  --rpt-radius: 14px;
  --rpt-radius-sm: 10px;
  --rpt-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
  --rpt-font: 'Manrope', sans-serif;
}

/* Page wrapper */
body.seo-report-page {
  background: var(--rpt-bg);
}
body.seo-report-page .boxed-container,
body.seo-report-page #content {
  background: var(--rpt-bg);
}
body.seo-report-page #primary.content-area {
  padding-top: 0;
  padding-bottom: 0;
}
body.seo-report-page .article__content,
body.seo-report-page .entry-content {
  font-family: var(--rpt-font);
  font-size: 15px;
  line-height: 1.65;
  color: var(--rpt-text);
}
body.seo-report-page .article__content > .wpseopropeller,
body.seo-report-page .entry-content > .wpseopropeller {
  max-width: 100%;
}

/* Report Hero */
body.seo-report-page .wpseopropeller > .row:first-child {
  background: linear-gradient(160deg, #011a35 0%, #005DAC 50%, #003d72 100%);
  margin: 0 calc(-50vw + 50%);
  padding: 40px calc(50vw - 50%);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  border-radius: 0;
}

/* Screenshot column */
body.seo-report-page .wpseopropeller > .row:first-child > .col-md-4,
body.seo-report-page .wpseopropeller > .row:first-child > .col-xs-12.col-md-4 {
  flex: 0 0 280px;
  max-width: 280px;
  position: relative;
  min-height: 200px;
}

/* Placeholder */
body.seo-report-page .screenshot-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  background:
    radial-gradient(ellipse 120% 80% at 20% 100%, rgba(0, 93, 172, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 80% 100% at 90% 10%, rgba(0, 93, 172, 0.25) 0%, transparent 55%),
    linear-gradient(160deg, #0a1e3d 0%, #0d2e5e 40%, #102a4a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
body.seo-report-page .screenshot-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
body.seo-report-page .screenshot-placeholder__letter {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, #005DAC, #003d72);
  color: #fff;
  font-size: 30px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 24px rgba(0, 93, 172, 0.25);
}
body.seo-report-page .screenshot-placeholder__domain {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  max-width: 90%;
  text-align: center;
  word-break: break-all;
  position: relative;
  z-index: 1;
}

body.seo-report-page img#exmp,
body.seo-report-page img#pic {
  display: none !important;
}

/* Domain + keywords column */
body.seo-report-page .wpseopropeller > .row:first-child > .col-md-5,
body.seo-report-page .wpseopropeller > .row:first-child > .col-xs-12.col-md-5 {
  flex: 1 1 280px;
  min-width: 0;
}
body.seo-report-page .wpseopropeller > .row:first-child h3 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
}
body.seo-report-page .wpseopropeller > .row:first-child h3 a {
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}
body.seo-report-page .wpseopropeller > .row:first-child h3 a:hover {
  border-color: var(--rpt-accent);
  color: #fff;
}
body.seo-report-page .wpseopropeller > .row:first-child .label-keyword {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 6px;
}
body.seo-report-page .wpseopropeller > .row:first-child > .col-md-5 {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}

/* Score column */
body.seo-report-page .wpseopropeller > .row:first-child > .col-md-3,
body.seo-report-page .wpseopropeller > .row:first-child > .col-xs-12.col-md-3 {
  flex: 0 0 200px;
  max-width: 200px;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px 20px;
}
body.seo-report-page .wpseopropeller > .row:first-child .col-md-3 h2 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 4px;
  font-weight: 600;
}
body.seo-report-page .wpseopropeller > .row:first-child .col-md-3 h1 {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1;
}

/* Progress bar */
body.seo-report-page .progress {
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  margin-bottom: 12px;
}
body.seo-report-page .progress-bar {
  border-radius: 99px;
  background: linear-gradient(90deg, #005DAC, #003d72) !important;
  transition: width 1s ease;
}
body.seo-report-page .wpseopropeller > .row:first-child .report-string {
  font-size: 12px !important;
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Panel sections */
body.seo-report-page .panel.panel-default {
  background: #fff;
  border: none !important;
  border-radius: var(--rpt-radius);
  box-shadow: var(--rpt-shadow);
  margin: 32px 0 0 !important;
  padding: 0;
  overflow: hidden;
}
body.seo-report-page .panel-heading {
  background: linear-gradient(135deg, var(--rpt-primary), var(--rpt-primary-dark));
  padding: 16px 24px;
  margin: 0;
  border: none;
}
body.seo-report-page .report_h {
  font-family: var(--rpt-font);
  font-size: 17px !important;
  font-weight: 700;
  color: #fff !important;
  margin: 0 !important;
  padding: 0;
  text-shadow: none !important;
  text-align: left !important;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 10px;
}
body.seo-report-page .head-icon {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 18px !important;
  margin-right: 0 !important;
  flex-shrink: 0;
}

/* Check items */
body.seo-report-page .seo-propeller-report-list,
body.seo-report-page ul.seo-propeller-report-list {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
}
body.seo-report-page .yes-item,
body.seo-report-page .no-item,
body.seo-report-page .grey-item {
  margin: 0 !important;
  padding: 12px 24px;
  font-size: 14px;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-radius: 0 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  overflow-x: visible !important;
  transition: background 0.15s;
}
body.seo-report-page .yes-item:last-child,
body.seo-report-page .no-item:last-child,
body.seo-report-page .grey-item:last-child {
  border-bottom: none;
}
body.seo-report-page .yes-item {
  background: var(--rpt-success-bg);
  border-left: 3px solid var(--rpt-success);
}
body.seo-report-page .yes-item:hover { background: #e6f9ed; }
body.seo-report-page .yes-thumb {
  color: var(--rpt-success) !important;
  font-size: 16px !important;
  flex-shrink: 0;
  margin-top: 2px;
}
body.seo-report-page .no-item {
  background: var(--rpt-danger-bg);
  border-left: 3px solid var(--rpt-danger);
}
body.seo-report-page .no-item:hover { background: #fee2e2; }
body.seo-report-page .no-thumb {
  color: var(--rpt-danger) !important;
  font-size: 16px !important;
  flex-shrink: 0;
  margin-top: 2px;
}
body.seo-report-page .grey-item {
  background: var(--rpt-info-bg);
  border-left: 3px solid #94a3b8;
}
body.seo-report-page .grey-item:nth-child(2n) { background: #f1f5f9; }
body.seo-report-page .grey-item:hover { background: #e8edf4; }
body.seo-report-page .grey-item .no-thumb { color: #64748b !important; }
body.seo-report-page .img_url {
  color: var(--rpt-muted);
  font-size: 12px;
  word-break: break-all;
}

/* Blockquotes */
body.seo-report-page blockquote {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-left: 4px solid var(--rpt-primary);
  border-radius: var(--rpt-radius-sm);
  padding: 16px 20px;
  margin: 16px 0;
  font-size: 14px;
  color: var(--rpt-text);
}
body.seo-report-page blockquote strong {
  display: inline-block;
  background: var(--rpt-primary);
  color: #fff;
  padding: 2px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* Word frequency table */
body.seo-report-page .wpseopropeller-top-word-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 8px;
}
body.seo-report-page .wpseopropeller-top-word-list .table {
  width: 100%;
  background: #fff;
  border-radius: var(--rpt-radius-sm);
  overflow: hidden;
  box-shadow: var(--rpt-shadow);
  border-collapse: separate;
  border-spacing: 0;
}
body.seo-report-page .wpseopropeller-top-word-list .table tbody td {
  padding: 10px 16px !important;
  font-size: 14px;
  text-align: left !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  font-family: var(--rpt-font);
}
body.seo-report-page .wpseopropeller-top-word-list .table tbody td:first-child {
  font-weight: 600;
  color: var(--rpt-primary-dark);
}
body.seo-report-page .wpseopropeller-top-word-list .table tbody td:last-child {
  text-align: center !important;
  font-weight: 700;
  color: var(--rpt-primary);
  background: rgba(0, 93, 172, 0.04);
  min-width: 60px;
}
body.seo-report-page .wpseopropeller-top-word-list .table tbody tr:nth-child(even) {
  background: #fafbfc;
}

/* Recommendations */
body.seo-report-page .well {
  background: #fff !important;
  border: none !important;
  border-radius: var(--rpt-radius) !important;
  box-shadow: var(--rpt-shadow) !important;
  padding: 28px !important;
  margin: 32px 0 !important;
}
body.seo-report-page .well > h4,
body.seo-report-page .well > .report_h {
  background: none !important;
  color: var(--rpt-primary-dark) !important;
  font-size: 18px !important;
  font-weight: 700;
  margin-bottom: 20px !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
  gap: 10px;
}
body.seo-report-page .well .head-icon {
  color: var(--rpt-accent) !important;
  font-size: 20px !important;
}

/* Task list */
body.seo-report-page .task-list- {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  margin: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
  border-radius: 0 !important;
  background: transparent !important;
  font-size: 14px;
  line-height: 1.6;
  color: var(--rpt-text);
}
body.seo-report-page .task-list-:hover { background: rgba(0, 93, 172, 0.03) !important; }
body.seo-report-page .task-list-:nth-child(2n+1) { background: rgba(0, 0, 0, 0.015) !important; }
body.seo-report-page .task-list-:last-child { border-bottom: none !important; }
body.seo-report-page .circle-icon {
  color: var(--rpt-accent) !important;
  font-size: 8px !important;
  margin-right: 0 !important;
  margin-top: 7px;
  flex-shrink: 0;
}

/* Page header override */
body.seo-report-page .page-header { display: none; }
body.seo-report-page .header__container { margin-bottom: 0; }

/* Content area */
body.seo-report-page #primary .site-main {
  padding-top: 0;
  padding-bottom: 48px;
}
body.seo-report-page .article__content > br,
body.seo-report-page .wpseopropeller > br,
body.seo-report-page .entry-content > br { display: none; }
body.seo-report-page .seo-propeller-report-list + br { display: none; }

/* CTA section */
.report-cta {
  margin: 48px calc(-50vw + 50%) 0;
  padding: 56px calc(50vw - 50%);
  background: linear-gradient(160deg, #011a35 0%, #005DAC 50%, #003d72 100%);
  font-family: var(--rpt-font);
  color: #fff;
}
.report-cta__inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}
.report-cta__title {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.2;
}
.report-cta__subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 28px;
}
.report-cta__benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.report-cta__benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
}
.report-cta__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.report-cta__contacts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.report-cta__phone {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
.report-cta__phone:hover { color: #ffb400; text-decoration: none; }
.report-cta__messengers {
  display: flex;
  gap: 8px;
}
.report-cta__msg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  transition: transform 0.15s;
}
.report-cta__msg:hover { transform: translateY(-1px); text-decoration: none; color: #fff; }
.report-cta__msg--tg { background: #2AABEE; box-shadow: 0 4px 14px rgba(42, 171, 238, 0.35); }
.report-cta__msg--wa { background: #25D366; box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35); }

/* Form card */
.report-cta__form-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}
.report-cta__form-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--rpt-primary-dark);
  margin: 0 0 6px;
}
.report-cta__form-desc {
  font-size: 14px;
  color: var(--rpt-muted);
  margin: 0 0 24px;
}
.report-cta__btn {
  display: block;
  width: 100%;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  color: var(--rpt-primary-dark);
  background: #fff;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.18);
  transition: transform 0.1s;
  font-family: var(--rpt-font);
}
.report-cta__btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--rpt-primary-dark);
}

/* Contact form */
body.seo-report-page .form {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 2rem 0;
  padding: 2rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--rpt-radius);
  box-shadow: var(--rpt-shadow);
  font-family: var(--rpt-font);
}
body.seo-report-page .form .colf .me {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--rpt-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
body.seo-report-page .form .colf1 .wpcf7-submit {
  width: 100%;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--rpt-primary), var(--rpt-primary-dark));
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 93, 172, 0.3);
  transition: transform 0.1s;
  font-family: var(--rpt-font);
}
body.seo-report-page .form .colf1 .wpcf7-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 93, 172, 0.4);
}

/* Responsive */
@media (max-width: 960px) {
  body.seo-report-page .wpseopropeller > .row:first-child {
    padding: 32px calc(50vw - 50%);
    gap: 20px;
  }
  body.seo-report-page .wpseopropeller > .row:first-child > .col-md-4,
  body.seo-report-page .wpseopropeller > .row:first-child > .col-xs-12.col-md-4 {
    flex: 0 0 220px;
    max-width: 220px;
  }
  body.seo-report-page .wpseopropeller > .row:first-child > .col-md-3,
  body.seo-report-page .wpseopropeller > .row:first-child > .col-xs-12.col-md-3 {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .report-cta__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  body.seo-report-page .wpseopropeller > .row:first-child {
    padding: 24px 16px;
    flex-direction: column;
  }
  body.seo-report-page .wpseopropeller > .row:first-child > .col-md-4,
  body.seo-report-page .wpseopropeller > .row:first-child > .col-xs-12.col-md-4 {
    flex: 1 1 100%;
    max-width: 100%;
  }
  body.seo-report-page .yes-item,
  body.seo-report-page .no-item,
  body.seo-report-page .grey-item {
    padding: 10px 14px;
    font-size: 13px;
  }
  body.seo-report-page .panel-heading { padding: 12px 16px; }
  body.seo-report-page .report_h { font-size: 15px !important; }
  body.seo-report-page .well { padding: 20px !important; }
  .report-cta { padding: 36px 16px; }
  body.seo-report-page .form { flex-direction: column; }
}
