/* 5 Axis Dental — redesigned site
   Brand: charcoal #33343F + gold #F8BD26 */
:root {
  --brand: #33343f;
  --brand-deep: #22232a;
  --brand-ink: #111115;
  --gold: #f8bd26;
  --gold-deep: #d09707;
  --gold-soft: #fcd093;
  --surface: #f7f7f7;
  --surface-2: #eeeeef;
  --white: #ffffff;
  --muted: #5f6176;
  --line: rgba(51, 52, 63, 0.12);
  --shadow: 0 18px 50px rgba(17, 17, 21, 0.12);
  --radius: 4px;
  --header-h: 84px;
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--brand);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 30px rgba(17, 17, 21, 0.08);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand img {
  width: 36px;
  height: auto;
  animation: logo-pulse 4s ease-in-out infinite;
}

@keyframes logo-pulse {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav > a,
.nav-drop > button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--brand);
  background: none;
  border: 0;
  cursor: pointer;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}

.nav > a:hover,
.nav-drop > button:hover,
.nav > a.is-active,
.nav-drop.is-active > button {
  color: var(--gold-deep);
  background: rgba(248, 189, 38, 0.12);
}

.nav-drop {
  position: relative;
}

.nav-drop svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease);
}

.nav-drop.is-open svg {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 240px;
  padding: 0.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.25s var(--ease);
}

.nav-drop.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 0.65rem 0.8rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
}

.dropdown a:hover {
  background: rgba(248, 189, 38, 0.14);
  color: var(--brand-deep);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.phone-link {
  display: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s,
    border-color 0.25s, box-shadow 0.25s;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--brand-ink);
  box-shadow: 0 10px 24px rgba(208, 151, 7, 0.28);
}

.btn-gold:hover {
  background: var(--gold-deep);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-outline {
  background: transparent;
  border-color: var(--brand);
  color: var(--brand);
}

.btn-outline:hover {
  background: var(--brand);
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--brand);
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--brand);
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: var(--brand-deep);
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  animation: hero-ken 18s ease-in-out infinite alternate;
}

@keyframes hero-ken {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(17, 17, 21, 0.92) 0%,
      rgba(34, 35, 42, 0.72) 42%,
      rgba(51, 52, 63, 0.38) 72%,
      rgba(17, 17, 21, 0.55) 100%
    ),
    linear-gradient(to top, rgba(17, 17, 21, 0.78) 0%, transparent 42%);
}

/* Decorative FX layer */
.hero-fx {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  transition: transform 0.35s ease-out;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(248, 189, 38, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 189, 38, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 30% 50%, #000 20%, transparent 75%);
  animation: grid-drift 24s linear infinite;
}

@keyframes grid-drift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 56px 56px;
  }
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}

.hero-glow-a {
  width: 420px;
  height: 420px;
  background: rgba(248, 189, 38, 0.28);
  top: 10%;
  left: -5%;
  animation: glow-breathe 7s ease-in-out infinite;
}

.hero-glow-b {
  width: 360px;
  height: 360px;
  background: rgba(248, 189, 38, 0.18);
  right: 5%;
  bottom: 8%;
  animation: glow-breathe 9s ease-in-out infinite reverse;
}

@keyframes glow-breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.18);
    opacity: 0.7;
  }
}

.hero-orbit {
  position: absolute;
  width: min(520px, 55vw);
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.35;
}

.orbit-ring {
  stroke: rgba(248, 189, 38, 0.45);
  stroke-width: 1;
  fill: none;
}

.ring-1 {
  stroke-dasharray: 8 10;
  animation: spin-cw 28s linear infinite;
  transform-origin: 210px 210px;
}

.ring-2 {
  stroke-dasharray: 4 12;
  animation: spin-ccw 20s linear infinite;
  transform-origin: 210px 210px;
}

.ring-3 {
  stroke: rgba(255, 255, 255, 0.25);
  animation: spin-cw 14s linear infinite;
  transform-origin: 210px 210px;
}

.orbit-axes {
  stroke: rgba(248, 189, 38, 0.35);
  stroke-width: 1;
  animation: spin-ccw 36s linear infinite;
  transform-origin: 210px 210px;
}

.orbit-core {
  fill: rgba(248, 189, 38, 0.85);
  animation: core-pulse 2.8s ease-in-out infinite;
  transform-origin: 210px 210px;
}

