/* ==========================================================================
   Nova Smile — shared design system
   ========================================================================== */

:root {
  --blue: #47A4E0;
  --blue-dark: #2f8cca;
  --blue-light-bg: #E7F3FB;
  --red: #EA2433;
  --red-hover: #c81b28;
  --ink: #231F20;
  --muted-1: #3d5566;
  --muted-2: #5b6b76;
  --muted-3: #7FB8DF;
  --muted-4: #B9D9EF;
  --navy-1: #1C4B6E;
  --navy-2: #173F5D;
  --navy-3: #1A4666;
  --navy-4: #23608D;
  --white: #FFFFFF;

  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 16px;
  --max-width: 1200px;

  --shadow-card: 0 1px 2px rgba(28,75,110,0.04), 0 10px 28px rgba(28,75,110,0.05);
  --shadow-card-hover: 0 18px 40px rgba(71,164,224,0.2);
  --shadow-lift: 0 14px 36px rgba(28,75,110,0.15);

  --font: 'Onest', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--red); }

a, button {
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    box-shadow 0.25s ease, transform 0.2s ease;
  font-family: var(--font);
}

button { cursor: pointer; }

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

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

[hidden] { display: none !important; }

@keyframes nsDrift {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(18px,-12px) scale(1.05); }
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 999px;
  border: none;
  white-space: nowrap;
  line-height: 1;
}

.btn svg { flex: none; }

.btn-red {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(234,36,51,0.28);
}
.btn-red:hover { background: var(--red-hover); color: var(--white); transform: translateY(-2px); }
.btn-red:active { transform: scale(0.97); }

.btn-blue {
  background: var(--blue);
  color: var(--white);
}
.btn-blue:hover { background: var(--blue-dark); color: var(--white); }

.btn-outline-white {
  background: rgba(255,255,255,0.14);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.24); color: var(--white); }

.btn-outline-red {
  background: var(--white);
  color: var(--red);
  border: 2px solid var(--red);
}
.btn-outline-red:hover { background: var(--red); color: var(--white); }

.btn-outline-blue {
  background: var(--white);
  color: var(--ink);
  border: 1px solid rgba(28,75,110,0.12);
}
.btn-outline-blue:hover { border-color: var(--blue); color: var(--blue); }

.btn-ghost {
  background: var(--blue-light-bg);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--red); color: var(--white); }

.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn-block { width: max-content; }

/* ==========================================================================
   Header
   ========================================================================== */

.ns-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--blue-light-bg);
  box-shadow: 0 2px 12px rgba(35,31,32,0.05);
}
.ns-header.is-scrolled { box-shadow: 0 6px 24px rgba(28,75,110,0.10); }

.ns-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  transition: height 0.25s ease;
}
.ns-header.is-scrolled .ns-header-inner { height: 60px; }

.ns-logo { display: flex; align-items: center; flex: none; }
.ns-logo img { height: 28px; width: auto; }

.ns-nav { display: flex; align-items: center; gap: 4px; }

.ns-navlink {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  padding: 7px 9px;
  border-radius: 999px;
  background: transparent;
  white-space: nowrap;
}
.ns-navlink:hover { color: var(--red); }
.ns-navlink.is-active {
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-light-bg);
}
.ns-navlink.is-active:hover { color: var(--blue); }

.ns-header-actions { display: flex; align-items: center; gap: 12px; flex: none; }

.ns-langsw { display: flex; gap: 2px; background: var(--blue-light-bg); border-radius: 999px; padding: 3px; }
.ns-lang-btn {
  border: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 11px;
  border-radius: 999px;
  background: transparent;
  color: var(--muted-2);
}
.ns-lang-btn.is-active { background: var(--white); color: var(--blue); }

.ns-header-cta { padding: 10px 16px; font-size: 13.5px; }

