/* ============================================
   仁樹醫療 TreeENT
   VIS 基礎部分 2020-03-17
   主色     生命綠 #6FBA2C
   輔助     仁樹藍 #0068B7
   次輔助   天空藍 #00A0E9
   ============================================ */
:root {
  --ocean: #0068B7;
  --ocean-dark: #004A86;
  --sky: #00A0E9;
  --life: #6FBA2C;
  --life-dark: #3F6F14;
  --life-deep: #245410;
  --warm: #F39800;
  --alert: #E60012;
  --primary: #6FBA2C;
  --primary-dark: #3F6F14;
  --primary-light: #EEF7E3;
  --accent: #0068B7;
  --accent-soft: #E6F3FB;
  --text: #1E3318;
  --text-muted: #5A7058;
  --bg: #ffffff;
  --bg-alt: #F4F9EC;
  --border: #D4E6C8;
  --shadow: 0 4px 24px rgba(63, 111, 20, 0.10);
  --shadow-lg: 0 12px 40px rgba(63, 111, 20, 0.14);
  --radius: 12px;
  --radius-lg: 20px;
  --font: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  --max: 1180px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--life-deep); }
ul { list-style: none; }
h1, h2, h3, h4 { line-height: 1.35; font-weight: 700; color: var(--text); }
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

/* Top bar */
.topbar {
  background: var(--life-deep);
  color: #fff;
  font-size: 0.85rem;
  padding: 0.4rem 0;
}
.topbar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}
.topbar a { color: #fff; opacity: 0.95; }
.topbar a:hover { opacity: 1; text-decoration: underline; }
.topbar-left, .topbar-right { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; align-items: center; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  overflow: visible;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-weight: 800;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.logo:hover { color: var(--primary); }
.logo img {
  height: 40px;
  width: auto;
  display: block;
}
.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--life), var(--ocean));
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  padding: 4px;
}
.logo-sub { display: block; font-size: 0.7rem; font-weight: 500; color: var(--text-muted); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem 0.7rem;
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--text);
}
.main-nav { display: flex; align-items: center; gap: 0.1rem; flex-wrap: wrap; justify-content: flex-end; }
.main-nav > a,
.nav-dropdown > summary {
  display: block;
  padding: 0.45rem 0.65rem;
  color: var(--text);
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: 8px;
  cursor: pointer;
  list-style: none;
  border: none;
  background: none;
  font-family: inherit;
}
.main-nav > a:hover,
.nav-dropdown > summary:hover,
.main-nav > a.active { color: var(--primary); background: var(--primary-light); }
.nav-dropdown { position: relative; }
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary::after { content: " ▾"; font-size: 0.7em; opacity: 0.6; }
.nav-dropdown[open] summary { color: var(--primary); background: var(--primary-light); }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  z-index: 50;
}
.dropdown-menu a {
  display: block;
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
}
.dropdown-menu a:hover { background: var(--primary-light); color: var(--primary); }
.nav-cta {
  margin-left: 0.35rem;
  background: var(--primary) !important;
  color: #16300c !important;
  padding: 0.5rem 1rem !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
}
.nav-cta:hover { background: var(--primary-dark) !important; color: #fff !important; }

.vis-bar {
  display: flex;
  height: 6px;
  width: 100%;
}
.vis-bar span { display: block; height: 100%; }
.vis-bar-ocean { flex: 8; background: var(--life); }
.vis-bar-sky { flex: 1; background: var(--sky); }
.vis-bar-life { flex: 1; background: var(--ocean); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
  text-align: center;
}
.btn-primary { background: var(--primary); color: #16300c; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-outline { background: transparent; border-color: var(--primary-dark); color: var(--primary-dark); }
.btn-outline:hover { background: var(--primary); color: #16300c; }
.btn-white { background: #fff; color: var(--primary-dark); }
.btn-white:hover { background: var(--primary-light); color: var(--primary-dark); }
.btn-accent { background: var(--life); color: #16300c; }
.btn-accent:hover { background: var(--life-dark); color: #fff; }
.btn-lg { padding: 0.95rem 1.75rem; font-size: 1.05rem; }
.btn-group { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--life-deep) 0%, #3F6F14 52%, var(--life) 100%);
  color: #fff;
  padding: 3.5rem 0 4rem;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.12) 0%, transparent 40%),
    radial-gradient(circle at 10% 80%, rgba(201,162,39,0.15) 0%, transparent 35%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero-lead {
  font-size: 1.1rem;
  opacity: 0.92;
  margin-bottom: 1.5rem;
  max-width: 36em;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 1.75rem;
  font-size: 0.9rem;
  opacity: 0.9;
}
.hero-meta span { display: flex; align-items: center; gap: 0.35rem; }
.hero-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(8px);
}
.hero-card h3 { color: #fff; margin-bottom: 0.75rem; font-size: 1.05rem; }
.hero-card ul { display: grid; gap: 0.55rem; }
.hero-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.92rem;
  opacity: 0.95;
}
.hero-card li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 800;
  flex-shrink: 0;
}
.hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background: rgba(0,0,0,0.15);
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* Sections */
.section { padding: 4rem 0; }
.section-alt { background: var(--bg-alt); }
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}
.section-header .eyebrow {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.section-header p { color: var(--text-muted); margin-top: 0.75rem; }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.pillar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pillar-img {
  aspect-ratio: 16/11;
  background: var(--primary-light);
  overflow: hidden;
  position: relative;
}
.pillar-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.pillar:hover .pillar-img img { transform: scale(1.05); }
.pillar-body { padding: 1.35rem 1.4rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.pillar-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  margin-bottom: 0.6rem;
}
.pillar h3 { margin-bottom: 0.5rem; font-size: 1.25rem; }
.pillar p { color: var(--text-muted); font-size: 0.95rem; flex: 1; margin-bottom: 1rem; }
.pillar-links { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.pillar-links a {
  font-size: 0.8rem;
  background: var(--bg-alt);
  color: var(--text);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-weight: 500;
}
.pillar-links a:hover { background: var(--primary-light); color: var(--primary); }

/* Large specialty showcases (三大支柱全寬圖文) */
.specialty-stack { display: grid; gap: 1.5rem; }
.specialty-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 320px;
}
.specialty-row.reverse { direction: rtl; }
.specialty-row.reverse > * { direction: ltr; }
.specialty-visual {
  position: relative;
  min-height: 300px;
  background: var(--primary-light);
  overflow: hidden;
}
.specialty-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.5s ease;
}
.specialty-row:hover .specialty-visual img { transform: scale(1.04); }
.specialty-visual .badge {
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  z-index: 2;
  background: rgba(255,255,255,0.95);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.specialty-copy {
  padding: 2rem 2.1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.specialty-copy h3 {
  font-size: 1.55rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}
.specialty-copy > p {
  color: var(--text-muted);
  margin-bottom: 1.1rem;
  font-size: 0.98rem;
}
.specialty-points {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}
.specialty-points li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--text);
  font-size: 0.92rem;
}
.specialty-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 800;
}
.specialty-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}
.specialty-thumbs img {
  width: 100%;
  height: 88px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
}
@media (max-width: 900px) {
  .specialty-row,
  .specialty-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .specialty-visual { min-height: 220px; aspect-ratio: 16/9; }
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.feature {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  text-align: center;
}
.feature-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 0.85rem;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
}
.feature h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.feature p { font-size: 0.88rem; color: var(--text-muted); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  transition: border-color .2s, box-shadow .2s;
}
.service-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.service-card h3 { margin-bottom: 0.45rem; font-size: 1.05rem; }
.service-card h3 a { color: inherit; }
.service-card h3 a:hover { color: var(--primary); }
.service-card p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 0.75rem; }
.service-card .more {
  font-weight: 700;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.geo-strip {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 2.5rem 0;
}
.geo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.geo-item strong { display: block; font-size: 1.5rem; margin-bottom: 0.25rem; color: var(--accent); }
.geo-item span { font-size: 0.9rem; opacity: 0.92; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.content-block h2 { margin-bottom: 1rem; }
.content-block p { color: var(--text-muted); margin-bottom: 0.85rem; }
.content-block ul.check { margin: 1rem 0; }
.content-block ul.check li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.content-block ul.check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 800;
}
.media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--primary-light);
  aspect-ratio: 4/3;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