.orbit-dot {
  fill: #f8bd26;
}

.d1 {
  animation: orbit-path-1 10s linear infinite;
  transform-origin: 210px 210px;
}

.d2 {
  animation: orbit-path-2 14s linear infinite;
  transform-origin: 210px 210px;
}

.d3 {
  animation: orbit-path-3 18s linear infinite;
  transform-origin: 210px 210px;
}

@keyframes spin-cw {
  to {
    transform: rotate(360deg);
  }
}

@keyframes spin-ccw {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes core-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.35);
    opacity: 1;
  }
}

@keyframes orbit-path-1 {
  to {
    transform: rotate(360deg);
  }
}

@keyframes orbit-path-2 {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes orbit-path-3 {
  to {
    transform: rotate(360deg);
  }
}

.hero-float-icon {
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: rgba(34, 35, 42, 0.55);
  border: 1px solid rgba(248, 189, 38, 0.35);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.hero-float-icon svg {
  width: 28px;
  height: 28px;
}

.fi-1 {
  top: 18%;
  left: 46%;
  animation: float-a 5.5s ease-in-out infinite;
}

.fi-2 {
  top: 28%;
  right: 18%;
  animation: float-b 6.5s ease-in-out infinite;
}

.fi-3 {
  bottom: 26%;
  right: 28%;
  animation: float-a 7s ease-in-out infinite 0.4s;
}

.fi-4 {
  bottom: 18%;
  left: 52%;
  animation: float-b 5.8s ease-in-out infinite 0.8s;
}

.fi-5 {
  top: 42%;
  left: 58%;
  animation: float-a 6.2s ease-in-out infinite 1.1s;
}

@keyframes float-a {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-14px) rotate(4deg);
  }
}

@keyframes float-b {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(12px) rotate(-5deg);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 5.5rem 0 5rem;
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  max-width: 36rem;
}

.hero .eyebrow {
  color: var(--gold);
  margin-bottom: 1rem;
}

.eyebrow-icon {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  color: var(--gold);
}

.eyebrow-icon svg {
  width: 18px;
  height: 18px;
  animation: icon-spin-slow 8s linear infinite;
}

@keyframes icon-spin-slow {
  to {
    transform: rotate(360deg);
  }
}

.hero .eyebrow-icon {
  animation: none;
}

.hero .eyebrow-icon svg {
  animation: tooth-wiggle 3.2s ease-in-out infinite;
}

@keyframes tooth-wiggle {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-2px) rotate(-6deg);
  }
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 6.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.92;
  margin: 0 0 1.15rem;
  display: flex;
  flex-direction: column;
}

.hero-brand-gold {
  color: var(--gold);
  text-shadow: 0 0 40px rgba(248, 189, 38, 0.35);
}

.hero-lead {
  max-width: 28rem;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 2rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-actions .btn-gold {
  animation: cta-glow 2.8s ease-in-out infinite;
}

@keyframes cta-glow {
  0%,
  100% {
    box-shadow: 0 10px 24px rgba(208, 151, 7, 0.28);
  }
  50% {
    box-shadow: 0 14px 36px rgba(248, 189, 38, 0.5);
  }
}

/* Entrance animations */
.hero-anim {
  opacity: 0;
  transform: translateY(28px);
  animation: hero-in 0.9s var(--ease) forwards;
}

.hero-anim-1 {
  animation-delay: 0.15s;
}
.hero-anim-2 {
  animation-delay: 0.3s;
}
.hero-anim-3 {
  animation-delay: 0.45s;
}
.hero-anim-4 {
  animation-delay: 0.6s;
}
.hero-anim-5 {
  animation-delay: 0.75s;
}
.hero-anim-6 {
  animation-delay: 0.5s;
}

@keyframes hero-in {
  to {
    opacity: 1;
    transform: none;
  }
}

/* 5-axis graphic */
.hero-visual {
  display: grid;
  place-items: center;
  justify-self: end;
  transition: transform 0.35s ease-out;
}

.axis-machine {
  position: relative;
  width: min(340px, 70vw);
  aspect-ratio: 1;
}

.axis-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
}

.axis-ring {
  fill: none;
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 1.5;
}

.axis-ring.outer {
  stroke: rgba(248, 189, 38, 0.55);
  stroke-dasharray: 10 14;
  transform-origin: 140px 140px;
  animation: spin-cw 22s linear infinite;
}

