:root {
  --brand-900: #062a4d;
  --brand-700: #0b4f86;
  --brand-500: #1273bf;
  --brand-300: #6cb3e3;
  --brand-100: #dceafb;
  --accent-500: #f0954a;
  --accent-300: #ffc08a;

  --ink-900: #0d1b29;
  --ink-700: #2c3d4d;
  --ink-500: #5b6d80;
  --ink-300: #93a3b4;

  --surface: #ffffff;
  --surface-alt: #f3f7fc;
  --surface-dark: #062238;

  --line: #e1e9f3;
  --shadow-sm: 0 1px 2px rgba(8, 34, 56, .06), 0 4px 12px rgba(8, 34, 56, .05);
  --shadow-md: 0 10px 30px rgba(8, 34, 56, .09);
  --shadow-lg: 0 24px 60px rgba(6, 34, 56, .16);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --container: 1160px;
  --header-h: 74px;
  --logo-title-size: clamp(.9rem, 1.5vw, 1.12rem);

  --font: "Vazirmatn", "Segoe UI", Tahoma, system-ui, sans-serif;

  --space-section: clamp(3.5rem, 8vw, 6.5rem);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink-900: #eaf2fa;
    --ink-700: #c3d3e1;
    --ink-500: #93a6b8;
    --ink-300: #6d8194;
    --surface: #071624;
    --surface-alt: #0b2136;
    --line: #16314a;
    --brand-100: #0f2f4c;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .5);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, .45);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, .55);
  }
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(15px, .55vw + 13.6px, 16.5px);
  line-height: 1.85;
  color: var(--ink-700);
  background: var(--surface);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  color: var(--ink-900);
  line-height: 1.45;
  margin: 0 0 .5em;
  font-weight: 800;
}

p { margin: 0 0 1em; }

a { color: var(--brand-500); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand-700); }

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

ul, ol { margin: 0; padding: 0; list-style: none; }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--brand-300);
  outline-offset: 2px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}

.skip-link {
  position: absolute;
  inset-inline-start: 50%;
  transform: translate(50%, -200%);
  background: var(--brand-700);
  color: #fff;
  padding: .7rem 1.2rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  z-index: 200;
  transition: transform .25s var(--ease);
}
.skip-link:focus { transform: translate(50%, 0); color: #fff; }

/* ============ Header ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink-900); min-width: 0; font-size: var(--logo-title-size); }
.logo__mark {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(140deg, var(--brand-500), var(--brand-900));
  box-shadow: var(--shadow-sm);
  flex: none;
}
.logo__mark svg { width: 26px; height: 26px; }
.logo__mark--image {
  background: none;
  box-shadow: none;
  border-radius: 0;
  width: 3em;
  height: 3em;
}
.logo__mark--image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.logo__text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.logo__text strong {
  font-size: 1em;
  font-weight: 800;
  line-height: 1.4;
  max-width: 26ch;
  text-wrap: balance;
}
.logo__text small { font-size: .72rem; color: var(--ink-500); letter-spacing: .02em; }

.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav__list { display: flex; align-items: center; gap: .35rem; }
.nav__list a {
  display: block;
  padding: .55rem .8rem;
  border-radius: var(--radius-pill);
  color: var(--ink-700);
  font-size: .95rem;
  font-weight: 500;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav__list a:hover { background: var(--brand-100); color: var(--brand-700); }
.nav__list a.nav__link--active { color: var(--brand-700); background: var(--brand-100); font-weight: 700; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex: none;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  border-radius: 2px;
  background: var(--ink-900);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Buttons ============ */
.btn {
  --btn-bg: var(--brand-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .72rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  box-shadow: 0 8px 22px rgba(18, 115, 191, .28);
}
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(18, 115, 191, .34); }
.btn--ghost {
  color: var(--ink-900);
  background: transparent;
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--brand-300); background: var(--brand-100); color: var(--brand-700); }
.btn--lg { padding: .95rem 1.7rem; font-size: 1rem; }
.btn--block { width: 100%; }

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.75rem, 3.5vw, 2.75rem);
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  inset-block-start: -30%;
  inset-inline-end: -10%;
  width: min(720px, 90vw);
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 30% 30%, rgba(108, 179, 227, .38), transparent 62%),
    radial-gradient(circle at 70% 60%, rgba(240, 149, 74, .22), transparent 60%);
  filter: blur(10px);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