.page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--life-deep), var(--life-dark));
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 3.25rem 0 3.5rem;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(36, 84, 16, 0.90) 0%, rgba(63, 111, 20, 0.72) 55%, rgba(111, 186, 44, 0.42) 100%);
  z-index: 0;
}
.page-hero[data-bg]::before {
  background: linear-gradient(105deg, rgba(22, 48, 12, 0.90) 0%, rgba(36, 84, 16, 0.78) 50%, rgba(63, 111, 20, 0.62) 100%);
}
.page-hero > .container {
  position: relative;
  z-index: 1;
}
.page-hero h1 { color: #fff; margin-bottom: 0.6rem; text-shadow: 0 2px 16px rgba(0,0,0,0.25); }
.page-hero .breadcrumb {
  font-size: 0.85rem;
  opacity: 0.9;
  margin-bottom: 0.75rem;
}
.page-hero .breadcrumb a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.page-hero p { opacity: 0.95; max-width: 42em; font-size: 1.05rem; text-shadow: 0 1px 8px rgba(0,0,0,0.2); }

/* Content image blocks */
.content-figure {
  margin: 1.5rem 0 1.75rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--primary-light);
}
.content-figure img {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: cover;
  display: block;
}
.content-figure figcaption {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 0.65rem 1rem;
  background: #fff;
  border-top: 1px solid var(--border);
}
.content-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin: 1.5rem 0;
}
.content-gallery .content-figure { margin: 0; }
.content-gallery .content-figure img { max-height: 220px; height: 220px; }
.hero-visual {
  margin-top: 0;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  max-height: 320px;
}
.hero-visual img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
.inline-banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 1.5rem 0;
  box-shadow: var(--shadow);
}
.inline-banner img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.news-item .thumb {
  width: 100px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--primary-light);
  flex-shrink: 0;
}
.news-item .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-item.has-thumb {
  grid-template-columns: 72px 100px 1fr;
}
@media (max-width: 720px) {
  .content-gallery { grid-template-columns: 1fr; }
  .news-item.has-thumb { grid-template-columns: 70px 1fr; }
  .news-item.has-thumb .thumb { display: none; }
  .page-hero { padding: 2.5rem 0 2.75rem; min-height: 200px; }
}