.ns-burger {
  display: none;
  border: none;
  background: var(--blue-light-bg);
  border-radius: 12px;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.ns-burger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.ns-burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.ns-burger.is-open span:nth-child(2) { opacity: 0; }
.ns-burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.ns-mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--blue-light-bg);
  padding: 12px 20px 20px;
  flex-direction: column;
  gap: 2px;
}
.ns-mobile-menu.is-open { display: flex; }
.ns-mobile-menu .ns-navlink { font-size: 17px; padding: 13px 14px; border-radius: 14px; }
.ns-mobile-menu .btn { margin-top: 12px; justify-content: center; font-size: 16px; padding: 15px 20px; }

@media (max-width: 1119px) {
  .ns-nav, .ns-header-cta { display: none; }
  .ns-burger { display: flex; }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.ns-footer { background: var(--navy-1); color: var(--blue-light-bg); }

.ns-footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 20px 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 40px;
}

.ns-footer-brand { display: flex; flex-direction: column; gap: 14px; max-width: 300px; }
.ns-footer-brand img { height: 28px; width: auto; filter: brightness(0) invert(1); }
.ns-footer-brand p { font-size: 13.5px; line-height: 1.6; color: var(--muted-4); }

.ns-footer-col { display: flex; flex-direction: column; gap: 10px; }
.ns-footer-h { font-weight: 700; font-size: 13px; letter-spacing: 0.08em; color: var(--muted-3); text-transform: uppercase; }
.ns-footer-col a { color: var(--blue-light-bg); font-size: 14.5px; }
.ns-footer-col a:hover { color: var(--white); }

.ns-footer-addr { font-size: 14.5px; line-height: 1.5; }
.ns-footer-phone { color: var(--white); font-size: 16px; font-weight: 700; }
.ns-footer-hours { font-size: 13.5px; color: var(--muted-4); }

.ns-footer-bottom { border-top: 1px solid rgba(231,243,251,0.15); }
.ns-footer-bottom-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--muted-3);
}

/* ==========================================================================
   Sections & typography
   ========================================================================== */

.section { background: var(--white); }
.section-blue { background: var(--blue-light-bg); }
.section-navy { background: var(--navy-1); }

.section-pad { padding: 96px 20px; }
.section-pad-tight { padding: 64px 20px; }
.section-pad-head { padding: 64px 20px; }

.eyebrow { color: var(--muted-3); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; }
.eyebrow-red { color: var(--red); font-weight: 800; font-size: 13px; letter-spacing: 0.1em; }

h1.h1, .h1 { font-size: clamp(30px,4vw,46px); font-weight: 800; letter-spacing: -0.02em; }
h2.h2, .h2 { font-size: clamp(26px,3vw,38px); font-weight: 800; letter-spacing: -0.02em; }
.h2-tight { font-size: clamp(24px,2.8vw,34px); font-weight: 800; letter-spacing: -0.02em; }
.lede { font-size: 16px; line-height: 1.6; color: var(--muted-1); max-width: 640px; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
}
.section-head .h2 { margin: 0; }
.section-head-link { font-weight: 700; font-size: 15px; color: var(--blue); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  background: linear-gradient(140deg,#3E96D6 0%,#47A4E0 45%,#6FBAE9 100%);
  position: relative;
  overflow: hidden;
}
.hero-blob-1 { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: rgba(255,255,255,0.07); top: -180px; left: -140px; animation: nsDrift 11s ease-in-out infinite; }
.hero-blob-2 { position: absolute; width: 340px; height: 340px; border-radius: 50%; background: rgba(255,255,255,0.06); bottom: -140px; right: 32%; animation: nsDrift 14s ease-in-out infinite reverse; }
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 72px 20px 80px;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
  position: relative;
}
.hero-copy { flex: 1 1 440px; min-width: 300px; display: flex; flex-direction: column; gap: 22px; }
.hero-badge {
  display: inline-flex; width: max-content; background: rgba(255,255,255,0.16); color: var(--white);
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; padding: 8px 16px; border-radius: 999px;
}
.hero-title { margin: 0; font-size: clamp(34px,4.6vw,56px); line-height: 1.08; font-weight: 800; color: var(--white); letter-spacing: -0.02em; text-wrap: balance; }
.hero-text { margin: 0; font-size: 18px; line-height: 1.55; color: var(--blue-light-bg); max-width: 520px; text-wrap: pretty; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.hero-media { flex: 1 1 380px; min-width: 280px; display: flex; justify-content: center; }
.hero-media-frame {
  width: 100%; max-width: 460px; aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 24px 60px rgba(28,75,110,0.35); border: 6px solid rgba(255,255,255,0.25);
}

.page-hero {
  background: var(--blue-light-bg);
}
.page-hero-inner { max-width: var(--max-width); margin: 0 auto; padding: 64px 20px; display: flex; flex-direction: column; gap: 14px; }

.page-hero-dark {
  background: linear-gradient(140deg,#173F5D 0%,#1C4B6E 55%,#23608D 100%);
  position: relative; overflow: hidden;
}
.page-hero-dark .hero-blob-1 { width: 460px; height: 460px; top: -200px; left: auto; right: -120px; background: rgba(71,164,224,0.2); }
.page-hero-dark-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 72px 20px; display: flex; flex-direction: column; gap: 16px; position: relative;
}
.page-hero-dark-inner .h1 { color: var(--white); max-width: 720px; text-wrap: balance; }
.page-hero-dark-inner .lede { color: var(--muted-4); max-width: 640px; }

/* ==========================================================================
   Grids & cards
   ========================================================================== */

.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 20px; }
.grid-auto-wide { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px,1fr)); gap: 24px; }
.grid-auto-narrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 28px; }
.grid-auto-tight { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 20px; }
.grid-auto-2col { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 14px 28px; }