.hero__title {
  font-size: clamp(2rem, 5.2vw, 3.4rem);
  line-height: 1.3;
  letter-spacing: -.01em;
  margin-bottom: .6rem;
}
.grad {
  display: block;
  background: linear-gradient(105deg, var(--brand-500), var(--accent-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  color: var(--ink-500);
  max-width: 54ch;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 2.2rem; }
.hero__actions .btn--ghost svg { transform: scaleX(-1); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .45rem .95rem .45rem .8rem;
  border-radius: var(--radius-pill);
  background: var(--brand-100);
  color: var(--brand-700);
  border: 1px solid color-mix(in srgb, var(--brand-300) 55%, transparent);
  font-size: .84rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
}
.badge__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(18, 115, 191, .18);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(18, 115, 191, .18); }
  50% { box-shadow: 0 0 0 8px rgba(18, 115, 191, .06); }
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1rem, 4vw, 2.6rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.hero__trust li { display: flex; flex-direction: column; }
.hero__trust strong {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-700);
  line-height: 1.2;
}
.hero__trust span { font-size: .84rem; color: var(--ink-500); }

.hero__visual { position: relative; }

.audiogram {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.2rem 1.2rem 1.5rem;
}
.audiogram__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--ink-500);
  margin-bottom: .8rem;
}
.audiogram__legend { display: inline-flex; align-items: center; gap: .35rem; font-weight: 500; }
.dot {
  width: 9px; height: 9px; border-radius: 50%;
  display: inline-block;
  margin-inline-start: .35rem;
}
.dot--right { background: var(--brand-500); }
.dot--left { background: var(--accent-500); }

.audiogram__chart { position: relative; }
.grid {
  height: clamp(140px, 22vw, 180px);
  border-radius: var(--radius-sm);
  background-image:
    linear-gradient(to bottom, var(--line) 1px, transparent 1px),
    linear-gradient(to left, var(--line) 1px, transparent 1px);
  background-size: 100% 25%, 16.666% 100%;
  background-color: var(--surface-alt);
}
.chart {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  height: clamp(140px, 22vw, 180px);
  z-index: 1;
}
.chart__line { fill: none; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.chart__line--right { stroke: var(--brand-500); }
.chart__line--left { stroke: var(--accent-500); stroke-dasharray: 7 6; }

.audiogram__axis {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  font-size: .7rem;
  color: var(--ink-300);
  text-align: center;
  padding-top: .5rem;
}
.audiogram__note {
  position: absolute;
  inset-block-end: .4rem;
  inset-inline-start: 1.2rem;
  font-size: .7rem;
  color: var(--ink-300);
  margin: 0;
}

.float-card {
  display: flex;
  align-items: center;
  gap: .7rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: .7rem .9rem;
  position: absolute;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}
.float-card svg { width: 22px; height: 22px; color: var(--brand-500); flex: none; }
.float-card div { display: flex; flex-direction: column; line-height: 1.4; }
.float-card strong { font-size: .86rem; color: var(--ink-900); }
.float-card span { font-size: .74rem; color: var(--ink-500); }
.float-card--a { inset-block-start: -18px; inset-inline-start: -14px; }
.float-card--b { inset-block-end: -18px; inset-inline-end: -10px; animation-delay: 1.4s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ============ Inner pages ============ */
.page-head {
  position: relative;
  padding: clamp(1.75rem, 4vw, 3rem) 0 clamp(2rem, 4.5vw, 3.25rem);
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(18, 115, 191, .16), transparent 62%),
    radial-gradient(60% 110% at 0% 100%, rgba(240, 149, 74, .12), transparent 58%),
    var(--surface-alt);
  border-bottom: 1px solid var(--line);
}
.page-head__inner { max-width: 76ch; margin-inline: auto; }

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .45rem;
  font-size: .82rem;
  color: var(--ink-500);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--ink-500); font-weight: 600; }
.breadcrumb a:hover { color: var(--brand-500); }
.breadcrumb__sep { color: var(--ink-300); }
.breadcrumb__current { color: var(--ink-700); font-weight: 600; }

.page-head__title {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  line-height: 1.4;
  margin-bottom: .6rem;
}
.page-head__lead {
  color: var(--ink-500);
  font-size: clamp(.95rem, 1.3vw, 1.08rem);
  max-width: 68ch;
  margin: 0;
}

.page-body { padding: clamp(2rem, 5vw, 3.5rem) 0; }