.article { max-width: 780px; margin: 0 auto; }
.article h2 {
  margin: 2rem 0 0.85rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--primary-light);
}
.article h3 { margin: 1.5rem 0 0.6rem; color: var(--primary-dark); }
.article p { margin-bottom: 0.9rem; color: var(--text); }
.article ul, .article ol {
  margin: 0.75rem 0 1.1rem 1.25rem;
  list-style: disc;
}
.article ol { list-style: decimal; }
.article li { margin-bottom: 0.4rem; color: var(--text); }
.article strong { color: var(--text); }
.article img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.1rem 0;
  border-radius: 10px;
}
.article hr {
  border: 0;
  border-top: 1px solid var(--primary-light);
  margin: 1.6rem 0;
}
.article li p { margin-bottom: 0.35rem; }
.clinic-video {
  max-width: 920px;
  margin: 0 auto;
}
.clinic-video video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  background: #111814;
  box-shadow: 0 18px 42px rgba(15, 28, 22, 0.12);
}
.article .clinic-video {
  margin: 1.25rem 0 1.6rem;
}
.callout {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.1rem 1.25rem;
  margin: 1.5rem 0;
}
.callout.warn {
  background: var(--accent-soft);
  border-left-color: var(--accent);
}
.side-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  align-items: start;
}
.sidebar {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  display: grid;
  gap: 1rem;
}
.side-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.side-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.side-card ul { display: grid; gap: 0.4rem; }
.side-card a {
  display: block;
  padding: 0.4rem 0;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 1px dashed var(--border);
}
.side-card a:last-child { border: none; }
.side-card a:hover { color: var(--primary-dark); }
.side-cta {
  background: var(--primary-dark);
  color: #fff;
  border: none;
  text-align: center;
}
.side-cta h3 { color: #fff; border-color: rgba(255,255,255,0.25); }
.side-cta p { font-size: 0.88rem; opacity: 0.92; margin-bottom: 0.85rem; }
.side-cta .btn { width: 100%; margin-bottom: 0.5rem; }
.side-cta a.phone { color: #fff; font-weight: 700; font-size: 1.05rem; }

.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 0.75rem; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "·"; font-size: 1.25rem; color: var(--primary); font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body {
  padding: 0 1.25rem 1.15rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.contact-card h3 { margin-bottom: 1rem; color: var(--primary); }
.contact-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  font-size: 0.95rem;
}
.contact-row .label {
  flex-shrink: 0;
  width: 5.5rem;
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.hours-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.hours-table td { padding: 0.45rem 0; border-bottom: 1px solid var(--border); }
.hours-table td:last-child { text-align: right; font-weight: 600; }
.map-embed {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 380px;
  background: var(--bg-alt);
}
.map-embed .map-fallback {
  display: block;
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center 42%;
}
.map-live {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}
.map-live.is-ready {
  opacity: 1;
  pointer-events: auto;
}
.clinic-map-pin {
  background: none;
  border: 0;
}
.clinic-map-pin-dot {
  display: block;
  width: 18px;
  height: 18px;
  margin: 0 auto;
  background: #6fba2c;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.route-steps { display: grid; gap: 1rem; margin-top: 1rem; }
.route-step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0.85rem;
  align-items: start;
}
.route-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}
.route-step h4 { margin-bottom: 0.2rem; }
.route-step p { color: var(--text-muted); font-size: 0.92rem; }

.cta-banner {
  background: linear-gradient(135deg, var(--life-deep), var(--life-dark) 55%, var(--life));
  color: #fff;
  padding: 3rem 0;
  text-align: center;
}
.cta-banner h2 { color: #fff; margin-bottom: 0.6rem; }
.cta-banner p { opacity: 0.92; margin-bottom: 1.5rem; max-width: 36em; margin-inline: auto; }
.cta-banner .btn-group { justify-content: center; }

/* Expert team */
.doctor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.doctor-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
  text-align: center;
}
.doctor-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.doctor-card .photo {
  aspect-ratio: 3/4;
  background: var(--primary-light);
  overflow: hidden;
}
.doctor-card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.doctor-card .info { padding: 1rem 0.9rem 1.15rem; }
.doctor-card h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.doctor-card .title {
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.doctor-card .spec {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.doctor-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.doctor-filters button {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.doctor-filters button.active,
.doctor-filters button:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* Media / news list */
.news-list { display: grid; gap: 1rem; max-width: 860px; margin: 0 auto; }
.news-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1.25rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  transition: border-color .2s, box-shadow .2s;
  text-align: left;
}
.news-item:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.news-date {
  text-align: center;
  border-right: 1px solid var(--border);
  padding-right: 1rem;
}
.news-date .day {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}
.news-date .ym {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}
.news-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.news-item h3 a { color: inherit; }
.news-item h3 a:hover { color: var(--primary); }
.news-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* Footer */
.site-footer {
  background: var(--life-deep);
  color: rgba(255,255,255,0.85);
  padding: 3rem 0 1.5rem;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.site-footer h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}
.site-footer a { color: rgba(255,255,255,0.8); }
.site-footer a:hover { color: #fff; }
.footer-brand .logo { color: #fff; margin-bottom: 0.75rem; }
.footer-brand .logo img {
  height: 32px;
  width: auto;
  filter: none;
}
.footer-brand p { opacity: 0.8; margin-bottom: 0.75rem; line-height: 1.6; }
.footer-links { display: grid; gap: 0.4rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.8rem;
  opacity: 0.7;
}
.footer-bottom nav { display: flex; gap: 1rem; flex-wrap: wrap; }

.float-wa {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  width: auto;
  height: auto;
  min-height: 48px;
  padding: 0.72rem 1.1rem;
  border-radius: 999px;
  background: #6fba2c;
  color: #16300c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(111, 186, 44, 0.3);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s, background .2s, color .2s;
}
.float-wa:hover { transform: scale(1.08); color: #fff; }
.float-wa span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}
.trust-badge {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .doctor-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .hero .container,
  .two-col,
  .side-layout,
  .contact-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .pillars,
  .service-grid { grid-template-columns: 1fr 1fr; }
  .features,
  .geo-grid { grid-template-columns: 1fr 1fr; }
  .doctor-grid { grid-template-columns: 1fr 1fr; }
  .two-col.reverse { direction: ltr; }
  .sidebar { position: static; }
  .hero-card { display: none; }
  .hero .container { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .main-nav.open { display: flex; }
  .nav-dropdown .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding: 0 0 0 0.75rem;
  }
  .nav-cta { margin: 0.5rem 0 0; text-align: center; }
  .pillars,
  .service-grid,
  .features,
  .geo-grid,
  .doctor-grid { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 70px 1fr; gap: 0.85rem; }
  .topbar { font-size: 0.78rem; }
  .hero { padding: 2.5rem 0 3rem; }
}
@media print {
  .topbar, .site-header, .vis-bar, .float-wa, .cta-banner, .nav-cta { display: none !important; }
}

/* =========================================================
   Nintendo-inspired homepage (clean KV + sections)
   ========================================================= */
.n-home {
  background: #fff;
  overflow-x: clip;
}
.n-inner {
  width: min(100% - 2.5rem, 1080px);
  margin-inline: auto;
}
.n-section {
  padding: 3.5rem 0 3.25rem;
}
.n-section-gray {
  background: var(--bg-alt);
}

/* Section headers like Nintendo TOPICS / PICKUP */
.n-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  border-bottom: 2px solid #e5e5e5;
  padding-bottom: 0.85rem;
}
.n-head h2 {
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0;
  color: var(--text);
}
.n-head-en {
  margin: 0.15rem 0 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--primary);
  text-transform: uppercase;
}
.n-more {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  flex-shrink: 0;
}
.n-more:hover { text-decoration: underline; }

/* ---- Full-width KV carousel ---- */
.n-kv {
  position: relative;
  background: var(--life-deep);
}
.n-kv-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  min-height: 320px;
  max-height: 620px;
  overflow: hidden;
}
.n-kv-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s;
  display: block;
  color: #fff;
  text-decoration: none;
}
.n-kv-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.n-kv-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.04);
  transition: transform 6.5s ease-out;
}
.n-kv-slide.is-active img {
  transform: scale(1);
}
.n-kv-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.2) 45%, rgba(0,0,0,0.15) 100%);
  pointer-events: none;
}
.n-kv-caption {
  position: absolute;
  left: max(1.25rem, calc((100% - 1080px) / 2));
  bottom: 22%;
  z-index: 2;
  max-width: min(480px, 80vw);
  text-shadow: 0 2px 16px rgba(0,0,0,0.35);
}
.n-kv-label {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  margin-bottom: 0.65rem;
}
.n-kv-caption strong {
  display: block;
  font-size: clamp(1.35rem, 3.2vw, 2.1rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.55rem;
}
.n-kv-more {
  font-size: 0.95rem;
  font-weight: 700;
  opacity: 0.95;
}

/* Bottom thumbnail nav with progress timer */
.n-kv-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  max-width: 1080px;
  margin: 0 auto;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  position: relative;
  z-index: 3;
  transform: translateY(-28px);
  border-radius: 10px;
  overflow: hidden;
}
.n-kv-thumb {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 0.9rem 1rem;
  background: #fff;
  border: none;
  border-right: 1px solid #eee;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background 0.2s;
}
.n-kv-thumb:last-child { border-right: none; }
.n-kv-thumb:hover,
.n-kv-thumb.is-active {
  background: #f7fbfb;
}
.n-kv-thumb-pic {
  width: 52px;
  height: 36px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  background: #ddd;
}
.n-kv-thumb-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.n-kv-thumb-text {
  font-size: 0.82rem;
  font-weight: 700;
  color: #333;
  line-height: 1.3;
}
.n-kv-thumb.is-active .n-kv-thumb-text {
  color: var(--primary);
}
.n-kv-timer {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: var(--primary);
}
.n-kv-thumb.is-active .n-kv-timer {
  animation: nKvTimer 5.5s linear forwards;
}
@keyframes nKvTimer {
  from { width: 0; }
  to { width: 100%; }
}

