@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Lora:wght@500;600&display=swap");

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #eef6fa;
  --ink: #2b2b2b;
  --muted: #666666;
  --accent: #0ea4cc;
  --accent-2: #ffcc00;
  --line: #e5e5e5;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  --content: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
}

a {
  color: var(--accent);
}

img,
iframe {
  max-width: 100%;
}

.site-shell {
  width: min(calc(100% - 32px), var(--content));
  margin: 0 auto;
  padding: 24px 0 72px;
}

.public-page .site-shell {
  width: auto;
  margin: 0;
  padding: 0;
}

.public-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.public-header-inner,
.public-main {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
}

.public-header-inner {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: #444;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand-mark img {
  display: block;
  width: auto;
  max-width: 240px;
  max-height: 64px;
}

.brand-mark strong {
  color: var(--accent);
}

.public-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.public-nav a {
  color: #2f2f2f;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
}

.public-nav a.is-active {
  color: #fff;
  background: var(--accent);
  padding: 10px 18px;
  border-radius: 999px;
}

.public-nav .social-link {
  color: #999;
  font-weight: 700;
  font-size: 1.2rem;
  padding-left: 12px;
}

.public-main {
  padding: 32px 0 72px;
}

.public-content {
  font-size: 1rem;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  margin: 16px 0 28px;
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid rgba(215, 226, 232, 0.8);
  border-radius: 999px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.site-brand {
  text-decoration: none;
  color: var(--ink);
}

.site-brand strong {
  display: block;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-brand span {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-nav a {
  padding: 10px 14px;
  text-decoration: none;
  color: var(--ink);
  border-radius: 999px;
  background: var(--surface-2);
}

.hero,
.page-card {
  background: var(--surface);
  border: 1px solid rgba(215, 226, 232, 0.85);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
}

.hero {
  padding: 36px;
  margin-bottom: 28px;
}

.hero p {
  max-width: 68ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.page-card {
  padding: 28px;
}

.page-title {
  margin: 0 0 8px;
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 1.02;
}

.page-meta {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 0.95rem;
}

.content-body,
.richtext {
  line-height: 1.72;
  font-size: 1rem;
}

.content-body h1,
.content-body h2,
.content-body h3,
.content-body h4,
.content-body h5,
.content-body h6,
.richtext h1,
.richtext h2,
.richtext h3,
.richtext h4,
.richtext h5,
.richtext h6 {
  line-height: 1.16;
  margin: 1.5em 0 0.45em;
}

.content-body p,
.content-body ul,
.content-body ol,
.content-body blockquote,
.richtext p,
.richtext ul,
.richtext ol,
.richtext blockquote {
  margin: 0 0 1em;
}

.content-body blockquote,
.richtext blockquote {
  margin-left: 0;
  padding: 18px 22px;
  border-left: 4px solid var(--accent);
  background: rgba(238, 246, 250, 0.7);
  border-radius: 0 14px 14px 0;
}

.builder-note {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.9rem;
}

.vc-row,
.el-section {
  margin: 0;
  width: 100%;
}

.vc-row,
.el-section-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  width: 100%;
}

.vc-column,
.el-column {
  min-width: 0;
  flex: 1 1 100%;
  padding: 0 20px;
}

.el-section.has-bg {
  padding: 22px 0;
}

.el-section.valign-middle > .el-section-inner,
.el-column.valign-middle {
  align-items: center;
}

.el-column.align-center,
.el-widget.align-center {
  text-align: center;
}

.el-widget.align-right {
  text-align: right;
}

.spacer {
  height: 24px;
}

.block-title {
  margin: 0 0 16px;
  font-size: clamp(1.65rem, 2.5vw, 2.9rem);
  line-height: 1.2;
  text-align: center;
}

.cta-link,
.button,
.el-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.button,
.el-button {
  color: #fff;
}

.cta-link,
.public-footer .newsletter-form .button {
  background: var(--accent-2);
  color: #17323d;
}

.icon-box,
.contact-card,
.test-card,
.form-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(238, 246, 250, 0.6), rgba(255, 253, 248, 0.95));
}

.public-page .icon-box {
  border: 0;
  background: transparent;
  text-align: center;
  padding: 12px 16px 20px;
}

.public-page .icon-box.emphasis {
  background: rgba(14, 164, 204, 0.06);
  border: 1px solid rgba(14, 164, 204, 0.16);
}

.icon-glyph {
  display: grid;
  place-items: center;
  width: 140px;
  height: 140px;
  margin: 0 auto 18px;
  border-radius: 999px;
  color: #4d9ed1;
  font-size: 5rem;
  line-height: 1;
}

.icon-glyph.standalone {
  margin-bottom: 0;
}

.media-frame {
  margin: 0;
}

.media-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.icon-frame {
  width: 160px;
  margin: 0 auto 18px;
}

.icon-frame img {
  max-height: 150px;
  object-fit: contain;
}

.public-page .contact-card {
  margin-bottom: 24px;
}

.public-page .content-body p {
  font-size: 1.05rem;
}

.public-page .content-body .vc-row + .vc-row {
  margin-top: 18px;
}

.public-page .richtext,
.public-page .content-body {
  color: #555;
}

.public-page .video-embed {
  border-radius: 0;
}

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

.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.icon-list-mark {
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  margin-top: 0.55em;
  border-radius: 999px;
  background: var(--accent);
}

.countdown-card {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(235, 246, 255, 0.8);
  text-align: center;
}

.countdown-label {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.countdown-date {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.public-page hr {
  border: 0;
  border-top: 1px solid #d9e7ee;
  margin: 20px 0;
}

.contact-form,
.elementor-form,
.test-form {
  display: grid;
  gap: 14px;
}

.contact-form label,
.elementor-form label,
.test-form label {
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea,
.elementor-form input,
.elementor-form textarea,
.elementor-form select,
.test-form input[type="text"],
.test-form input[type="email"],
.test-form textarea,
.test-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  font: inherit;
  color: var(--ink);
}

.form-hint,
.test-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.form-intro {
  display: grid;
  gap: 10px;
  color: var(--muted);
  margin-bottom: 14px;
}

.form-intro p {
  margin: 0;
}

.test-question {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.test-question h3 {
  margin-top: 0;
  font-size: 1.05rem;
}

.test-options {
  display: grid;
  gap: 8px;
}

.legacy-kl-group {
  display: grid;
  gap: 16px;
}

.legacy-kl-question {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
}

.legacy-kl-question legend {
  padding: 0 8px;
  font-weight: 700;
}

.legacy-kl-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.legacy-kl-option {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  min-width: 56px;
  color: var(--ink) !important;
}

.legacy-kl-option input {
  width: auto;
}

.legacy-kl-select {
  display: grid;
  gap: 8px;
}

.legacy-kl-result {
  display: grid;
  gap: 16px;
}

.legacy-kl-result section {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
}

.test-results {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.media-grid {
  display: grid;
  gap: 18px;
}

.video-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--radius);
}

.footer-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.9rem;
}

.public-footer {
  margin-top: 48px;
  background: linear-gradient(180deg, rgba(10, 41, 57, 0.98), rgba(17, 57, 69, 0.98));
  color: rgba(255, 255, 255, 0.88);
}

.public-footer-inner,
.public-footer-bottom {
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
}

.public-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 32px;
  padding: 34px 0 26px;
  align-items: start;
}

.public-footer-title {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(1.25rem, 2vw, 1.9rem);
  line-height: 1.2;
}

.public-footer-copy p {
  margin: 0;
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.78);
}