/* ============ Article frame ============ */
.article {
  max-width: 880px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.3rem, 4vw, 3rem);
}

.prose {
  color: var(--ink-700);
  font-size: clamp(.96rem, 1.05vw, 1.06rem);
  line-height: 2.05;
  text-align: right;
}
.prose > *:first-child { margin-top: 0; }
.prose > *:last-child { margin-bottom: 0; }

.prose h2 {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  margin: clamp(1.8rem, 4vw, 2.6rem) 0 .8rem;
  padding-bottom: .55rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.prose h2::after {
  content: "";
  position: absolute;
  inset-block-end: -1px;
  inset-inline-start: 0;
  width: 68px;
  height: 3px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--brand-500), var(--accent-500));
}
.prose h3 { font-size: clamp(1.08rem, 1.8vw, 1.25rem); margin: clamp(1.4rem, 3vw, 2rem) 0 .5rem; }

.prose p { margin: 0 0 1.05rem; }

.prose ul,
.prose ol {
  margin: 0 0 1.2rem;
  padding-inline-start: 1.3rem;
  display: grid;
  gap: .5rem;
}
.prose ul { list-style: none; padding-inline-start: 1.5rem; }
.prose ul li { position: relative; }
.prose ul li::before {
  content: "";
  position: absolute;
  inset-inline-start: -1.1rem;
  inset-block-start: .85em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-500);
  box-shadow: 0 0 0 4px var(--brand-100);
}
.prose ol { list-style: arabic-indic; }
.prose li { line-height: 1.95; }

.prose strong { color: var(--ink-900); font-weight: 800; }
.prose a { color: var(--brand-500); text-decoration: underline; text-underline-offset: 4px; }
.prose a:hover { color: var(--brand-700); }

.prose blockquote {
  margin: 1.6rem 0;
  padding: 1rem 1.2rem;
  border-inline-start: 4px solid var(--brand-500);
  border-radius: var(--radius-sm);
  background: var(--brand-100);
  color: var(--ink-700);
}
.prose blockquote p:last-child { margin-bottom: 0; }

.prose img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  height: auto;
}

.prose-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.4rem 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.prose .prose-table table {
  margin: 0;
  min-width: 520px;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4rem 0;
  font-size: .92rem;
}
.prose th,
.prose td {
  padding: .75rem .9rem;
  border: 1px solid var(--line);
  text-align: right;
}
.prose thead th { background: var(--surface-alt); color: var(--ink-900); }
.prose tbody tr:nth-child(even) { background: var(--surface-alt); }

@media (max-width: 560px) {
  .article { border-radius: var(--radius); }
  .prose { line-height: 1.95; }
}

/* ============ Sections ============ */
.section { padding: var(--space-section) 0; }
.section--alt { background: var(--surface-alt); }
.section--accent {
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(18, 115, 191, .22), transparent 60%),
    radial-gradient(60% 100% at 0% 100%, rgba(240, 149, 74, .16), transparent 55%),
    var(--surface-alt);
}

.section__head {
  max-width: 62ch;
  margin: 0 auto clamp(2.2rem, 5vw, 3.5rem);
  text-align: center;
}
.section__title { font-size: clamp(1.35rem, 3vw, 2rem); }
.section__desc { color: var(--ink-500); margin: 0 auto; }

.eyebrow {
  display: inline-block;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--brand-500);
  background: var(--brand-100);
  padding: .3rem .85rem;
  border-radius: var(--radius-pill);
  margin-bottom: .9rem;
}

/* ============ Cards ============ */
.cards {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--brand-300) 60%, var(--line));
}
.card__icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 17px;
  background: var(--brand-100);
  color: var(--brand-700);
  margin-bottom: 1.1rem;
}
.card__icon svg { width: 27px; height: 27px; }
.card h3 { font-size: 1.1rem; }
.card p { color: var(--ink-500); font-size: .93rem; margin: 0; }

/* ============ Articles listing ============ */
.articles-grid {
  display: grid;
  gap: clamp(1.2rem, 2.5vw, 1.8rem);
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.article-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--brand-300) 60%, var(--line));
}

.article-card__media { position: relative; }
.article-card__image-wrapper {
  position: relative;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(18, 115, 191, .12), transparent 60%),
    var(--surface-alt);
}
.article-card__image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: clamp(.9rem, 3vw, 1.5rem);
  transition: transform .45s var(--ease);
}
.article-card:hover .article-card__image-wrapper img { transform: scale(1.07); }