.card {
  background: var(--white);
  border: 1px solid rgba(71,164,224,0.14);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--ink);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); color: var(--ink); }

.card-dot { width: 12px; height: 12px; border-radius: 50%; }
.card-dot.dot-blue { background: var(--blue); }
.card-dot.dot-red { background: var(--red); }

.card-title { font-weight: 700; font-size: 18px; }
.card-desc { font-size: 14px; line-height: 1.5; color: var(--muted-2); }

.card-center { align-items: center; text-align: center; }

.why-box { background: var(--blue-light-bg); border-radius: var(--radius-lg); padding: 48px 40px; display: flex; flex-direction: column; gap: 32px; }
.why-item { display: flex; flex-direction: column; gap: 8px; }
.why-num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: var(--white);
  font-weight: 800; font-size: 16px; display: flex; align-items: center; justify-content: center;
}
.why-title { font-weight: 700; font-size: 16.5px; }
.why-text { font-size: 14px; line-height: 1.55; color: var(--muted-1); }

.doc-card { align-items: center; text-align: center; gap: 12px; }
.doc-name-tag {
  font-family: ui-monospace, Menlo, monospace; font-size: 13px; color: var(--muted-2);
  background: var(--blue-light-bg); padding: 4px 10px; border-radius: 8px;
}
.doc-role { font-weight: 800; font-size: 17.5px; }
.doc-exp { font-size: 13px; color: var(--blue); font-weight: 700; }
.doc-about { font-size: 14px; line-height: 1.55; color: var(--muted-2); }

.svc-cat-card { padding: 30px 28px; gap: 16px; }
.svc-cat-title { margin: 0; font-size: 21px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.svc-items { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.svc-item { display: flex; align-items: baseline; gap: 10px; }
.svc-item-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--blue); flex: none; transform: translateY(-3px); }
.svc-item span:last-child { line-height: 1.45; }
.svc-note { font-size: 12.5px; color: var(--muted-2); line-height: 1.5; }

