:root {
  --paper: #f8fafc;
  --paper-2: #eef5fc;
  --surface: #ffffff;
  --steel: #23527c;
  --steel-2: #3b78b5;
  --slate: #2f4961;
  --body: #405366;
  --muted: #718092;
  --line: #d8e3ee;
  --aqua: #5c93c7;
  --aqua-2: #8bb7dc;
  --aqua-soft: #e7f1fb;
  --warm: #d9a64a;
  --warm-soft: #fff5df;
  --white: #ffffff;
  --shadow: 0 20px 55px rgba(35, 82, 124, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--paper);
  color: var(--body);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: var(--steel);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--steel-2);
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(92, 147, 199, 0.45);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: 12px;
  z-index: 100;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border-radius: 999px;
  background: var(--steel);
  color: var(--white);
  padding: 10px 14px;
}

.skip-link:focus-visible {
  width: auto;
  height: auto;
  overflow: visible;
  clip-path: none;
}

.shell {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247, 249, 252, 0.94);
  border-bottom: 1px solid rgba(216, 225, 225, 0.8);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--steel);
  text-decoration: none;
  min-width: max-content;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--steel), var(--steel-2));
  color: var(--white);
  font-weight: 850;
  letter-spacing: 0.02em;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
}

.brand strong {
  font-size: 17px;
  color: var(--steel);
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  color: var(--slate);
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
}

.site-nav a:hover {
  color: var(--steel-2);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-switch {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.84);
}

.lang-button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--steel);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  padding: 7px 9px;
}

.lang-button.active {
  background: var(--steel);
  color: var(--white);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--steel);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--steel), var(--steel-2));
  color: var(--white);
  padding: 12px 20px;
  text-decoration: none;
  font-weight: 850;
  line-height: 1.15;
  box-shadow: 0 14px 32px rgba(59, 120, 181, 0.22);
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, var(--steel-2), #669bd0);
  border-color: var(--steel-2);
  color: var(--white);
}

.button-secondary {
  background: transparent;
  color: var(--steel);
  box-shadow: none;
}

.button-secondary:hover {
  color: var(--white);
}

.button-small {
  min-height: 40px;
  padding: 9px 15px;
  font-size: 14px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--steel);
  border-radius: 999px;
}

.hero {
  padding: 78px 0 64px;
  background:
    linear-gradient(120deg, rgba(248, 250, 252, 0.98), rgba(238, 245, 252, 0.94)),
    linear-gradient(145deg, rgba(231, 241, 251, 0.82), rgba(255, 245, 223, 0.34) 54%, rgba(248, 250, 252, 0.92)),
    linear-gradient(180deg, var(--paper), var(--paper-2));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: #557fa5;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--steel);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 880px;
  font-size: clamp(42px, 6.2vw, 76px);
}

h2 {
  font-size: clamp(32px, 4vw, 52px);
}

h3 {
  font-size: 23px;
}

p {
  margin: 0;
}

.hero-lead {
  max-width: 720px;
  margin-top: 20px;
  color: var(--slate);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-panel {
  border: 1px solid rgba(216, 225, 225, 0.94);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.signal-card-main {
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(35, 82, 124, 0.97), rgba(59, 120, 181, 0.96)),
    linear-gradient(90deg, var(--warm-soft), transparent);
  color: var(--white);
}

.signal-card-main span {
  display: inline-block;
  color: #dceeff;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-card-main strong {
  display: block;
  margin-top: 12px;
  color: var(--white);
  font-size: 34px;
  line-height: 1.08;
}

.signal-card-main p {
  margin-top: 16px;
  color: #edf6ff;
}

.signal-list {
  display: grid;
}

.signal-list div {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  padding: 21px 24px;
  border-top: 1px solid var(--line);
}

.signal-list span {
  color: #557fa5;
  font-weight: 900;
}

.signal-list p {
  color: var(--slate);
  font-weight: 720;
  line-height: 1.45;
}

.section {
  padding: 74px 0;
  border-top: 1px solid rgba(214, 226, 234, 0.78);
  scroll-margin-top: 86px;
}

.profile-section,
.fit-section {
  background: #ffffff;
}

.section-muted {
  background:
    linear-gradient(180deg, rgba(238, 244, 248, 0.96), rgba(247, 249, 252, 0.98));
}

.section-deep {
  background:
    linear-gradient(135deg, rgba(35, 82, 124, 0.98), rgba(59, 120, 181, 0.96)),
    linear-gradient(180deg, var(--steel), var(--steel-2));
  color: #edf7f4;
  border-top: 0;
}

.section-deep h2,
.section-deep h3 {
  color: var(--white);
}

.section-deep .eyebrow {
  color: #dceeff;
}

.section-deep .section-head p {
  color: #edf6ff;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1fr);
  gap: 68px;
  align-items: start;
}

.text-column {
  display: grid;
  gap: 18px;
  color: var(--slate);
  font-size: 18px;
}

.section-head {
  max-width: 860px;
  margin-bottom: 30px;
}

.section-head.narrow {
  max-width: 720px;
}

.section-head p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--slate);
  font-size: 18px;
}