.public-footer-form .newsletter-card {
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.public-footer-form .block-title {
  margin-bottom: 12px;
  color: #fff;
  font-size: 1.15rem;
  text-align: left;
}

.newsletter-form {
  display: grid;
  gap: 12px;
}

.newsletter-form label {
  color: rgba(255, 255, 255, 0.82);
}

.newsletter-form input {
  background: rgba(255, 255, 255, 0.98);
}

.newsletter-form .button {
  justify-self: start;
}

.public-footer-bottom {
  padding: 16px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.public-footer-bottom p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
}

.public-footer-bottom a {
  color: #fff;
}

.archive-shell,
.article-shell {
  display: grid;
  gap: 28px;
}

.article-shell {
  gap: 34px;
  padding-top: 20px;
}

.archive-header,
.article-header {
  display: grid;
  gap: 12px;
}

.article-header {
  max-width: 820px;
}

.article-back {
  justify-self: start;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
}

.article-back::before {
  content: "← ";
}

.article-shell .page-title {
  max-width: 18ch;
  margin-top: 18px;
  color: #2a2a2a;
  font-size: clamp(2.35rem, 4.4vw, 4.35rem);
  line-height: 1;
  text-wrap: balance;
}

.article-shell .page-meta {
  margin: 4px 0 0;
  color: #5f5f5f;
  font-size: 1rem;
}

.article-eyebrow,
.article-card-category {
  margin: 0;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-summary {
  margin: 0;
  max-width: 72ch;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.75;
}

.article-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.article-category {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(14, 164, 204, 0.1);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.article-cover {
  margin: 8px 0 16px;
  overflow: hidden;
  border-radius: 8px;
  background: #f4f8fa;
}

.article-cover img {
  display: block;
  width: 100%;
  height: clamp(320px, 48vw, 620px);
  object-fit: cover;
}

.article-content {
  display: grid;
  gap: 0;
  width: min(100%, 760px);
  margin: 0 auto;
  color: #333;
  font-size: 1.12rem;
  line-height: 1.86;
}

.article-content > * {
  min-width: 0;
}

.article-content p,
.article-content ul,
.article-content ol {
  margin: 0 0 1.15em;
}

.article-content p + p {
  margin-top: 0.15em;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  margin: 2.35em 0 0.7em;
  color: #2f2f2f;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.24;
  text-wrap: balance;
}

.article-content h2:first-child,
.article-content h3:first-child,
.article-content h4:first-child {
  margin-top: 0;
}

.article-content a {
  color: #008eb5;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.article-content blockquote {
  margin: 2em 0;
  padding: 20px 24px;
  border-left: 4px solid var(--accent);
  border-radius: 0 8px 8px 0;
  background: #eef8fb;
  color: #2f2f2f;
  font-size: 1.08rem;
  line-height: 1.7;
}

.article-content img,
.article-content iframe {
  display: block;
  max-width: min(100%, 920px);
  margin: 28px auto;
  border-radius: 8px;
}

.article-content ul,
.article-content ol {
  padding-left: 1.35em;
}

.article-content li + li {
  margin-top: 0.45em;
}

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

.article-grid-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-card {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(215, 226, 232, 0.9);
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 248, 251, 0.95));
  box-shadow: var(--shadow);
}

.article-card-media {
  display: block;
  aspect-ratio: 1.38;
  overflow: hidden;
  background: #edf5f8;
}

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

.article-card-body {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.article-card-title {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.2;
}

.article-card-title a,
.article-card-action a {
  color: var(--ink);
  text-decoration: none;
}

.article-card-excerpt {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.article-card-action {
  margin: 0;
}

.article-card-action a {
  color: var(--accent);
  font-weight: 700;
}

.archive-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(14, 164, 204, 0.18);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

.page-link.is-current {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - 180px);
  padding: 56px 0 72px;
}

.home-hero-copy {
  display: grid;
  gap: 22px;
  max-width: 760px;
}

.home-eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.home-hero h1 {
  margin: 0;
  color: #262626;
  font-size: clamp(2.65rem, 5.2vw, 5.8rem);
  line-height: 0.98;
}

.home-lead {
  max-width: 62ch;
  margin: 0;
  color: #4d4d4d;
  font-size: 1.18rem;
  line-height: 1.75;
}

.home-actions,
.home-section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.home-primary {
  min-width: 150px;
}

.home-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  color: #2f2f2f;
  font-weight: 800;
  text-decoration: none;
}

.home-hero-panel {
  display: grid;
  gap: 0;
  border: 1px solid #cfe5ed;
  border-radius: 8px;
  background: #f4fbfd;
}

.home-hero-panel p {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 0;
  padding: 18px 20px;
  border-bottom: 1px solid #dbeef4;
  color: #444;
}

.home-hero-panel p:last-child {
  border-bottom: 0;
}

.home-hero-panel span {
  color: var(--accent);
  font-weight: 800;
  text-align: right;
}

.home-section {
  padding: 76px 0;
  border-top: 1px solid #e7eef1;
}

.home-section h2 {
  margin: 0;
  color: #2f2f2f;
  font-size: clamp(2rem, 3.3vw, 3.35rem);
  line-height: 1.08;
}

.home-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.home-proof article,
.home-article-list article {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid #dbe8ed;
  border-radius: 8px;
  background: #fff;
}

.home-proof span {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 900;
}

.home-proof h2,
.home-article-list h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.2;
}

