/*
Theme Name: HayMark Theme
Author: HayMark
Description: Тема для сайта SaaS-сервиса по маркировке Честный Знак
Version: 1.10.00
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags:
*/

:root {
  --hm-bg: #f8fafc;
  --hm-text: #0f172a;
  --hm-muted: #64748b;
  --hm-line: #dbe4ee;
  --hm-accent: #2563eb;
  --hm-accent-2: #14b8a6;
  --hm-dark: #020617;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  color: var(--hm-text);
  background: var(--hm-bg);
}

html {
  scroll-behavior: smooth;
}

a {
  transition: color 0.2s ease, opacity 0.2s ease;
}

.himark-yoast-breadcrumbs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 26px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(209, 223, 242, 0.92);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.07);
  color: #64748b;
  font-size: 14px;
  backdrop-filter: blur(10px);
}

.himark-yoast-breadcrumbs a {
  color: #475569;
  text-decoration: none;
  font-weight: 600;
}

.himark-yoast-breadcrumbs a:hover {
  color: #0f172a;
}

.himark-yoast-breadcrumbs .breadcrumb_last,
.himark-yoast-breadcrumbs strong {
  color: #0f172a;
  font-weight: 700;
}

.himark-yoast-breadcrumbs .separator {
  color: #94a3b8;
}

.hm-inline-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.2em;
  margin-right: 6px;
  color: #2563eb;
  font-weight: 700;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  color: #333;
}

table thead {
  background-color: #f5f5f5;
}

table th, table td {
  padding: 12px 16px;
  border: 1px solid #ccc;
  text-align: left;
}

table th {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

table tbody tr:nth-child(even) {
  background-color: #fafafa;
}

table tbody tr:hover {
  background-color: #f0f0f0;
}

.himark-service-hero {
  position: relative;
  overflow: hidden;
  padding: 42px 0 46px;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.22), transparent 32%),
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.18), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
}

.himark-service-hero--meat {
  background:
    radial-gradient(circle at top left, rgba(185, 28, 28, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.16), transparent 24%),
    linear-gradient(180deg, #fff8f8 0%, #eef5ff 100%);
}

.himark-service-hero--milk {
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.14), transparent 24%),
    linear-gradient(180deg, #fbfeff 0%, #eef8ff 100%);
}

.himark-service-hero--parts {
  background:
    radial-gradient(circle at top left, rgba(249, 115, 22, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.18), transparent 24%),
    linear-gradient(180deg, #fffaf5 0%, #eef5ff 100%);
}

.himark-service-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.himark-service-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 36px;
  padding: 86px 0 82px;
}

.hm-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

.hm-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.himark-service-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(245, 250, 255, 0.92) 100%);
  border: 1px solid rgba(213, 227, 247, 0.9);
  border-radius: 30px;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(37, 99, 235, 0.1);
  backdrop-filter: blur(14px);
}

.himark-service-panel-wide {
  margin-top: 28px;
  padding: 30px 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(241, 247, 255, 0.97) 100%);
  box-shadow:
    0 28px 70px rgba(37, 99, 235, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.himark-service-panel-head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
  gap: 22px;
  align-items: end;
}

.himark-service-panel-head h3 {
  margin: 10px 0 0;
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.himark-service-panel-note {
  align-self: center;
  padding: 16px 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(45, 212, 191, 0.08));
  border: 1px solid rgba(191, 219, 254, 0.95);
  color: #475569;
  font-size: 15px;
  line-height: 1.6;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.08);
}

.himark-service-stack {
  display: grid;
  gap: 16px;
}

.himark-service-highlight {
  padding: 24px 26px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.24), transparent 34%),
    linear-gradient(135deg, #2563eb 0%, #0f172a 62%, #08122f 100%);
  color: #fff;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.himark-service-highlight-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.himark-service-highlight-badge,
.himark-service-highlight-live {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.himark-service-highlight-badge {
  background: rgba(255, 255, 255, 0.14);
  color: #dbeafe;
}

.himark-service-highlight-live {
  background: rgba(45, 212, 191, 0.16);
  color: #99f6e4;
}

.himark-service-highlight strong {
  display: block;
  margin-top: 18px;
  font-size: 28px;
  line-height: 1.2;
  color: #fff;
}

.himark-service-highlight-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.himark-service-highlight-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #dbeafe;
  line-height: 1.65;
}

.himark-service-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.himark-service-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #d8e4f4;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.07);
  color: #334155;
  font-size: 14px;
  font-weight: 700;
}

.himark-service-bullets {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.himark-service-bullets-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.himark-service-bullet {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #334155;
  line-height: 1.7;
}

.himark-service-bullet-card {
  height: 100%;
  padding: 20px 20px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(209, 223, 241, 0.95);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.08);
}