/* Dual banners */
.n-bnr-row { padding-top: 0.5rem; }
.n-bnr-row .n-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.n-bnr {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  display: block;
  min-height: 140px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: transform 0.25s, box-shadow 0.25s;
}
.n-bnr:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}
.n-bnr img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.n-bnr-text {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1rem 1.1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.72));
  color: #fff;
}
.n-bnr-text b { display: block; font-size: 1.05rem; margin-bottom: 0.15rem; }
.n-bnr-text small { opacity: 0.9; font-size: 0.82rem; }

/* Pickup 3-col cards */
.n-pickup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.n-pickup-card {
  display: block;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eaeaea;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s, box-shadow 0.25s;
}
.n-pickup-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  color: inherit;
}
.n-pickup-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #eee;
}
.n-pickup-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.n-pickup-card:hover .n-pickup-img img {
  transform: scale(1.05);
}
.n-pickup-body {
  padding: 1.1rem 1.15rem 1.25rem;
}
.n-chip {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.45rem;
  letter-spacing: 0.04em;
}
.n-pickup-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
  color: var(--text);
}
.n-pickup-body p {
  font-size: 0.88rem;
  color: #666;
  margin: 0;
  line-height: 1.45;
}

/* Horizontal topics scroller */
.n-scroller {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.25rem max(1.25rem, calc((100vw - 1080px) / 2 + 1.25rem)) 1.25rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.n-topic-card {
  flex: 0 0 min(240px, 72vw);
  scroll-snap-align: start;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eaeaea;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.25s, box-shadow 0.25s;
}
.n-topic-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.1);
  color: inherit;
}
.n-topic-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}
.n-topic-body {
  padding: 0.85rem 1rem 1rem;
}
.n-topic-body h3 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
  color: var(--text);
}
.n-topic-body p {
  margin: 0;
  font-size: 0.82rem;
  color: #777;
}