.article-card__media .article-card__tag {
  position: absolute;
  inset-block-start: .8rem;
  inset-inline-start: .8rem;
  z-index: 1;
  background: rgba(6, 34, 56, .82);
  color: #fff;
  font-size: .74rem;
  font-weight: 700;
  padding: .3rem .75rem;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
}

.article-card__content {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  flex: 1;
  padding: 1.25rem 1.35rem 1.45rem;
}
.article-card__title { font-size: 1.12rem; margin: 0; }
.article-card__title a { color: inherit; }
.article-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.article-card:hover .article-card__title a { color: var(--brand-500); }
.article-card__excerpt { color: var(--ink-500); font-size: .92rem; line-height: 1.9; margin: 0; flex: 1; }

.article-card__meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .2rem; }
.article-card__meta .article-card__tag {
  font-size: .74rem;
  font-weight: 600;
  color: var(--brand-700);
  background: var(--brand-100);
  padding: .24rem .7rem;
  border-radius: var(--radius-pill);
}

/* ============ CTA ============ */
.cta-card {
  position: relative;
  text-align: center;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.4rem) clamp(1.3rem, 4vw, 3rem);
  background:
    radial-gradient(80% 140% at 100% 0%, rgba(18, 115, 191, .34), transparent 60%),
    radial-gradient(70% 120% at 0% 100%, rgba(240, 149, 74, .24), transparent 55%),
    var(--surface-dark);
  color: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.cta__title { color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: .5rem; }
.cta__text { color: rgba(255, 255, 255, .8); max-width: 62ch; margin: 0 auto 1.7rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.cta-card .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .38); }
.cta-card .btn--ghost:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .65); color: #fff; }

/* ============ Hearing aid sliders ============ */
.sliders { display: grid; gap: clamp(1.6rem, 3vw, 2.6rem); min-width: 0; }

.slider {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.1rem, 2.5vw, 1.6rem);
  min-width: 0;
}

.slider__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: .9rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.slider__title {
  font-size: clamp(.98rem, 2vw, 1.12rem);
  margin: 0;
  display: flex;
  align-items: center;
  gap: .6rem;
  min-width: 0;
}
.slider__title::before {
  content: "";
  width: 8px;
  height: 22px;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, var(--brand-500), var(--accent-500));
  flex: none;
}
.slider__title-link {
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
.slider__title-link::after {
  content: "←";
  font-size: .85em;
  color: var(--brand-500);
  transition: transform .25s var(--ease);
}
.slider__title-link:hover { color: var(--brand-500); }
.slider__title-link:hover::after { transform: translateX(-5px); }
.slider__nav { display: flex; gap: .5rem; }
.slider__btn {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface-alt);
  color: var(--ink-700);
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.slider__btn:hover {
  background: var(--brand-100);
  border-color: var(--brand-300);
  color: var(--brand-700);
  transform: translateY(-2px);
}
.slider__btn:disabled { opacity: .38; cursor: not-allowed; transform: none; }

.slider__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scroll-padding-inline-start: 0;
  padding-bottom: .5rem;
  min-width: 0;
  max-width: 100%;
}
.slider__track { display: flex; gap: 1rem; min-width: 0; }

.slide {
  flex: 0 0 calc((100% - 2rem) / 3);
  min-width: 0;
  overflow: hidden;
  scroll-snap-align: start;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.slide:hover {
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--brand-300) 60%, var(--line));
}

