/* ============================================================
   Crown-Med — modern medtech (v2)
   Plus Jakarta Sans only. No italics. Cool palette only.
   ============================================================ */

:root {
  /* Surfaces */
  --bg:           #ffffff;
  --bg-alt:       #f4f6fb;
  --bg-deep:      #0a1024;        /* near-black navy for footer / dark band */

  /* Ink */
  --ink:          #0a1024;        /* near-black navy body text */
  --ink-soft:     #3b4356;        /* secondary text */
  --ink-muted:    #6b7488;        /* tertiary text */

  /* Brand + accent */
  --brand:        #154962;        /* deep teal-blue */
  --brand-700:    #0d2e3e;
  --accent:       #06b6d4;        /* electric cyan */
  --accent-600:   #0891b2;
  --accent-100:   #cffafe;

  /* Lines / borders */
  --line:         #e6ebf2;
  --line-soft:    #eef1f6;

  /* Misc */
  --radius-sm:    8px;
  --radius:       14px;
  --radius-lg:    20px;
  --shadow-sm:    0 1px 2px rgba(10, 16, 36, 0.04);
  --shadow:       0 12px 32px -16px rgba(10, 16, 36, 0.18);

  --container:    1200px;
  --space:        clamp(16px, 2vw, 24px);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'cv01';
}

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

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--accent-600); }

button { font-family: inherit; }

/* No italics — anywhere. */
em, i, cite, dfn, address, var { font-style: normal; }