.axis-ring.mid {
  stroke: rgba(255, 255, 255, 0.28);
  stroke-dasharray: 3 8;
  transform-origin: 140px 140px;
  animation: spin-ccw 16s linear infinite;
}

.axis-ring.inner {
  stroke: rgba(248, 189, 38, 0.7);
  transform-origin: 140px 140px;
  animation: spin-cw 10s linear infinite;
}

.axis-spindle {
  transform-origin: 140px 140px;
  animation: spin-ccw 30s linear infinite;
}

.tooth-group {
  transform-origin: 140px 140px;
  animation: tooth-breathe 4.5s ease-in-out infinite;
}

@keyframes tooth-breathe {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.scan-sweep {
  transform-origin: 140px 140px;
  animation: spin-cw 6s linear infinite;
}

.tooth-sparkle {
  animation: sparkle-blink 2.2s ease-in-out infinite;
}

@keyframes sparkle-blink {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}

.dental-orbit .orbit-ring {
  fill: none;
}

.axis-pulse {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  border: 1px solid rgba(248, 189, 38, 0.4);
  animation: pulse-ring 2.6s ease-out infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.75);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

.hero-scroll {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  display: grid;
  justify-items: center;
  padding-top: 8px;
}

.hero-scroll span {
  width: 4px;
  height: 8px;
  border-radius: 4px;
  background: var(--gold);
  animation: scroll-dot 1.6s ease-in-out infinite;
}

@keyframes scroll-dot {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(14px);
    opacity: 0;
  }
}

.page-hero {
  position: relative;
  min-height: 42vh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  background: var(--brand-deep);
}

.page-hero .hero-media::after {
  background: linear-gradient(
    105deg,
    rgba(17, 17, 21, 0.88) 10%,
    rgba(34, 35, 42, 0.5) 70%
  );
}

.page-hero .hero-content {
  padding: 4rem 0 3rem;
  display: block;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.05;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
  color: var(--gold);
}

@media (max-width: 980px) {
  .hero-content {
    grid-template-columns: 1fr;
    padding: 4.5rem 0 4rem;
  }

  .hero-visual {
    justify-self: start;
    order: -1;
  }

  .axis-machine {
    width: min(240px, 55vw);
  }

  .hero-orbit,
  .fi-2,
  .fi-5 {
    display: none;
  }

  .fi-1 {
    left: auto;
    right: 8%;
    top: 14%;
  }

  .fi-3 {
    right: 10%;
  }

  .fi-4 {
    left: 8%;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 86vh;
    align-items: end;
  }

  .hero-brand {
    font-size: clamp(2.8rem, 14vw, 3.6rem);
  }

  .hero-visual {
    display: none;
  }

  .fi-3,
  .fi-4 {
    display: none;
  }
}

/* ---------- Sections ---------- */
.section {
  padding: 5rem 0;
}

.section-tight {
  padding: 3.5rem 0;
}

.section-muted {
  background: var(--surface);
}

.section-brand {
  background: var(--brand);
  color: var(--white);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.75rem;
}

.section-brand .eyebrow {
  color: var(--gold);
}

.section-head h2,
.content-block h2,
.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 0.75rem;
}

.section-head p,
.lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-brand .lead {
  color: rgba(255, 255, 255, 0.78);
}

/* Product cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.product-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 12px;
  color: var(--white);
  isolation: isolate;
  transition: transform 0.35s var(--ease);
}

.product-card:hover {
  transform: translateY(-6px);
}

.product-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.product-card:hover img {
  transform: scale(1.08);
}

.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(17, 17, 21, 0.92) 8%,
    rgba(51, 52, 63, 0.25) 65%
  );
  z-index: 1;
}

.product-card-body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 1.5rem;
}

.product-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0 0 0.75rem;
}

.product-card .link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  color: var(--gold);
}

.product-card .link-more svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}

.product-card:hover .link-more svg {
  transform: translateX(4px);
}

/* Feature / difference icons */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.75rem 1.4rem;
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(248, 189, 38, 0.45);
  background: rgba(248, 189, 38, 0.08);
}

.icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(248, 189, 38, 0.16);
  color: var(--gold);
  margin-bottom: 1.1rem;
  animation: icon-float 3.5s ease-in-out infinite;
}