.pkg-card {
  background: var(--white); border-radius: var(--radius-md); padding: 28px 26px; display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 6px 20px rgba(28,75,110,0.08); border-top: 4px solid var(--blue); transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.pkg-card:hover { box-shadow: 0 18px 40px rgba(28,75,110,0.14); transform: translateY(-3px); }
.pkg-card.accent-red { border-top-color: var(--red); }
.pkg-card.accent-red .pkg-tag { color: var(--red); }
.pkg-tag { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; color: var(--blue); }
.pkg-title { font-weight: 800; font-size: 19px; line-height: 1.25; }
.pkg-desc { font-size: 14px; line-height: 1.55; color: var(--muted-2); }
.pkg-gift { font-size: 13px; line-height: 1.5; color: var(--ink); background: var(--blue-light-bg); border-radius: 12px; padding: 9px 12px; }
.pkg-gift b { font-weight: 800; color: var(--red); }
.pkg-cta-row { margin-top: auto; display: flex; justify-content: flex-end; padding-top: 8px; }

/* ==========================================================================
   Placeholders
   ========================================================================== */

.ph {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; background: linear-gradient(135deg, var(--blue-light-bg) 0%, #d3e9f7 100%); color: var(--muted-1);
  text-align: center; padding: 16px;
}
.ph svg { opacity: 0.55; }
.ph span { font-size: 13px; font-weight: 600; color: var(--muted-2); max-width: 80%; line-height: 1.4; }
.ph-circle { border-radius: 50%; }
.ph-rect { border-radius: var(--radius-md); }
.ph-rounded { border-radius: 14px; }

.ph-frame { width: 100%; height: 100%; overflow: hidden; }
.ph-frame.circle { border-radius: 50%; }
.ph-frame.rect { border-radius: var(--radius-md); }
.ph-frame.portrait { border-radius: 14px; }

/* ==========================================================================
   Before / after slider
   ========================================================================== */

.ba {
  position: relative; width: 100%; border-radius: var(--radius-md); overflow: hidden;
  box-shadow: 0 12px 32px rgba(28,75,110,0.14); background: var(--blue-light-bg);
  --pos: 50;
  touch-action: none;
}
.ba-hero { aspect-ratio: 4/3; box-shadow: 0 18px 44px rgba(28,75,110,0.18); }
.ba-case { aspect-ratio: 16/11; }

.ba-after { position: absolute; inset: 0; }
.ba-before-wrap { position: absolute; inset: 0 auto 0 0; overflow: hidden; width: calc(var(--pos) * 1%); }
.ba-before { position: absolute; top: 0; bottom: 0; left: 0; width: calc(10000% / var(--pos)); }

.ba-tag {
  position: absolute; top: 14px; background: rgba(35,31,32,0.65); color: var(--white); font-size: 12px;
  font-weight: 700; letter-spacing: 0.06em; padding: 5px 12px; border-radius: 999px; pointer-events: none;
}
.ba-tag.before { left: 14px; }
.ba-tag.after { right: 14px; background: var(--blue); }
.ba-case .ba-tag { top: 12px; font-size: 11.5px; padding: 5px 11px; }

.ba-handle {
  position: absolute; top: 0; bottom: 0; left: calc(var(--pos) * 1% - 22px); width: 44px; cursor: ew-resize;
  display: flex; align-items: center; justify-content: center; touch-action: none;
}
.ba-handle-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px; background: var(--white); box-shadow: 0 0 8px rgba(35,31,32,0.3); }
.ba-handle-btn {
  position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--red); box-shadow: 0 6px 16px rgba(35,31,32,0.3);
  display: flex; align-items: center; justify-content: center; gap: 5px;
}
.ba-case .ba-handle { left: calc(var(--pos) * 1% - 20px); width: 40px; }
.ba-case .ba-handle-btn { width: 40px; height: 40px; }
.ba-arrow-l { width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-right: 6px solid var(--white); }
.ba-arrow-r { width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 6px solid var(--white); }

/* ==========================================================================
   Reviews / carousel
   ========================================================================== */

.review-carousel-controls { display: flex; gap: 10px; }
.review-nav-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--blue-light-bg); background: var(--white);
  font-size: 18px; color: var(--blue);
}
.review-nav-btn:hover { background: var(--blue-light-bg); }