/* Menu buttons */
.n-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}
.n-menu-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  padding: 1.25rem 1.2rem;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.n-menu-btn span {
  font-weight: 800;
  font-size: 1.05rem;
}
.n-menu-btn small {
  color: #888;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}
.n-menu-btn:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary-dark);
  box-shadow: 0 4px 16px rgba(0,104,183,0.12);
}

@media (max-width: 900px) {
  .n-kv-slides {
    aspect-ratio: 16/11;
    max-height: none;
  }
  .n-kv-nav {
    grid-template-columns: 1fr 1fr;
    transform: translateY(-16px);
  }
  .n-kv-thumb { border-bottom: 1px solid #eee; }
  .n-kv-caption { bottom: 28%; }
  .n-bnr-row .n-inner,
  .n-pickup-grid { grid-template-columns: 1fr; }
  .n-menu-grid { grid-template-columns: 1fr 1fr; }
  .n-bnr img { height: 140px; }
}
@media (max-width: 560px) {
  .n-kv-thumb-text { font-size: 0.72rem; }
  .n-kv-thumb-pic { width: 40px; height: 28px; }
  .n-kv-caption { bottom: 32%; left: 1rem; }
  .n-kv-caption strong { font-size: 1.2rem; }
}

/* Legacy showcase styles kept below (unused on new home) */
.showcase-home { overflow-x: clip; }

/* Side anchor nav */
.anchor-nav {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.anchor-nav a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: 2px solid var(--primary);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  transition: 0.25s;
}
.anchor-nav a:hover,
.anchor-nav a.is-active {
  background: var(--primary);
  color: #fff;
  transform: scale(1.08);
}

/* Holo shine on cards */
.stack-card-shine {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255,255,255,0.45) 45%,
    rgba(201,162,39,0.25) 50%,
    rgba(255,255,255,0.35) 55%,
    transparent 70%
  );
  background-size: 220% 100%;
  mix-blend-mode: overlay;
  animation: shineSweep 4.5s ease-in-out infinite;
  opacity: 0.85;
}
@keyframes shineSweep {
  0%, 100% { background-position: 120% 0; }
  50% { background-position: -20% 0; }
}

