:root {
  --ink: #10202b;
  --muted: #5c6a72;
  --line: #dbe5e7;
  --paper: #ffffff;
  --mist: #eef7f7;
  --ice: #dff4f6;
  --blue: #0b6cae;
  --blue-dark: #074c7a;
  --teal: #12a6a6;
  --sun: #f6c542;
  --leaf: #50a060;
  --shadow: 0 20px 45px rgba(16, 32, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand img {
  width: 168px;
  height: auto;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  color: #2b3d46;
}

.nav-item {
  position: relative;
}

.main-nav a,
.nav-trigger {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 7px 10px;
  border-radius: 8px;
  white-space: nowrap;
}

.nav-trigger::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.main-nav a:hover,
.nav-item:focus-within .nav-trigger {
  background: var(--mist);
}

.main-nav a,
.site-footer a {
  text-decoration: none;
}

.main-nav a:hover,
.site-footer a:hover {
  color: var(--blue);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 30;
  display: grid;
  min-width: 270px;
  gap: 3px;
  padding: 12px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -11px;
  height: 11px;
}

.nav-dropdown-wide {
  min-width: 420px;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
}

.nav-dropdown-large {
  width: min(920px, calc(100vw - 48px));
  min-width: 0;
  max-height: calc(100vh - 92px);
  overflow-y: auto;
  grid-template-columns: repeat(3, minmax(230px, 1fr));
  column-gap: 26px;
  row-gap: 8px;
}

.nav-item:nth-child(n+3) .nav-dropdown {
  left: auto;
  right: 0;
}

.nav-item .nav-dropdown-large {
  position: fixed;
  top: 78px;
  left: 50vw;
  right: auto;
  transform: translate(-50%, -6px);
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-item:hover .nav-dropdown-large,
.nav-item:focus-within .nav-dropdown-large {
  transform: translate(-50%, 0);
}

.nav-dropdown a {
  display: block;
  color: #243943;
  font-weight: 800;
  line-height: 1.3;
  white-space: normal;
}

.nav-dropdown a:hover {
  color: var(--blue-dark);
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(16, 32, 43, 0.08);
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.hamburger span {
  width: 21px;
  height: 2px;
  background: var(--ink);
  transition: transform 160ms ease, opacity 160ms ease;
}

.hamburger:hover,
.hamburger:focus-visible {
  border-color: rgba(11, 108, 174, 0.4);
  background: var(--mist);
}

.nav-toggle:checked + .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle:checked + .hamburger span:nth-child(2) {
  opacity: 0;
}

.nav-toggle:checked + .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mega-menu {
  position: absolute;
  top: calc(100% - 1px);
  left: clamp(18px, 4vw, 56px);
  right: clamp(18px, 4vw, 56px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 0 0 8px 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-toggle:checked ~ .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-col {
  display: grid;
  align-content: start;
  gap: 8px;
}

.mega-col p {
  margin: 0 0 4px;
  color: var(--blue-dark);
  font-weight: 900;
}

.mega-col a {
  padding: 8px 10px;
  border-radius: 8px;
  color: #243943;
  text-decoration: none;
  font-weight: 700;
}

.mega-col a:hover {
  background: var(--mist);
  color: var(--blue-dark);
}

.header-action,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 11px 18px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.language-switch {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 8px;
  color: #2b3d46;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.language-switch:hover {
  background: var(--mist);
  color: var(--blue);
}

.header-action,
.button.primary {
  background: var(--sun);
  color: #14212a;
  box-shadow: 0 10px 20px rgba(246, 197, 66, 0.28);
}

.button.secondary {
  background: #ffffff;
  color: var(--blue-dark);
  border: 1px solid rgba(11, 108, 174, 0.25);
}

.header-action:hover,
.button:hover {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: clamp(80px, 10vw, 140px) clamp(18px, 6vw, 84px);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.88) 44%, rgba(238,247,247,0.42) 100%),
    radial-gradient(circle at 82% 18%, rgba(18,166,166,0.18), transparent 34%),
    linear-gradient(135deg, #f5fbfc 0%, #ffffff 54%, #dff4f6 100%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 74px;
  background: linear-gradient(180deg, rgba(255,255,255,0), #ffffff);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.78rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 690px;
  margin-bottom: 20px;
  font-size: clamp(2.4rem, 5vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  font-size: 1.08rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  color: #314550;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

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

.hero-media {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-system {
  position: absolute;
  right: clamp(-100px, -5vw, -30px);
  bottom: 22px;
  width: min(58vw, 760px);
  opacity: 0.96;
}

.keyword-image {
  position: absolute;
  right: clamp(16px, 8vw, 120px);
  top: 88px;
  width: min(30vw, 350px);
  filter: drop-shadow(0 18px 32px rgba(11, 108, 174, 0.15));
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-item {
  min-height: 116px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px clamp(18px, 3vw, 42px);
  background: #ffffff;
  font-weight: 800;
}

.trust-item img,
.step img,
.article-grid img {
  width: 44px;
  min-width: 44px;
}

section:not(.hero):not(.trust-strip) {
  padding: clamp(58px, 8vw, 100px) clamp(18px, 6vw, 84px);
}

.section-heading {
  width: min(860px, 100%);
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.04rem;
}

.finder {
  background: linear-gradient(180deg, #ffffff 0%, var(--mist) 100%);
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(300px, 1.05fr);
  gap: 28px;
  align-items: stretch;
}

.quote-steps {
  display: grid;
  gap: 14px;
}

.step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.step p,
.product-card p,
.article-grid p {
  color: var(--muted);
}

.elfsight-shell {
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  border-radius: 8px;
  border: 1px solid rgba(11, 108, 174, 0.18);
  background:
    linear-gradient(135deg, rgba(11,108,174,0.1), rgba(18,166,166,0.16)),
    #ffffff;
  box-shadow: var(--shadow);
}

.elfsight-app {
  width: min(420px, 100%);
  padding: 28px;
  text-align: center;
  background: #ffffff;
  border: 1px dashed rgba(11,108,174,0.35);
  border-radius: 8px;
}

.form-title {
  margin-bottom: 8px;
  font-size: 1.4rem;
  font-weight: 900;
}

.form-note {
  color: var(--muted);
}

.product-band {
  background: #ffffff;
}

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

.product-card,
.article-grid article {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.product-card img {
  height: 132px;
  width: 100%;
  object-fit: contain;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #f4fbfc, #ffffff);
  border-radius: 8px;
}

.product-card a,
.article-grid a {
  margin-top: auto;
  color: var(--blue-dark);
  font-weight: 900;
  text-decoration-color: rgba(11, 108, 174, 0.28);
  text-underline-offset: 4px;
}

.brand-band {
  background:
    linear-gradient(135deg, rgba(16,32,43,0.92), rgba(7,76,122,0.92)),
    #10202b;
  color: #ffffff;
}

.brand-band .eyebrow,
.brand-band .section-heading p:not(.eyebrow) {
  color: #d7eef4;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.brand-grid span {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: center;
  padding: 14px;
  text-align: center;
  color: #10202b;
  background: #ffffff;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 8px;
  font-weight: 900;
}

.seo-visual {
  background: #f8fbfb;
}

.visual-row {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.visual-row img {
  width: 100%;
  min-height: 170px;
  object-fit: contain;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.knowledge {
  background: #ffffff;
}

.article-type {
  margin-bottom: 8px;
  color: var(--leaf);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 2.2fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  padding: 42px clamp(18px, 6vw, 84px);
  color: #ffffff;
  background: #10202b;
}

.footer-brand {
  display: grid;
  gap: 14px;
  max-width: 360px;
}

.footer-brand img,
.brand img {
  display: block;
  width: 168px;
  height: auto;
  min-height: 48px;
  padding: 0;
  background: #ffffff;
  border-radius: 8px;
}

.footer-brand p {
  margin: 0;
  color: #d7eef4;
  line-height: 1.6;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 24px;
}

.footer-grid div {
  display: grid;
  gap: 9px;
}

.footer-grid h3 {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 0.95rem;
}

.footer-grid a {
  color: #d7eef4;
  font-size: 0.95rem;
  line-height: 1.35;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 18px clamp(18px, 4vw, 56px) 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.breadcrumbs a {
  color: var(--blue-dark);
  text-decoration-color: rgba(11, 108, 174, 0.24);
  text-underline-offset: 4px;
}

.breadcrumbs span::before {
  content: "/";
  margin-right: 8px;
  color: #8da1aa;
}

.page-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.55fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  min-height: 560px;
  padding: clamp(64px, 9vw, 116px) clamp(18px, 6vw, 84px);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98), rgba(255,255,255,0.82)),
    linear-gradient(135deg, #f5fbfc 0%, #ffffff 48%, #dff4f6 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  max-width: 840px;
}

.page-hero-image {
  width: min(100%, 360px);
  justify-self: center;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.freshness {
  display: inline-flex;
  margin: 8px 0 0;
  padding: 8px 12px;
  border: 1px solid rgba(11,108,174,0.18);
  border-radius: 8px;
  color: var(--blue-dark);
  background: #ffffff;
  font-weight: 800;
}

.answer-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.answer-strip article {
  display: grid;
  gap: 5px;
  min-height: 112px;
  padding: 16px;
  border: 1px solid rgba(11,108,174,0.18);
  border-radius: 8px;
  background: #ffffff;
}

.answer-strip strong {
  color: var(--blue-dark);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.answer-strip span {
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 900;
}

.answer-strip small {
  color: var(--muted);
  font-size: 0.86rem;
}

.content-section {
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.content-section:nth-of-type(even) {
  background: #f8fbfb;
}

.direct-answer {
  color: #203640;
  font-weight: 800;
}

.context-links {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1rem;
}

.context-links a {
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration-color: rgba(11, 108, 174, 0.28);
  text-underline-offset: 4px;
}

.topic-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.topic-card,
.faq-item {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  text-decoration: none;
}

.topic-card strong {
  color: var(--blue-dark);
  font-size: 1.08rem;
}

.topic-card span,
.faq-item p {
  color: var(--muted);
}

.topic-card:hover {
  border-color: rgba(11,108,174,0.45);
  box-shadow: 0 12px 28px rgba(16, 32, 43, 0.08);
  transform: translateY(-1px);
}

.faq-item h3 {
  margin-bottom: 0;
}

.faq-section {
  background: var(--mist);
}

.price-table-wrap {
  overflow-x: auto;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.price-table th,
.price-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.price-table th {
  color: #ffffff;
  background: var(--blue-dark);
}

.price-table td:nth-child(2) {
  color: var(--blue-dark);
  font-weight: 900;
}

.offer-checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.offer-checklist li {
  position: relative;
  padding: 14px 16px 14px 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: #253b45;
  font-weight: 700;
}

.offer-checklist li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 18px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 4px rgba(246,197,66,0.22);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.stat-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.stat-card strong {
  display: block;
  color: var(--blue-dark);
  font-size: 2rem;
  line-height: 1;
}

.stat-card span {
  color: var(--muted);
  font-weight: 800;
}

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

.brand-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.brand-product-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(16, 32, 43, 0.06);
}

.brand-product-card h3,
.brand-product-card p {
  margin: 0;
}

.brand-product-card div {
  display: grid;
  gap: 7px;
}

.brand-product-card a {
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration: none;
}

.brand-product-card a:hover {
  color: var(--blue);
}

.brand-card-link {
  margin-top: 4px;
}

.catalog-card {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.catalog-card img {
  width: 84px;
  height: 84px;
  object-fit: contain;
  padding: 8px;
  background: var(--mist);
  border-radius: 8px;
}

.catalog-card h3 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.catalog-card p {
  margin-bottom: 8px;
}

.catalog-card a {
  color: var(--blue-dark);
  font-weight: 900;
  text-decoration-color: rgba(11, 108, 174, 0.28);
  text-underline-offset: 4px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    gap: 12px;
  }

  .main-nav {
    display: none;
  }

  .hamburger {
    display: flex;
    order: 3;
  }

  .header-action {
    order: 2;
  }

  .mega-menu {
    left: 12px;
    right: 12px;
    grid-template-columns: repeat(2, 1fr);
    max-height: calc(100vh - 86px);
    overflow-y: auto;
  }

  .hero {
    min-height: 660px;
    align-items: flex-start;
  }

  .hero-system {
    width: 72vw;
    opacity: 0.45;
  }

  .keyword-image {
    top: auto;
    right: 20px;
    bottom: 210px;
    width: 210px;
  }

  .trust-strip,
  .product-grid,
  .article-grid,
  .brand-grid,
  .quote-layout,
  .visual-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .visual-row img:first-child {
    grid-column: 1 / -1;
  }

  .page-hero,
  .topic-grid,
  .faq-grid,
  .stat-grid,
  .catalog-grid,
  .brand-product-grid,
  .answer-strip,
  .offer-checklist {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand img {
    width: 138px;
  }

  .header-action {
    padding-inline: 12px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: 690px;
    padding-top: 72px;
  }

  .hero-system {
    right: -130px;
    width: 560px;
  }

  .keyword-image {
    bottom: 172px;
    width: 180px;
  }

  .trust-strip,
  .product-grid,
  .article-grid,
  .brand-grid,
  .quote-layout,
  .visual-row,
  .page-hero,
  .topic-grid,
  .faq-grid,
  .stat-grid,
  .catalog-grid,
  .brand-product-grid,
  .answer-strip,
  .offer-checklist,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .mega-menu {
    grid-template-columns: 1fr;
  }

  .catalog-card {
    grid-template-columns: 72px 1fr;
  }

  .trust-item {
    min-height: auto;
  }

  .site-footer,
  .footer-grid {
    justify-items: start;
    justify-content: start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