.slide__media {
  position: relative;
  height: 132px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background:
    radial-gradient(circle at 50% 20%, rgba(108, 179, 227, .3), transparent 62%),
    linear-gradient(160deg, var(--brand-900), var(--brand-700));
  color: #fff;
  overflow: hidden;
}
.slide__media--ite {
  background:
    radial-gradient(circle at 50% 20%, rgba(240, 149, 74, .32), transparent 62%),
    linear-gradient(160deg, var(--brand-900), var(--brand-500));
}
.slide__media--iic {
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, .26), transparent 62%),
    linear-gradient(160deg, #11416b, var(--brand-900));
}
.slide__media--ai {
  background:
    radial-gradient(circle at 50% 20%, rgba(56, 189, 248, .38), transparent 62%),
    linear-gradient(160deg, var(--brand-700), var(--brand-900));
}
.slide__media--analog {
  background:
    radial-gradient(circle at 50% 20%, rgba(148, 163, 184, .34), transparent 62%),
    linear-gradient(160deg, #334155, #0d1b29);
}
.slide__media--charge {
  background:
    radial-gradient(circle at 50% 20%, rgba(52, 211, 153, .34), transparent 62%),
    linear-gradient(160deg, #0b4f86, #062a4d);
}
.slide__media svg { width: 96px; height: 96px; opacity: .95; }
.slide__media--product {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, .32), transparent 56%),
    linear-gradient(160deg, var(--brand-900), var(--brand-700));
}
.slide__product-image {
  display: block;
  width: min(90%, 210px);
  height: 90%;
  object-fit: contain;
  filter: drop-shadow(0 12px 12px rgba(1, 27, 49, .3));
  transition: transform .25s var(--ease);
}
.slide:hover .slide__product-image { transform: scale(1.04); }
.slide__media--product .slide__tag { z-index: 1; }
.slide__tag {
  position: absolute;
  inset-block-start: .6rem;
  inset-inline-start: .6rem;
  font-size: .7rem;
  font-weight: 700;
  padding: .22rem .6rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .94);
  color: var(--brand-900);
}

.slide h4 { font-size: .98rem; margin: .4rem 0 0; }
.slide__brand {
  font-size: .76rem;
  font-weight: 700;
  color: var(--brand-500);
  margin: 0;
  text-align: start;
}
.slide__specs {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin: 0 0 .6rem;
}
.slide__specs li {
  font-size: .72rem;
  padding: .2rem .55rem;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-500);
}

/* ============ Exams ============ */
.exams {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}
.exam {
  display: flex;
  gap: .95rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.exam:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--brand-300) 60%, var(--line));
}
.exam__icon {
  flex: none;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--brand-100);
  color: var(--brand-700);
}
.exam__icon svg { width: 23px; height: 23px; }
.exam h3 { font-size: 1rem; margin-bottom: .2rem; }
.exam p { font-size: .89rem; color: var(--ink-500); margin: 0; }

/* ============ Online hearing test ============ */
.hearing-test {
  background:
    radial-gradient(70% 100% at 0% 0%, rgba(18, 115, 191, .16), transparent 60%),
    radial-gradient(60% 100% at 100% 100%, rgba(240, 149, 74, .12), transparent 55%),
    var(--surface-alt);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.ht {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.2rem);
  max-width: 980px;
  margin-inline: auto;
}

.ht__info {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.3rem, 3vw, 1.8rem);
}
.ht__info-title { font-size: 1.05rem; margin-bottom: 1.1rem; }
.ht__checklist { display: grid; gap: 1rem; }
.ht__checklist li { display: flex; gap: .85rem; align-items: flex-start; }
.ht__check-icon {
  flex: none;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: var(--brand-100);
  color: var(--brand-700);
}
.ht__check-icon svg { width: 21px; height: 21px; }
.ht__checklist div { display: flex; flex-direction: column; }
.ht__checklist strong { font-size: .92rem; color: var(--ink-900); }
.ht__checklist span { font-size: .84rem; color: var(--ink-500); }
.ht__info-note {
  margin: 1.3rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: .82rem;
  color: var(--ink-500);
}

.ht__card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.4rem, 3.5vw, 2.4rem);
  overflow: hidden;
}

.ht__progress {
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 5px;
  background: var(--line);
}
.ht__progress-bar {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  background: linear-gradient(90deg, var(--brand-500), var(--accent-500));
  transition: width .4s var(--ease);
}

.ht__panel { animation: htFade .4s var(--ease); }
@keyframes htFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.ht__badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .35rem .9rem;
  border-radius: var(--radius-pill);
  background: var(--brand-100);
  color: var(--brand-700);
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.ht__title { font-size: clamp(1.2rem, 3vw, 1.55rem); margin-bottom: .5rem; }
.ht__text { color: var(--ink-500); font-size: .95rem; }

.ht__mini-steps {
  display: grid;
  gap: .55rem;
  margin: 1.3rem 0 1.6rem;
}
.ht__mini-steps li {
  position: relative;
  padding-inline-start: 1.7rem;
  font-size: .88rem;
  color: var(--ink-700);
}
.ht__mini-steps li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: .55em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-500);
  box-shadow: 0 0 0 4px var(--brand-100);
}