.himark-service-bullet strong {
  color: #0f172a;
}

.himark-service-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--hm-accent), var(--hm-accent-2));
  margin-top: 9px;
  flex: 0 0 10px;
}

.himark-service-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.himark-service-proof-card {
  padding: 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #d8e4f4;
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.08);
}

.himark-service-proof-card strong {
  display: block;
  font-size: 26px;
  line-height: 1;
}

.himark-service-proof-card span {
  display: block;
  margin-top: 10px;
  color: var(--hm-muted);
  line-height: 1.6;
}

.himark-service-sidecard {
  border-radius: 28px;
  padding: 28px;
  background: linear-gradient(180deg, #08122f 0%, #0f172a 100%);
  color: #fff;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.18);
}

.himark-service-sidecard h3,
.himark-service-sidecard p,
.himark-service-sidecard li {
  color: inherit;
}

.himark-service-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.himark-service-list li {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.himark-service-list li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-right: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #7dd3fc;
  font-size: 12px;
  font-weight: 800;
  vertical-align: middle;
}

.himark-service-cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.himark-service-cta-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbe5f3;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 18px 44px rgba(37, 99, 235, 0.07);
}

.himark-section-accent {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.14), transparent 28%),
    radial-gradient(circle at bottom right, rgba(20, 184, 166, 0.12), transparent 30%),
    linear-gradient(180deg, #f5f9ff 0%, #edf5ff 100%);
}

.himark-section-accent::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.himark-section-accent .himark-container {
  position: relative;
  z-index: 1;
}

.himark-service-cta-card h3 {
  margin-top: 0;
}

.himark-service-editor {
  margin-top: 36px;
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbe6f4;
  border-radius: 34px;
  padding: 34px;
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.07);
  overflow: hidden;
}

.himark-service-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.himark-service-editor {
  margin-top: 0;
}

.himark-service-editor::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, #2563eb, #14b8a6);
}

.himark-service-editor > :first-child {
  margin-top: 0;
}

.himark-service-editor > :last-child {
  margin-bottom: 0;
}

.himark-service-editor > * + * {
  margin-top: 18px;
}

.himark-service-editor h2,
.himark-service-editor h3,
.himark-service-editor h4 {
  position: relative;
  margin-top: 36px;
  margin-bottom: 16px;
  color: #0f172a;
  letter-spacing: -0.03em;
}

.himark-service-editor p,
.himark-service-editor li {
  color: #334155;
  line-height: 1.8;
  font-size: 18px;
}

.himark-service-editor ul,
.himark-service-editor ol {
  margin: 20px 0;
  padding-left: 0;
  list-style: none;
}

.himark-service-editor ul li,
.himark-service-editor ol li {
  position: relative;
  padding-left: 30px;
}

.himark-service-editor ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #14b8a6);
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.09);
}

.himark-service-editor ol {
  counter-reset: hm-editor-list;
}

.himark-service-editor ol li::before {
  counter-increment: hm-editor-list;
  content: counter(hm-editor-list);
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(20, 184, 166, 0.14));
  color: #2563eb;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.himark-service-editor strong {
  color: #0f172a;
  font-weight: 800;
}

.himark-service-editor a {
  color: #2563eb;
  font-weight: 700;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.himark-service-editor a:hover {
  color: #14b8a6;
}

.himark-service-editor h2 {
  font-size: clamp(32px, 3vw, 42px);
  line-height: 1.08;
}

.himark-service-editor h3 {
  font-size: clamp(24px, 2.2vw, 31px);
  line-height: 1.15;
}

.himark-service-editor h4 {
  font-size: 22px;
  line-height: 1.22;
}

.himark-service-editor h2::before,
.himark-service-editor h3::before {
  content: "";
  display: inline-block;
  width: 42px;
  height: 4px;
  margin: 0 0 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563eb, #14b8a6);
  vertical-align: top;
}

.himark-service-editor blockquote {
  margin: 26px 0;
  padding: 24px 26px 24px 78px;
  border: 1px solid #d9e5f4;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f3f9ff 100%);
  color: #1e293b;
  position: relative;
  box-shadow: 0 16px 38px rgba(37, 99, 235, 0.08);
}

.himark-service-editor blockquote::before {
  content: "“";
  position: absolute;
  left: 26px;
  top: 18px;
  color: #2563eb;
  font-size: 58px;
  line-height: 1;
  font-weight: 800;
  opacity: 0.22;
}

.himark-service-editor blockquote p {
  margin: 0;
  color: #1e293b;
}

.himark-service-editor hr {
  margin: 34px 0;
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0), rgba(37, 99, 235, 0.22), rgba(20, 184, 166, 0));
}