.section-deep .section-head p:not(.eyebrow) {
  color: #edf6ff;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  border: 1px solid #c8d8e8;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  padding: 25px;
  box-shadow: 0 16px 34px rgba(35, 82, 124, 0.12);
}

.card-index {
  display: inline-block;
  margin-bottom: 26px;
  color: #4b7893;
  font-weight: 900;
}

.card h3 {
  margin-bottom: 13px;
}

.card p {
  color: var(--body);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid #c8d8e8;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  box-shadow: 0 18px 44px rgba(35, 82, 124, 0.13);
}

.process-step {
  padding: 30px;
}

.process-step + .process-step {
  border-left: 1px solid var(--line);
}

.process-step span {
  display: inline-flex;
  margin-bottom: 32px;
  color: #4b7893;
  font-weight: 900;
}

.process-step h3 {
  margin-bottom: 14px;
}

.representation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.representation-card {
  display: grid;
  grid-template-rows: 300px 1fr;
  overflow: hidden;
  border: 1px solid #c8d8e8;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  color: var(--body);
  box-shadow: 0 18px 42px rgba(15, 46, 75, 0.16);
}

.representation-card.hewi-card {
  grid-template-rows: 300px 1fr;
}

.representation-media {
  background: #e7f0f6;
  overflow: hidden;
}

.representation-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.representation-media-contain {
  background: #f9fbfd;
  padding: 12px;
}

.representation-media-contain img {
  object-fit: contain;
  border-radius: 6px;
}

.representation-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.partner-logo {
  width: 170px;
  height: 48px;
  margin-bottom: 20px;
  object-fit: contain;
  object-position: left center;
  flex: 0 0 48px;
  align-self: flex-start;
}

.hewi-logo,
.novapet-logo {
  height: 48px;
  width: 170px;
  object-fit: contain;
}

.representation-body h3 {
  color: var(--steel);
  margin-bottom: 14px;
  min-height: 2.2em;
}

.representation-body p {
  color: var(--body);
}

.representation-body ul,
.fit-lists ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.representation-body li,
.fit-lists li {
  position: relative;
  padding-left: 20px;
  margin: 9px 0;
  color: var(--slate);
}

.representation-body li::before,
.fit-lists li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--steel-2);
}

.representation-body a {
  display: inline-flex;
  margin-top: 18px;
  font-weight: 850;
}

.fit-grid {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 50px;
  align-items: start;
}

.fit-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.fit-lists article {
  border: 1px solid #c8d8e8;
  border-radius: 8px;
  background: var(--surface);
  padding: 26px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(35, 82, 124, 0.11);
}

.fit-lists article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--steel-2);
}

.fit-lists .fit-boundary::before {
  background: var(--warm);
}

.fit-lists .fit-positive {
  background: linear-gradient(180deg, #ffffff, #f6fafe);
}

.fit-lists .fit-boundary {
  background: linear-gradient(180deg, #ffffff, #fffaf0);
}

.fit-lists .fit-positive h3::before,
.fit-lists .fit-boundary h3::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-right: 10px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 900;
  vertical-align: 2px;
}

.fit-lists .fit-positive h3::before {
  content: "+";
  background: var(--aqua-soft);
  color: var(--steel);
}

.fit-lists .fit-boundary h3::before {
  content: "–";
  background: var(--warm-soft);
  color: #7a5c1d;
}

.contact-section {
  padding-top: 48px;
  background: var(--paper);
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 0.42fr);
  gap: 42px;
  align-items: center;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(35, 82, 124, 0.98), rgba(59, 120, 181, 0.96)),
    linear-gradient(90deg, var(--warm-soft), transparent);
  color: #edf6ff;
  padding: 42px;
  box-shadow: var(--shadow);
}

.contact-card h2 {
  color: var(--white);
}

.contact-card p {
  margin-top: 18px;
  color: #edf6ff;
  max-width: 760px;
  font-size: 18px;
}

.contact-details {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.08);
  padding: 24px;
  font-style: normal;
}

.contact-details strong {
  color: var(--white);
  font-size: 23px;
}

.contact-details span {
  color: #d9ebe8;
}

.contact-details a:not(.button) {
  color: var(--white);
  font-weight: 780;
}

.contact-details .button {
  margin-top: 10px;
  background: var(--white);
  border-color: var(--white);
  color: var(--steel);
  box-shadow: none;
}