.feature-card:nth-child(2) .icon-badge {
  animation-delay: 0.4s;
}

.feature-card:nth-child(3) .icon-badge {
  animation-delay: 0.8s;
}

@keyframes icon-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.icon-badge svg {
  width: 26px;
  height: 26px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

.feature-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.feature-card a {
  color: var(--gold);
  font-weight: 700;
}

/* Content layouts */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.split.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split.reverse .split-media {
  order: 2;
}

.split-media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.media-grid img,
.media-stack img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  aspect-ratio: 4/3;
  transition: transform 0.4s var(--ease);
}

.media-grid img:hover,
.media-stack img:hover {
  transform: scale(1.02);
}

.media-stack {
  display: grid;
  gap: 0.85rem;
}

.prose p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.caption {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

/* Link tiles */
.link-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.link-tile {
  display: grid;
  gap: 0.85rem;
  padding: 0.85rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}

.link-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(248, 189, 38, 0.5);
}

.link-tile img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
}

.link-tile h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0;
}

.link-tile span {
  color: var(--gold-deep);
  font-weight: 700;
  font-size: 0.88rem;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.85rem;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
}

.step img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 1rem;
}

/* Implant platforms */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.platform-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.25rem 1.35rem;
  transition: border-color 0.25s, transform 0.25s var(--ease);
}

.platform-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.platform-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.75rem;
  color: var(--brand);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.platform-card h3::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.platform-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.platform-card li {
  font-size: 0.92rem;
  color: var(--muted);
  padding: 0.35rem 0;
  border-bottom: 1px dashed var(--line);
}

.platform-card li:last-child {
  border-bottom: 0;
}

/* Team */
.team-intro {
  max-width: 48rem;
  margin-bottom: 2.5rem;
}

.team-grid {
  display: grid;
  gap: 2rem;
}

.team-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.75rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  align-items: start;
}

.team-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
}

.team-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
}

.team-card p {
  margin: 0 0 0.85rem;
  color: var(--muted);
}

.team-card a {
  color: var(--gold-deep);
  font-weight: 700;
}

/* Gallery */
.gallery-grid {
  columns: 3 280px;
  column-gap: 0.85rem;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 0.85rem;
  border-radius: 10px;
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(17, 17, 21, 0.92);
  display: none;
  place-items: center;
  padding: 1.5rem;
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  color: var(--brand-ink);
  font-size: 1.4rem;
  cursor: pointer;
}

/* Contact */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: stretch;
}

.contact-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 1.75rem;
}

.contact-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.contact-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.contact-list .icon-badge {
  width: 42px;
  height: 42px;
  margin: 0;
  border-radius: 10px;
  animation: none;
}

.contact-list .icon-badge svg {
  width: 18px;
  height: 18px;
}

.contact-list a:hover {
  color: var(--gold);
}

.contact-form {
  display: grid;
  gap: 0.9rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  background: rgba(248, 189, 38, 0.08);
}

.form-note {
  display: none;
  margin: 0;
  color: var(--gold);
  font-weight: 600;
}

.form-note.is-visible {
  display: block;
}

/* Footer */
.site-footer {
  background: var(--brand-ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-brand img {
  width: 32px;
}

.footer-brand strong {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  color: var(--white);
}

.footer-grid h4 {
  font-family: var(--font-display);
  color: var(--gold);
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-grid a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* Utility */
.mt-2 {
  margin-top: 2rem;
}
.mt-1 {
  margin-top: 1rem;
}
.text-gold {
  color: var(--gold);
}

/* Responsive */
@media (max-width: 980px) {
  .product-grid,
  .feature-grid,
  .steps,
  .contact-wrap,
  .footer-grid,
  .split,
  .split.reverse {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-media {
    order: 0;
  }

  .team-card {
    grid-template-columns: 140px 1fr;
  }

  .phone-link {
    display: none;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    gap: 0.25rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s var(--ease);
    max-height: calc(100vh - var(--header-h));
    overflow: auto;
  }

  body.nav-open .nav {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-drop .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    display: none;
    padding: 0.25rem 0.5rem 0.5rem;
  }

  .nav-drop.is-open .dropdown {
    display: block;
  }

  .header-cta .btn {
    display: none;
  }

  .gallery-grid {
    columns: 2 160px;
  }
}

@media (max-width: 560px) {
  .team-card {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    columns: 1;
  }
}