.review-viewport { overflow: hidden; }
.review-track { display: flex; gap: 20px; transition: transform 0.45s cubic-bezier(0.22,1,0.36,1); }
.review-card {
  flex: 0 0 min(420px,85vw); background: var(--blue-light-bg); border-radius: var(--radius-md); padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.review-stars { color: var(--red); font-size: 16px; letter-spacing: 3px; }
.review-text { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.review-foot { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.review-avatar {
  width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: var(--white); font-weight: 800;
  font-size: 15px; display: flex; align-items: center; justify-content: center; flex: none;
}
.review-name { font-weight: 700; font-size: 14.5px; }
.review-service { font-size: 12.5px; color: var(--muted-2); }

.review-page-card { background: var(--blue-light-bg); border-radius: var(--radius-md); padding: 28px 26px; display: flex; flex-direction: column; gap: 14px; }
.review-page-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.review-source { font-size: 12px; color: var(--muted-2); }
.review-page-text { margin: 0; font-size: 15px; line-height: 1.6; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; }
.review-page-text.is-expanded { -webkit-line-clamp: unset; }
.review-toggle { align-self: flex-start; border: none; background: none; padding: 0; font-weight: 700; font-size: 13.5px; color: var(--blue); }
.review-avatar-lg { width: 40px; height: 40px; font-size: 15px; }

/* ==========================================================================
   Cases filters
   ========================================================================== */

.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter-btn {
  border: 1px solid var(--blue-light-bg); font-size: 14px; font-weight: 600; padding: 10px 20px; border-radius: 999px;
  background: var(--white); color: var(--ink);
}
.filter-btn.is-active { background: var(--blue); color: var(--white); border-color: var(--blue); }

.case-item { display: flex; flex-direction: column; gap: 14px; }
.case-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.case-title { font-weight: 700; font-size: 15.5px; }
.case-meta { font-size: 13px; color: var(--muted-2); display: block; }

/* ==========================================================================
   Equipment
   ========================================================================== */

.lamp-card {
  border: 1px solid rgba(71,164,224,0.14); box-shadow: var(--shadow-card); border-radius: var(--radius-md); overflow: hidden;
  display: flex; flex-direction: column; transition: box-shadow 0.25s ease, transform 0.25s ease; background: var(--white);
}
.lamp-card:hover { box-shadow: 0 18px 40px rgba(71,164,224,0.2); transform: translateY(-3px); }
.lamp-img-wrap { width: 100%; aspect-ratio: 1/1; background: var(--white); display: flex; align-items: center; justify-content: center; padding: 22px; }
.lamp-img-wrap img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lamp-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; border-top: 1px solid var(--blue-light-bg); }
.lamp-model { font-weight: 800; font-size: 17px; line-height: 1.3; }
.lamp-desc { font-size: 13.5px; line-height: 1.55; color: var(--muted-2); }
.lamp-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; }
.lamp-price { font-weight: 800; font-size: 14px; color: var(--blue); }

.gel-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.gel-tab { border: 1px solid var(--blue-light-bg); font-size: 15px; font-weight: 800; padding: 11px 20px; border-radius: 999px; background: var(--white); color: var(--ink); }
.gel-tab.is-active { background: var(--blue); color: var(--white); border-color: var(--blue); }
.gel-panel { background: var(--blue-light-bg); border-radius: var(--radius-md); padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 10px; }
.gel-panel-label { font-weight: 800; font-size: 22px; color: var(--blue); }
.gel-panel-desc { margin: 0; font-size: 15px; line-height: 1.65; }
.gel-images { width: 100%; max-width: 420px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: stretch; }
.gel-images img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-md); border: 1px solid var(--blue-light-bg); }
.gel-images img:last-child { height: 167px; margin-top: 25px; }

.partner-item { display: flex; align-items: baseline; gap: 12px; }
.partner-num {
  width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: var(--white); font-weight: 800; font-size: 11.5px;
  display: flex; align-items: center; justify-content: center; flex: none; transform: translateY(4px);
}
.partner-text { font-size: 14.5px; line-height: 1.55; color: var(--blue-light-bg); }