.ht__alert {
  margin: 1rem 0 0;
  padding: .7rem .95rem;
  border-radius: var(--radius-sm);
  background: #fdeceb;
  color: #b3352c;
  font-size: .85rem;
  font-weight: 600;
}

.ht__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}
.ht__ear,
.ht__freq {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .85rem;
  font-weight: 700;
  padding: .35rem .9rem;
  border-radius: var(--radius-pill);
}
.ht__ear { background: var(--brand-100); color: var(--brand-700); }
.ht__freq { background: var(--surface-alt); color: var(--ink-700); border: 1px solid var(--line); }
.ht__ear[data-side="left"] { background: color-mix(in srgb, var(--accent-300) 45%, var(--surface)); color: #9a5a1c; }

.ht__tone {
  position: relative;
  height: clamp(150px, 26vw, 200px);
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--brand-900), var(--brand-700));
  overflow: hidden;
  margin-bottom: 1.2rem;
}
.ht__tone span {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .35);
  width: 60px; height: 60px;
  opacity: 0;
}
.ht__tone-core {
  position: relative;
  width: 76px; height: 76px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .35);
  backdrop-filter: blur(2px);
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.ht__tone-core svg { width: 36px; height: 36px; }

.ht__tone.is-playing .ht__tone-core {
  background: rgba(255, 255, 255, .28);
  transform: scale(1.08);
}
.ht__tone.is-playing span { animation: htRipple 1.2s ease-out infinite; }
.ht__tone.is-playing span:nth-child(2) { animation-delay: .4s; }
.ht__tone.is-playing span:nth-child(3) { animation-delay: .8s; }
@keyframes htRipple {
  0% { opacity: .75; width: 60px; height: 60px; }
  100% { opacity: 0; width: 210px; height: 210px; }
}

.ht__status {
  text-align: center;
  font-size: .92rem;
  color: var(--ink-500);
  margin: 0 0 1.2rem;
  min-height: 1.6em;
}
.ht__status.is-strong { color: var(--ink-900); font-weight: 600; }

.ht__answers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
}
.ht__answers .btn { width: 100%; }
.ht__play { grid-column: 1 / -1; }
.ht__answer-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
}

.ht__secondary {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}
.ht__link-btn {
  background: none;
  border: 0;
  padding: .3rem;
  color: var(--ink-500);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: color-mix(in srgb, var(--ink-500) 40%, transparent);
}
.ht__link-btn:hover:not(:disabled) { color: var(--brand-500); }
.ht__link-btn:disabled { opacity: .45; cursor: not-allowed; }

.ht__summary {
  display: grid;
  gap: .8rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin: 1.4rem 0;
}
.ht__stat {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .9rem 1rem;
}
.ht__stat strong {
  display: block;
  font-size: 1.05rem;
  color: var(--brand-700);
  unicode-bidi: plaintext;
}
.ht__stat span { font-size: .78rem; color: var(--ink-500); }

