/* ==================================================================
   4S Implant — design system
================================================================== */
:root {
  --ink: #08141f;
  --navy: #0c1f30;
  --navy-2: #143553;
  --blue: #1f6fb2;
  --blue-2: #63b3e8;
  --teal: #19c3b0;
  --ti-0: #ffffff;
  --ti-1: #f4f6f9;
  --ti-2: #e7ebf1;
  --ti-3: #c9d1dc;
  --steel: #6b7a8f;
  --text: #1a2333;
  --muted: #5d6a7e;
  --line: rgba(10, 18, 32, 0.1);
  --line-dark: rgba(255, 255, 255, 0.12);

  --f-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --shadow: 0 20px 60px -20px rgba(11, 23, 48, 0.25);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --header-h: 84px;
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: var(--f-sans);
  color: var(--text);
  background: var(--ti-0);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
::selection { background: var(--blue); color: #fff; }

.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 920px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.hide { display: none !important; }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.dark .eyebrow { color: var(--blue-2); }
.display { font-size: clamp(44px, 7.4vw, 112px); line-height: 0.98; letter-spacing: -0.045em; font-weight: 700; }
.display-md { font-size: clamp(36px, 5vw, 72px); line-height: 1.02; letter-spacing: -0.035em; }
.display-sm { font-size: clamp(30px, 3.6vw, 52px); line-height: 1.06; letter-spacing: -0.03em; }
.h3 { font-size: clamp(22px, 2vw, 28px); }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); max-width: 640px; }
.dark .lead { color: rgba(255, 255, 255, 0.68); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(36px, 5vw, 64px); flex-wrap: wrap; }
.section-head > div { max-width: 720px; }
.section-head h2 { margin-top: 16px; }