.skip-link {
  position: absolute; left: -10000px; top: 8px;
  background: var(--brand); color: #fff; padding: 8px 12px;
  border-radius: 6px; z-index: 100;
}
.skip-link:focus { left: 16px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ------------------------------------------------------------
   Topbar
------------------------------------------------------------ */
.topbar {
  background: var(--bg-deep);
  color: #cbd5e6;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.topbar__row {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 38px; gap: 16px;
}
.topbar__left { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.topbar__link {
  display: inline-flex; align-items: center; gap: 6px;
  color: #cbd5e6;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.topbar__link:hover { color: #ffffff; }
.topbar__link--muted { color: #8e98ad; }
.topbar__divider { width: 3px; height: 3px; border-radius: 50%; background: #4a5366; }
.topbar__right { display: flex; align-items: center; gap: 10px; }
.topbar__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 6px;
  color: #cbd5e6;
}
.topbar__icon:hover { background: rgba(255,255,255,0.06); color: #ffffff; }

@media (max-width: 720px) {
  .topbar { font-size: 12px; }
  .topbar__row { padding-block: 8px; }
  .topbar__link--muted { display: none; }
}

/* ------------------------------------------------------------
   Header
------------------------------------------------------------ */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__row {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 76px; gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--brand); }
.brand__mark { color: var(--brand); display: inline-flex; }
.brand__text { display: inline-flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand__tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 2px;
}
.brand--light .brand__name { color: #ffffff; }
.brand--light .brand__tag { color: #8e98ad; }
.brand--light .brand__mark { color: #ffffff; }

.nav__list {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 4px; align-items: center;
}
.nav__item > a {
  display: inline-block;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  border-radius: 8px;
  transition: color .15s ease, background .15s ease;
}
.nav__item > a:hover { color: var(--ink); background: var(--bg-alt); }

.header__actions { display: flex; align-items: center; gap: 12px; }
.header__cta {
  white-space: nowrap;
}

.nav-toggle {
  display: none; width: 40px; height: 40px;
  border: 1px solid var(--line); background: #ffffff; border-radius: 8px;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  cursor: pointer;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
}

@media (max-width: 960px) {
  .header__row { min-height: 68px; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #ffffff; border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .15s ease, transform .15s ease;
    padding: 12px 24px;
  }
  .nav--open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__item > a { padding: 14px 12px; }
  .nav-toggle { display: inline-flex; }
  .header__cta { display: none; }
}

/* ------------------------------------------------------------
   Buttons
------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.btn--lg { padding: 14px 24px; font-size: 16px; border-radius: 12px; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--brand);
  color: #ffffff;
  border-color: var(--brand);
}
.btn--primary:hover {
  background: var(--brand-700);
  transform: translateY(-1px);
}

.btn--accent {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}
.btn--accent:hover {
  background: var(--accent-600);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn--ghost {
  background: #ffffff;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}

.btn--ghost-light {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,0.3);
}
.btn--ghost-light:hover {
  border-color: #ffffff;
  background: rgba(255,255,255,0.06);
  transform: translateY(-1px);
}

/* ------------------------------------------------------------
   Hero
------------------------------------------------------------ */
.hero {
  position: relative;
  padding: clamp(64px, 9vw, 128px) 0 clamp(64px, 9vw, 112px);
  overflow: hidden;
  background: #ffffff;
}
.hero__bg {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(10, 31, 77, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 31, 77, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 35%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 35%, transparent 75%);
}
.hero__glow {
  position: absolute;
  top: -120px; right: -120px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6,182,212,0.18), transparent 65%);
  filter: blur(8px);
}

.hero__row {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.hero__title {
  font-size: clamp(44px, 6.5vw, 78px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--ink);
  margin: 18px 0 22px;
}
.hero__title-accent {
  color: var(--brand);
}
.hero__lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 32px;
  max-width: 540px;
}
.hero__actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero__chips {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 8px; flex-wrap: wrap;
}
.hero__chips li {
  display: inline-flex; align-items: center;
  padding: 6px 12px;
  font-size: 13px; font-weight: 600;
  color: var(--ink-soft);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  letter-spacing: 0.01em;
}

/* Eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-600);
}
.eyebrow__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(6,182,212,0.15);
}
.eyebrow--light { color: var(--accent); }
.eyebrow--light .eyebrow__dot { box-shadow: 0 0 0 4px rgba(6,182,212,0.2); }

/* Hero visual panel */
.hero-panel {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px -40px rgba(10, 16, 36, 0.25);
  overflow: hidden;
  transform: rotate(0.6deg);
}
.hero-panel__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.hero-panel__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #cbd5e6;
}
.hero-panel__dot:nth-child(1) { background: #94a3c0; }
.hero-panel__dot:nth-child(2) { background: #b6c0d4; }
.hero-panel__dot:nth-child(3) { background: #d6dde8; }
.hero-panel__label {
  margin-left: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: 0.01em;
}
.hero-panel__body { padding: 22px; display: flex; flex-direction: column; gap: 18px; }
.hero-panel__row { display: flex; gap: 8px; flex-wrap: wrap; }
.hero-panel__chip {
  padding: 6px 10px;
  font-size: 12px; font-weight: 600;
  border-radius: 8px;
  background: var(--bg-alt);
  color: var(--ink-soft);
  border: 1px solid var(--line);
}
.hero-panel__row .hero-panel__chip:first-child {
  background: var(--brand);
  color: #ffffff;
  border-color: var(--brand);
}
.hero-panel__product {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  padding: 12px;
}
.hero-panel__meta {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.hero-panel__metaItem {
  display: flex; flex-direction: column; gap: 4px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
}
.hero-panel__metaLabel {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--ink-muted);
}
.hero-panel__metaVal {
  font-size: 14px; font-weight: 700; color: var(--ink);
  display: inline-flex; align-items: center; gap: 6px;
}
.hero-panel__metaVal--ok { color: var(--accent-600); }
.hero-panel__pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(6,182,212,0.5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(6,182,212,0.45); }
  70% { box-shadow: 0 0 0 8px rgba(6,182,212,0); }
  100% { box-shadow: 0 0 0 0 rgba(6,182,212,0); }
}

@media (max-width: 960px) {
  .hero__row { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 480px; margin: 0 auto; width: 100%; }
  .hero-panel { transform: none; }
}

/* ------------------------------------------------------------
   Trust strip
------------------------------------------------------------ */
.trust {
  background: var(--bg);
  padding: 36px 0 12px;
  border-top: 1px solid var(--line);
}
.trust__label {
  text-align: center;
  font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-muted);
  margin: 0 0 18px;
}
.trust__row {
  display: flex; gap: 10px; flex-wrap: wrap;
  justify-content: center;
}
.trust__chip {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px; font-weight: 600;
  color: var(--ink-soft);
  background: #ffffff;
  letter-spacing: 0.01em;
}

/* ------------------------------------------------------------
   Sections
------------------------------------------------------------ */
.section {
  padding: clamp(72px, 10vw, 128px) 0;
}
.section--alt {
  background: var(--bg-alt);
}

.section__head {
  max-width: 780px;
  margin: 0 0 56px;
}
.section__title {
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: var(--ink);
  margin: 14px 0 16px;
}
.section__lead {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0;
  max-width: 640px;
}

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

@media (max-width: 960px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* Cards */
.card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.card:hover {
  border-color: #cbd5e6;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--accent-100);
  color: var(--brand);
  margin-bottom: 18px;
}
.card__title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 10px;
}
.card__text {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 18px;
}
.card__link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 14px; font-weight: 700;
  color: var(--brand);
  letter-spacing: -0.005em;
}
.card__link:hover { color: var(--accent-600); gap: 8px; }
.card__link span { transition: transform .15s ease; display: inline-block; }
.card__link:hover span { transform: translateX(2px); }

/* Products */
.product {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.product:hover {
  border-color: #cbd5e6;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.product__media {
  background:
    linear-gradient(180deg, #ffffff 0%, #eef1f6 100%);
  border: 1px solid var(--line);
  border-radius: 10px;
  aspect-ratio: 16 / 11;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  overflow: hidden;
}
.product__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}
.product__text {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}

/* ------------------------------------------------------------
   Stats band — dark navy
------------------------------------------------------------ */
.stats {
  background: var(--bg-deep);
  color: #ffffff;
  padding: clamp(56px, 8vw, 96px) 0;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 30%, rgba(6,182,212,0.18), transparent 50%),
    radial-gradient(circle at 10% 70%, rgba(30,64,175,0.22), transparent 55%);
  pointer-events: none;
}
.stats__grid {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.stat {
  display: flex; flex-direction: column; gap: 6px;
}
.stat__num {
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #ffffff;
}
.stat__label {
  font-size: 14px;
  color: #b6c0d4;
  font-weight: 500;
}
@media (max-width: 760px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* ------------------------------------------------------------
   About
------------------------------------------------------------ */
.about {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.about__title {
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: var(--ink);
  margin: 14px 0 22px;
}
.about__text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 16px;
}

/* ------------------------------------------------------------
   CTA panel
------------------------------------------------------------ */
.cta {
  padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 9vw, 112px);
}
.cta__panel {
  background: linear-gradient(135deg, var(--brand) 0%, #0a1024 100%);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 64px);
  color: #ffffff;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta__panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 80% 20%, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 80% 20%, #000 30%, transparent 70%);
  pointer-events: none;
}
.cta__copy { position: relative; }
.cta__title {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 800;
  margin: 14px 0 14px;
  color: #ffffff;
}
.cta__text {
  font-size: 17px;
  line-height: 1.6;
  color: #cbd5e6;
  margin: 0;
  max-width: 520px;
}
.cta__actions {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  justify-content: center;
}
.cta__actions .btn { justify-content: center; }
@media (max-width: 760px) {
  .cta__panel { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------
   Footer
------------------------------------------------------------ */
.footer {
  background: var(--bg-deep);
  color: #b6c0d4;
  padding: clamp(56px, 8vw, 96px) 0 28px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__brand .brand { margin-bottom: 16px; }
.footer__about {
  font-size: 14px;
  line-height: 1.6;
  color: #8e98ad;
  max-width: 320px;
  margin: 0;
}
.footer__heading {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin: 0 0 16px;
}
.footer__list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 14.5px;
}
.footer__list a {
  color: #b6c0d4;
}
.footer__list a:hover { color: #ffffff; }
.footer__list--contact { margin-bottom: 16px; }
.footer__cta-btn { margin-top: 4px; }

.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  font-size: 13px;
  color: #8e98ad;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__bottomLinks { display: inline-flex; align-items: center; gap: 8px; }
.footer__bottomLinks a { color: #b6c0d4; }
.footer__bottomLinks a:hover { color: #ffffff; }

@media (max-width: 960px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer__grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 32px; }
  .footer__about { max-width: none; }
}

/* ------------------------------------------------------------
   Reduced motion
------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