.himark-service-editor table {
  width: 100%;
  display: block;
  overflow-x: auto;
  margin: 26px 0;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #d8e4f4;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.05);
}

.himark-service-editor table tbody,
.himark-service-editor table thead {
  width: 100%;
}

.himark-service-editor table tr {
  background: #fff;
}

.himark-service-editor table th,
.himark-service-editor table td {
  min-width: 180px;
  padding: 18px 20px;
  border-bottom: 1px solid #e5edf8;
  border-right: 1px solid #e5edf8;
  color: #334155;
  font-size: 16px;
  line-height: 1.6;
  vertical-align: top;
}

.himark-service-editor table th:last-child,
.himark-service-editor table td:last-child {
  border-right: 0;
}

.himark-service-editor table tr:last-child td {
  border-bottom: 0;
}

.himark-service-editor table th {
  background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
  color: #0f172a;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.himark-service-editor table tbody tr:nth-child(even) {
  background: #fbfdff;
}

.himark-service-editor table tbody tr:hover {
  background: #f5faff;
}

.himark-service-editor img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
}

.himark-service-editor .wp-caption,
.himark-service-editor figure {
  margin: 28px 0;
}

.himark-service-editor figcaption,
.himark-service-editor .wp-caption-text {
  margin-top: 12px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
}

.himark-service-scheme-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.himark-service-scheme-card {
  padding: 28px;
  border-radius: 30px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid #dbe6f4;
  box-shadow: 0 20px 46px rgba(37, 99, 235, 0.08);
}

.himark-service-scheme-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.himark-service-scheme-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: #0f172a;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  flex: 0 0 54px;
}

.himark-service-scheme-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(20, 184, 166, 0.12));
  border: 1px solid rgba(191, 219, 254, 0.95);
  color: #2563eb;
  font-size: 22px;
  flex: 0 0 52px;
}

.himark-service-scheme-card h3 {
  margin: 22px 0 0;
  font-size: 28px;
  line-height: 1.18;
}

.himark-service-scheme-card p {
  margin: 14px 0 0;
  color: #475569;
  line-height: 1.8;
}

.himark-service-aside {
  display: grid;
  gap: 18px;
}

.himark-service-expert,
.himark-service-aside-box,
.himark-service-quiz-result {
  background: #fff;
  border: 1px solid var(--hm-line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.05);
}

.himark-service-expert {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.himark-service-expert-photo {
  width: 92px;
  height: 92px;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(20, 184, 166, 0.16));
}

.himark-service-expert-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.himark-service-expert h3,
.himark-service-aside-box h3 {
  margin-top: 10px;
  margin-bottom: 10px;
}

.himark-service-expert-role,
.himark-service-expert-exp {
  color: var(--hm-muted);
  line-height: 1.6;
}

.himark-service-expert p {
  margin-top: 14px;
  color: #334155;
  line-height: 1.75;
}

.himark-service-list-light li {
  background: linear-gradient(180deg, #f8fbff 0%, #f3f8ff 100%);
  border-color: #d5e3f7;
  color: #334155;
}

.himark-service-list-light li::before {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(20, 184, 166, 0.14));
  color: #2563eb;
}

.himark-service-faq {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #d9e5f4;
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 18px 48px rgba(37, 99, 235, 0.08);
}

.himark-service-faq h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 22px;
}

.himark-service-faq h3:not(:first-child) {
  margin-top: 28px;
}

.himark-service-faq p {
  color: #475569;
  line-height: 1.8;
}

.himark-service-faq h3::before {
  content: "?";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-right: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(20, 184, 166, 0.14));
  color: #2563eb;
  font-size: 15px;
  font-weight: 800;
  vertical-align: middle;
}

.himark-service-faq-list {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.himark-service-faq-card {
  padding: 26px 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbe6f4;
  box-shadow: 0 18px 42px rgba(37, 99, 235, 0.07);
}

.himark-service-faq-card h3 {
  margin: 0;
  padding-left: 38px;
  position: relative;
  font-size: 26px;
  line-height: 1.24;
}

.himark-service-faq-card h3::before {
  content: "?";
  position: absolute;
  left: 0;
  top: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #14b8a6);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.himark-service-faq-card div,
.himark-service-faq-card p {
  color: #475569;
  line-height: 1.82;
}

.himark-service-faq-card div {
  margin-top: 14px;
}

.himark-service-quiz {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 24px;
  align-items: start;
}

.himark-service-quiz-shell {
  padding: 18px;
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(227, 240, 255, 0.88));
  border: 1px solid rgba(37, 99, 235, 0.12);
  box-shadow: 0 30px 80px rgba(37, 99, 235, 0.12);
}

.himark-service-quiz .himark-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-radius: 28px;
  border-color: #d8e4f4;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.92);
}