.ht__table-wrap { overflow-x: auto; margin-bottom: 1.4rem; }
.ht__table {
  width: 100%;
  min-width: 320px;
  border-collapse: collapse;
  font-size: .88rem;
}
.ht__table th,
.ht__table td {
  padding: .7rem .8rem;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.ht__table th {
  background: var(--surface-alt);
  color: var(--ink-900);
  font-weight: 700;
  font-size: .82rem;
}
.ht__table td { color: var(--ink-700); }
.ht__table td:first-child { font-weight: 600; color: var(--ink-900); }
.ht__table td.is-normal { color: #1273bf; font-weight: 700; }
.ht__table td.is-mild { color: #b7791f; font-weight: 700; }
.ht__table td.is-marked { color: #c2410c; font-weight: 700; }

.ht__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}
.ht__actions .btn { flex: 1 1 auto; }

.ht__disclaimer {
  max-width: 980px;
  margin: 1.4rem auto 0;
  font-size: .8rem;
  line-height: 1.9;
  color: var(--ink-500);
  text-align: center;
}

@media (min-width: 860px) {
  .ht { grid-template-columns: .85fr 1.15fr; align-items: start; }
  .ht__info { position: sticky; top: calc(var(--header-h) + 24px); }
}

@media (max-width: 520px) {
  .ht__answers { grid-template-columns: 1fr; }
  .ht__answer-row { grid-template-columns: 1fr; }
  .ht__actions .btn { flex-basis: 100%; }
}

/* ============ Contact / Form ============ */
.contact {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
.info-list { display: grid; gap: 1.1rem; margin-top: 1.8rem; }
.info-list li { display: flex; gap: .9rem; align-items: flex-start; }
.info-list__icon {
  flex: none;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--brand-500);
  box-shadow: var(--shadow-sm);
}
.info-list__icon svg { width: 21px; height: 21px; }
.info-list div { display: flex; flex-direction: column; }
.info-list strong { font-size: .92rem; color: var(--ink-900); }
.info-list span { font-size: .88rem; color: var(--ink-500); }

.map-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.map-card__frame {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--surface-alt);
}
.map-card__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.map-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.1rem clamp(1.1rem, 3vw, 1.5rem);
  border-top: 1px solid var(--line);
}
.map-card__meta { min-width: 0; }
.map-card__meta strong { font-size: .95rem; color: var(--ink-900); }
.map-card__foot .btn { flex: none; }

@media (min-width: 720px) {
  .map-card__frame { aspect-ratio: 16 / 11; }
}

/* ============ Footer ============ */
.footer {
  background: var(--surface-dark);
  color: rgba(255, 255, 255, .74);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.5rem;
}
.footer h3, .footer h4 { color: #fff; font-size: .95rem; margin-bottom: .9rem; }
.footer a { color: rgba(255, 255, 255, .74); }
.footer a:hover { color: #fff; }
.footer__inner {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  padding-bottom: 2rem;
}
.footer__brand p { font-size: .88rem; margin: 1rem 0 0; max-width: 34ch; }
.social-links {
  display: flex;
  gap: .65rem;
  margin-top: 1.25rem;
  direction: ltr;
}
.social-links__item {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .07);
  transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}
.social-links__item svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.social-links__item:hover {
  color: #fff;
  background: var(--brand-500);
  border-color: var(--brand-300);
  transform: translateY(-3px);
}
.social-links__item:focus-visible {
  outline: 3px solid var(--accent-300);
  outline-offset: 3px;
}
.logo--light { color: #fff; }
.logo--light .logo__text small { color: rgba(255, 255, 255, .6); }
.logo--light .logo__mark { background: linear-gradient(140deg, var(--brand-500), var(--brand-300)); }
.footer__brand .logo { font-size: clamp(1.05rem, 2vw, 1.35rem); }
.footer__brand .logo__mark--image {
  width: 4.2em;
  height: 4.2em;
}
.logo--light .logo__mark--image {
  background: none;
  box-shadow: none;
}
.logo--light .logo__mark--image img {
  filter: brightness(0) invert(1);
  opacity: .92;
}
.footer__nav ul,
.footer__contact ul { display: grid; gap: .5rem; font-size: .88rem; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 1.3rem;
  font-size: .8rem;
}
.footer__bottom p { margin: 0; }
.footer__lic { opacity: .65; }

/* ============ To top ============ */
.to-top {
  position: fixed;
  inset-block-end: 1.2rem;
  inset-inline-start: 1.2rem;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--brand-700);
  color: #fff;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  z-index: 90;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand-500); color: #fff; }
.to-top svg { width: 21px; height: 21px; }

/* ============ Reveal ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .slide { flex-basis: calc((100% - 1rem) / 2); }
}

@media (max-width: 720px) {
  .slide { flex-basis: 100%; }
  .slider__track { gap: 0; }
  .slider__btn { width: 38px; height: 38px; }
  .slide__media { height: 116px; }
  .footer__contact .social-links { justify-content: center; }
}

@media (min-width: 980px) {
  .hero__inner { grid-template-columns: 1.05fr .95fr; }
  .contact { grid-template-columns: 1fr 1.05fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    inset-block-start: var(--header-h);
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    gap: .4rem;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 1rem clamp(1.1rem, 4vw, 2rem) 1.4rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: .15rem; }
  .nav__list a { padding: .75rem .9rem; border-radius: var(--radius-sm); }
  .nav__cta { width: 100%; margin-top: .4rem; }
}

@media (max-width: 560px) {
  .float-card--a { inset-inline-start: -6px; inset-block-start: -14px; }
  .float-card--b { inset-inline-end: -4px; inset-block-end: -14px; }
  .float-card span { display: none; }
  .hero__trust { gap: 1.2rem 1.6rem; }
  .hero__trust strong { font-size: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .header, .to-top, .nav-toggle, .float-card { display: none !important; }
  body { color: #000; }
}