/* ---- KV ---- */
.kv-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  color: #fff;
  padding: 5.5rem 1.25rem 4rem;
  isolation: isolate;
  overflow: hidden;
}
.kv-bg {
  position: absolute;
  inset: -4%;
  background-size: cover;
  background-position: center;
  z-index: 0;
  animation: kvZoom 16s ease-in-out infinite alternate;
  filter: saturate(1.05);
}
@keyframes kvZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.12); }
}
.kv-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.5), transparent),
    radial-gradient(2px 2px at 70% 20%, rgba(201,162,39,0.6), transparent),
    radial-gradient(1.5px 1.5px at 40% 70%, rgba(255,255,255,0.4), transparent),
    radial-gradient(2px 2px at 85% 60%, rgba(255,255,255,0.35), transparent),
    radial-gradient(1.5px 1.5px at 15% 80%, rgba(201,162,39,0.4), transparent);
  animation: particleDrift 12s linear infinite;
  opacity: 0.7;
}
@keyframes particleDrift {
  from { transform: translateY(0); }
  to { transform: translateY(-24px); }
}
.kv-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 55% 50% at 72% 50%, rgba(111, 186, 44, 0.28), transparent 70%),
    linear-gradient(105deg, rgba(22, 48, 12, 0.88) 0%, rgba(36, 84, 16, 0.72) 48%, rgba(36, 84, 16, 0.55) 100%);
}
.kv-layout {
  position: relative;
  z-index: 2;
  width: min(100%, 1180px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.kv-copy { text-align: left; max-width: 34rem; }
.kv-eyebrow {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.kv-title {
  font-size: clamp(2.1rem, 5.2vw, 3.5rem);
  color: #fff;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1rem;
  text-shadow: 0 6px 40px rgba(0,0,0,0.4);
}
.kv-sub {
  font-size: 1.05rem;
  opacity: 0.92;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}
.kv-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* 3-card stack with auto cycle */
.kv-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  perspective: 1400px;
}
.card-stack {
  position: relative;
  width: min(280px, 70vw);
  height: min(400px, 58vw);
  transform-style: preserve-3d;
}
.stack-card {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--life-deep);
  border: 2px solid rgba(255,255,255,0.4);
  box-shadow: 0 24px 50px rgba(0,0,0,0.45);
  text-decoration: none;
  color: #fff;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s, box-shadow 0.4s;
  transform-origin: center bottom;
}
.stack-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.stack-card-foot {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  padding: 1.1rem 0.9rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.88));
}
.stack-card-foot b { display: block; font-size: 1.15rem; }
.stack-card-foot small { opacity: 0.8; font-size: 0.78rem; letter-spacing: 0.06em; }

/* positions driven by data-pos via JS class */
.stack-card.is-front {
  transform: translate3d(0, 0, 40px) rotateY(0deg) scale(1);
  z-index: 5;
  opacity: 1;
  box-shadow: 0 28px 60px rgba(0,104,183,0.45);
  animation: frontFloat 3.2s ease-in-out infinite;
}
.stack-card.is-left {
  transform: translate3d(-58%, 8%, -60px) rotateY(28deg) rotateZ(-6deg) scale(0.86);
  z-index: 3;
  opacity: 0.95;
}
.stack-card.is-right {
  transform: translate3d(58%, 8%, -60px) rotateY(-28deg) rotateZ(6deg) scale(0.86);
  z-index: 3;
  opacity: 0.95;
}
.stack-card.is-back {
  transform: translate3d(0, 16%, -120px) scale(0.78);
  z-index: 1;
  opacity: 0.35;
  pointer-events: none;
}
@keyframes frontFloat {
  0%, 100% { transform: translate3d(0, 0, 40px) scale(1); }
  50% { transform: translate3d(0, -14px, 40px) scale(1.02); }
}
.stack-dots { display: flex; gap: 8px; }
.stack-dots button {
  width: 10px; height: 10px; border-radius: 50%;
  border: none; background: rgba(255,255,255,0.35); cursor: pointer; padding: 0;
}
.stack-dots button.is-active { background: var(--accent); transform: scale(1.25); }

.kv-scroll {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  z-index: 3;
  color: #fff;
  font-size: 1.4rem;
  animation: bounceDown 1.6s ease-in-out infinite;
}
@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.45; }
  50% { transform: translateX(-50%) translateY(10px); opacity: 1; }
}