/* split-text helpers */
.split-line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split-line > span { display: inline-block; will-change: transform; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg);
  font: 600 15px/1 var(--f-sans); cursor: pointer;
  transition: transform 0.4s var(--ease), background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
  white-space: nowrap;
}
.btn i { font-style: normal; transition: transform 0.4s var(--ease); }
.btn:hover i { transform: translateX(4px); }
.btn-primary { --bg: var(--blue); box-shadow: 0 10px 30px -10px rgba(31, 111, 178, 0.7); }
.btn-primary:hover { --bg: #185d97; }
.btn-light { --bg: #fff; --fg: var(--ink); }
.btn-ghost { --bg: transparent; --fg: currentColor; border-color: currentColor; opacity: 0.85; }
.btn-ghost:hover { opacity: 1; }
.btn-outline-light { --bg: transparent; --fg: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 18px 30px; font-size: 16px; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; color: var(--blue); }
.link-arrow::after { content: "→"; transition: transform 0.4s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }
.dark .link-arrow { color: var(--blue-2); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  color: #fff; transition: background 0.4s, color 0.4s, height 0.4s var(--ease), box-shadow 0.4s;
}
.site-header.is-solid, body.light-header .site-header, .site-header:has(.has-mega:hover) {
  background: rgba(255, 255, 255, 0.92); color: var(--ink);
  backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-solid { height: 70px; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark { height: 46px; width: auto; }
.logo .on-light { display: none; }
.site-header.is-solid .on-dark, body.light-header .site-header .on-dark,
.site-header:has(.has-mega:hover) .on-dark, body.menu-open .site-header .on-dark { display: none; }
.site-header.is-solid .on-light, body.light-header .site-header .on-light,
.site-header:has(.has-mega:hover) .on-light, body.menu-open .site-header .on-light { display: block; }
.logo-word { display: flex; flex-direction: column; line-height: 1.15; padding-left: 12px; border-left: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 25%, transparent); }
.logo-word b { font-size: 15px; font-weight: 800; letter-spacing: .32em; }
.logo-word small { font-size: 9.5px; font-weight: 600; letter-spacing: .05em; opacity: .65; }
.logo-footer img { height: 150px; width: auto; }
@media (max-width: 640px) { .logo-word small { display: none; } .logo-mark { height: 40px; } }
.main-nav { margin-left: auto; height: 100%; }
.main-nav > ul { display: flex; list-style: none; margin: 0; padding: 0; height: 100%; gap: 4px; }
.main-nav > ul > li { display: flex; align-items: center; }
.main-nav > ul > li > a {
  position: relative; padding: 10px 14px; font-size: 15px; font-weight: 600; opacity: 0.88;
}
.main-nav > ul > li > a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
}
.main-nav > ul > li:hover > a::after, .main-nav li.is-current > a::after { transform: scaleX(1); }
.main-nav > ul > li:hover > a { opacity: 1; }
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; color: var(--ink); border-top: 1px solid var(--line);
  box-shadow: 0 40px 60px -30px rgba(11, 23, 48, 0.25);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.3s, transform 0.4s var(--ease), visibility 0.3s;
}
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-inner { display: grid; grid-template-columns: 1.1fr repeat(3, 1fr); gap: 40px; padding-top: 40px; padding-bottom: 48px; }
.mega-title { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.mega-more { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; }
.mega-more i { font-style: normal; color: var(--blue); }
.mega-col h6 { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); margin-bottom: 14px; }
.mega-col a { display: block; padding: 6px 0; font-weight: 500; color: var(--text); transition: color 0.2s, transform 0.3s var(--ease); }
.mega-col a:hover { color: var(--blue); transform: translateX(4px); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; transition: transform 0.4s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
body.menu-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
body.menu-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: #fff; padding-top: calc(var(--header-h) + 16px);
  overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s;
}
body.menu-open { overflow: hidden; }
body.menu-open .mobile-menu { opacity: 1; visibility: visible; }
body.menu-open .site-header { background: #fff; color: var(--ink); }
.mobile-menu details { border-bottom: 1px solid var(--line); }
.mobile-menu summary { list-style: none; padding: 18px 0; font-size: 24px; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; }
.mobile-menu summary::after { content: "+"; color: var(--blue); }
.mobile-menu details[open] summary::after { content: "–"; }
.mobile-menu details div { padding-bottom: 16px; }
.mobile-menu details a { display: block; padding: 8px 0; color: var(--muted); font-weight: 500; }
.mobile-menu .btn { margin: 28px 0 40px; }

/* ---------- sections ---------- */
section { position: relative; }
.pad { padding: clamp(80px, 11vw, 160px) 0; }
.pad-sm { padding: clamp(56px, 7vw, 96px) 0; }
.dark { background: var(--navy); color: #fff; }
.dark .muted { color: rgba(255, 255, 255, 0.6); }
.tint { background: var(--ti-1); }
.anchor { scroll-margin-top: 90px; }

/* ---------- hero (home) ---------- */
.hero {
  min-height: 100svh; display: flex; align-items: center; overflow: hidden;
  background:
    radial-gradient(1100px 700px at 78% 40%, rgba(31, 111, 178, 0.35), transparent 60%),
    radial-gradient(700px 500px at 10% 100%, rgba(25, 195, 176, 0.18), transparent 60%),
    linear-gradient(180deg, #06111b 0%, #0c1f30 100%);
  color: #fff; padding: calc(var(--header-h) + 40px) 0 80px;
}
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; align-items: center; gap: 40px; }
.hero h1 { margin: 22px 0 28px; }
.hero h1 em { color: var(--blue-2); }
.hero .lead { margin-bottom: 40px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { position: relative; height: min(76vh, 680px); display: grid; place-items: center; }
.hero-visual .implant-svg { height: 100%; width: auto; filter: drop-shadow(0 40px 60px rgba(0,0,0,.45)); }
.hero-ring {
  position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.08);
  width: 120%; aspect-ratio: 1; animation: spin 60s linear infinite;
}
.hero-ring::after { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-2); box-shadow: 0 0 20px var(--blue-2); }
.hero-ring.r2 { width: 80%; animation-duration: 40s; animation-direction: reverse; }
.hero-ring.r2::after { background: var(--teal); box-shadow: 0 0 20px var(--teal); }
.hero-spec {
  position: absolute; padding: 12px 16px; border-radius: 14px; font-size: 12px; line-height: 1.4;
  background: rgba(255,255,255,.07); border: 1px solid var(--line-dark); backdrop-filter: blur(10px);
}
.hero-spec b { display: block; font-size: 15px; color: #fff; }
.hero-spec.s1 { top: 18%; left: -6%; } .hero-spec.s2 { bottom: 22%; right: -4%; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.5); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.scroll-cue::after { content: ""; width: 1px; height: 42px; background: linear-gradient(var(--blue-2), transparent); animation: cue 2s var(--ease) infinite; transform-origin: top; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.threads-spin { animation: screw 1.6s linear infinite; }
@keyframes screw { to { transform: translateY(var(--pitch)); } }

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  padding: calc(var(--header-h) + clamp(60px, 9vw, 120px)) 0 clamp(60px, 8vw, 110px);
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(31, 111, 178,.35), transparent 60%),
    linear-gradient(180deg, #06111b, #0c1f30);
  color: #fff; overflow: hidden;
}
.page-hero .crumbs { font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 24px; }
.page-hero .crumbs a:hover { color: #fff; }
.page-hero h1 { margin: 18px 0 24px; max-width: 14ch; }
.page-hero-grid { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; }
.page-hero .implant-row { display: flex; gap: 6px; align-items: end; height: 260px; }
.page-hero .implant-row > div { height: 100%; }
.page-hero .implant-row .implant-svg { height: 100%; width: auto; }
.subnav {
  position: sticky; top: 70px; z-index: 50; background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
}
.subnav .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { padding: 16px 14px; font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.subnav a:hover, .subnav a.active { color: var(--ink); border-color: var(--blue); }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; background: #fff; }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-size: clamp(22px, 2.4vw, 34px); font-weight: 700; letter-spacing: -0.03em; color: var(--ti-3); display: inline-flex; align-items: center; gap: 64px; white-space: nowrap; }
.marquee span::after { content: "✦"; color: var(--blue); font-size: .6em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- intro / statement ---------- */
.statement { font-size: clamp(28px, 3.6vw, 54px); line-height: 1.18; letter-spacing: -0.03em; font-weight: 600; max-width: 22ch; }
.statement .w { opacity: .14; transition: opacity .2s; }
.intro-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: end; }

.maker {
  display: flex; gap: 20px; align-items: center; padding: 22px 24px;
  border: 1px solid var(--line); border-radius: var(--r); background: #fff;
}
.maker-flag { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--ti-1); font-size: 26px; flex-shrink: 0; }
.maker small { display: block; color: var(--steel); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.maker b { font-size: 17px; }

/* ---------- product horizontal showcase ---------- */
.showcase { overflow: hidden; }
.showcase-track { display: flex; gap: 24px; padding: 0 var(--gutter); width: max-content; }
.p-card {
  position: relative; width: clamp(280px, 28vw, 380px); flex-shrink: 0;
  border-radius: var(--r-lg); padding: 28px; overflow: hidden;
  background: linear-gradient(160deg, #133049, #0c1f30 60%);
  border: 1px solid var(--line-dark); color: #fff;
  display: flex; flex-direction: column; min-height: 520px;
  transition: transform .5s var(--ease), border-color .4s;
}
.p-card:hover { transform: translateY(-8px); border-color: rgba(99, 179, 232,.5); }
.p-card .tag { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-2); }
.p-card h3 { font-size: 30px; margin: 10px 0 8px; }
.p-card p { color: rgba(255,255,255,.62); font-size: 15px; }
.p-card .visual { flex: 1; display: grid; place-items: center; min-height: 260px; position: relative; }
.p-card .visual::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(31, 111, 178,.35), transparent 70%); }
.p-card .visual .implant-svg { height: 260px; width: auto; position: relative; transition: transform .7s var(--ease); }
.p-card:hover .visual .implant-svg { transform: scale(1.06) rotate(-4deg); }
.p-card .more { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 18px; border-top: 1px solid var(--line-dark); font-weight: 600; font-size: 14px; }
.p-card .more i { font-style: normal; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: background .3s, transform .4s var(--ease); }
.p-card:hover .more i { background: var(--blue); transform: rotate(-45deg); }
.showcase-progress { height: 2px; background: var(--line-dark); margin-top: 48px; position: relative; }
.showcase-progress span { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--blue-2); }

/* ---------- feature grid ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.feature { background: #fff; padding: 36px 30px 40px; transition: background .4s; }
.feature:hover { background: var(--ti-1); }
.feature .ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, #e8f2fa, #d6e8f5); color: var(--blue); margin-bottom: 28px; }
.feature .ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 20px; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 15px; margin: 0; }
.dark .features { background: var(--line-dark); border-color: var(--line-dark); }
.dark .feature { background: var(--navy); }
.dark .feature:hover { background: var(--navy-2); }
.dark .feature p { color: rgba(255,255,255,.6); }
.dark .feature .ico { background: rgba(99, 179, 232,.12); color: var(--blue-2); }

/* ---------- surface / tech section ---------- */
.tech { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.tech-visual {
  position: relative; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden;
  background: radial-gradient(circle at 50% 45%, #1a4466, #0c1f30 70%);
}
.surface-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.tech-visual .label { position: absolute; left: 24px; bottom: 24px; right: 24px; display: flex; justify-content: space-between; color: rgba(255,255,255,.7); font-size: 13px; }
.tech-list { margin-top: 36px; display: grid; gap: 4px; }
.tech-item { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.dark .tech-item { border-color: var(--line-dark); }
.tech-item .n { font-family: var(--f-serif); font-style: italic; font-size: 28px; color: var(--blue); line-height: 1; }
.dark .tech-item .n { color: var(--blue-2); }
.tech-item h4 { font-size: 18px; margin-bottom: 6px; }
.tech-item p { margin: 0; color: var(--muted); font-size: 15px; }
.dark .tech-item p { color: rgba(255,255,255,.6); }

/* ---------- audience split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.split-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 520px; padding: clamp(28px, 4vw, 48px);
  display: flex; flex-direction: column; justify-content: flex-end; color: #fff; isolation: isolate;
}
.split-card .bg { position: absolute; inset: -10% 0; z-index: -1; transition: transform 1.2s var(--ease); }
.split-card:hover .bg { transform: scale(1.05); }
.split-card.patients .bg { background: radial-gradient(600px 400px at 70% 20%, rgba(25,195,176,.55), transparent 60%), linear-gradient(160deg, #0f3a4a, #0c1f30); }
.split-card.pros .bg { background: radial-gradient(600px 400px at 70% 20%, rgba(31, 111, 178,.6), transparent 60%), linear-gradient(160deg, #1a3a5a, #0c1f30); }
.split-card .art { position: absolute; top: 32px; right: 32px; width: 46%; opacity: .95; }
.split-card h3 { font-size: clamp(30px, 3vw, 44px); margin: 12px 0 14px; }
.split-card p { color: rgba(255,255,255,.72); max-width: 420px; }
.split-card ul { list-style: none; padding: 0; margin: 8px 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.split-card li { padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: 13px; font-weight: 600; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { padding-top: 24px; border-top: 1px solid var(--line-dark); }
.stat .num { font-size: clamp(44px, 5vw, 72px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.stat .num sup { font-size: .45em; color: var(--blue-2); margin-left: 4px; }
.stat p { margin: 12px 0 0; color: rgba(255,255,255,.6); font-size: 15px; }

/* ---------- cards / news ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card .thumb { aspect-ratio: 16/10; position: relative; overflow: hidden; }
.card .thumb > * { transition: transform 1s var(--ease); }
.card:hover .thumb > * { transform: scale(1.06); }
.card .body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card .meta { font-size: 13px; color: var(--steel); display: flex; gap: 12px; align-items: center; }
.card .chip { padding: 4px 10px; border-radius: 999px; background: #e8f2fa; color: var(--blue); font-weight: 700; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.card h3 { font-size: 20px; line-height: 1.3; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }
.ph {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--c1, #1b3a7a), var(--c2, #0c1f30));
}
.ph .implant-svg { height: 80%; width: auto; opacity: .95; }
.ph-ico { width: 64px; height: 64px; color: rgba(255,255,255,.85); }
.ph-ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.3; }

/* ---------- process (patients) ---------- */
.process { position: relative; display: grid; gap: 0; }
.process::before { content: ""; position: absolute; left: 31px; top: 0; bottom: 0; width: 2px; background: var(--ti-2); }
.process-bar { position: absolute; left: 31px; top: 0; width: 2px; height: 0; background: linear-gradient(var(--blue), var(--teal)); }
.step { display: grid; grid-template-columns: 64px 1fr 1fr; gap: 32px; padding: 40px 0; align-items: start; }
.step .dot { width: 64px; height: 64px; border-radius: 50%; background: #fff; border: 2px solid var(--ti-2); display: grid; place-items: center; font-weight: 800; color: var(--blue); position: relative; z-index: 1; transition: border-color .4s, background .4s, color .4s; }
.step.is-on .dot { border-color: var(--blue); background: var(--blue); color: #fff; }
.step h3 { font-size: 26px; margin-bottom: 8px; }
.step .dur { font-size: 13px; color: var(--steel); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.step p { color: var(--muted); margin: 0; }

/* ---------- product detail rows ---------- */
.prod-row { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; padding: clamp(56px, 8vw, 110px) 0; border-bottom: 1px solid var(--line); }
.prod-row:nth-child(even) .prod-visual { order: 2; }
.prod-visual {
  aspect-ratio: 4/5; border-radius: var(--r-lg); position: relative; overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #ffffff, #e3e9f1 70%);
  display: grid; place-items: center;
}
.prod-visual .implant-svg { height: 78%; width: auto; filter: drop-shadow(0 30px 40px rgba(11,23,48,.25)); }
.prod-visual .badge { position: absolute; top: 20px; left: 20px; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.prod-visual .photo-slot { position: absolute; bottom: 16px; right: 16px; font-size: 11px; color: var(--steel); }
.prod-info h2 { font-size: clamp(36px, 4vw, 56px); margin: 14px 0 18px; }
.prod-info .points { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 12px; }
.prod-info .points li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; }
.prod-info .points li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; margin-top: 2px; background: #e8f2fa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f6fb2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/13px no-repeat; }
.specs { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 8px; }
.specs th, .specs td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.specs th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--steel); font-weight: 700; }
.specs td:first-child { font-weight: 700; }
.draft { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 6px; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: #fff3d6; color: #8a5a00; vertical-align: middle; }
.no-draft .draft { display: none; }

/* ---------- tabs ---------- */
.tabs { display: inline-flex; padding: 6px; border-radius: 999px; background: var(--ti-1); gap: 4px; flex-wrap: wrap; }
.tabs button { border: 0; background: none; padding: 10px 18px; border-radius: 999px; font: 600 14px var(--f-sans); color: var(--muted); cursor: pointer; transition: background .3s, color .3s; }
.tabs button.active { background: #fff; color: var(--ink); box-shadow: 0 4px 14px -6px rgba(11,23,48,.25); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp .6s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- mini product grid ---------- */
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mini {
  padding: 28px; border-radius: var(--r); border: 1px solid var(--line); background: #fff;
  display: flex; flex-direction: column; gap: 12px; transition: border-color .3s, transform .5s var(--ease), box-shadow .5s;
}
.mini:hover { border-color: rgba(31, 111, 178,.4); transform: translateY(-4px); box-shadow: var(--shadow); }
.mini .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--ti-1); color: var(--blue); }
.mini .ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mini h4 { font-size: 18px; }
.mini p { color: var(--muted); font-size: 14.5px; margin: 0; }
.mini .k { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }

/* ---------- timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tl { padding: 28px 0 0; border-top: 2px solid var(--line-dark); position: relative; }
.tl::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--blue-2); }
.tl .yr { font-size: 40px; font-weight: 700; letter-spacing: -.04em; }
.tl p { color: rgba(255,255,255,.62); font-size: 15px; margin-top: 8px; }

/* ---------- certificates ---------- */
.certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cert { aspect-ratio: 3/4; border-radius: var(--r); border: 1px dashed var(--ti-3); background: var(--ti-1); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 20px; }
.cert b { font-size: 22px; letter-spacing: -.02em; }
.cert span { font-size: 13px; color: var(--steel); }

/* ---------- forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.field input, .field select, .field textarea {
  width: 100%; padding: 15px 16px; border: 1px solid var(--ti-3); border-radius: 12px; background: #fff;
  font: 500 15px var(--f-sans); color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 111, 178,.14); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.check input { margin-top: 4px; accent-color: var(--blue); }
.form-note { font-size: 14px; color: var(--teal); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 0; display: flex; justify-content: space-between; gap: 24px; font-size: 19px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--ti-3); display: grid; place-items: center; color: var(--blue); transition: transform .4s var(--ease), background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: #e8f2fa; }
.faq .ans { padding: 0 0 26px; color: var(--muted); max-width: 760px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 80px); }
.info-list { display: grid; gap: 4px; margin-top: 28px; }
.info { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.info .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #e8f2fa; color: var(--blue); }
.info .ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.info small { display: block; color: var(--steel); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.info b { font-weight: 600; }
.panel { background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow); }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: var(--r-lg); padding: clamp(40px, 6vw, 80px); overflow: hidden; position: relative; color: #fff;
  background: radial-gradient(700px 400px at 90% 10%, rgba(99, 179, 232,.5), transparent 60%), linear-gradient(135deg, #164f7e, #0c1f30);
  display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
}
.cta-band p { color: rgba(255,255,255,.75); margin: 14px 0 0; max-width: 560px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: clamp(64px, 8vw, 110px) 0 32px; }
.footer-cta { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line-dark); color: #fff; }
.footer-cta em { color: var(--blue-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(5, 1fr); gap: 32px; padding: 56px 0; }
.footer-brand .logo { color: #fff; margin-bottom: 18px; }
.footer-brand p { font-size: 14px; max-width: 340px; }
.footer-col h6 { color: #fff; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; font-size: 14px; padding: 4px 0; margin: 0; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-col .muted { color: rgba(255,255,255,.45); }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; transition: background .3s, border-color .3s; }
.socials a:hover { background: var(--blue); border-color: var(--blue); }
.socials svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line-dark); font-size: 13px; color: rgba(255,255,255,.45); }

/* ---------- reveal defaults (JS sets these before animating) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); }
.js.reduced [data-reveal] { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .main-nav { display: none; }
  .burger { display: block; }
  .header-actions { margin-left: auto; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .certs, .timeline { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-grid, .intro-grid, .tech, .split, .prod-row, .contact-grid, .cta-band, .page-hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 34vh; order: -1; margin-bottom: 8px; }
  .hero-spec { display: none; }
  .prod-row:nth-child(even) .prod-visual { order: 0; }
  .prod-visual { aspect-ratio: 4/3; }
  .cards, .mini-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .step { grid-template-columns: 64px 1fr; }
  .step > p { grid-column: 2; }
  .page-hero .implant-row { height: 160px; }
  .split-card { min-height: 440px; }
}
@media (max-width: 640px) {
  :root { --header-h: 68px; }
  .hide-sm { display: none; }
  .cards, .mini-grid, .features, .certs, .timeline, .form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-cta .btn { width: 100%; }
  .step { gap: 18px; padding: 28px 0; }
  .p-card { min-height: 460px; }
  .page-hero .implant-row { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---------- implant + abutment + crown assembly ---------- */
.assembly-svg { height: 100%; width: auto; overflow: visible; }
.hero-visual .assembly-svg { filter: drop-shadow(0 40px 60px rgba(0,0,0,.45)); }
.hero-spec.s3 { top: 2%; right: -24%; }
.hero-spec.s1 { top: 34%; left: -8%; }
.hero-spec.s2 { bottom: 16%; right: -6%; }
.prod-visual[data-assembly-inview] > div { display: flex; justify-content: center; }

.assemble { min-height: 100vh; display: flex; align-items: center; padding: calc(var(--header-h) + 24px) 0 48px; }
.assemble-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.assemble-visual {
  height: min(78vh, 680px); display: grid; place-items: center; border-radius: var(--r-lg);
  background: radial-gradient(circle at 50% 35%, #ffffff, #e6ebf2 72%);
  border: 1px solid var(--line); overflow: hidden; padding: 28px 0;
}
.assemble-visual > div { height: 100%; display: flex; justify-content: center; }
.as-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.as-step {
  display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 18px 20px; border-radius: var(--r);
  opacity: .38; transition: opacity .5s, background .5s, transform .6s var(--ease);
}
.as-step.active { opacity: 1; background: #fff; box-shadow: var(--shadow); transform: translateX(6px); }
.as-step .n { font-family: var(--f-serif); font-style: italic; font-size: 30px; line-height: 1; color: var(--blue); }
.as-step h4 { font-size: 20px; margin-bottom: 4px; }
.as-step p { margin: 0; color: var(--muted); font-size: 15px; }
.as-progress { display: none; }
@media (max-width: 900px) {
  .assemble { min-height: 0; padding: 80px 0; }
  .assemble-grid { grid-template-columns: 1fr; }
  .assemble-visual { height: 520px; order: -1; }
}

/* ---------- trust chips (hero) ---------- */
.trust { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 32px; }
.trust-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-dark); background: rgba(255,255,255,.05); font-size: 13px; font-weight: 600; color: rgba(255,255,255,.85); }
.trust-chip i { font-style: normal; font-size: 16px; }
.trust-chip[hidden] { display: none; }

/* ---------- real product photos ---------- */
.implant-img { display: block; width: auto; max-width: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.prod-visual .implant-img { height: 100%; max-height: 440px; }
.prod-visual > div { height: 78%; display: flex; justify-content: center; }
.p-card .visual .implant-img { height: 260px; filter: drop-shadow(0 18px 30px rgba(0,0,0,.45)) brightness(1.12); }
.page-hero .implant-row .implant-img, .hero-visual .implant-img { filter: drop-shadow(0 20px 30px rgba(0,0,0,.45)) brightness(1.15); }
.split-card .art { display: flex; justify-content: flex-end; }
.split-card .art .implant-img { height: 100%; filter: drop-shadow(0 20px 30px rgba(0,0,0,.4)) brightness(1.15); }
.ph > div { display: flex; justify-content: center; }
.ph .implant-img { height: 100%; filter: drop-shadow(0 12px 20px rgba(0,0,0,.4)) brightness(1.12); }
.assembly-svg image { image-rendering: auto; }
.prod-info .points li .draft { grid-column: 2; justify-self: start; width: max-content; margin: 2px 0 0; }

/* split cards: on narrow screens the photo gets its own space above the text */
@media (max-width: 900px) {
  .split-card { min-height: 0; padding-top: 250px; }
  .split-card .art { height: 200px !important; top: 26px; right: 26px; width: auto; }
}
@media (max-width: 640px) {
  .split-card { padding-top: 196px; }
  .split-card .art { height: 150px !important; top: 22px; right: 22px; }
}