.contact-details .button:hover {
  background: #e4f0f7;
  border-color: #e4f0f7;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--slate);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.footer-inner strong,
.footer-inner span {
  display: block;
}

.footer-inner span {
  color: var(--muted);
  font-size: 14px;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-inner a {
  font-weight: 780;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

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

@media (max-width: 1020px) {
  .site-nav {
    position: fixed;
    inset: 78px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    padding: 10px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 12px;
    border-radius: 6px;
  }

  .site-nav a:hover {
    background: var(--paper-2);
  }

  .menu-toggle {
    display: inline-block;
  }

  .header-actions .button-small {
    display: none;
  }

  .hero-grid,
  .split-grid,
  .fit-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 34px;
  }

  .value-grid,
  .process-grid,
  .representation-grid,
  .fit-lists {
    grid-template-columns: 1fr;
  }

  .process-step + .process-step {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .representation-card {
    grid-template-rows: 280px 1fr;
  }

  .representation-card.hewi-card {
    grid-template-rows: 280px 1fr;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 24px, var(--max));
  }

  .header-inner {
    min-height: 70px;
    gap: 12px;
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .language-switch {
    padding: 2px;
  }

  .lang-button {
    padding: 6px 8px;
  }

  .hero {
    padding: 42px 0 40px;
  }

  h1 {
    font-size: 34px;
    line-height: 1.06;
  }

  h2 {
    font-size: 28px;
    line-height: 1.12;
  }

  h3 {
    font-size: 21px;
  }

  .hero-lead,
  .section-head p:not(.eyebrow),
  .text-column,
  .contact-card p {
    font-size: 16px;
  }

  .hero-lead {
    margin-top: 16px;
    line-height: 1.5;
  }

  .hero-actions {
    display: grid;
    gap: 10px;
    margin-top: 22px;
  }

  .button {
    width: 100%;
    min-height: 46px;
  }

  .hero-panel {
    display: none;
  }

  .section {
    padding: 42px 0;
    scroll-margin-top: 78px;
  }

  .split-grid,
  .fit-grid {
    gap: 24px;
  }

  .section-head {
    margin-bottom: 20px;
  }

  .card,
  .process-step,
  .representation-body,
  .fit-lists article,
  .contact-card {
    padding: 18px;
  }

  .value-grid,
  .process-grid,
  .fit-lists {
    gap: 12px;
  }

  .process-step span {
    margin-bottom: 18px;
  }

  .signal-card-main {
    padding: 22px;
  }

  .signal-card-main strong {
    font-size: 28px;
  }

  .signal-list div {
    grid-template-columns: 38px 1fr;
    padding: 18px;
  }

  .representation-card {
    grid-template-rows: 176px 1fr;
  }

  .representation-card.hewi-card {
    grid-template-rows: 176px 1fr;
  }

  .representation-media-contain {
    padding: 8px;
  }

  .partner-logo,
  .hewi-logo,
  .novapet-logo {
    width: 132px;
    height: 36px;
    flex-basis: 36px;
    margin-bottom: 14px;
  }

  .representation-body h3 {
    min-height: auto;
    font-size: 20px;
  }

  .representation-body ul,
  .fit-lists ul {
    margin-top: 14px;
  }

  .contact-section {
    padding-top: 36px;
  }

  .contact-details {
    padding: 18px;
  }

  .footer-inner {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .site-header {
    backdrop-filter: blur(16px);
  }

  .shell {
    width: min(100% - 24px, var(--max));
  }

  .hero {
    padding: 42px 0 38px;
  }

  .hero-grid {
    gap: 0;
  }

  .hero-panel {
    display: none;
  }

  h1 {
    font-size: 34px;
    line-height: 1.06;
    letter-spacing: 0;
  }

  h2 {
    font-size: 28px;
    line-height: 1.12;
  }

  h3 {
    font-size: 20px;
    line-height: 1.18;
  }

  .hero-lead,
  .section-head p:not(.eyebrow),
  .text-column,
  .card p,
  .process-step p,
  .representation-body p,
  .contact-card p {
    font-size: 16px;
    line-height: 1.5;
  }

  .hero-actions {
    display: grid;
    gap: 10px;
    margin-top: 22px;
  }

  .button {
    width: 100%;
    min-height: 46px;
  }

  .section {
    padding: 42px 0;
    scroll-margin-top: 78px;
  }

  .section-head {
    margin-bottom: 20px;
  }

  .value-grid,
  .process-grid,
  .fit-lists,
  .representation-grid {
    gap: 12px;
  }

  .card,
  .process-step,
  .representation-body,
  .fit-lists article,
  .contact-card,
  .contact-details {
    padding: 18px;
  }

  .card,
  .process-grid,
  .representation-card,
  .fit-lists article,
  .contact-card {
    border-color: #b8cde1;
    box-shadow: 0 12px 26px rgba(35, 82, 124, 0.16);
  }

  .representation-card,
  .representation-card.hewi-card {
    grid-template-rows: 176px 1fr;
  }

  .representation-media-contain {
    padding: 8px;
  }

  .partner-logo,
  .hewi-logo,
  .novapet-logo {
    width: 132px;
    height: 36px;
    flex-basis: 36px;
    margin-bottom: 14px;
  }

  .representation-body h3 {
    min-height: auto;
  }

  .representation-body li,
  .fit-lists li {
    margin: 7px 0;
  }

  .contact-section {
    padding-top: 36px;
  }

  .footer-inner {
    display: grid;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 26px;
  }

  .brand strong {
    font-size: 16px;
  }

  .lang-button {
    padding: 6px 7px;
  }
}