.banner {
  background: linear-gradient(135deg, var(--navy-3) 0%, var(--navy-1) 55%, var(--navy-4) 100%);
  border-radius: var(--radius-lg); padding: 52px 44px; position: relative; overflow: hidden;
  display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between;
}
.banner-blob { position: absolute; width: 380px; height: 380px; border-radius: 50%; background: rgba(71,164,224,0.25); top: -160px; right: -100px; animation: nsDrift 13s ease-in-out infinite; }
.banner-copy { display: flex; flex-direction: column; gap: 12px; max-width: 600px; position: relative; }
.banner-copy .h2-tight { color: var(--white); text-wrap: balance; }
.banner-copy p { font-size: 15.5px; line-height: 1.6; color: var(--muted-4); }
.banner .btn { position: relative; box-shadow: 0 10px 24px rgba(0,0,0,0.25); }

.bs-badge { display: inline-flex; width: max-content; background: var(--blue); color: var(--white); font-size: 12.5px; font-weight: 800; letter-spacing: 0.07em; padding: 7px 14px; border-radius: 999px; }
.bs-points { display: flex; flex-direction: column; gap: 10px; }
.bs-point { display: flex; align-items: baseline; gap: 10px; }
.bs-point-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex: none; transform: translateY(-2px); }
.bs-point span:last-child { font-size: 14.5px; line-height: 1.5; }

.media-frame { width: 100%; aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 18px 44px rgba(28,75,110,0.16); background: var(--white); }

/* ==========================================================================
   Doctors / licenses / lightbox
   ========================================================================== */

.lic-figure {
  margin: 0; background: var(--white); border-radius: var(--radius-sm); padding: 14px; display: flex; flex-direction: column; gap: 10px;
  cursor: zoom-in; box-shadow: 0 4px 14px rgba(28,75,110,0.08); transition: transform 0.25s ease, box-shadow 0.25s ease; border: none;
  width: 100%; text-align: left; font-family: var(--font);
}
.lic-figure:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(28,75,110,0.14); }
.lic-photo-wrap { width: 100%; aspect-ratio: 3/4; }
.lic-caption { font-size: 13px; color: var(--muted-2); text-align: center; }

.lightbox-overlay {
  position: fixed; inset: 0; background: rgba(35,31,32,0.8); z-index: 300; display: flex; align-items: center;
  justify-content: center; padding: 32px; cursor: zoom-out;
}
.lightbox-overlay[hidden] { display: none; }
.lightbox-box {
  background: var(--white); border-radius: var(--radius-sm); padding: 20px; max-width: 640px; width: 100%; max-height: 86vh;
  display: flex; flex-direction: column; gap: 12px; cursor: auto;
}
.lightbox-photo-wrap { width: 100%; height: min(64vh,700px); }
.lightbox-caption { font-size: 14px; color: var(--muted-2); text-align: center; }
.lightbox-close {
  align-self: flex-end; border: none; background: var(--blue-light-bg); width: 34px; height: 34px; border-radius: 50%;
  font-size: 16px; color: var(--muted-1); display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover { background: var(--red); color: var(--white); }

/* ==========================================================================
   Contacts
   ========================================================================== */

.contact-card { display: flex; flex-direction: column; gap: 18px; }
.contact-field { display: flex; flex-direction: column; gap: 3px; }
.contact-label { font-weight: 700; color: var(--blue); font-size: 12.5px; letter-spacing: 0.08em; }
.contact-value { font-size: 17px; font-weight: 600; }
.contact-phone { font-size: 19px; font-weight: 800; color: var(--ink); }
.contact-note { font-size: 12.5px; color: var(--muted-2); }
.contact-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lift); min-height: 340px; }
.map-frame iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* ==========================================================================
   Misc
   ========================================================================== */

.flex-between { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.two-col { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.two-col > * { flex: 1 1 380px; min-width: 280px; }
.cta-center { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }

@media (max-width: 640px) {
  .ns-footer-grid { padding: 44px 20px 24px; gap: 28px; }
  .section-pad { padding: 64px 20px; }
  .hero-inner { padding: 48px 20px 56px; }
}