.himark-form-label {
  display: block;
  margin-bottom: 8px;
  color: #475569;
  font-size: 14px;
  font-weight: 700;
}

.himark-service-quiz .himark-input,
.himark-service-quiz .himark-select {
  height: 64px;
  border-radius: 22px;
  border-color: #c7d7ea;
  background: #fff;
  font-size: 17px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.himark-quiz-support {
  margin-top: auto;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, #f8fbff 0%, #f1f7ff 100%);
  border: 1px solid #d7e4f5;
}

.himark-quiz-support-head strong {
  display: block;
  font-size: 22px;
  color: #0f172a;
}

.himark-quiz-support-head span {
  display: block;
  margin-top: 10px;
  color: #475569;
  line-height: 1.7;
}

.himark-quiz-support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.himark-quiz-support-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #dbe6f4;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.06);
}

.himark-quiz-support-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(20, 184, 166, 0.14));
  color: #2563eb;
  font-weight: 800;
  flex: 0 0 38px;
}

.himark-quiz-support-item strong {
  display: block;
  color: #0f172a;
  font-size: 16px;
}

.himark-quiz-support-item span {
  display: block;
  margin-top: 6px;
  color: #64748b;
  line-height: 1.6;
  font-size: 14px;
}

.himark-service-quiz-result {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #08122f 0%, #0f172a 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 64px rgba(8, 18, 47, 0.28);
}

.himark-service-quiz-result::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -50px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.34) 0%, rgba(96, 165, 250, 0) 68%);
  pointer-events: none;
}

.himark-service-quiz-result h3 {
  position: relative;
  margin-top: 12px;
  margin-bottom: 18px;
  color: #fff;
}

.himark-service-quiz-metric {
  position: relative;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.himark-service-quiz-metric + .himark-service-quiz-metric {
  margin-top: 14px;
}

.himark-service-quiz-metric strong {
  display: block;
  font-size: 32px;
  line-height: 1;
}

.himark-service-quiz-metric span,
.himark-service-quiz-note {
  display: block;
  margin-top: 10px;
  color: #cbd5e1;
  line-height: 1.7;
}

.himark-service-quiz-note {
  position: relative;
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.himark-basic-page {
  background: #f7f8fc;
  color: #1f2430;
}

.himark-basic-hero {
  padding: 52px 0 26px;
  background: #fff;
  border-bottom: 1px solid #e7ebf3;
}

.himark-basic-hero-accent {
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.1), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
}

.himark-basic-breadcrumbs {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 16px;
}

.himark-basic-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.himark-basic-title {
  margin: 0 0 12px;
  font-size: 44px;
  line-height: 1.1;
}

.himark-basic-excerpt {
  max-width: 820px;
  color: #4b5563;
  font-size: 18px;
}

.himark-basic-wrap {
  padding: 40px 0 60px;
}

.himark-basic-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.himark-basic-content,
.himark-basic-box {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  border: 1px solid var(--hm-line);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}

.himark-basic-sidebar {
  display: grid;
  gap: 18px;
}

.himark-basic-content h2,
.himark-basic-content h3,
.himark-basic-content h4 {
  margin-top: 28px;
  margin-bottom: 14px;
}

.himark-basic-content p,
.himark-basic-content li,
.himark-basic-box p,
.himark-basic-box li {
  color: #334155;
  line-height: 1.8;
}

.himark-basic-box h3 {
  margin-top: 0;
}

.himark-basic-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.himark-basic-list a {
  text-decoration: none;
  color: #0f172a;
}

.himark-cases-intro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.himark-cases-intro-card {
  padding: 24px 26px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbe6f4;
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.08);
}

.himark-cases-intro-card strong {
  display: block;
  font-size: 22px;
  color: #0f172a;
}

.himark-cases-intro-card p {
  margin: 12px 0 0;
  color: #475569;
  line-height: 1.75;
}

.himark-cases-archive {
  display: grid;
  gap: 24px;
  margin-top: 38px;
}

.himark-case-card-archive {
  padding: 30px;
  border-radius: 30px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbe6f4;
  box-shadow: 0 22px 48px rgba(37, 99, 235, 0.08);
}

.himark-case-card-top,
.himark-case-meta-row,
.himark-case-card-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.himark-case-period {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 13px;
  font-weight: 700;
}