/* ---- Coverflow ---- */
.coverflow-section {
  background: #041c1c;
  color: #fff;
  padding: 3.5rem 0 3rem;
  overflow: hidden;
}
.coverflow-head {
  text-align: center;
  margin-bottom: 1.5rem;
}
.coverflow-head .sf-tag {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.coverflow-head h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.coverflow {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0.5rem;
}
.cf-viewport {
  flex: 1;
  overflow: hidden;
  perspective: 1200px;
  height: 360px;
  display: flex;
  align-items: center;
}
.cf-track {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}
.cf-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(220px, 42vw);
  height: min(310px, 58vw);
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.25);
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
  text-decoration: none;
  color: #fff;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s, filter 0.4s;
  transform: translate(-50%, -50%) scale(0.55);
  opacity: 0;
  pointer-events: none;
  background: var(--life-deep);
}
.cf-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cf-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  padding: 0.85rem 0.7rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
}
.cf-label b { display: block; font-size: 1rem; }
.cf-label span { font-size: 0.72rem; opacity: 0.85; }
.cf-card.is-center {
  transform: translate(-50%, -50%) translateZ(80px) scale(1.12);
  opacity: 1;
  z-index: 10;
  pointer-events: auto;
  border-color: rgba(201,162,39,0.8);
  box-shadow: 0 24px 60px rgba(0,104,183,0.55);
  filter: none;
}
.cf-card.is-prev1 {
  transform: translate(calc(-50% - 150px), -50%) rotateY(32deg) scale(0.82);
  opacity: 0.85;
  z-index: 6;
  pointer-events: auto;
  filter: brightness(0.75);
}
.cf-card.is-next1 {
  transform: translate(calc(-50% + 150px), -50%) rotateY(-32deg) scale(0.82);
  opacity: 0.85;
  z-index: 6;
  pointer-events: auto;
  filter: brightness(0.75);
}
.cf-card.is-prev2 {
  transform: translate(calc(-50% - 270px), -50%) rotateY(42deg) scale(0.65);
  opacity: 0.45;
  z-index: 3;
  filter: brightness(0.55);
}
.cf-card.is-next2 {
  transform: translate(calc(-50% + 270px), -50%) rotateY(-42deg) scale(0.65);
  opacity: 0.45;
  z-index: 3;
  filter: brightness(0.55);
}
.cf-btn {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  transition: 0.2s;
  z-index: 20;
}
.cf-btn:hover { background: var(--primary); border-color: var(--primary); }
.cf-caption {
  text-align: center;
  margin-top: 1rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  min-height: 1.5em;
}

/* ---- Feature blocks with float + fan ---- */
.sf-block {
  position: relative;
  padding: 5.5rem 0 5rem;
  overflow: hidden;
  color: #fff;
}
.sf-nasal {
  background:
    radial-gradient(ellipse 60% 50% at 85% 40%, rgba(20, 180, 160, 0.28), transparent),
    linear-gradient(160deg, #032c2c 0%, #0a5550 50%, #041f1f 100%);
}
.sf-ear {
  background:
    radial-gradient(ellipse 60% 50% at 15% 40%, rgba(70, 160, 210, 0.22), transparent),
    linear-gradient(160deg, #061e2c 0%, #0c4a5c 50%, #041820 100%);
}
.sf-thyroid {
  background:
    radial-gradient(ellipse 60% 50% at 80% 35%, rgba(200, 170, 70, 0.18), transparent),
    linear-gradient(160deg, #122820 0%, #0d4a40 50%, #0a201c 100%);
}
.sf-inner { width: min(100% - 2rem, 1120px); margin-inline: auto; }
.sf-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.5rem;
  align-items: center;
}
.sf-split-rev { direction: rtl; }
.sf-split-rev > * { direction: ltr; }
.sf-label {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  margin-bottom: 0.6rem;
}
.sf-num {
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.sf-tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  opacity: 0.75;
}
.sf-title {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  color: #fff;
  margin-bottom: 0.85rem;
}
.sf-lead {
  font-size: 1.05rem;
  opacity: 0.92;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  max-width: 32em;
}
.sf-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.sf-visual {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.float-hero-card {
  position: relative;
  width: min(260px, 55vw);
  aspect-ratio: 3/4.2;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.35);
  box-shadow: 0 28px 60px rgba(0,0,0,0.45);
  z-index: 2;
  animation: heroBob 4s ease-in-out infinite;
}
.float-hero-card.delay { animation-delay: 0.6s; }
.float-hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@keyframes heroBob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-18px) rotate(2deg); }
}