.home-proof p,
.home-split p,
.home-topics p,
.home-register p,
.home-article-list span {
  margin: 0;
  color: #565656;
  line-height: 1.65;
}

.home-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 56px;
}

.home-split > div:first-child {
  display: grid;
  align-content: start;
  gap: 14px;
}

.home-steps {
  display: grid;
  gap: 12px;
}

.home-steps p {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid #e2ecef;
}

.home-steps strong {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
}

.home-topics {
  display: grid;
  gap: 30px;
}

.home-topics header {
  display: grid;
  gap: 14px;
  max-width: 780px;
}

.home-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.home-topic-grid p {
  padding: 16px 18px;
  border: 1px solid #dbe8ed;
  border-radius: 8px;
  background: #f7fbfc;
  color: #343434;
  font-weight: 800;
}

.home-articles {
  display: grid;
  gap: 28px;
}

.home-section-head {
  justify-content: space-between;
}

.home-section-head > div {
  display: grid;
  gap: 12px;
}

.home-article-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.home-article-list p {
  margin: 0;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-article-list a {
  color: #2f2f2f;
  text-decoration: none;
}

.home-register {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.9fr);
  gap: 48px;
  align-items: start;
  padding-bottom: 24px;
}

.home-register > div:first-child {
  display: grid;
  gap: 14px;
}

.home-register .form-card {
  border-radius: 8px;
  background: #f6fbfd;
}

.home-register .block-title {
  text-align: left;
  font-size: 1.55rem;
}