.himark-case-card-archive h2 {
  margin: 18px 0 0;
  font-size: 36px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.himark-case-meta-row {
  margin-top: 16px;
  color: #475569;
  font-size: 15px;
}

.himark-case-meta-row strong {
  color: #0f172a;
}

.himark-case-card-text {
  margin-top: 18px;
}

.himark-case-card-text p {
  margin: 0;
  color: #475569;
  line-height: 1.8;
}

.himark-case-metrics-archive {
  margin-top: 22px;
}

.himark-faq-landing {
  margin-top: 38px;
  padding: 32px;
  border-radius: 32px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbe6f4;
  box-shadow: 0 22px 48px rgba(37, 99, 235, 0.08);
}

.hm-registry-page .himark-service-editor {
  padding-top: 32px;
}

.hm-registry-hero {
  padding-bottom: 56px;
}

.hm-registry-highlight {
  padding: 30px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.98) 0%, rgba(24, 37, 68, 0.96) 100%);
  border: 1px solid rgba(96, 165, 250, 0.2);
  box-shadow: 0 28px 64px rgba(15, 23, 42, 0.2);
  color: #fff;
}

.hm-registry-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 360px;
  gap: 28px;
  align-items: start;
}

.hm-registry-intro-side {
  display: grid;
  gap: 20px;
}

.hm-registry-info-card {
  padding: 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid #dbe6f4;
  box-shadow: 0 18px 44px rgba(37, 99, 235, 0.07);
}

.hm-registry-info-card h3 {
  margin: 10px 0 0;
  font-size: 28px;
  line-height: 1.14;
}

.hm-registry-steps {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: hm-registry-steps;
}

.hm-registry-steps li {
  position: relative;
  margin-top: 16px;
  padding-left: 44px;
  color: #334155;
  line-height: 1.75;
}

.hm-registry-steps li::before {
  counter-increment: hm-registry-steps;
  content: counter(hm-registry-steps);
  position: absolute;
  left: 0;
  top: 2px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563eb, #14b8a6);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.hm-registry-search-section {
  position: relative;
}

.hm-registry-search-shell {
  position: relative;
  margin-top: 34px;
  padding: 22px;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(231, 242, 255, 0.92));
  border: 1px solid rgba(37, 99, 235, 0.12);
  box-shadow: 0 30px 80px rgba(37, 99, 235, 0.12);
}

.hm-registry-search-shell.is-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

.hm-registry-search-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.hm-registry-search-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  min-height: 58px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #dbe6f4;
  color: #64748b;
  font-size: 15px;
}

.hm-registry-count {
  color: #0f172a;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hm-registry-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hm-registry-filter {
  appearance: none;
  border: 1px solid #d7e2f2;
  background: rgba(255, 255, 255, 0.88);
  color: #334155;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.hm-registry-filter:hover,
.hm-registry-filter.is-active {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, 0.26);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.1);
}

.hm-registry-filter.is-active {
  background: linear-gradient(90deg, #2563eb, #14b8a6);
  color: #fff;
}

.hm-registry-table-wrap {
  margin-top: 20px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid #dbe6f4;
  background: #fff;
  box-shadow: 0 24px 52px rgba(15, 23, 42, 0.08);
}

.hm-registry-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.hm-registry-table thead th {
  padding: 18px 18px;
  text-align: left;
  background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid #dbe6f4;
}

.hm-registry-table tbody td {
  padding: 20px 18px;
  color: #334155;
  border-bottom: 1px solid #e6eef8;
  vertical-align: top;
  line-height: 1.7;
}

.hm-registry-table tbody tr:last-child td {
  border-bottom: 0;
}

.hm-registry-table tbody tr:nth-child(even) td {
  background: #fbfdff;
}

.hm-registry-table tbody tr:hover td {
  background: #f5faff;
}

.hm-registry-group-cell {
  min-width: 160px;
}

.hm-registry-chip-sm {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(20, 184, 166, 0.11));
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 800;
}

.hm-registry-link-wrap {
  margin-top: 8px;
}

.hm-registry-link-wrap a {
  color: #2563eb;
  font-weight: 700;
  text-decoration: none;
}

.hm-registry-link-wrap a:hover {
  color: #14b8a6;
}

.hm-registry-empty {
  padding: 18px 4px;
  color: #64748b;
  line-height: 1.7;
}

.himark-faq-landing-list {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.himark-faq-landing-list h3 {
  margin: 0;
  padding: 22px 24px 0;
  font-size: 24px;
  line-height: 1.3;
  color: #0f172a;
}

.himark-faq-landing-list p {
  margin: 0;
  padding: 10px 24px 24px;
  color: #475569;
  line-height: 1.8;
}

.himark-faq-landing-list h3 + p {
  border-radius: 0 0 24px 24px;
}

.himark-faq-landing-list h3,
.himark-faq-landing-list h3 + p {
  background: #fff;
  border: 1px solid #dbe6f4;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.himark-faq-landing-list h3 {
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
}

.hm-article-page {
  background: linear-gradient(180deg, #f8fbff 0%, #f4f8fc 100%);
  color: #0f172a;
}

.hm-article-hero {
  padding: 48px 0 30px;
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.12), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
  border-bottom: 1px solid #dbe6f4;
}

.hm-article-breadcrumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  color: #64748b;
  font-size: 14px;
}