/* Fan of small cards around hero */
.fan-cards {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.fan-card {
  pointer-events: auto;
  position: absolute;
  width: 92px;
  height: 124px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.35);
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
  text-decoration: none;
  color: #fff;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  animation: fanIdle 5s ease-in-out infinite;
}
.fan-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fan-card span {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  font-size: 0.65rem;
  font-weight: 700;
  text-align: center;
  padding: 0.35rem 0.2rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
}
.fan-card.f1 { top: 8%; left: 4%; transform: rotate(-18deg); animation-delay: 0s; }
.fan-card.f2 { top: 6%; right: 6%; transform: rotate(16deg); animation-delay: 0.4s; }
.fan-card.f3 { bottom: 10%; left: 8%; transform: rotate(10deg); animation-delay: 0.8s; }
.fan-card.f4 { bottom: 8%; right: 4%; transform: rotate(-12deg); animation-delay: 1.2s; }
.sf-visual:hover .fan-card.f1 { transform: translate(-12px, -8px) rotate(-22deg) scale(1.08); }
.sf-visual:hover .fan-card.f2 { transform: translate(12px, -8px) rotate(22deg) scale(1.08); }
.sf-visual:hover .fan-card.f3 { transform: translate(-10px, 10px) rotate(14deg) scale(1.08); }
.sf-visual:hover .fan-card.f4 { transform: translate(10px, 10px) rotate(-16deg) scale(1.08); }
.fan-card:hover { z-index: 5; filter: brightness(1.08); }
@keyframes fanIdle {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -6px; }
}

.reveal-ready {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-ready.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .kv-layout,
  .sf-split,
  .sf-split-rev {
    grid-template-columns: 1fr;
    direction: ltr;
    text-align: center;
  }
  .kv-copy { text-align: center; margin: 0 auto; }
  .kv-actions { justify-content: center; }
  .kv-hero { min-height: auto; padding-top: 4.5rem; padding-bottom: 3rem; }
  .sf-visual { min-height: 380px; }
  .anchor-nav { right: 8px; gap: 6px; }
  .anchor-nav a { width: 36px; height: 36px; font-size: 11px; }
  .cf-card.is-prev2,
  .cf-card.is-next2 { opacity: 0; }
  .cf-card.is-prev1 {
    transform: translate(calc(-50% - 100px), -50%) rotateY(28deg) scale(0.75);
  }
  .cf-card.is-next1 {
    transform: translate(calc(-50% + 100px), -50%) rotateY(-28deg) scale(0.75);
  }
}
@media (max-width: 560px) {
  .fan-card { width: 72px; height: 98px; }
  .cf-viewport { height: 300px; }
  .anchor-nav { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .kv-bg, .kv-particles, .stack-card.is-front, .float-hero-card,
  .fan-card, .stack-card-shine, .kv-scroll { animation: none !important; }
  .reveal-ready { opacity: 1; transform: none; }
}

/* ============================================
   Taste Skill homepage pass (preserve brand)
   Buttons: pill. Cards: 12px. Accent: teal only.
   ============================================ */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 400;
  background: var(--primary);
  color: #fff;
  padding: 0.65rem 1.1rem;
  border-radius: 8px;
  font-weight: 700;
}
.skip-link:focus {
  top: 0.75rem;
  color: #fff;
  outline: 3px solid #fff;
  outline-offset: 2px;
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2 {
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.btn,
.nav-cta {
  transition: background .2s, color .2s, transform .15s, box-shadow .2s;
}
.btn:active,
.nav-cta:active,
.float-wa:active {
  transform: scale(0.98);
}

.n-home .n-head {
  border-bottom: 1px solid var(--border);
}

.n-home .n-kv-caption strong {
  letter-spacing: -0.03em;
  text-wrap: balance;
}

@media (min-width: 901px) {
  .n-home .n-pickup-grid {
    grid-template-columns: 1.45fr 1fr;
    grid-template-rows: auto auto;
  }
  .n-home .n-pickup-card:first-child {
    grid-row: span 2;
  }
  .n-home .n-pickup-card:first-child .n-pickup-img {
    aspect-ratio: auto;
    height: calc(100% - 0px);
    min-height: 100%;
  }
  .n-home .n-pickup-card:first-child .n-pickup-img img {
    height: 100%;
    min-height: 320px;
    object-fit: cover;
  }
  .n-home .n-pickup-card:first-child {
    display: grid;
    grid-template-rows: 1fr auto;
  }
}

.why-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 3rem;
  border-top: 1px solid var(--border);
}
.why-list li {
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--border);
}
.why-list strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: var(--text);
}
.why-list p {
  margin: 0;
  color: var(--text-muted);
  max-width: 42ch;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
}
.faq-block h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}
.faq-block p {
  margin: 0;
  color: var(--text-muted);
  max-width: 48ch;
}

.n-home .geo-item strong {
  color: var(--life);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

.n-home .n-menu-grid {
  grid-template-columns: 1fr 1fr;
}
.n-home .n-menu-btn {
  border-radius: var(--radius);
  border: none;
  border-left: 3px solid var(--primary);
  background: #fff;
  box-shadow: var(--shadow);
}
.n-home .n-menu-btn:hover {
  transform: translateY(-2px);
}

.float-wa {
  width: auto;
  height: auto;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

@media (max-width: 900px) {
  .why-list,
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .n-kv-slide img {
    transform: none !important;
    transition: none !important;
  }
  .n-kv-thumb.is-active .n-kv-timer {
    animation: none;
    width: 100%;
  }
  .btn, .nav-cta, .float-wa, .n-pickup-card, .n-bnr, .n-menu-btn {
    transition: none;
  }
}