@media (max-width: 900px) {
  .public-header-inner,
  .public-main {
    width: min(calc(100% - 24px), var(--content));
  }

  .public-header-inner {
    padding: 18px 0;
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .public-nav {
    justify-content: flex-start;
    gap: 12px;
  }

  .public-nav a {
    font-size: 0.86rem;
  }

  .hero,
  .page-card {
    padding: 22px;
  }

  .vc-column,
  .el-column {
    flex: 1 1 100% !important;
    max-width: 100% !important;
    padding: 0 10px;
  }

  .icon-glyph {
    width: 96px;
    height: 96px;
    font-size: 3.2rem;
  }

  .article-grid,
  .article-grid-compact {
    grid-template-columns: 1fr;
  }

  .article-shell {
    gap: 22px;
    padding-top: 10px;
  }

  .article-header {
    gap: 10px;
  }

  .article-shell .page-title {
    max-width: 100%;
    margin-top: 10px;
    font-size: clamp(1.9rem, 8vw, 2.55rem);
    line-height: 1.06;
  }

  .article-summary {
    font-size: 1rem;
    line-height: 1.68;
  }

  .article-cover {
    margin: 4px 0 8px;
    border-radius: 8px;
  }

  .article-cover img {
    height: auto;
    max-height: 360px;
  }

  .article-content {
    width: 100%;
    font-size: 1.04rem;
    line-height: 1.78;
  }

  .article-content h2,
  .article-content h3,
  .article-content h4 {
    margin-top: 1.8em;
    font-size: 1.28rem;
    line-height: 1.24;
  }

  .article-content blockquote {
    margin: 1.5em 0;
    padding: 16px 18px;
  }

  .public-footer-inner {
    grid-template-columns: 1fr;
    padding-top: 28px;
  }

  .home-hero,
  .home-split,
  .home-register {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .home-hero {
    min-height: 0;
    padding: 56px 0;
  }

  .home-proof,
  .home-topic-grid,
  .home-article-list {
    grid-template-columns: 1fr;
  }

  .home-section {
    padding: 52px 0;
  }
}

/* Public homepage: selected calm editorial direction. The copy below is
   rendered from the preserved WordPress page; these rules change presentation only. */
.public-page:has(.home-original-content) {
  --home-ink: #17323d;
  --home-muted: #536b74;
  --home-surface: #edf8fc;
  --home-line: #d6eaf1;
  --home-radius: 20px;
  --home-space-1: 8px;
  --home-space-2: 16px;
  --home-space-3: 24px;
  --home-space-4: 40px;
  --home-space-5: 64px;
  background: #fbfdfd;
  color: var(--home-ink);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
}

.public-page:has(.home-original-content) .public-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-color: rgba(214, 234, 241, 0.9);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 30px rgba(23, 50, 61, 0.045);
}

.public-page:has(.home-original-content) .public-header-inner {
  min-height: 84px;
}

.public-page:has(.home-original-content) .brand-mark {
  color: var(--home-ink);
  letter-spacing: 0.025em;
}

.public-page:has(.home-original-content) .public-nav a {
  color: #29434d;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.025em;
}

.public-page:has(.home-original-content) .public-nav a:not(.is-active):hover,
.public-page:has(.home-original-content) .public-nav a:not(.is-active):focus-visible {
  color: var(--accent);
}

.public-page:has(.home-original-content) .public-main {
  width: 100%;
  max-width: none;
  padding-top: 0;
  padding-bottom: 0;
}

.home-original-content {
  color: var(--home-muted);
  font-size: 0.98rem;
  line-height: 1.76;
}

.home-original-content > .vc-row:not(.home-registration) {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.home-original-content > .vc-row {
  gap: var(--home-space-3);
}

.home-original-content > .home-course,
.home-original-content > .home-features,
.home-original-content > .home-discovery,
.home-original-content > .home-registration {
  gap: 0;
}

.home-original-content .block-title {
  color: var(--home-ink);
  font-family: "Lora", Georgia, serif;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.22;
  text-wrap: balance;
}

.home-original-content .block-title::after {
  display: block;
  width: 52px;
  height: 3px;
  margin: 14px auto 0;
  border-radius: 3px;
  background: var(--accent);
  content: "";
}

.home-intro {
  padding: var(--home-space-5) 0 var(--home-space-4);
}

.home-intro .vc-column {
  width: min(100%, 960px);
  margin: 0 auto;
  text-align: center;
}

.home-intro .spacer {
  display: none;
}

.home-intro p {
  max-width: 92ch;
  margin-right: auto;
  margin-left: auto;
}

.home-concepts {
  align-items: stretch;
  padding-bottom: 0;
}

.home-concepts > .vc-column {
  position: relative;
  display: flex;
  flex: 0 0 calc(50% - 12px);
  flex-direction: column;
  max-width: calc(50% - 12px);
  margin: 0;
  padding: calc(var(--home-space-3) + 4px);
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  background: var(--home-surface);
}

.home-concepts > .vc-column > * {
  order: 3;
}

.home-concepts > .vc-column > .block-title {
  order: 1;
  margin-bottom: 0;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-align: left;
}

.home-concepts > .vc-column > .block-title::after {
  width: 40px;
  margin: 12px 0 0;
}

.home-concept-photo {
  order: 2;
  aspect-ratio: 3 / 2;
  margin: 22px 0 18px;
  overflow: hidden;
  border-radius: 12px;
  background: #dcecf2;
}

.home-concept-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-concepts .icon-box {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  margin: -62px 0 -4px -12px;
  width: 84px;
  height: 84px;
  padding: 12px;
  border: 8px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 10px 24px rgba(23, 50, 61, 0.15);
}

.home-concepts .icon-frame {
  display: grid;
  width: 100%;
  height: 100%;
  margin: 0;
  place-items: center;
}

.home-concepts .icon-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
}

.home-concepts .spacer {
  display: none;
}

.home-concepts .richtext {
  color: #49616b;
}

.home-concepts .richtext:first-of-type {
  color: #29434d;
}

.home-concepts p {
  text-align: left;
}

.home-concepts hr {
  width: 42px;
  margin: 8px auto 22px;
  border-color: var(--accent);
  border-width: 2px;
}

.home-spacer {
  min-height: var(--home-space-4);
}

.home-spacer .spacer {
  height: var(--home-space-4);
}

.home-spacer-small,
.home-spacer-small .spacer {
  min-height: var(--home-space-3);
  height: var(--home-space-3);
}

.home-statement {
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  background: var(--accent);
  box-shadow: 0 12px 28px rgba(14, 164, 204, 0.16);
}

.home-statement .vc-column {
  padding: 18px 34px;
}

.home-statement h4 {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.55;
}

.home-course {
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  background: var(--home-surface);
}

.home-course > .vc-column {
  padding: calc(var(--home-space-4) - 6px);
  background: transparent;
}

.home-course > .vc-column:first-child {
  flex-basis: 58%;
  max-width: 58%;
}

.home-course > .vc-column:last-child {
  display: grid;
  flex-basis: 42%;
  max-width: 42%;
  padding: calc(var(--home-space-3) + 2px);
  place-items: center;
}

.home-course .block-title {
  text-align: left;
}

.home-course .block-title::after {
  margin-left: 0;
}

.home-course .video-embed {
  min-height: 240px;
  border-radius: 14px;
  box-shadow: 0 16px 34px rgba(23, 50, 61, 0.12);
}

.home-video-link {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 16px 34px rgba(23, 50, 61, 0.12);
}

.home-video-link img {
  display: block;
  width: 100%;
  min-height: 240px;
  object-fit: cover;
}

.home-course .spacer {
  display: none;
}

.home-course li,
.home-details li,
.home-discovery li {
  padding-left: 0.18em;
}

.home-course li::marker,
.home-details li::marker,
.home-discovery li::marker {
  color: var(--accent);
}

.home-features {
  gap: 0;
  padding: var(--home-space-5) 0;
  border-bottom: 1px solid var(--home-line);
}

.home-features > .vc-column {
  flex: 0 0 25%;
  max-width: 25%;
  padding: 0 22px;
  border-right: 1px solid var(--home-line);
}

.home-features > .vc-column:last-child {
  border-right: 0;
}

.home-features .icon-box {
  padding: 0;
}

.home-features .icon-frame {
  width: 74px;
  height: 74px;
  margin-bottom: 16px;
}

.home-features .icon-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-features h3 {
  min-height: 2.7em;
  margin: 0 0 12px;
  color: var(--home-ink);
  font-size: 0.94rem;
  line-height: 1.35;
  text-transform: uppercase;
}

.home-features p {
  color: var(--home-muted);
  font-size: 0.91rem;
  line-height: 1.65;
}

.home-details {
  align-items: stretch;
  padding: var(--home-space-5) 0;
}

.home-details > .vc-column {
  flex: 0 0 calc(50% - 12px);
  max-width: calc(50% - 12px);
  margin: 0;
  padding: calc(var(--home-space-3) + 4px);
  border: 1px solid var(--home-line);
  border-radius: 16px;
  background: var(--home-surface);
}

.home-details .block-title {
  text-align: left;
}

.home-details .block-title::after {
  margin-left: 0;
}

.home-discovery {
  gap: 0;
  align-items: center;
  padding: var(--home-space-5) 0;
}

.home-discovery > .vc-column:first-child {
  flex-basis: 70%;
  max-width: 70%;
  padding: 0 calc(var(--home-space-4) + 2px) 0 var(--home-space-2);
}

.home-discovery > .vc-column:last-child {
  flex-basis: 30%;
  max-width: 30%;
}

.home-discovery .block-title {
  text-align: left;
}

.home-discovery .block-title::after {
  margin-left: 0;
}

.home-discovery .media-frame {
  aspect-ratio: 1;
  overflow: hidden;
  border: 12px solid #edf8fc;
  border-radius: 50%;
  box-shadow: 0 18px 42px rgba(23, 50, 61, 0.12);
}

.home-discovery .media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.home-registration {
  width: 100%;
  min-height: 430px;
  margin: 0;
  padding: var(--home-space-5) max(var(--home-space-3), calc((100% - var(--content)) / 2));
  background: linear-gradient(rgba(12, 39, 49, 0.28), rgba(12, 39, 49, 0.28)), url("design/registracija.jpg") center / cover no-repeat;
}

.home-registration > .vc-column:first-child,
.home-registration > .vc-column:last-child {
  flex: 1 1 15%;
  max-width: 15%;
}

.home-registration > .vc-column:nth-child(2) {
  flex: 1 1 70%;
  max-width: 70%;
  padding: 0;
}

.home-registration .form-card {
  display: grid;
  width: min(100%, 900px);
  margin: 0 auto;
  padding: 36px;
  grid-template-columns: minmax(220px, 0.8fr) minmax(320px, 1.2fr);
  gap: 34px;
  align-items: center;
  border: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 22px 60px rgba(13, 38, 49, 0.24);
}

.home-registration .block-title {
  margin-bottom: 12px;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 800;
  text-align: left;
}

.home-registration .block-title::after {
  display: none;
}

.home-registration .form-intro {
  margin: 0;
  color: #526871;
}

.home-registration .form-intro h2 {
  margin: 0;
  color: var(--home-ink);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  line-height: 1.2;
}

.home-registration .contact-form {
  grid-template-columns: 1fr;
}

.home-registration .contact-form .button,
.home-registration .contact-form [data-form-status] {
  grid-column: 1;
}

.home-registration .contact-form input {
  min-height: 52px;
  border-color: #d4e3e9;
  border-radius: 10px;
}

.home-registration .form-label-text,
.public-footer .newsletter-card .form-label-text {
  display: block;
  margin-bottom: var(--home-space-1, 8px);
  color: #29434d;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
}

.public-footer .newsletter-card .form-label-text {
  color: rgba(255, 255, 255, 0.82);
}

.home-registration .button {
  min-height: 50px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}

.public-page:has(.home-original-content) .public-footer {
  margin-top: 0;
  background: #123743;
}

.public-page:has(.home-original-content) .public-footer-form .newsletter-card {
  background: rgba(255, 255, 255, 0.07);
}

.cookie-notice {
  position: fixed;
  z-index: 60;
  right: 20px;
  bottom: 20px;
  display: flex;
  width: min(calc(100% - 40px), 720px);
  align-items: center;
  gap: 18px;
  padding: 15px 18px;
  border: 1px solid #d8e5ea;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 44px rgba(13, 38, 49, 0.18);
  color: #3d5159;
  font-size: 0.82rem;
  line-height: 1.5;
}

.cookie-notice[hidden] {
  display: none;
}

.cookie-notice p {
  flex: 1 1 auto;
  margin: 0;
}

.cookie-notice button {
  min-height: 38px;
  padding: 8px 16px;
  border: 0;
  border-radius: 8px;
  background: #172f39;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.public-page:has(.home-original-content) input:focus-visible,
.public-page:has(.home-original-content) button:focus-visible,
.public-page:has(.home-original-content) a:focus-visible {
  outline: 3px solid rgba(14, 164, 204, 0.38);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .public-page:has(.home-original-content) .public-header {
    position: static;
  }

  .home-intro {
    padding-top: var(--home-space-4);
  }

  .home-concepts > .vc-column,
  .home-course > .vc-column,
  .home-course > .vc-column:first-child,
  .home-course > .vc-column:last-child,
  .home-details > .vc-column,
  .home-discovery > .vc-column,
  .home-discovery > .vc-column:first-child,
  .home-discovery > .vc-column:last-child,
  .home-registration > .vc-column {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .home-concepts > .vc-column {
    padding: calc(var(--home-space-3) - 2px);
  }

  .home-course > .vc-column,
  .home-details > .vc-column {
    padding: calc(var(--home-space-3) + 2px);
  }

  .home-course .video-embed {
    min-height: 0;
  }

  .home-video-link img {
    min-height: 0;
  }

  .home-features {
    gap: 34px;
    padding: var(--home-space-4) 0;
  }

  .home-features > .vc-column {
    padding: 0 18px 28px;
    border-right: 0;
    border-bottom: 1px solid var(--home-line);
  }

  .home-features > .vc-column:last-child {
    border-bottom: 0;
  }

  .home-details,
  .home-discovery {
    gap: 20px;
  }

  .home-discovery > .vc-column:first-child {
    padding: 0 var(--home-space-1);
  }

  .home-discovery > .vc-column:last-child {
    width: min(72vw, 320px);
    margin: 0 auto;
  }

  .home-registration {
    min-height: 0;
    padding-top: var(--home-space-4);
    padding-bottom: var(--home-space-4);
  }

  .home-registration > .vc-column:first-child,
  .home-registration > .vc-column:last-child {
    display: none;
  }

  .home-registration .form-card {
    padding: 24px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .home-registration .contact-form {
    grid-template-columns: 1fr;
  }

  .home-registration .contact-form label,
  .home-registration .contact-form .button,
  .home-registration .contact-form [data-form-status] {
    grid-column: 1;
  }

  .cookie-notice {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
  }
}

@media (max-width: 560px) {
  .public-page:has(.home-original-content) .public-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .public-page:has(.home-original-content) .public-nav a {
    display: flex;
    min-height: 40px;
    align-items: center;
  }

  .public-page:has(.home-original-content) .public-nav .social-link {
    display: none;
  }

  .home-original-content .block-title {
    font-size: 1.45rem;
  }

  .home-intro {
    padding-top: var(--home-space-4);
  }

  .home-concept-photo {
    aspect-ratio: 4 / 3;
  }

  .home-concepts .icon-box {
    width: 72px;
    height: 72px;
    margin-top: -54px;
  }

  .home-statement .vc-column {
    padding: 18px 20px;
  }

  .home-registration .form-card {
    padding: 22px 18px;
  }

  .cookie-notice {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }
}

/* Tests offer: source content from tyrimas.lapinoskrynia.lt in the public-site design system. */
.tests-offer {
  --tests-ink: #18384a;
  --tests-muted: #59717d;
  --tests-surface: #eaf6f9;
  --tests-line: #c9e2e9;
  color: var(--tests-ink);
  margin: -32px -32px 0;
  overflow: hidden;
}

.tests-offer h1,
.tests-offer h2,
.tests-offer h3 {
  color: var(--tests-ink);
}

.tests-offer-hero,
.tests-offer-section,
.tests-offer-contacts {
  padding: clamp(48px, 7vw, 96px) max(24px, calc((100vw - 1080px) / 2));
}

.tests-offer-hero {
  align-items: center;
  background: linear-gradient(125deg, #edfaff 0%, #d8f1f6 100%);
  display: grid;
  gap: clamp(28px, 6vw, 82px);
  grid-template-columns: minmax(0, 1.55fr) minmax(220px, 0.7fr);
}

.tests-offer-hero-copy {
  max-width: 680px;
}

.tests-offer-kicker {
  color: #087e9d;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin: 0 0 18px;
}

.tests-offer-hero h1 {
  font-family: Lora, Georgia, serif;
  font-size: clamp(2.2rem, 4.8vw, 4.3rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin: 0 0 28px;
}

.tests-offer-hero p:not(.tests-offer-kicker) {
  color: var(--tests-muted);
  font-size: 1.06rem;
  line-height: 1.72;
  margin: 0 0 14px;
}

.tests-offer-signature {
  color: var(--tests-ink) !important;
  font-family: Lora, Georgia, serif;
  font-size: 1.2rem !important;
  font-weight: 700;
  margin-top: 24px !important;
}

.tests-offer-portrait {
  aspect-ratio: 1;
  margin: 0;
  position: relative;
  width: 100%;
}

.tests-offer-portrait::before {
  background: #ffcd4b;
  border-radius: 50%;
  content: "";
  inset: 8% -8% -8% 8%;
  position: absolute;
}

.tests-offer-portrait img {
  aspect-ratio: 1;
  border: 9px solid #fff;
  border-radius: 50%;
  box-shadow: 0 18px 42px rgb(22 76 94 / 20%);
  display: block;
  /* Keep the source portrait square even if a later asset has no intrinsic ratio. */
  height: 100%;
  object-fit: cover;
  position: relative;
  width: 100%;
}

.tests-offer-section--soft {
  background: var(--tests-surface);
}

.tests-offer-narrow {
  margin: 0 auto;
  max-width: 850px;
}

.tests-offer-section h2 {
  font-family: Lora, Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.2;
  margin: 0 0 30px;
}

.tests-offer-section h3 {
  font-size: 1.08rem;
  line-height: 1.5;
  margin: 0 0 22px;
}

.tests-offer-list,
.tests-offer-process ol,
.tests-offer-process ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.tests-offer-list {
  counter-reset: test-state;
  list-style: none;
}

.tests-offer-list li,
.tests-offer-process li {
  align-items: flex-start;
  display: flex;
  font-size: 1.04rem;
  gap: 14px;
  line-height: 1.55;
}

.tests-offer-list li::before,
.tests-offer-process li::before {
  align-items: center;
  background: #0ea4cc;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  flex: 0 0 34px;
  font-size: 0.72rem;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  margin-top: 1px;
}

.tests-offer-list li::before {
  content: counter(test-state, decimal-leading-zero);
  counter-increment: test-state;
}

.tests-offer-process ol,
.tests-offer-process ul {
  counter-reset: test-step;
  list-style: none;
  margin-bottom: 38px;
}

.tests-offer-process ol li::before {
  content: counter(test-step);
  counter-increment: test-step;
}

.tests-offer-process ul li::before {
  background: #ffcd4b;
  color: var(--tests-ink);
  content: "✓";
  counter-increment: none;
  font-size: 1rem;
}

.tests-offer-benefit-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tests-offer-benefit-grid p {
  background: #fff;
  border: 1px solid var(--tests-line);
  border-radius: 16px;
  line-height: 1.65;
  margin: 0;
  padding: 26px;
}

.tests-offer-gallery {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tests-offer-gallery a {
  background: #fff;
  border: 1px solid var(--tests-line);
  border-radius: 16px;
  display: block;
  overflow: hidden;
}

.tests-offer-gallery img {
  display: block;
  transition: transform 180ms ease;
  width: 100%;
}

.tests-offer-gallery a:hover img {
  transform: scale(1.025);
}

.tests-offer-form-section {
  align-items: start;
  background: #0b8daf;
  color: #fff;
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
}

.tests-offer-form-section h2,
.tests-offer-form-section p,
.tests-offer-form-section .tests-offer-kicker {
  color: #fff;
}

.tests-offer-form-section h2 {
  margin-bottom: 16px;
}

.tests-offer-form {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgb(5 55 69 / 22%);
  color: var(--tests-ink);
  display: grid;
  gap: 17px;
  padding: clamp(24px, 4vw, 38px);
}

.tests-offer-form label,
.tests-offer-form fieldset label {
  display: grid;
  font-size: 0.95rem;
  font-weight: 700;
  gap: 7px;
}

.tests-offer-form input[type="email"],
.tests-offer-form input[type="tel"] {
  border: 1px solid #a9ccd6;
  border-radius: 8px;
  font: inherit;
  padding: 12px 13px;
}

.tests-offer-form fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.tests-offer-form legend {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.tests-offer-form fieldset label {
  align-items: center;
  display: flex;
  font-weight: 400;
  gap: 8px;
  margin: 7px 0;
}

.tests-offer-form .button {
  justify-self: start;
}

.tests-offer-faq details {
  border-bottom: 1px solid var(--tests-line);
  padding: 18px 0;
}

.tests-offer-faq details:first-of-type {
  border-top: 1px solid var(--tests-line);
}

.tests-offer-faq summary {
  cursor: pointer;
  font-weight: 700;
  padding-right: 24px;
}

.tests-offer-faq p {
  color: var(--tests-muted);
  line-height: 1.65;
  margin: 14px 0 0;
}

.tests-offer-contacts {
  background: #18384a;
  display: grid;
  gap: clamp(42px, 6vw, 76px);
  grid-template-columns: minmax(250px, 0.78fr) minmax(440px, 1.22fr);
  margin: 0;
}

.tests-offer-contact-intro {
  align-self: center;
  margin: 0;
  max-width: 350px;
  text-align: left;
}

.tests-offer-contact-intro .tests-offer-kicker {
  color: #78d7ee;
  margin-bottom: 10px;
}

.tests-offer-contact-intro h2 {
  color: #fff;
  font-family: Lora, Georgia, serif;
  font-size: clamp(2.7rem, 4.5vw, 4.2rem);
  line-height: 1.03;
  margin: 0 0 28px;
}

.tests-offer-contact-intro > p:last-child {
  color: #d7e8ee;
  font-size: 1.08rem;
  line-height: 1.65;
  margin: 0;
  max-width: 290px;
}

.tests-offer-contact-links {
  border-left: 1px solid #69d2ed;
  display: grid;
  margin: 0;
  padding-left: clamp(30px, 4vw, 58px);
  width: 100%;
}

.tests-offer-contact-links a {
  align-items: center;
  border-bottom: 1px solid rgb(215 232 238 / 25%);
  color: #fff;
  display: grid;
  gap: 24px;
  grid-template-columns: 48px minmax(0, 1fr);
  min-height: 86px;
  padding: 14px 12px;
  text-decoration: none;
  transition: background-color 160ms ease, padding-left 160ms ease;
}

.tests-offer-contact-links a:last-child {
  border-bottom: 0;
}

.tests-offer-contact-links a:hover {
  background: rgb(255 255 255 / 5%);
  padding-left: 18px;
}

.tests-offer-contact-links a:focus-visible {
  outline: 3px solid #78d7ee;
  outline-offset: 3px;
}

.tests-offer-contact-links img {
  filter: invert(82%) sepia(27%) saturate(1184%) hue-rotate(156deg) brightness(101%) contrast(87%);
  height: 42px;
  object-fit: contain;
  width: 42px;
}

.tests-offer-contact-label {
  display: grid;
  gap: 4px;
  justify-items: start;
}

.tests-offer-contact-label strong {
  color: #fff;
  font-size: 1.12rem;
  line-height: 1.3;
}

.tests-offer-contact-label > span {
  color: #69d2ed;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 760px) {
  .tests-offer {
    margin: -24px -12px 0;
  }

  .tests-offer-hero,
  .tests-offer-form-section {
    grid-template-columns: 1fr;
  }

  .tests-offer-portrait {
    margin: 0 auto;
    max-width: 270px;
    order: -1;
  }

  .tests-offer-benefit-grid,
  .tests-offer-gallery {
    grid-template-columns: 1fr;
  }
}

/* Refined tests offer: calm page palette, authentic report colors kept in one showcase. */
.public-menu-toggle {
  display: none;
}

.tests-offer-page .public-main {
  padding-bottom: 0;
  padding-top: 32px;
}

.tests-offer-page .public-footer {
  margin-top: 0;
}

.tests-offer {
  background: #edf8fb;
  display: grid;
  grid-template-areas:
    "hero form"
    "reports reports"
    "conditions conditions"
    "benefits benefits"
    "process process"
    "faq faq"
    "contacts contacts";
  grid-template-columns: minmax(0, 1fr) minmax(330px, 390px);
}

.tests-offer > .tests-offer-hero {
  background: #edf8fb;
  gap: clamp(22px, 2.5vw, 34px);
  grid-area: hero;
  grid-template-columns: minmax(500px, 1fr) minmax(205px, 230px);
  padding: clamp(52px, 6vw, 84px) 24px clamp(52px, 6vw, 84px) clamp(42px, 5vw, 68px);
}

.tests-offer-hero-copy {
  max-width: 650px;
}

.tests-offer-hero h1 {
  font-size: clamp(2.45rem, 3.6vw, 3.55rem);
  line-height: 1.06;
}

.tests-offer-hero-action {
  margin-top: 14px;
  text-decoration: none;
}

.tests-offer-portrait {
  max-width: 290px;
}

.tests-offer-portrait::before {
  inset: 8% -7% -7% 8%;
}

.tests-offer > .tests-offer-form-section {
  align-self: center;
  background: #fff;
  border: 1px solid #c9e2e9;
  border-radius: 14px;
  box-shadow: none;
  color: var(--tests-ink);
  display: block;
  grid-area: form;
  margin: 42px max(26px, calc((100vw - 1180px) / 2)) 42px 0;
  padding: 28px;
}

.tests-offer-form-intro {
  border-bottom: 1px solid #d9e9ee;
  margin-bottom: 22px;
  padding-bottom: 20px;
}

.tests-offer-form-section h2,
.tests-offer-form-section p,
.tests-offer-form-section .tests-offer-kicker {
  color: var(--tests-ink);
}

.tests-offer-form-section .tests-offer-kicker {
  color: #087e9d;
  margin-bottom: 10px;
}

.tests-offer-form-section h2 {
  font-size: clamp(1.55rem, 2vw, 2.05rem);
  margin: 0 0 10px;
}

.tests-offer-form-section p {
  margin: 0;
}

.tests-offer-form {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  gap: 15px;
  padding: 0;
}

.tests-offer-form input[type="email"],
.tests-offer-form input[type="tel"] {
  background: #fff;
  min-height: 46px;
}

.tests-offer-form fieldset label {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  min-height: 34px;
  width: 100%;
}

.tests-offer-form fieldset input[type="radio"] {
  flex: 0 0 18px;
  height: 18px;
  margin: 0;
  width: 18px;
}

.tests-offer-form .button {
  border: 1px solid #0e9fc6;
  box-shadow: none;
  justify-self: stretch;
  margin-top: 4px;
  min-height: 48px;
  width: 100%;
}

.tests-offer-hero-action {
  border: 1px solid #0e9fc6;
  box-shadow: none;
}

.tests-offer .button:focus-visible,
.tests-offer-page .public-menu-toggle:focus-visible {
  outline: 3px solid rgb(14 164 204 / 28%);
  outline-offset: 3px;
}

.tests-offer-reports {
  background: #fff;
  grid-area: reports;
}

.tests-offer-reports .tests-offer-narrow {
  max-width: 1040px;
}

.tests-offer-reports h2 {
  text-align: center;
}

.tests-offer-gallery {
  background: #edf8fb;
  border: 1px solid #d6ebf0;
  border-radius: 14px;
  display: flex;
  gap: 0;
  grid-template-columns: none;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-color: #0ea4cc #dfeff3;
  scrollbar-width: thin;
}

.tests-offer-gallery a {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  display: flex;
  flex: 0 0 100%;
  justify-content: center;
  min-height: 560px;
  padding: 28px;
  scroll-snap-align: start;
}

.tests-offer-gallery img {
  aspect-ratio: 1;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgb(24 56 74 / 8%);
  height: auto;
  max-height: 510px;
  object-fit: contain;
  width: auto;
}

.tests-offer-gallery a:hover img {
  transform: none;
}

.tests-offer-conditions {
  grid-area: conditions;
}

.tests-offer-benefits {
  background: #fff;
  grid-area: benefits;
}

.tests-offer-benefit-grid p {
  border: 0;
  border-left: 3px solid #0ea4cc;
  border-radius: 0;
  padding: 8px 24px;
}

.tests-offer-process-section {
  grid-area: process;
}

.tests-offer-faq {
  background: #fff;
  grid-area: faq;
}

.tests-offer-contacts {
  grid-area: contacts;
}

.tests-offer-section,
.tests-offer-contacts {
  padding-bottom: clamp(56px, 7vw, 86px);
  padding-top: clamp(56px, 7vw, 86px);
}

@media (min-width: 981px) {
  .tests-offer > .tests-offer-hero {
    padding-bottom: clamp(44px, 4vw, 60px);
    padding-top: clamp(44px, 4vw, 60px);
  }

  .tests-offer > .tests-offer-form-section {
    margin-bottom: 30px;
    margin-top: 30px;
    padding: 22px;
  }

  .tests-offer-form-intro {
    margin-bottom: 14px;
    padding-bottom: 13px;
  }

  .tests-offer-form-section h2 {
    font-size: 1.72rem;
    line-height: 1.12;
  }

  .tests-offer-form {
    gap: 10px;
  }

  .tests-offer-form input[type="email"],
  .tests-offer-form input[type="tel"] {
    min-height: 40px;
    padding-bottom: 9px;
    padding-top: 9px;
  }

  .tests-offer-form fieldset label {
    min-height: 27px;
  }

  .tests-offer-form legend {
    margin-bottom: 4px;
  }

  .tests-offer-form .button {
    min-height: 44px;
  }
}

@media (max-width: 980px) {
  .tests-offer {
    grid-template-areas:
      "hero"
      "reports"
      "form"
      "conditions"
      "benefits"
      "process"
      "faq"
      "contacts";
    grid-template-columns: minmax(0, 1fr);
  }

  .tests-offer > .tests-offer-hero {
    padding-right: max(28px, calc((100vw - 760px) / 2));
  }

  .tests-offer > .tests-offer-form-section {
    margin: 0 max(24px, calc((100vw - 660px) / 2)) clamp(56px, 8vw, 76px);
  }
}

@media (max-width: 760px) {
  .tests-offer-page .public-main {
    padding-top: 24px;
  }

  .tests-offer-page .public-header-inner {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .tests-offer-page .public-menu-toggle {
    background: transparent;
    border: 1px solid #a9ccd6;
    border-radius: 8px;
    color: #18384a;
    display: inline-flex;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 800;
    min-height: 42px;
    padding: 8px 13px;
  }

  .tests-offer-page .public-nav {
    border-top: 1px solid #d9e9ee;
    display: none;
    flex: 0 0 100%;
    gap: 8px;
    padding-top: 14px;
  }

  .tests-offer-page .public-nav.is-open {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .tests-offer-page .public-nav a {
    align-items: center;
    display: flex;
    min-height: 42px;
  }

  .tests-offer-page .public-nav .social-link {
    display: none;
  }

  .tests-offer > .tests-offer-hero {
    gap: 28px;
    grid-template-columns: minmax(0, 1fr);
    padding: 42px 24px 48px;
  }

  .tests-offer-hero h1 {
    font-size: clamp(2.15rem, 11vw, 3rem);
    line-height: 1.04;
    margin-bottom: 22px;
  }

  .tests-offer-hero-copy {
    max-width: none;
  }

  .tests-offer-portrait {
    margin: 0 auto;
    max-width: 210px;
    order: 0;
  }

  .tests-offer-hero-action {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    width: 100%;
  }

  .tests-offer-reports {
    padding-left: 18px;
    padding-right: 18px;
  }

  .tests-offer-reports h2 {
    text-align: left;
  }

  .tests-offer-gallery a {
    min-height: 365px;
    padding: 14px;
  }

  .tests-offer-gallery img {
    box-shadow: none;
    max-height: 335px;
    max-width: 100%;
  }

  .tests-offer > .tests-offer-form-section {
    margin-left: 18px;
    margin-right: 18px;
    padding: 24px;
  }

  .tests-offer-benefit-grid {
    gap: 26px;
  }

  .tests-offer-benefit-grid p {
    padding-right: 0;
  }

  .tests-offer-contacts {
    gap: 32px;
    grid-template-columns: minmax(0, 1fr);
  }

  .tests-offer-contact-intro {
    max-width: 540px;
  }

  .tests-offer-contact-intro h2 {
    font-size: clamp(2.45rem, 9vw, 3.5rem);
    margin-bottom: 18px;
  }

  .tests-offer-contact-intro > p:last-child {
    max-width: 440px;
  }

  .tests-offer-contact-links {
    border-left: 0;
    border-top: 1px solid #69d2ed;
    padding-left: 0;
  }
}

@media (max-width: 430px) {
  .tests-offer-contacts {
    padding-left: 24px;
    padding-right: 24px;
  }

  .tests-offer-contact-links a {
    gap: 18px;
    grid-template-columns: 40px minmax(0, 1fr);
    min-height: 76px;
    padding-left: 4px;
    padding-right: 4px;
  }

  .tests-offer-contact-links a:hover {
    padding-left: 8px;
  }

  .tests-offer-contact-links img {
    height: 36px;
    width: 36px;
  }
}