.hm-article-breadcrumbs a {
  color: #475569;
  text-decoration: none;
}

.hm-article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 34px;
  align-items: center;
  margin-top: 24px;
}

.hm-article-kickers,
.hm-article-meta,
.hm-article-tags,
.hm-article-related {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hm-article-chip {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #dbe6f4;
  color: #475569;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.06);
}

.hm-article-chip-accent {
  background: linear-gradient(90deg, #2563eb, #14b8a6);
  color: #fff;
  border-color: transparent;
  text-decoration: none;
}

.hm-article-title {
  margin: 20px 0 0;
  font-size: 58px;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hm-article-lead {
  margin: 20px 0 0;
  max-width: 860px;
  color: #475569;
  font-size: 20px;
  line-height: 1.8;
}

.hm-article-meta {
  margin-top: 24px;
}

.hm-article-meta-item {
  min-width: 170px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #dbe6f4;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.06);
}

.hm-article-meta-label {
  display: block;
  color: #64748b;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.hm-article-meta-item strong {
  display: block;
  margin-top: 8px;
  font-size: 18px;
}

.hm-article-cover {
  min-height: 100%;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid #dbe6f4;
  box-shadow: 0 24px 60px rgba(37, 99, 235, 0.12);
  background: linear-gradient(135deg, #08122f 0%, #0f172a 100%);
}

.hm-article-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hm-article-cover-placeholder {
  display: flex;
  align-items: stretch;
}

.hm-article-cover-box {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  min-height: 100%;
  padding: 34px;
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(45, 212, 191, 0.24), transparent 34%),
    radial-gradient(circle at left bottom, rgba(37, 99, 235, 0.34), transparent 36%),
    linear-gradient(135deg, #08122f 0%, #0f172a 100%);
}

.hm-article-cover-box strong {
  font-size: 32px;
  line-height: 1.1;
}

.hm-article-cover-box span {
  color: #cbd5e1;
  line-height: 1.8;
}

.hm-article-body-wrap,
.hm-article-author-wrap,
.hm-article-faq-wrap,
.hm-article-related-wrap {
  padding: 34px 0 0;
}

.hm-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.hm-article-content,
.hm-article-sidebar-box,
.hm-article-author,
.hm-article-faq,
.hm-article-related-card,
.hm-article-toc {
  background: #fff;
  border-radius: 28px;
  border: 1px solid #dbe6f4;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
}

.hm-article-content {
  padding: 32px;
}

.hm-article-content h2,
.hm-article-content h3,
.hm-article-content h4 {
  margin-top: 32px;
  margin-bottom: 16px;
  scroll-margin-top: 110px;
}

.hm-article-content h2 {
  font-size: 36px;
  line-height: 1.14;
}

.hm-article-content h3 {
  font-size: 28px;
  line-height: 1.2;
}

.hm-article-content p,
.hm-article-content li {
  color: #334155;
  font-size: 17px;
  line-height: 1.85;
}

.hm-article-content ul,
.hm-article-content ol {
  padding-left: 22px;
}

.hm-article-content blockquote {
  margin: 26px 0;
  padding: 22px 24px;
  border-left: 4px solid #2563eb;
  background: #f8fbff;
  border-radius: 20px;
  color: #0f172a;
}

.hm-article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 22px;
}

.hm-article-toc {
  position: sticky;
  top: 110px;
  padding: 24px;
}

.hm-article-toc-mobile {
  display: none;
  position: static;
  margin-bottom: 22px;
}

.hm-article-toc-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
}

.hm-article-toc ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}

.hm-article-toc li a {
  color: #475569;
  text-decoration: none;
  line-height: 1.55;
}

.hm-article-toc li.level-3 {
  padding-left: 14px;
}

.hm-article-sidebar {
  display: grid;
  gap: 18px;
}

.hm-article-sidebar-box {
  padding: 24px;
}

.hm-article-sidebar-box h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 24px;
}

.hm-article-sidebar-box p,
.hm-article-sidebar-box li {
  color: #475569;
  line-height: 1.8;
}

.hm-article-tags {
  margin-top: 30px;
}

.hm-article-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.hm-article-author {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 28px;
}

.hm-article-author-avatar img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 28px;
  display: block;
}

.hm-article-author-copy h2 {
  margin: 12px 0 0;
  font-size: 34px;
}

.hm-article-author-copy p {
  margin-top: 14px;
  color: #475569;
  line-height: 1.8;
}

.hm-article-faq {
  padding: 30px;
  display: grid;
  gap: 16px;
}

.hm-article-faq-item {
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbe6f4;
}

.hm-article-faq-item h3 {
  margin: 0;
  font-size: 24px;
}

.hm-article-faq-item div {
  margin-top: 12px;
  color: #475569;
  line-height: 1.8;
}

.hm-article-related {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.hm-article-related-card {
  padding: 26px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.hm-article-related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 52px rgba(37, 99, 235, 0.12);
}

.hm-article-related-meta {
  color: #64748b;
  font-size: 14px;
}

.hm-article-related-card h3 {
  margin: 14px 0 0;
  font-size: 24px;
  line-height: 1.2;
}

.hm-article-related-card p {
  margin: 14px 0 0;
  color: #475569;
  line-height: 1.75;
}

.hm-article-related-link {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  color: #1d4ed8;
  font-weight: 700;
}

.hm-category-page {
  background: linear-gradient(180deg, #f8fbff 0%, #f4f8fc 100%);
}

.hm-category-hero {
  padding: 48px 0 30px;
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.1), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f5faff 100%);
  border-bottom: 1px solid #dbe6f4;
}

.hm-category-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 28px;
  margin-top: 24px;
  align-items: start;
}

.hm-category-title {
  margin: 14px 0 0;
  font-size: 54px;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.hm-category-lead {
  margin: 20px 0 0;
  color: #475569;
  font-size: 19px;
  line-height: 1.85;
  max-width: 840px;
}

.hm-category-stats {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.hm-category-stat,
.hm-category-side,
.hm-category-card {
  background: #fff;
  border: 1px solid #dbe6f4;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
}

.hm-category-stat {
  min-width: 180px;
  padding: 18px 20px;
  border-radius: 22px;
}

.hm-category-stat strong {
  display: block;
  font-size: 28px;
}

.hm-category-stat span {
  display: block;
  margin-top: 8px;
  color: #64748b;
  line-height: 1.6;
}

.hm-category-side {
  border-radius: 28px;
  padding: 26px;
}

.hm-category-side h3 {
  margin: 0 0 12px;
  font-size: 28px;
}

.hm-category-list-wrap {
  padding: 34px 0 0;
}

.hm-category-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.hm-category-card {
  border-radius: 30px;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.hm-category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 56px rgba(37, 99, 235, 0.11);
}

.hm-category-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.hm-category-card-thumb img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.hm-category-card-body {
  padding: 24px;
}

.hm-category-card-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: #64748b;
  font-size: 14px;
}

.hm-category-card h2 {
  margin: 14px 0 0;
  font-size: 30px;
  line-height: 1.15;
}

.hm-category-card p {
  margin: 14px 0 0;
  color: #475569;
  line-height: 1.8;
}

.hm-category-card-more {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  color: #1d4ed8;
  font-weight: 700;
}

.hm-category-pagination {
  margin-top: 30px;
}

.hm-category-pagination ul {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.hm-category-pagination a,
.hm-category-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  padding: 12px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #dbe6f4;
  color: #334155;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.hm-category-pagination .current {
  background: linear-gradient(90deg, #2563eb, #14b8a6);
  color: #fff;
  border-color: transparent;
}

.wpcf7 {
  width: 100%;
}

.wpcf7 form {
  display: grid;
  gap: 12px;
}

.wpcf7-form p {
  margin: 0;
}

.wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  max-width: 100%;
  padding: 15px 18px;
  border-radius: 18px;
  border: 1px solid #c9d8ea;
  background: #fff;
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  color: #0f172a;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.wpcf7 textarea {
  min-height: 130px;
  resize: vertical;
}

.wpcf7 input:not([type="submit"]):focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.wpcf7 input[type="submit"] {
  width: 100%;
  padding: 16px 20px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(90deg, #0f172a 0%, #1d4ed8 100%);
  color: #fff;
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.wpcf7 input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.24);
}

.wpcf7 input[type="submit"]:active {
  transform: translateY(0) scale(0.985);
}

.wpcf7 input[type="submit"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14), 0 22px 48px rgba(15, 23, 42, 0.24);
}

.wpcf7-spinner {
  margin: 10px 0 0 !important;
}

.himark-modal-open {
  overflow: hidden;
}

.himark-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 9999;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.himark-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.himark-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.64);
  backdrop-filter: blur(10px);
}

.himark-modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  padding: 34px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #d9e5f4;
  box-shadow: 0 40px 100px rgba(2, 6, 23, 0.32);
}

.himark-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: #eff6ff;
  color: #0f172a;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.himark-modal-kicker {
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 800;
  color: #1d4ed8;
}

.himark-modal-title {
  margin: 16px 0 0;
  font-size: 38px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.himark-modal-text {
  margin: 18px 0 0;
  color: #475569;
  font-size: 18px;
  line-height: 1.75;
}

.himark-modal-form {
  margin-top: 22px;
}

@media (max-width: 1180px) {
  .himark-service-grid,
  .himark-service-cta-grid,
  .himark-service-content-grid,
  .himark-service-quiz,
  .himark-basic-grid {
    grid-template-columns: 1fr;
  }

  .himark-service-scheme-grid {
    grid-template-columns: 1fr;
  }

  .himark-cases-intro {
    grid-template-columns: 1fr;
  }

  .hm-article-hero-grid,
  .hm-article-layout,
  .hm-article-related,
  .hm-article-author,
  .hm-category-hero-grid,
  .hm-category-list,
  .hm-registry-intro {
    grid-template-columns: 1fr;
  }

  .hm-article-toc {
    position: static;
  }

  .hm-article-toc-mobile {
    display: block;
  }

  .hm-article-sidebar .hm-article-toc {
    display: none;
  }

  .himark-service-panel-head,
  .himark-service-bullets-grid {
    grid-template-columns: 1fr;
  }

  .himark-quiz-support-grid {
    grid-template-columns: 1fr;
  }

  .himark-service-editor {
    padding: 30px 26px;
  }
}

@media (max-width: 820px) {
  .himark-service-hero h1 {
    font-size: 38px !important;
  }

  .himark-service-proof {
    grid-template-columns: 1fr;
  }

  .himark-service-grid {
    padding: 54px 0 60px;
  }

  .himark-service-scheme-card,
  .himark-service-faq-card {
    padding: 24px 20px;
  }

  .himark-service-editor {
    padding: 24px 18px;
    border-radius: 26px;
  }

  .himark-service-editor p,
  .himark-service-editor li {
    font-size: 17px;
  }

  .himark-service-editor h2 {
    font-size: 30px;
  }

  .himark-service-editor h3 {
    font-size: 24px;
  }

  .himark-service-editor h4 {
    font-size: 20px;
  }

  .himark-service-editor blockquote {
    padding: 22px 18px 22px 56px;
    border-radius: 22px;
  }

  .himark-service-editor blockquote::before {
    left: 18px;
    top: 18px;
    font-size: 42px;
  }

  .himark-service-editor table th,
  .himark-service-editor table td {
    min-width: 150px;
    padding: 14px 14px;
    font-size: 15px;
  }

  .himark-service-scheme-card h3,
  .himark-service-faq-card h3 {
    font-size: 24px;
  }

  .hm-article-title {
    font-size: 42px;
  }

  .hm-category-title {
    font-size: 40px;
  }

  .hm-article-content,
  .hm-article-faq {
    padding: 24px 20px;
  }

  .hm-article-author {
    padding: 24px 20px;
  }

  .himark-case-card-archive {
    padding: 24px 20px;
  }

  .himark-case-card-archive h2 {
    font-size: 30px;
  }

  .himark-faq-landing {
    padding: 24px 20px;
  }

  .himark-service-panel-wide {
    margin-top: 22px;
    padding: 24px 20px;
  }

  .himark-service-panel-head h3 {
    font-size: 28px;
  }

  .himark-yoast-breadcrumbs {
    margin-bottom: 18px;
    padding: 8px 12px;
    font-size: 13px;
  }

  .himark-service-highlight strong {
    font-size: 24px;
  }

  .himark-service-trust {
    gap: 10px;
  }

  .himark-modal-dialog {
    padding: 26px 20px;
    border-radius: 24px;
  }

  .himark-modal-title {
    font-size: 30px;
  }

  .hm-registry-search-shell {
    padding: 16px;
    border-radius: 26px;
  }

  .hm-registry-search-bar {
    grid-template-columns: 1fr;
  }

  .hm-registry-search-meta {
    justify-content: flex-start;
  }

  .hm-registry-table-wrap {
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .hm-registry-table,
  .hm-registry-table thead,
  .hm-registry-table tbody,
  .hm-registry-table tr,
  .hm-registry-table th,
  .hm-registry-table td {
    display: block;
    width: 100%;
  }

  .hm-registry-table thead {
    display: none;
  }

  .hm-registry-table tbody {
    display: grid;
    gap: 16px;
  }

  .hm-registry-table tbody tr {
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid #dbe6f4;
    background: #fff;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.05);
  }

  .hm-registry-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid #edf3fb;
  }

  .hm-registry-table tbody td:last-child {
    border-bottom: 0;
  }

  .hm-registry-table tbody td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 8px;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }
}
