/* css/style.css */
/* ============================================
   仁樹醫療 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: "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", "Noto Sans CJK TC", 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: #fff; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand .logo { color: #fff; margin-bottom: 0.75rem; }
.footer-brand .logo img {
  height: 32px;
  width: auto;
  filter: none;
}
.footer-brand p { color: #e8f0de; margin-bottom: 0.75rem; line-height: 1.6; }
.footer-brand p a,
.footer-bottom p a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.footer-links { display: grid; gap: 0.5rem; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
}
.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;
  color: #e8f0de;
}
.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;
  }
}

/* css/redesign.css */
/*
 * TreeENT website redesign
 * Based on TreeENT VIS Basic System (2020-03-17)
 * Main colour: 生命綠 #6FBA2C
 * Support: 仁樹藍 / 天空藍
 * Golden split: 38.2 / 61.8
 * Symbol line: 5 / 1 / 3  (green / sky / blue)
 */

:root {
  --tree-life: #6fba2c;
  --tree-life-dark: #3f6f14;
  --tree-life-deep: #245410;
  --tree-life-ink: #16300c;
  --tree-ocean: #0068b7;
  --tree-ocean-dark: #004a86;
  --tree-sky: #00a0e9;
  --tree-ink: #1e3318;
  --tree-muted: #5a7058;
  --tree-line: #d4e6c8;
  --tree-wash: #f4f9ec;
  --tree-white: #fff;
  --tree-ratio-small: 38.2%;
  --tree-ratio-large: 61.8%;
  --tree-radius: 10px;
  --tree-shadow: 0 22px 60px rgba(63, 111, 20, 0.13);
  --tree-container: 1200px;
  --tree-bar: linear-gradient(
    90deg,
    var(--tree-life) 0 55.55%,
    var(--tree-sky) 55.55% 66.66%,
    var(--tree-ocean) 66.66% 100%
  );
}

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

html {
  font-size: 18px;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  hanging-punctuation: allow-end;
  line-break: strict;
}

body {
  margin: 0;
  color: var(--tree-ink);
  background: var(--tree-white);
  font-family: "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", "Noto Sans CJK TC", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  overflow-wrap: break-word;
  word-break: normal;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 250;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%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)' opacity='.55'/%3E%3C/svg%3E");
}

body::after {
  display: none;
}

img {
  max-width: 100%;
}

a {
  color: var(--tree-life-dark);
}

h1,
h2,
h3,
h4 {
  color: var(--tree-ink);
  letter-spacing: 0;
  line-break: strict;
  overflow-wrap: normal;
  text-wrap: pretty;
}

p,
li,
dd {
  line-break: strict;
  text-wrap: pretty;
}

.nowrap {
  white-space: nowrap;
}

a[href^="tel:"],
.phone,
.float-wa,
.nav-cta,
.home-kv-nav .n-kv-thumb span,
.home-kv-caption > span,
.topic-link small {
  white-space: nowrap;
}

.container,
.n-inner {
  width: min(calc(100% - 2.5rem), var(--tree-container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 500;
  padding: 0.7rem 1rem;
  border-radius: 6px;
  background: var(--tree-life);
  color: var(--tree-life-ink);
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

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

/* VIS symbol line, ratio 5:1:3 */
.brand-line {
  display: flex;
  width: 100%;
  height: 6px;
}

.brand-line::before,
.brand-line::after {
  content: "";
  display: block;
}

.brand-line::before {
  flex: 5;
  background: var(--tree-life);
}

.brand-line > span {
  flex: 1;
  background: var(--tree-sky);
}

.brand-line::after {
  flex: 3;
  background: var(--tree-ocean);
}

.vis-frame {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--tree-wash);
}

.vis-frame > img {
  display: block;
  width: 100%;
}

.vis-frame > .brand-line {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 6px;
}

.vis-bar {
  display: none;
}

/* Header */
.topbar {
  padding: 0.45rem 0;
  background: var(--tree-life-deep);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar a {
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  overflow: visible;
  height: 76px;
  border-bottom: 0;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 30px rgba(63, 111, 20, 0.08);
}

.site-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 5px;
  background: var(--tree-bar);
}

.site-header .container {
  height: 100%;
  overflow: visible;
}

.logo {
  min-width: 180px;
  padding: 0.65rem 1rem 0.65rem 0;
}

.logo img {
  width: auto;
  height: 36px;
  object-fit: contain;
}

.main-nav {
  flex-wrap: nowrap;
  gap: 0.15rem;
}

.nav-dropdown {
  position: relative;
  z-index: 2;
}

@media (min-width: 1081px) {
  .nav-dropdown {
    align-self: stretch;
    display: flex;
    align-items: center;
    z-index: 180;
  }

  .nav-dropdown > summary {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 0.72rem;
  }

  .nav-dropdown .dropdown-menu {
    top: 100%;
    padding-top: 0.55rem;
  }

  .nav-dropdown .dropdown-menu::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    height: 12px;
  }
}

.main-nav > a,
.nav-dropdown > summary {
  padding: 0.55rem 0.48rem;
  border-radius: 6px;
  color: var(--tree-ink);
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
}

.main-nav > a.nav-cta {
  display: inline-flex;
}

.main-nav > a:hover,
.main-nav > a.active,
.nav-dropdown > summary:hover,
.nav-dropdown[open] > summary,
.nav-dropdown > summary.active {
  color: var(--tree-life-dark);
  background: var(--tree-wash);
}

.dropdown-menu a.active {
  color: var(--tree-life-dark);
  background: var(--tree-wash);
}

a.news-item {
  color: inherit;
  text-decoration: none;
}

a.news-item .news-more {
  display: inline-block;
  margin-top: 0.35rem;
  color: var(--tree-life-dark);
  font-size: 0.88rem;
  font-weight: 700;
}

.news-source {
  display: block;
  margin-top: 0.25rem;
  color: var(--tree-muted);
  font-size: 0.78rem;
  font-weight: 600;
}

a[href^="https://wa.me/"],
.btn[href^="https://wa.me/"],
a[href^="tel:"],
.btn[href^="tel:"] {
  display: inline-flex;
  align-items: center;
  gap: 0.38em;
}

a[href^="https://wa.me/"]::before,
a[href^="tel:"]::before {
  content: "";
  flex: 0 0 auto;
  width: 1.05em;
  height: 1.05em;
  background-color: currentColor;
  -webkit-mask: url("../images/icon-whatsapp.svg") center / contain no-repeat;
  mask: url("../images/icon-whatsapp.svg") center / contain no-repeat;
}

a[href^="tel:"]::before {
  -webkit-mask: url("../images/icon-phone.svg") center / contain no-repeat;
  mask: url("../images/icon-phone.svg") center / contain no-repeat;
}

.home-promos a[href^="https://wa.me/"]::before,
.home-promos a[href^="tel:"]::before,
.clone-tel::before {
  display: none;
}

.nav-cta {
  margin-left: 0.45rem;
  padding: 0.62rem 1rem !important;
  border-radius: 8px !important;
  background: var(--tree-life) !important;
  color: var(--tree-life-ink) !important;
  box-shadow: 0 8px 22px rgba(111, 186, 44, 0.22);
}

.nav-cta:hover {
  background: var(--tree-life-dark) !important;
  color: #fff !important;
}

.dropdown-menu {
  z-index: 160;
  border: 1px solid var(--tree-line);
  border-radius: 8px;
  box-shadow: var(--tree-shadow);
}

/* Buttons */
.btn,
.btn-lg,
.cta-banner .btn,
.btn-white,
.btn-outline,
.btn-primary,
.btn-life {
  min-height: 46px;
  border-radius: 8px;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease,
    box-shadow 0.18s ease;
}

.btn:active,
.nav-cta:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--tree-life);
  color: var(--tree-life-ink);
  box-shadow: 0 10px 24px rgba(111, 186, 44, 0.22);
}

.btn-primary:hover {
  background: var(--tree-life-dark);
  color: #fff;
}

.btn-outline {
  border-color: var(--tree-life-dark);
  color: var(--tree-life-dark);
}

.btn-outline:hover {
  background: var(--tree-life);
  color: var(--tree-life-ink);
}

.btn-life {
  background: var(--tree-life);
  color: var(--tree-life-ink);
  box-shadow: 0 10px 24px rgba(111, 186, 44, 0.2);
}

.btn-life:hover {
  background: var(--tree-life-dark);
  color: #fff;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  text-underline-offset: 4px;
}

.text-link::after {
  content: "→";
  transition: transform 0.18s ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

/* Homepage hero, 38.2 / 61.8 */
.golden-hero {
  position: relative;
  display: grid;
  grid-template-columns: var(--tree-ratio-small) var(--tree-ratio-large);
  min-height: min(720px, calc(100dvh - 112px));
  overflow: hidden;
  background: #fff;
}

.golden-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 6vw, 6rem) clamp(2rem, 4.5vw, 5rem);
}

.golden-hero-copy::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 7px;
  background: var(--tree-bar);
}

.golden-hero-logo {
  width: min(240px, 75%);
  margin-bottom: clamp(2.4rem, 6vh, 4.5rem);
}

.golden-hero-kicker {
  margin: 0 0 0.8rem;
  color: var(--tree-life-dark);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.golden-hero h1 {
  max-width: 8em;
  margin: 0 0 1.2rem;
  font-size: clamp(2.6rem, 5vw, 5.2rem);
  font-weight: 700;
  line-height: 1.2;
}

.golden-hero-lead {
  max-width: 30rem;
  margin: 0 0 1.8rem;
  color: var(--tree-muted);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}

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

.golden-hero-media {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.golden-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.golden-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(63, 111, 20, 0.12), transparent 36%);
  pointer-events: none;
}

.hero-fact {
  position: absolute;
  right: clamp(1.25rem, 3vw, 3rem);
  bottom: clamp(1.25rem, 3vw, 3rem);
  z-index: 2;
  max-width: 260px;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--tree-shadow);
  color: var(--tree-ink);
  backdrop-filter: blur(16px);
}

.hero-fact strong {
  display: block;
  color: var(--tree-life-dark);
  font-size: 1.5rem;
  line-height: 1.1;
}

.hero-fact span {
  font-size: 0.82rem;
}

/* Factual strip */
.fact-strip {
  border-bottom: 1px solid var(--tree-line);
  background: var(--tree-wash);
}

.fact-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.fact-item {
  padding: 1.4rem 1.5rem;
  border-right: 1px solid var(--tree-line);
}

.fact-item:last-child {
  border-right: 0;
}

.fact-item strong {
  display: block;
  margin-bottom: 0.18rem;
  color: var(--tree-life-dark);
  font-size: 1.15rem;
}

.fact-item span {
  color: var(--tree-muted);
  font-size: 0.82rem;
}

/* Sections */
.brand-section {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.brand-section-soft {
  background: var(--tree-wash);
}

.section-heading {
  display: block;
  max-width: 46rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--tree-line);
}

.section-heading h1,
.section-heading h2 {
  max-width: 12em;
  margin: 0;
  font-size: clamp(1.85rem, 3.6vw, 3rem);
  line-height: 1.25;
}

.section-heading p {
  max-width: 62ch;
  margin: 0.7rem 0 0;
  color: var(--tree-muted);
}

.section-label {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--tree-life-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* Three core specialties: 61.8% nasal, 38.2% ear/thyroid */
.specialty-mosaic {
  display: grid;
  grid-template-columns: var(--tree-ratio-large) var(--tree-ratio-small);
  gap: 1rem;
  min-height: 650px;
}

.specialty-primary,
.specialty-secondary {
  position: relative;
  overflow: hidden;
  border-radius: var(--tree-radius);
  color: #fff;
}

.specialty-primary img,
.specialty-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.specialty-primary:hover img,
.specialty-secondary:hover img {
  transform: scale(1.025);
}

.specialty-primary::after,
.specialty-secondary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(22, 56, 12, 0.9) 100%);
}

.specialty-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
}

.specialty-content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: clamp(1.4rem, 3vw, 2.6rem);
}

.specialty-content small {
  display: block;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 600;
}

.specialty-content h3 {
  margin: 0 0 0.5rem;
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.6rem);
}

.specialty-secondary .specialty-content h3 {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
}

.specialty-content p {
  max-width: 42ch;
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
}

.specialty-content a {
  color: #fff;
  font-weight: 700;
}

/* Search-intent topics */
.topic-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--tree-line);
  border-left: 1px solid var(--tree-line);
}

.topic-link {
  position: relative;
  min-height: 210px;
  padding: 1.45rem;
  border-right: 1px solid var(--tree-line);
  border-bottom: 1px solid var(--tree-line);
  background: #fff;
  color: var(--tree-ink);
  transition: background 0.2s ease, color 0.2s ease;
}

.topic-link:hover {
  background: var(--tree-life-dark);
  color: #fff;
}

.topic-link small {
  display: block;
  margin-bottom: 2.8rem;
  color: var(--tree-muted);
  font-size: 0.72rem;
}

.topic-link:hover small {
  color: rgba(255, 255, 255, 0.68);
}

.topic-link strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.15rem;
}

.topic-link span {
  display: block;
  color: var(--tree-muted);
  font-size: 0.84rem;
}

.topic-link:hover span {
  color: rgba(255, 255, 255, 0.84);
}

/* Process */
.care-path {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--tree-line);
}

.care-step:first-child {
  grid-column: 1 / -1;
  max-width: 38rem;
}

.care-step {
  position: relative;
  padding: 1.4rem 0 1.8rem;
  border-bottom: 1px solid var(--tree-line);
}

.care-step:nth-child(n + 4) {
  grid-column: span 1;
}

.care-step h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.care-step p {
  margin: 0;
  color: var(--tree-muted);
  font-size: 0.9rem;
}

/* Cross-border feature */
.golden-feature {
  display: grid;
  grid-template-columns: var(--tree-ratio-large) var(--tree-ratio-small);
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--tree-radius);
  background: var(--tree-life-deep);
  color: #fff;
  box-shadow: var(--tree-shadow);
}

.golden-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.golden-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem);
}

.golden-feature-copy h2 {
  margin: 0 0 1rem;
  color: #fff;
  font-size: clamp(2rem, 3.4vw, 3rem);
}

.golden-feature-copy p,
.golden-feature-copy li {
  color: rgba(255, 255, 255, 0.8);
}

.golden-feature-copy ul {
  display: grid;
  gap: 0.6rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.visit-desk {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 2.4rem 2.8rem;
  align-items: start;
}

.visit-desk h3 {
  margin: 0 0 0.85rem;
  font-size: 1rem;
}

.visit-desk table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.visit-desk th,
.visit-desk td {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--tree-line);
  text-align: left;
  font-size: 0.92rem;
  font-weight: 500;
}

.visit-desk th {
  color: var(--tree-ink);
  font-weight: 600;
}

.visit-desk td {
  color: var(--tree-muted);
  text-align: right;
}

.visit-desk ol,
.visit-desk ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.visit-desk li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--tree-line);
  color: var(--tree-muted);
  font-size: 0.92rem;
}

.visit-desk .text-link {
  margin-top: 1rem;
}

/* Doctors */
.doctor-preview {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  gap: 1.1rem;
}

.doctor-preview-card {
  display: grid;
  grid-template-rows: minmax(280px, 42vw) auto;
  overflow: hidden;
  background: var(--tree-wash);
}

.doctor-preview-card:first-child {
  grid-template-rows: minmax(360px, 48vw) auto;
}

.doctor-preview-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  background: #eef4e8;
}

.doctor-preview-info {
  padding: 1.1rem 0.1rem 0;
}

.doctor-preview-info h3 {
  margin: 0 0 0.25rem;
}

.doctor-preview-info p {
  margin: 0;
  color: var(--tree-muted);
  font-size: 0.88rem;
}

/* FAQ */
.geo-faq {
  display: grid;
  grid-template-columns: var(--tree-ratio-small) var(--tree-ratio-large);
  gap: clamp(2rem, 6vw, 6rem);
}

.geo-faq-intro {
  position: sticky;
  top: 120px;
  align-self: start;
}

.geo-faq-intro h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.geo-faq-intro p {
  color: var(--tree-muted);
}

.geo-faq-list {
  border-top: 1px solid var(--tree-line);
}

.geo-faq-list details {
  border-bottom: 1px solid var(--tree-line);
}

.geo-faq-list summary {
  position: relative;
  padding: 1.35rem 2.5rem 1.35rem 0;
  list-style: none;
  color: var(--tree-ink);
  font-weight: 700;
  cursor: pointer;
}

.geo-faq-list summary::-webkit-details-marker {
  display: none;
}

.geo-faq-list summary::after {
  content: "·";
  position: absolute;
  top: 1.25rem;
  right: 0;
  color: var(--tree-life-dark);
  font-size: 1.35rem;
  font-weight: 400;
}

.geo-faq-list details[open] summary::after {
  content: "−";
}

.geo-faq-answer {
  max-width: 60ch;
  padding: 0 2rem 1.4rem 0;
  color: var(--tree-muted);
}

.entity-answer {
  display: grid;
  grid-template-columns: minmax(16rem, 3fr) minmax(0, 2fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.entity-answer h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.entity-answer .clinic-video {
  margin: 0;
}

.entity-answer .clinic-video video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: #111814;
}

.entity-answer .entity-lead,
.article .entity-lead {
  max-width: 62ch;
  font-size: 1.05rem;
  line-height: 1.7;
}

.entity-dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.entity-dl div {
  border-top: 1px solid var(--tree-line);
  padding: 1rem 0;
}

.entity-dl dt {
  margin: 0 0 0.3rem;
  font-weight: 700;
}

.entity-dl dd {
  margin: 0;
  max-width: 58ch;
  color: var(--tree-muted);
}

.entity-book {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 0.85rem;
  margin-top: 0.7rem;
}

.entity-book-tel {
  color: var(--tree-life-dark);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.entity-book-tel:hover {
  color: var(--tree-life);
}

.entity-book-wa {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 8px;
  background: var(--tree-life);
  color: var(--tree-life-ink);
  font-weight: 700;
  text-decoration: none;
}

.entity-book-wa:hover {
  background: var(--tree-life-dark);
  color: #fff;
}

.home-acc {
  margin: 0;
}

.home-acc > summary {
  position: relative;
  list-style: none;
  cursor: pointer;
}

.home-acc > summary::-webkit-details-marker {
  display: none;
}

.home-acc > summary::after {
  position: absolute;
  right: 0;
  top: 50%;
  display: none;
  width: 0.65rem;
  height: 0.65rem;
  border-right: 2px solid var(--tree-life-dark);
  border-bottom: 2px solid var(--tree-life-dark);
  transform: translateY(-70%) rotate(45deg);
  content: "";
}

.home-acc[open] > summary::after {
  transform: translateY(-20%) rotate(225deg);
}

.entity-copy .home-acc > summary {
  padding: 0.2rem 2rem 0.2rem 0;
}

.entity-copy .home-acc > summary h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.entity-dl {
  display: grid;
  gap: 0;
  margin: 0.6rem 0 0;
}

.entity-dl .home-acc {
  border-top: 1px solid var(--tree-line);
}

.entity-dl .home-acc > summary {
  padding: 1rem 2rem 1rem 0;
  font-weight: 700;
}

.entity-dl .home-acc p,
.entity-copy > .home-acc .entity-lead {
  margin: 0 0 1rem;
  max-width: 58ch;
  color: var(--tree-muted);
}

.entity-copy > .entity-book {
  margin-top: 0.4rem;
}

.care-step .home-acc > summary {
  padding: 0 2rem 0.35rem 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.visit-desk > .home-acc > summary {
  padding: 0 2rem 0.85rem 0;
  font-size: 1rem;
  font-weight: 700;
}

@media (max-width: 767px) {
  .home-acc > summary::after {
    display: block;
  }

  .entity-answer .clinic-video {
    margin-bottom: 0.4rem;
  }

  .entity-copy > .home-acc .entity-lead {
    margin-top: 0.75rem;
  }
}

@media (min-width: 768px) {
  .home-acc > summary {
    pointer-events: none;
    cursor: default;
  }

  .geo-faq-list .home-acc > summary {
    pointer-events: auto;
    cursor: pointer;
  }
}

.page-acc {
  margin: 0;
}

.page-acc > summary {
  position: relative;
  display: block;
  list-style: none;
  cursor: pointer;
}

.page-acc > summary::-webkit-details-marker {
  display: none;
}

.page-acc > summary::after {
  position: absolute;
  top: 50%;
  right: 0;
  display: none;
  width: 0.65rem;
  height: 0.65rem;
  border-right: 2px solid var(--tree-life-dark);
  border-bottom: 2px solid var(--tree-life-dark);
  transform: translateY(-70%) rotate(45deg);
  content: "";
}

.page-acc[open] > summary::after {
  transform: translateY(-20%) rotate(225deg);
}

.page-acc > summary h2,
.page-acc > summary h4 {
  padding-right: 1.8rem;
}

.page-acc > summary h2 {
  border-bottom: 0;
}

.page-acc-body > *:first-child {
  margin-top: 0.35rem;
}

@media (max-width: 767px) {
  .page-acc {
    border-top: 1px solid var(--tree-line);
  }

  .page-acc > summary {
    padding: 0.95rem 1.8rem 0.95rem 0;
  }

  .page-acc > summary::after {
    display: block;
  }

  .page-acc > summary h2 {
    margin: 0;
    padding-top: 0;
    border-top: 0;
    font-size: 1.08rem;
    line-height: 1.35;
  }

  .page-acc-body {
    padding: 0 0 1rem;
  }

  .page-acc-route {
    border-top: 0;
  }

  .page-acc-route > summary {
    padding-top: 0.2rem;
  }
}

@media (min-width: 768px) {
  .page-acc > summary {
    pointer-events: none;
    cursor: default;
    padding: 0;
  }

  .page-acc > summary h2 {
    padding-right: 0;
  }
}

.entity-book-wa .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-faq {
  margin-top: 2.25rem;
}

/* Final CTA */
.brand-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--tree-life-dark);
  color: #fff;
}

.brand-cta::after {
  content: none;
}

.brand-cta-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: var(--tree-ratio-large) var(--tree-ratio-small);
  align-items: end;
  gap: 2rem;
}

.brand-cta h2 {
  max-width: 12em;
  margin: 0 0 0.8rem;
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.25;
}

.brand-cta p {
  max-width: 52ch;
  margin: 0;
  color: #fff;
}

.brand-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* Shared inner pages */
.page-hero {
  position: relative;
  display: grid;
  min-height: 480px;
  padding: 0;
  overflow: hidden;
  background-color: var(--tree-life-deep);
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.page-hero::before {
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(36, 84, 16, 0.94) 0 38.2%,
    rgba(63, 111, 20, 0.55) 61.8%,
    rgba(111, 186, 44, 0.16) 100%
  );
}

.page-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 6px;
  background: var(--tree-bar);
}

.page-hero-team {
  min-height: 0;
}

.team-kv {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 4.6rem 0 0;
  background-color: #081208;
  background-image:
    radial-gradient(58% 46% at 50% 86%, rgba(111, 186, 44, 0.58) 0%, rgba(63, 111, 20, 0.28) 36%, transparent 66%),
    radial-gradient(42% 38% at 6% 8%, rgba(63, 111, 20, 0.5), transparent 72%),
    radial-gradient(38% 32% at 94% 14%, rgba(111, 186, 44, 0.26), transparent 70%),
    linear-gradient(180deg, #1a4410 0%, #12300c 28%, #0c1c08 58%, #060a04 100%);
}

.team-kv-noise {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.34;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.team-kv::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  bottom: -4%;
  width: 78%;
  height: 56%;
  transform: translateX(-50%);
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 42%, rgba(111, 186, 44, 0.42), rgba(36, 84, 16, 0.12) 48%, transparent 72%);
}

.team-kv::after {
  content: "";
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  height: 6px;
  background: var(--tree-bar);
}

.team-kv-copy {
  position: relative;
  z-index: 1;
  padding-bottom: 0.2rem;
}

.team-kv .breadcrumb {
  margin-bottom: 1.35rem;
}

.team-kv-kicker {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 0.85rem;
  color: var(--tree-life);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.team-kv-kicker::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  background: var(--tree-life);
}

.team-kv h1 {
  max-width: 6em;
  margin: 0;
  color: #fff;
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
}

.team-kv-copy p:not(.team-kv-kicker) {
  max-width: 38rem;
  margin: 0.95rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  line-height: 1.7;
}

.team-kv-stats {
  margin-top: 1.8rem;
}

.team-kv-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  padding: 2.8rem 2vw 0;
  background:
    radial-gradient(ellipse 52% 62% at 50% 82%, rgba(111, 186, 44, 0.46) 0%, rgba(63, 111, 20, 0.18) 42%, transparent 68%),
    linear-gradient(180deg, transparent 40%, rgba(6, 12, 4, 0.35) 100%);
}

.team-kv-stage img {
  display: block;
  width: min(100%, 1480px);
  max-width: 100%;
  height: auto;
  max-height: none;
  margin: 0 auto;
  object-fit: contain;
  object-position: center top;
  mix-blend-mode: lighten;
}

.content-figure.team-banner,
.content-figure.team-banner img {
  max-height: none;
}

.page-hero > .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(calc(100% - 2.5rem), var(--tree-container));
  padding: 5rem 0;
}

.page-hero h1 {
  max-width: 10em;
  margin: 0 0 0.8rem;
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: 1.22;
}

.page-hero p {
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.82);
}

.breadcrumb {
  margin-bottom: 1.4rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.78rem;
}

.breadcrumb a {
  color: #fff;
}

.section {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.section-alt {
  background: var(--tree-wash);
}

.side-layout {
  grid-template-columns: minmax(0, var(--tree-ratio-large)) minmax(270px, var(--tree-ratio-small));
  gap: clamp(2.5rem, 6vw, 6rem);
}

.article {
  max-width: none;
}

.article > p:first-child {
  color: var(--tree-ink);
  font-size: 1.08rem;
}

.article h2 {
  margin-top: 3.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--tree-line);
  border-bottom: 0;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
}

.article > h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.article h3 {
  margin-top: 2rem;
}

.legal-toc {
  display: grid;
  gap: 0.35rem;
  margin: 1.25rem 0 2rem;
  padding: 1.1rem 1.2rem;
  background: var(--tree-wash);
  border-radius: var(--tree-radius);
}

.legal-toc a {
  color: var(--tree-life-dark);
  font-weight: 500;
}

.map-caption {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.map-caption + .map-caption {
  margin-top: 0.35rem;
}

.article p,
.article li {
  color: var(--tree-muted);
}

.article ul li::before {
  color: var(--tree-life);
}

.content-gallery {
  grid-template-columns: var(--tree-ratio-large) var(--tree-ratio-small);
  gap: 1rem;
}

.content-figure {
  overflow: hidden;
  border-bottom: 4px solid var(--tree-life);
  border-radius: var(--tree-radius);
  background: var(--tree-wash);
  box-shadow: none;
}

.content-figure img {
  min-height: 270px;
  object-fit: cover;
}

.content-figure figcaption {
  background: var(--tree-wash);
  color: var(--tree-muted);
}

.article-photo {
  margin: 2rem 0 2.75rem;
}

.related-read {
  margin: 2.25rem 0 0;
  padding: 1.25rem 1.4rem;
  background: var(--tree-wash);
  border-radius: var(--tree-radius);
}

.related-read h2 {
  margin-top: 0;
  font-size: 1.15rem;
}

.related-read ul {
  margin-bottom: 0;
}

.sidebar {
  position: sticky;
  top: 120px;
  align-self: start;
}

.side-card {
  border: 0;
  border-radius: var(--tree-radius);
  background: var(--tree-wash);
  box-shadow: none;
}

.side-card.side-cta {
  background: var(--tree-life-dark);
}

.callout {
  border-left-color: var(--tree-life);
  background: var(--tree-wash);
}

.service-grid {
  grid-template-columns: 1fr 1fr;
}

.service-card {
  border: 0;
  border-radius: var(--tree-radius);
  background: var(--tree-wash);
  box-shadow: none;
}

.doctor-grid {
  grid-template-columns: repeat(3, 1fr);
}

.doctor-card {
  border: 0;
  border-radius: var(--tree-radius);
  box-shadow: 0 12px 36px rgba(63, 111, 20, 0.08);
}

.doctor-card .photo {
  height: 330px;
  background: var(--tree-wash);
}

.doctor-card .info {
  border-top: 5px solid var(--tree-life);
}

.doctor-filters button {
  border-color: var(--tree-line);
  border-radius: 999px;
}

.doctor-filters button.active,
.doctor-filters button:hover {
  border-color: var(--tree-life-dark);
  background: var(--tree-life-dark);
}

.clinic-location {
  background:
    linear-gradient(180deg, rgba(111, 186, 44, 0.09), transparent 20rem),
    var(--tree-white);
}

.clinic-location-lead {
  display: grid;
  grid-template-columns: var(--tree-ratio-large) var(--tree-ratio-small);
  align-items: stretch;
  min-height: 430px;
  background: var(--tree-life-deep);
}

.clinic-location-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.clinic-location-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.clinic-location-photo figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 2.5rem 1.2rem 0.85rem;
  background: linear-gradient(transparent, rgba(22, 56, 12, 0.9));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
}

.clinic-location-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4vw, 4rem);
  border-left: 6px solid var(--tree-life);
  color: #fff;
}

.clinic-location-copy h2 {
  margin: 0 0 1rem;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.clinic-location-copy p {
  margin: 0.35rem 0;
  color: rgba(255, 255, 255, 0.82);
}

.clinic-location-copy .clinic-hours {
  margin: 0.85rem 0 0.35rem;
  padding: 0;
  list-style: none;
}

.clinic-location-copy .clinic-hours li {
  position: relative;
  margin: 0.28rem 0;
  padding-left: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
}

.clinic-location-copy .clinic-hours li::before,
.clinic-location-copy .clinic-note::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 2px;
  height: 0.9em;
  background: var(--tree-life);
}

.clinic-location-copy .clinic-note {
  position: relative;
  margin: 0.55rem 0 0;
  padding-left: 0.9rem;
}
}

.contact-grid {
  grid-template-columns: var(--tree-ratio-large) var(--tree-ratio-small);
  margin-top: 2.2rem;
}

.contact-card {
  border: 0;
  border-radius: var(--tree-radius);
  background: var(--tree-wash);
}

.cta-banner {
  background: var(--tree-life-dark);
}

/* Footer */
.site-footer {
  position: relative;
  padding: 4.5rem 0 1.5rem;
  background: var(--tree-life-deep);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 6px;
  background: var(--tree-bar);
}

.site-footer .logo {
  display: inline-flex;
  min-width: 0;
  padding: 0;
  background: transparent;
}

.site-footer .logo img {
  height: 32px;
  width: auto;
  filter: none;
}

.footer-grid {
  grid-template-columns: var(--tree-ratio-large) repeat(3, 1fr);
}

.footer-brand {
  max-width: 30rem;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  margin: 0.85rem 0 0;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
}

.footer-social a:hover {
  color: #c6e89a;
}

.footer-social svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
}

.footer-fold {
  margin: 0;
}

.footer-fold > summary {
  position: relative;
  list-style: none;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.footer-fold > summary::-webkit-details-marker {
  display: none;
}

.footer-fold > summary::after {
  position: absolute;
  right: 0;
  top: 50%;
  display: none;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid rgba(255, 255, 255, 0.85);
  border-bottom: 2px solid rgba(255, 255, 255, 0.85);
  transform: translateY(-70%) rotate(45deg);
  content: "";
}

.footer-fold[open] > summary::after {
  transform: translateY(-20%) rotate(225deg);
}

@media (max-width: 767px) {
  .footer-fold {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .footer-fold > summary {
    padding: 0.95rem 1.8rem 0.95rem 0;
  }

  .footer-fold > summary::after {
    display: block;
  }

  .footer-fold .footer-links {
    padding: 0 0 0.95rem;
  }

  .footer-fold-stay > summary {
    pointer-events: none;
    cursor: default;
  }

  .footer-fold-stay > summary::after {
    display: none;
  }
}

@media (min-width: 768px) {
  .footer-fold > summary {
    pointer-events: none;
    cursor: default;
    margin-bottom: 0.85rem;
  }
}

.float-wa {
  right: 1rem;
  bottom: 1rem;
  width: auto;
  height: auto;
  min-height: 48px;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  background: var(--tree-life);
  box-shadow: 0 10px 28px rgba(111, 186, 44, 0.3);
  color: var(--tree-life-ink);
  font-size: 0.82rem;
  font-weight: 700;
  gap: 0.4rem;
}

.float-wa::before {
  display: block;
  width: 1.15em;
  height: 1.15em;
}

.float-wa:hover {
  background: var(--tree-life-dark);
  color: #fff;
  transform: translateY(-2px);
}

/* Entry motion with reduced-motion fallback */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.nav-toggle {
  display: none;
  flex-shrink: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0;
  border-radius: 1px;
  background: var(--tree-ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1080px) {
  .nav-toggle {
    display: flex;
  }

  .site-header .container {
    position: static;
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .site-header .logo {
    width: auto;
    min-width: 0;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 120;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    max-height: calc(100dvh - 76px);
    padding: 0.35rem 1.25rem 1.15rem;
    overflow-x: hidden;
    overflow-y: auto;
    border-bottom: 1px solid var(--tree-line);
    background: #fff;
    box-shadow: 0 18px 36px rgba(36, 84, 16, 0.12);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav > a,
  .nav-dropdown > summary {
    width: 100%;
    padding: 0.95rem 0.15rem;
    border-bottom: 1px solid var(--tree-line);
    border-radius: 0;
    font-size: 1rem;
    white-space: normal;
  }

  .nav-dropdown .dropdown-menu {
    position: static;
    min-width: 0;
    padding: 0 0 0.45rem 0.85rem;
    border: 0;
    box-shadow: none;
  }

  .nav-dropdown .dropdown-menu a {
    padding: 0.55rem 0.15rem;
  }

  .main-nav .nav-cta {
    margin: 0.9rem 0 0.2rem;
    padding: 0.85rem 1rem !important;
    border-bottom: 0;
    border-radius: 8px !important;
    justify-content: center;
    text-align: center;
  }

  .golden-hero {
    min-height: 650px;
  }

  .topic-rail {
    grid-template-columns: repeat(2, 1fr);
  }

  .care-path {
    grid-template-columns: repeat(3, 1fr);
  }

  .doctor-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .container,
  .n-inner {
    width: min(calc(100% - 2rem), var(--tree-container));
  }

  .topbar {
    display: none;
  }

  .site-header {
    height: 68px;
  }

  .main-nav {
    max-height: calc(100dvh - 68px);
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .logo {
    min-width: 0;
  }

  .logo img {
    height: 31px;
  }

  .golden-hero {
    display: flex;
    flex-direction: column-reverse;
    min-height: auto;
  }

  .golden-hero-media {
    min-height: 52vh;
  }

  .golden-hero-copy {
    padding: 2.5rem 1.25rem 3.2rem;
  }

  .golden-hero-logo {
    width: 190px;
    margin-bottom: 2rem;
  }

  .golden-hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.5rem);
  }

  .hero-fact {
    right: 1rem;
    bottom: 1rem;
  }

  .fact-strip-grid {
    grid-template-columns: 1fr 1fr;
  }

  .fact-item:nth-child(2) {
    border-right: 0;
  }

  .fact-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--tree-line);
  }

  .section-heading,
  .brand-cta-inner,
  .geo-faq,
  .entity-answer,
  .golden-feature,
  .visit-desk,
  .side-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
  }

  .specialty-mosaic {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .specialty-primary {
    min-height: 520px;
  }

  .specialty-secondary {
    min-height: 340px;
  }

  .topic-rail {
    grid-template-columns: 1fr;
  }

  .topic-link {
    min-height: 170px;
  }

  .care-path {
    grid-template-columns: 1fr;
  }

  .care-step + .care-step {
    border-left: 0;
    border-top: 0;
  }

  .golden-feature-media {
    min-height: 360px;
  }

  .doctor-preview,
  .doctor-grid,
  .service-grid,
  .content-gallery,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .doctor-preview-card {
    grid-template-rows: 320px auto;
  }

  .geo-faq-intro,
  .sidebar {
    position: static;
  }

  .brand-cta-actions {
    justify-content: flex-start;
  }

  .page-hero {
    min-height: 400px;
  }

  .page-hero > .container {
    padding: 4rem 0;
  }
}

body.nav-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .topbar,
  .site-header,
  .float-wa,
  .brand-cta,
  .cta-banner {
    display: none !important;
  }
}

/* ==================================================
   Homepage layout inspired by Nintendo Japan's rhythm:
   full-width KV, thumbnail navigation, modular sections.
   TreeENT brand assets and VIS colors remain unchanged.
   ================================================== */
.home-nintendo {
  background: #fff;
}

.home-nintendo .site-header {
  box-shadow: none;
}

.home-kv {
  position: relative;
  background: var(--tree-wash);
}

.home-kv-slides {
  position: relative;
  width: 100%;
  min-height: 440px;
  max-height: 720px;
  aspect-ratio: 21 / 9;
  overflow: hidden;
}

.home-kv .n-kv-slide {
  position: absolute;
  inset: 0;
  display: block;
  visibility: hidden;
  opacity: 0;
  color: #fff;
  transition: opacity 0.65s ease, visibility 0.65s ease;
}

.home-kv .n-kv-slide.is-active {
  z-index: 2;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.home-kv .n-kv-slide:not(.is-active) {
  pointer-events: none;
}

.home-kv .n-kv-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(22, 48, 12, 0.78) 0%, rgba(36, 84, 16, 0.42) 37%, transparent 68%),
    linear-gradient(0deg, rgba(22, 48, 12, 0.22), transparent 42%);
  pointer-events: none;
}

.home-kv .n-kv-slide.n-kv-asc::after {
  background:
    linear-gradient(90deg, rgba(22, 48, 12, 0.55) 0%, rgba(36, 84, 16, 0.18) 32%, transparent 52%),
    linear-gradient(0deg, rgba(22, 48, 12, 0.12), transparent 36%);
}

.home-kv .n-kv-slide picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.home-kv .n-kv-slide.n-kv-reception img {
  object-position: center 62%;
}

.home-kv .n-kv-slide.n-kv-consult img {
  object-position: 58% 42%;
}

.page-hero-about {
  background-position: 52% 48%;
}

.page-hero-thyroid {
  background-position: 64% 40%;
}

.home-kv .n-kv-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.025);
  transition: transform 6.5s ease-out;
}

.home-kv .n-kv-slide.is-active img {
  transform: scale(1);
}

.home-kv-caption {
  position: absolute;
  bottom: clamp(2.4rem, 7vw, 6rem);
  left: max(2rem, calc((100vw - var(--tree-container)) / 2));
  z-index: 3;
  max-width: min(560px, 48vw);
  text-shadow: 0 2px 18px rgba(0, 32, 58, 0.28);
}

.home-kv-caption > span {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.home-kv-caption h1,
.home-kv-caption h2 {
  max-width: 9em;
  margin: 0 0 0.85rem;
  color: #fff;
  font-size: clamp(2.25rem, 4.6vw, 4.6rem);
  line-height: 1.22;
  letter-spacing: 0;
}

.home-kv-caption p {
  max-width: 44ch;
  margin: 0 0 1rem;
  color: #fff;
  font-size: clamp(0.9rem, 1.15vw, 1.05rem);
}

.home-kv-caption > strong {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
}

.home-kv-caption > strong::after {
  content: "→";
}

.home-kv-nav {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1200px;
  margin: -1.5rem auto 0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 16px 42px rgba(63, 111, 20, 0.12);
}

.home-kv-nav .n-kv-thumb {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 0.75rem;
  min-height: 76px;
  padding: 0.7rem 0.85rem 0.9rem;
  border: 0;
  border-right: 1px solid var(--tree-line);
  border-radius: 0;
  background: #fff;
  color: var(--tree-ink);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.home-kv-nav .n-kv-thumb:last-child {
  border-right: 0;
}

.home-kv-nav .n-kv-thumb:hover,
.home-kv-nav .n-kv-thumb.is-active {
  background: var(--tree-wash);
}

.home-kv-nav .n-kv-thumb img {
  width: 64px;
  height: 42px;
  border-radius: 4px;
  object-fit: cover;
}

.home-kv-nav .n-kv-thumb span {
  font-size: 0.82rem;
  font-weight: 700;
}

.home-kv-nav .n-kv-thumb.is-active span {
  color: var(--tree-life-dark);
}

.home-kv-nav .n-kv-timer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, var(--tree-life), var(--tree-sky), var(--tree-ocean));
}

.home-kv-nav .n-kv-thumb.is-active .n-kv-timer {
  animation: nKvTimer 5.5s linear forwards;
}

.home-promos {
  padding: 3.5rem 0 0.5rem;
}

.home-promos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.home-promos-grid > a {
  position: relative;
  display: block;
  min-height: 190px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(63, 111, 20, 0.08);
}

.home-promos-grid > a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(22, 48, 12, 0.78), transparent 68%);
}

.home-promos-grid img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.home-promos-grid a:hover img {
  transform: scale(1.03);
}

.home-promos-grid span {
  position: absolute;
  right: 1.2rem;
  bottom: 1rem;
  left: 1.2rem;
  z-index: 2;
  color: #fff;
}

.home-promos-grid strong,
.home-promos-grid small {
  display: block;
}

.home-promos-grid strong {
  font-size: 1.12rem;
}

.home-promos-grid small {
  color: rgba(255, 255, 255, 0.82);
}

.reimburse-block {
  background:
    linear-gradient(180deg, #eef7e3 0%, var(--tree-wash) 42%, #fff 100%);
  padding: 4.4rem 0 0;
}

.reimburse-intro {
  max-width: 38rem;
  margin: 0 0 1.8rem;
}

.reimburse-block h2 {
  margin: 0;
  color: var(--tree-life-ink);
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
}

.reimburse-lead {
  margin: 0.85rem 0 0;
  color: var(--tree-life-dark);
  font-size: clamp(1.02rem, 1.8vw, 1.22rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.65;
}

.reimburse-banner {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  object-fit: cover;
  background: var(--tree-wash);
}

.insurer-stage {
  position: relative;
  overflow: hidden;
  min-height: clamp(220px, 38vw, 420px);
}

.insurer-stage-bg {
  display: block;
  width: 100%;
  height: clamp(220px, 38vw, 420px);
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(0.92);
}

.insurer-slider {
  position: absolute;
  inset: auto 5% 14% 5%;
  z-index: 2;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 48px rgba(36, 84, 16, 0.16);
}

.insurer-track {
  display: flex;
  width: max-content;
  animation: insurer-marquee 38s linear infinite;
}

.insurer-slider:hover .insurer-track,
.insurer-slider:focus-within .insurer-track {
  animation-play-state: paused;
}

.insurer-set {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 1.05rem 0.4rem;
  list-style: none;
}

.insurer-set li {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 168px;
  height: 72px;
  padding: 0.35rem 1rem;
}

.insurer-set img {
  display: block;
  width: 100%;
  height: 46px;
  object-fit: contain;
  object-position: center;
}

@keyframes insurer-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .insurer-track {
    animation: none !important;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .insurer-set:last-child {
    display: none;
  }

  .insurer-set {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
}

.reimburse-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border-top: 1px solid var(--tree-line);
}

.reimburse-points article {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.95rem 1.1rem;
  align-items: start;
  padding: 1.7rem 1.6rem 2.1rem;
  text-align: left;
}

.reimburse-points article:first-child::after {
  content: "";
  position: absolute;
  top: 22%;
  right: 0;
  width: 1px;
  height: 56%;
  background: var(--tree-line);
}

.reimburse-points img {
  grid-row: 1 / span 2;
  width: auto;
  height: 42px;
  margin-top: 0.15rem;
}

.reimburse-points h3 {
  grid-column: 2;
  margin: 0;
  color: var(--tree-life-dark);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.reimburse-points p {
  grid-column: 2;
  margin: 0.2rem 0 0;
  max-width: 36ch;
  color: var(--tree-muted);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.55;
}

.reimburse-note {
  margin: 0;
  padding: 0.95rem 0 1.5rem;
  color: var(--tree-muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.home-nintendo .fact-strip {
  margin-top: 2.5rem;
}

.home-nintendo .brand-section {
  padding-block: clamp(4.5rem, 8vw, 7rem);
}

.home-nintendo .brand-section-soft {
  background: var(--tree-wash);
}

.home-nintendo .section-heading {
  position: relative;
  display: block;
  margin-bottom: 2rem;
  padding-bottom: 0.9rem;
  border-bottom: 3px solid #2a2f33;
}

.home-nintendo .section-heading::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, var(--tree-life) 0 62%, var(--tree-sky) 62% 74%, var(--tree-ocean) 74%);
}

.home-nintendo .section-heading h2 {
  max-width: none;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
}

.home-nintendo .section-heading p {
  max-width: 64ch;
  margin-top: 0.55rem;
}

.home-nintendo .section-label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--tree-life-dark);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.home-nintendo .specialty-mosaic {
  min-height: 580px;
}

.home-nintendo .specialty-primary {
  min-height: 580px;
  border-radius: 8px;
}

.home-nintendo .specialty-secondary {
  min-height: 0;
  border-radius: 8px;
}

.home-nintendo .specialty-content {
  padding: 1.5rem;
}

.home-nintendo .specialty-content h3,
.home-nintendo .specialty-secondary .specialty-content h3 {
  font-size: clamp(1.45rem, 2.3vw, 2rem);
}

.home-nintendo .specialty-content p {
  font-size: 0.84rem;
}

.home-nintendo .topic-rail {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  margin-inline: calc((100vw - min(calc(100vw - 2.5rem), var(--tree-container))) / -2);
  padding: 0.2rem max(1.25rem, calc((100vw - var(--tree-container)) / 2)) 1.4rem;
  border: 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.home-nintendo .topic-link {
  flex: 0 0 min(280px, 76vw);
  min-height: 0;
  padding: 0 0 1.2rem;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(63, 111, 20, 0.08);
  scroll-snap-align: start;
}

.home-nintendo .topic-link:hover {
  background: #fff;
  color: var(--tree-ink);
  transform: translateY(-3px);
}

.home-nintendo .topic-link small {
  margin-bottom: 0.35rem;
  color: var(--tree-life-dark);
}

.home-nintendo .topic-link:hover small {
  color: var(--tree-life-dark);
}

.home-nintendo .topic-link span,
.home-nintendo .topic-link:hover span {
  color: var(--tree-muted);
}

.home-nintendo .topic-link img {
  width: 100%;
  height: 168px;
  margin-bottom: 1rem;
  object-fit: cover;
}

.home-nintendo .topic-link small,
.home-nintendo .topic-link strong,
.home-nintendo .topic-link span {
  margin-right: 1.1rem;
  margin-left: 1.1rem;
}

.home-nintendo .topic-link:first-child {
  flex: 0 0 min(340px, 82vw);
}

.home-nintendo .care-path {
  gap: 0 2.4rem;
}

.home-nintendo .care-step,
.home-nintendo .care-step + .care-step {
  border-left: 0;
  border-radius: 0;
  background: transparent;
}

@media (max-width: 900px) {
  .team-kv {
    padding-top: 3.6rem;
  }

  .team-kv-stage {
    width: 100%;
    padding: 2.8rem 0.6rem 0;
  }

  .home-kv-slides {
    min-height: 500px;
    aspect-ratio: 16 / 11;
  }

  .home-kv-caption {
    right: 1.25rem;
    bottom: 3rem;
    left: 1.25rem;
    max-width: 80vw;
  }

  .home-kv-caption h1,
  .home-kv-caption h2 {
    max-width: none;
    font-size: clamp(2rem, 8vw, 3.2rem);
  }

  .home-kv-nav {
    width: calc(100% - 2rem);
    margin-top: -1.15rem;
  }

  .home-kv-nav .n-kv-thumb {
    grid-template-columns: 48px 1fr;
    gap: 0.5rem;
    min-height: 58px;
    padding: 0.5rem 0.55rem 0.7rem;
  }

  .home-kv-nav .n-kv-thumb img {
    width: 48px;
    height: 32px;
  }

  .home-kv-nav .n-kv-thumb span {
    font-size: 0.74rem;
  }

  .home-promos-grid {
    grid-template-columns: 1fr;
  }

  .clinic-location-lead {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .clinic-location-photo {
    min-height: 280px;
  }

  .reimburse-block {
    padding-top: 3rem;
  }

  .reimburse-banner {
    margin-top: 0;
  }

  .insurer-stage {
    min-height: 260px;
  }

  .insurer-stage-bg {
    height: 260px;
  }

  .insurer-slider {
    inset: auto 0.85rem 1rem 0.85rem;
    border-radius: 14px;
  }

  .insurer-set {
    padding: 0.7rem 0.2rem;
  }

  .insurer-set li {
    width: 132px;
    height: 58px;
    padding: 0.2rem 0.7rem;
  }

  .insurer-set img {
    height: 38px;
  }

  .reimburse-points {
    grid-template-columns: 1fr 1fr;
  }

  .reimburse-points article {
    min-height: 0;
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 0.45rem;
    padding: 1.15rem 0.85rem 1.35rem;
  }

  .reimburse-points article:first-child::after {
    top: 18%;
    height: 64%;
  }

  .reimburse-points img {
    grid-row: auto;
    height: 34px;
    margin-top: 0;
  }

  .reimburse-points h3,
  .reimburse-points p {
    grid-column: 1;
    max-width: none;
  }

  .reimburse-points h3 {
    font-size: 0.95rem;
  }

  .reimburse-points p {
    font-size: 0.82rem;
  }

  .home-nintendo .specialty-mosaic {
    grid-template-columns: 1fr;
  }

  .home-nintendo .specialty-primary,
  .home-nintendo .specialty-secondary {
    min-height: 440px;
  }
}

@media (max-width: 560px) {
  .home-kv-slides {
    min-height: 480px;
    aspect-ratio: 4 / 5;
  }

  .home-kv .n-kv-slide img {
    object-position: 42% center;
  }

  .home-kv .n-kv-slide.n-kv-reception img {
    object-position: 58% center;
  }

  .home-kv .n-kv-slide.n-kv-consult img {
    object-position: 64% 36%;
  }

  .home-kv .n-kv-slide.n-kv-asc img {
    object-position: 8% center;
  }

  .home-kv .n-kv-slide::after {
    background: linear-gradient(0deg, rgba(22, 48, 12, 0.92) 0%, rgba(36, 84, 16, 0.38) 62%, transparent 100%);
  }

  .home-kv-caption {
    bottom: 2rem;
    max-width: none;
  }

  .home-kv-caption p {
    max-width: 32ch;
  }

  .home-kv-nav .n-kv-thumb {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.28rem;
    min-height: 52px;
    padding: 0.45rem 0.35rem 0.65rem;
    text-align: center;
  }

  .home-kv-nav .n-kv-thumb img {
    width: 100%;
    max-width: 64px;
    height: 36px;
  }

  .home-kv-nav .n-kv-thumb span {
    font-size: 0.75rem;
    line-height: 1.25;
  }

  .home-promos {
    padding-top: 2.5rem;
  }

  .home-nintendo .fact-strip {
    margin-top: 1.5rem;
  }
}

/* Team directory: magazine featured lead + name roster.
   Different from equal navy cards. No pills on photos. */
.team-facts {
  border-bottom: 1px solid var(--tree-line);
}

.team-facts .fact-item strong {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-variant-numeric: tabular-nums;
}

.expert-team .doctor-filters {
  justify-content: flex-start;
  gap: 0;
  margin: 0 0 2.6rem;
  border-bottom: 1px solid var(--tree-line);
}

.expert-team .doctor-filters button {
  margin-bottom: -1px;
  padding: 0.75rem 1.05rem;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--tree-muted);
  font-size: 0.92rem;
}

.expert-team .doctor-filters button.active,
.expert-team .doctor-filters button:hover {
  background: transparent;
  border-bottom-color: var(--tree-life-dark);
  color: var(--tree-life-dark);
}

.team-featured {
  display: grid;
  grid-template-columns: minmax(280px, var(--tree-ratio-small)) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.6rem);
  align-items: center;
  margin-bottom: 3rem;
}

.team-featured-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
}

.team-featured-copy .team-doc-spec {
  margin-bottom: 0.45rem;
}

.team-featured-copy h2 {
  margin: 0 0 0.3rem;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.team-roster {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.2rem) clamp(1.4rem, 3vw, 2.4rem);
}

.team-doc {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  min-width: 0;
  scroll-margin-top: 110px;
}

.team-doc-photo {
  margin: 0;
}

.team-doc-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
}

.team-doc-spec {
  margin: 0.95rem 0 0.28rem;
  color: var(--tree-life-dark);
  font-size: 0.78rem;
  font-weight: 700;
}

.team-doc h3 {
  margin: 0 0 0.2rem;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.team-doc-title {
  margin: 0 0 0.8rem;
  color: var(--tree-muted);
  font-size: 0.88rem;
}

.team-doc-marks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.15rem;
  margin: 0 0 0.85rem;
}

.team-doc-marks span {
  padding-left: 0.7rem;
  border-left: 3px solid var(--tree-life);
  color: var(--tree-ink);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
}

.team-doc-copy p,
.team-featured-copy p {
  max-width: 65ch;
  margin: 0;
  color: var(--tree-muted);
  font-size: 0.92rem;
}

.team-note {
  margin: 2rem 0 0;
  color: var(--tree-muted);
  font-size: 0.9rem;
}

.team-empty {
  margin: 0 0 1.5rem;
  color: var(--tree-muted);
}

.team-empty[hidden],
.team-featured[hidden],
.team-doc[hidden],
.team-more[hidden] {
  display: none !important;
}

.team-more {
  margin-top: 3.2rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--tree-line);
}

.team-more h2 {
  margin: 0 0 0.4rem;
  font-size: 1.45rem;
}

.team-more > p {
  max-width: 52ch;
  margin: 0 0 1.4rem;
  color: var(--tree-muted);
  font-size: 0.9rem;
}

.team-more-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem 1.4rem;
}

.team-more-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
}

.team-more-item .vis-frame {
  width: 72px;
}

.team-more-item img {
  display: block;
  width: 72px;
  height: 96px;
  object-fit: cover;
  object-position: top center;
  background: var(--tree-wash);
}

.team-more-item strong {
  display: block;
  font-size: 0.95rem;
}

.team-more-item span {
  color: var(--tree-muted);
  font-size: 0.8rem;
}

.home-doctors {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.82fr);
  gap: clamp(1.4rem, 4vw, 2.8rem);
  align-items: stretch;
}

.home-doctor-lead {
  min-width: 0;
}

.home-doctor-lead a {
  color: inherit;
  text-decoration: none;
}

.home-doctor-lead .vis-frame,
.home-doctor-mini .vis-frame {
  margin-bottom: 0.15rem;
}

.home-doctor-lead img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  background: var(--tree-wash);
}

.home-doctor-lead h3 {
  margin: 0.95rem 0 0.25rem;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.home-doctor-lead p,
.home-doctor-mini p {
  margin: 0;
  color: var(--tree-muted);
  font-size: 0.9rem;
}

.home-doctor-stack {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.1rem;
}

.home-doctor-mini {
  display: grid;
  grid-template-columns: minmax(160px, 38.2%) minmax(0, 1fr);
  gap: 1rem 1.15rem;
  align-items: center;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--tree-line);
}

.home-doctor-mini:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.home-doctor-mini a {
  color: inherit;
  text-decoration: none;
}

.home-doctor-mini img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  background: var(--tree-wash);
}

.home-doctor-mini h3 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
}

.home-doctors-link {
  margin-top: 1.6rem;
}

@media (max-width: 900px) {
  .team-featured,
  .team-roster,
  .home-doctors {
    grid-template-columns: 1fr;
  }

  .team-featured-photo img,
  .home-doctor-lead img {
    max-height: 560px;
  }

  .team-more-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .expert-team .doctor-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .expert-team .doctor-filters button {
    flex: 0 0 auto;
    padding: 0.7rem 0.8rem;
    font-size: 0.85rem;
  }

  .team-doc-photo {
    max-width: none;
  }

  .home-doctor-mini {
    grid-template-columns: minmax(120px, 38.2%) 1fr;
  }

  .team-more-grid {
    grid-template-columns: 1fr;
  }
}

/* Team page: Manus layout, TreeENT green, local portraits */
.copy-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 5rem 0 4.2rem;
  background: linear-gradient(135deg, #16380c 0%, #3f6f14 100%);
}

.copy-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: var(--tree-bar);
}

.copy-hero .container {
  position: relative;
  z-index: 1;
  max-width: 1100px;
}

.copy-hero .breadcrumb {
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.6);
}

.copy-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.88);
}

.copy-hero-bars {
  display: flex;
  gap: 4px;
  margin-bottom: 1.35rem;
}

.copy-hero-bars span {
  width: 2rem;
  height: 4px;
  border-radius: 999px;
}

.copy-hero-bars span:nth-child(1) { background: var(--tree-life); }
.copy-hero-bars span:nth-child(2) { background: var(--tree-sky); }
.copy-hero-bars span:nth-child(3) { background: var(--tree-ocean); }

.copy-kicker {
  margin: 0 0 0.7rem;
  color: var(--tree-life);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.copy-hero h1 {
  max-width: none;
  margin: 0 0 1rem;
  color: #fff;
  font-size: clamp(2.3rem, 5vw, 3.15rem);
  font-weight: 800;
  line-height: 1.15;
}

.copy-hero h1 span {
  color: var(--tree-life);
}

.copy-hero-lead {
  max-width: 42rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
}

.copy-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.4rem;
  margin-top: 2.5rem;
}

.copy-stats strong {
  display: block;
  color: #fff;
  font-size: 1.85rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.copy-stats span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.84rem;
}

.copy-section {
  padding: 4rem 0 5rem;
  background: #fff;
}

.copy-section > .container {
  max-width: 1100px;
}

.copy-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1.75rem;
}

.copy-filters button {
  border: 0;
  border-radius: 999px;
  padding: 0.48rem 1.05rem;
  background: var(--tree-wash);
  color: var(--tree-ink);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, color 0.2s ease;
}

.copy-filters button.active,
.copy-filters button:hover {
  background: var(--tree-life-dark);
  color: #fff;
}

.copy-list {
  display: grid;
  gap: 1.5rem;
}

.clone-card {
  overflow: hidden;
  border: 1px solid rgba(63, 111, 20, 0.14);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(63, 111, 20, 0.06);
}

.clone-card-inner {
  display: flex;
}

.clone-card-photo {
  flex: 0 0 180px;
  background: linear-gradient(135deg, rgba(111, 186, 44, 0.2), rgba(63, 111, 20, 0.08));
}

.clone-card-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  object-position: top center;
}

.clone-card-body {
  flex: 1;
  min-width: 0;
  padding: 1.25rem 1.4rem 1.35rem;
}

.clone-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.7rem;
}

.clone-tag {
  display: inline-block;
  margin-bottom: 0.35rem;
  padding: 0.16rem 0.55rem;
  border-radius: 999px;
  background: var(--tree-life-dark);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

.clone-card h2,
.clone-card h3 {
  margin: 0;
  color: var(--tree-life-dark);
  font-size: 1.22rem;
  font-weight: 800;
}

.clone-card h3 a {
  color: inherit;
  text-decoration: none;
}

.clone-title {
  margin: 0.2rem 0 0;
  color: var(--tree-muted);
  font-size: 0.78rem;
}

.clone-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.clone-chip {
  padding: 0.16rem 0.5rem;
  border: 1px solid rgba(63, 111, 20, 0.28);
  border-radius: 6px;
  background: rgba(111, 186, 44, 0.1);
  color: var(--tree-life-dark);
  font-size: 0.68rem;
  font-weight: 600;
}

.clone-bio {
  display: -webkit-box;
  margin: 0.75rem 0 0;
  overflow: hidden;
  color: var(--tree-muted);
  font-size: 0.985rem;
  line-height: 1.625;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.clone-bio.is-open {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

.clone-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.75rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--tree-life-dark);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  font-family: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.clone-more svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  transition: transform 0.2s ease;
}

.clone-more[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.clone-detail {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding: 1.25rem 1.4rem 1.5rem;
  border-top: 1px solid rgba(63, 111, 20, 0.1);
  background: rgba(111, 186, 44, 0.05);
}

.clone-card.is-open .clone-detail {
  display: grid;
}

.clone-detail h3 {
  margin: 0 0 0.55rem;
  color: var(--tree-life-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.clone-detail h3 + p,
.clone-detail h3 + ul,
.clone-detail h3 + ol {
  margin: 0;
}

.clone-detail p {
  color: var(--tree-muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.clone-detail .clone-posts,
.clone-detail .clone-specs {
  margin: 0;
  padding: 0;
  list-style: none;
}

.clone-detail .clone-posts {
  margin-top: 0;
}

.clone-detail h3:not(:first-child) {
  margin-top: 1.15rem;
}

.clone-posts li,
.clone-specs li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--tree-muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.clone-posts li + li,
.clone-specs li + li {
  margin-top: 0.4rem;
}

.clone-dot {
  flex: 0 0 4px;
  width: 4px;
  height: 4px;
  margin-top: 0.5em;
  border-radius: 50%;
  background: var(--tree-life-dark);
}

.clone-num {
  display: inline-flex;
  flex: 0 0 16px;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-top: 0.12em;
  border-radius: 50%;
  background: var(--tree-life-dark);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.clone-detail-chips {
  margin-top: 1rem;
}

.clone-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.clone-wa,
.clone-tel {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
}

.clone-wa {
  gap: 0.38em;
  background: var(--tree-life);
  color: #fff;
}

.clone-wa:hover {
  background: var(--tree-life-dark);
  color: #fff;
}

.clone-tel {
  border: 1px solid var(--tree-life-dark);
  background: #fff;
  color: var(--tree-life-dark);
}

.clone-tel:hover {
  background: var(--tree-wash);
}

.clone-compact .clone-card-photo {
  flex-basis: 132px;
}

.clone-compact .clone-card-photo img {
  min-height: 160px;
}

.team-more-label {
  margin: 2.4rem 0 1rem;
  color: var(--tree-life-dark);
  font-size: 0.92rem;
  font-weight: 800;
}

.home-clone-list {
  display: grid;
  gap: 1.25rem;
}

.home-doc-lead-mobile {
  display: none;
}

.home-doc-fan {
  display: flex;
  gap: 0.7rem;
  height: min(68vh, 620px);
}

.home-doc-panel {
  position: relative;
  flex: 0.72 1 70px;
  min-width: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #16300c;
  cursor: pointer;
  isolation: isolate;
  transition: flex 0.55s cubic-bezier(0.22, 0.8, 0.28, 1);
}

.home-doc-panel.is-open {
  flex: 5.6 1 0;
  cursor: default;
}

.home-doc-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: saturate(0.85) brightness(0.72);
  transform: scale(1.06);
  transition: filter 0.45s ease, transform 0.55s ease;
}

.home-doc-panel.is-open img {
  filter: none;
  transform: scale(1);
}

.home-doc-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 48, 12, 0.08), rgba(22, 48, 12, 0.55));
  pointer-events: none;
}

.home-doc-panel.is-open::after {
  background: linear-gradient(180deg, rgba(22, 48, 12, 0) 42%, rgba(22, 48, 12, 0.78));
}

.home-doc-spine {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 1.1rem;
  writing-mode: vertical-rl;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  transform: translateX(-50%);
  opacity: 1;
  transition: opacity 0.25s ease;
}

.home-doc-panel.is-open .home-doc-spine {
  opacity: 0;
  pointer-events: none;
}

.home-doc-panel-copy {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.35rem 1.4rem 1.4rem;
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.home-doc-panel.is-open .home-doc-panel-copy {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.home-doc-panel-copy .home-doc-tag {
  display: inline-block;
  margin: 0 0 0.45rem;
  padding: 0.16rem 0.55rem;
  border-radius: 999px;
  background: var(--tree-life);
  color: var(--tree-life-ink);
  font-size: 0.72rem;
  font-weight: 800;
}

.home-doc-panel-copy strong {
  display: block;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
}

.home-doc-panel-copy .home-doc-role {
  display: block;
  margin: 0.28rem 0 0.85rem;
  color: #fff;
  font-size: 0.88rem;
}

.home-doc-panel-copy a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 0.95rem;
  border-radius: 999px;
  background: #fff;
  color: var(--tree-life-dark);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.home-doc-panel-copy a:hover {
  background: var(--tree-life);
  color: var(--tree-life-ink);
}

.home-doc-panel:focus-visible {
  outline: 2px solid var(--tree-life);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .home-doc-fan {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: auto;
    gap: 0.7rem;
  }

  .home-doc-panel,
  .home-doc-panel.is-open {
    flex: none;
    min-height: 0;
    aspect-ratio: 3 / 4.2;
    cursor: pointer;
  }

  .home-doc-panel:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: calc(50% - 0.35rem);
    justify-self: center;
  }

  .home-doc-panel img,
  .home-doc-panel.is-open img {
    filter: none;
    transform: none;
    object-position: center 12%;
  }

  .home-doc-spine {
    display: none;
  }

  .home-doc-panel::after,
  .home-doc-panel.is-open::after {
    background: linear-gradient(180deg, rgba(22, 48, 12, 0) 38%, rgba(22, 48, 12, 0.82) 100%);
  }

  .home-doc-panel-copy,
  .home-doc-panel.is-open .home-doc-panel-copy {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    padding: 0.7rem 0.75rem 0.8rem;
  }

  .home-doc-panel-copy strong {
    font-size: 0.98rem;
  }

  .home-doc-panel-copy .home-doc-role {
    display: none;
  }

  .home-doc-panel-copy a {
    min-height: 48px;
    padding: 0 0.75rem;
    font-size: 0.82rem;
  }

  .expert-team .brand-section {
    padding-top: 2.2rem;
    padding-bottom: 2.4rem;
  }

  .expert-team .home-doc-lead-desktop {
    display: none;
  }

  .expert-team .home-doc-lead-mobile {
    display: block;
  }

  .expert-team .home-doc-fan {
    display: flex;
    width: 100vw;
    max-width: 100vw;
    height: min(74vh, 640px);
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0 0.8rem 0.35rem;
    gap: 0.45rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .expert-team .home-doc-fan::-webkit-scrollbar {
    display: none;
  }

  .expert-team .home-doc-panel,
  .expert-team .home-doc-panel.is-open {
    flex: 0 0 58px;
    aspect-ratio: auto;
    max-width: none;
    grid-column: auto;
    justify-self: auto;
    min-height: 0;
    cursor: pointer;
    scroll-snap-align: center;
  }

  .expert-team .home-doc-panel.is-open {
    flex: 0 0 min(78vw, 19.5rem);
    cursor: default;
  }

  .expert-team .home-doc-panel img,
  .expert-team .home-doc-panel.is-open img {
    filter: saturate(0.85) brightness(0.72);
    transform: scale(1.06);
    object-position: top center;
  }

  .expert-team .home-doc-panel.is-open img {
    filter: none;
    transform: scale(1);
  }

  .expert-team .home-doc-spine {
    display: block;
    bottom: 0.85rem;
    font-size: 0.9rem;
    letter-spacing: 0.16em;
  }

  .expert-team .home-doc-panel::after {
    background: linear-gradient(180deg, rgba(22, 48, 12, 0.08), rgba(22, 48, 12, 0.55));
  }

  .expert-team .home-doc-panel.is-open::after {
    background: linear-gradient(180deg, rgba(22, 48, 12, 0) 42%, rgba(22, 48, 12, 0.78));
  }

  .expert-team .home-doc-panel-copy {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    padding: 1rem 1.05rem 1.1rem;
  }

  .expert-team .home-doc-panel.is-open .home-doc-panel-copy {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .expert-team .home-doc-panel-copy strong {
    font-size: clamp(1.2rem, 5.5vw, 1.7rem);
  }

  .expert-team .home-doc-panel-copy .home-doc-role {
    display: block;
    margin: 0.22rem 0 0.75rem;
    font-size: 0.82rem;
  }

  .expert-team .home-doc-panel-copy a {
    min-height: 40px;
    padding: 0 0.95rem;
    font-size: 0.86rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-doc-panel,
  .home-doc-panel img,
  .home-doc-panel-copy,
  .home-doc-spine {
    transition: none;
  }
}

.clone-card[hidden] {
  display: none !important;
}

@media (max-width: 767px) {
  .clone-card-inner {
    flex-direction: column;
  }

  .clone-card-photo {
    flex-basis: auto;
  }

  .clone-card-photo img {
    min-height: 240px;
    max-height: 280px;
  }

  .clone-detail {
    grid-template-columns: 1fr;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.expert-kollektiva .float-wa {
  display: none;
}

.kollektiva {
  position: relative;
  height: calc(100dvh - 68px);
  min-height: 34rem;
  overflow: hidden;
  color: #fff;
  background: #3f7a18;
}

.kollektiva-bgs,
.kollektiva-veil {
  position: absolute;
  inset: 0;
}

.kollektiva-bgs {
  background: #3f7a18;
}

.kollektiva-bgs img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  width: min(52vw, 640px);
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  opacity: 0;
  transition: opacity 0.7s ease-out;
}

.kollektiva-bgs img.is-active {
  opacity: 1;
}

.kollektiva-veil {
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(22, 48, 12, 0.58) 0%,
    rgba(36, 84, 16, 0.28) 42%,
    rgba(63, 122, 24, 0.08) 100%
  );
}

.kollektiva-ui {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 2.5rem 1.5rem 1.5rem;
  overflow: hidden;
}

.kollektiva-sheet {
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100%;
}

.kollektiva-top {
  display: flex;
  flex-direction: column;
  max-width: min(38rem, 58%);
}

.kollektiva-top h1 {
  max-width: 36rem;
  margin: 0;
  color: #fff;
  font-size: clamp(1.85rem, 5.2vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.kollektiva-bio {
  align-self: center;
  max-width: 22rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.7;
}

.kollektiva-fade {
  animation: fadeIn 0.5s ease;
}

.kollektiva-bottom {
  display: flex;
  flex-direction: column-reverse;
  gap: 2rem;
}

.kollektiva-avatars {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: none;
}

.kollektiva-avatars::-webkit-scrollbar {
  display: none;
}

.kollektiva-avatars button {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.kollektiva-avatars button:focus-visible {
  outline: 2px solid var(--tree-life);
  outline-offset: 4px;
  border-radius: 4px;
}

.kollektiva-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--tree-life);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.kollektiva-avatars button.is-active .kollektiva-dot,
.kollektiva-avatars button[aria-selected="true"] .kollektiva-dot {
  opacity: 1;
}

.kollektiva-thumb {
  display: block;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.28);
  transition: box-shadow 0.3s ease;
}

.kollektiva-avatars button.is-active .kollektiva-thumb,
.kollektiva-avatars button[aria-selected="true"] .kollektiva-thumb {
  box-shadow: 0 0 0 2px var(--tree-life);
}

.kollektiva-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.kollektiva-meta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(111, 186, 44, 0.45);
  font-size: 0.9rem;
  font-weight: 500;
}

.kollektiva-name {
  justify-self: start;
  color: #fff;
}

.kollektiva-role {
  display: none;
  justify-self: end;
  color: rgba(255, 255, 255, 0.7);
}

.team-rest {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background: var(--tree-white);
}

.team-rest h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.team-rest > .container > p {
  max-width: 40rem;
  margin: 0 0 2rem;
  color: var(--tree-muted);
}

.team-rest-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.team-rest a {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.85rem;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.team-rest a::before {
  display: none;
}

.team-rest a img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  object-position: center 12%;
  border-radius: 50%;
  background: #6fba2c;
}

.team-rest a strong {
  display: block;
}

.team-rest a:hover strong {
  color: var(--tree-blue);
}

.team-rest a:focus-visible {
  outline: 2px solid var(--tree-blue);
  outline-offset: 4px;
  border-radius: 8px;
}

@media (min-width: 640px) {
  .kollektiva-ui {
    padding: 3.5rem 2.5rem 2rem;
  }

  .kollektiva-bio {
    font-size: 1rem;
  }

  .kollektiva-avatars {
    gap: 0.75rem;
    overflow: visible;
    padding-bottom: 0;
  }

  .kollektiva-thumb {
    width: 56px;
    height: 56px;
  }

  .kollektiva-role {
    display: inline;
  }

  .team-rest-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .kollektiva {
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .kollektiva-bgs {
    position: relative;
    height: min(92vw, 460px);
    flex-shrink: 0;
  }

  .kollektiva-ui {
    justify-content: flex-end;
    padding: 0;
    overflow: visible;
    flex: 1 1 auto;
    height: auto;
  }

  .kollektiva-sheet {
    display: flex;
    flex-direction: column;
    height: auto;
    max-height: none;
    padding: 1.15rem 1.25rem 1.25rem;
    background: #3f7a18;
  }

  .kollektiva-top {
    gap: 0.45rem;
    margin-bottom: 0.85rem;
    max-width: none;
  }

  .kollektiva-top h1 {
    max-width: none;
    font-size: 1.28rem;
    line-height: 1.28;
    text-shadow: none;
  }

  .kollektiva-bio {
    max-width: none;
    max-height: 7.2em;
    overflow-y: auto;
    padding-right: 0.35rem;
    font-size: 0.84rem;
    font-weight: 400;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .kollektiva-bio::-webkit-scrollbar {
    width: 3px;
  }

  .kollektiva-bio::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.35);
    border-radius: 99px;
  }

  .kollektiva-bottom {
    gap: 0.85rem;
  }

  .kollektiva-veil {
    top: 0;
    bottom: auto;
    height: min(92vw, 460px);
    background: linear-gradient(
      to bottom,
      rgba(22, 48, 12, 0.04) 0%,
      rgba(22, 48, 12, 0.08) 55%,
      rgba(63, 122, 24, 0.55) 100%
    );
  }

  .kollektiva-bgs img {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
  }

  .kollektiva-thumb {
    width: 52px;
    height: 52px;
  }
}

@media (min-width: 768px) {
  .kollektiva-top {
    max-width: min(40rem, 56%);
  }

  .kollektiva-bio {
    max-width: 22rem;
    padding-top: 0;
  }

  .kollektiva-role {
    display: inline;
  }

  .team-rest-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .team-rest a {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

@media (min-width: 1024px) {
  .kollektiva-ui {
    padding-right: 4rem;
    padding-left: 4rem;
  }
}

@media (min-width: 1081px) {
  .kollektiva {
    height: calc(100dvh - 112px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .kollektiva-bgs img,
  .kollektiva-dot {
    transition: none;
  }

  .kollektiva-fade {
    animation: none;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cta-banner .btn-outline-white {
  border: 2px solid #fff;
  background: transparent;
  color: #fff;
}

.cta-banner .btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.team-catalog {
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  background: #fff;
}

.team-catalog-wrap {
  display: grid;
  gap: 1.25rem;
}

.team-filters {
  position: sticky;
  top: 76px;
  z-index: 40;
  background: #fff;
}

.team-filters-label {
  display: none;
}

.team-filters-inner {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  padding-bottom: 0.55rem;
  margin: 0 -0.15rem;
  scrollbar-width: none;
}

.team-filters-inner::-webkit-scrollbar {
  display: none;
}

.team-filters button {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  border: 0;
  border-radius: 999px;
  background: #f1f3f5;
  color: #6b7280;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease, transform 0.18s ease;
}

.team-filters button span {
  min-width: 1.15rem;
  padding: 0.05rem 0.35rem;
  border-radius: 999px;
  background: #fff;
  color: var(--tree-life-dark);
  font-size: 0.68rem;
  font-weight: 700;
  text-align: center;
}

.team-filters button:active {
  transform: scale(0.96);
}

.team-filters button:hover {
  background: #e5e7eb;
  color: #1f2937;
}

.team-filters button.is-active {
  background: var(--tree-life);
  color: var(--tree-life-ink);
}

.team-filters button.is-active span {
  background: rgba(255, 255, 255, 0.55);
}

@media (max-width: 767px) {
  .team-filters {
    padding: 0.2rem 0 0.45rem;
    box-shadow: 0 10px 18px -14px rgba(22, 48, 12, 0.35);
  }

  .team-filters-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
    overflow: visible;
    padding-bottom: 0.15rem;
    margin: 0;
  }

  .team-filters button {
    justify-content: space-between;
    width: 100%;
    min-width: 0;
    padding: 0.42rem 0.7rem;
    font-size: 0.8rem;
  }

  .team-filters button.is-active {
    background: #3f7a18;
    color: #fff;
  }

  .team-filters button.is-active span {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
  }
}

.team-catalog-lead {
  max-width: 40rem;
  margin: 0 0 1.35rem;
  color: var(--tree-muted);
}

.team-catalog-list {
  display: grid;
  gap: 1.35rem;
  max-width: 56rem;
}

.team-card {
  overflow: hidden;
  border: 1px solid var(--tree-line);
  border-radius: 1rem;
  background: #fff;
  scroll-margin-top: 110px;
  animation: team-card-in 0.5s ease both;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.team-card:nth-child(1) { animation-delay: 0.02s; }
.team-card:nth-child(2) { animation-delay: 0.07s; }
.team-card:nth-child(3) { animation-delay: 0.12s; }
.team-card:nth-child(4) { animation-delay: 0.17s; }
.team-card:nth-child(5) { animation-delay: 0.22s; }
.team-card:nth-child(n + 6) { animation-delay: 0.26s; }

@keyframes team-card-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.team-card:hover {
  box-shadow: 0 16px 36px rgba(63, 111, 20, 0.12);
  transform: translateY(-3px);
}

.team-card-main {
  display: flex;
  flex-direction: column;
}

.team-card-photo {
  display: block;
  overflow: hidden;
  background: #d9d5df;
}

.team-card-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.55s ease;
}

.team-card:hover .team-card-photo img {
  transform: scale(1.05);
}

.team-card-body {
  flex: 1;
  padding: 1.15rem 1.2rem 1.25rem;
}

.team-card-head {
  display: grid;
  gap: 0.45rem;
}

.team-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.team-tag {
  display: inline-block;
  width: fit-content;
  margin: 0;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: var(--card-accent, var(--tree-life));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}

.team-card[style*="#6fba2c"] .team-tag {
  color: var(--tree-life-ink);
}

.team-card-body h3 {
  margin: 0;
  color: var(--tree-life-dark);
  font-size: 1.2rem;
}

.team-card-title {
  margin: 0.2rem 0 0;
  color: #6b7280;
  font-size: 0.78rem;
}

.team-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-start;
  margin-top: 0.15rem;
}

.team-chips span {
  padding: 0.15rem 0.5rem;
  border: 1px solid color-mix(in srgb, var(--card-accent) 25%, transparent);
  border-radius: 0.4rem;
  background: color-mix(in srgb, var(--card-accent) 6%, #fff);
  color: var(--card-accent);
  font-size: 0.68rem;
  font-weight: 600;
}

.team-card-intro {
  display: -webkit-box;
  margin: 0.8rem 0 0;
  overflow: hidden;
  color: #4b5563;
  font-size: 0.92rem;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.team-more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.7rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--card-accent);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: gap 0.2s ease;
}

.team-more:hover {
  gap: 0.5rem;
}

.team-more::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
}

.team-card.is-open .team-more::after {
  transform: rotate(225deg) translateY(-1px);
}

.team-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.team-wa,
.team-call {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.team-wa {
  background: var(--tree-life);
  color: #fff;
}

.team-wa::before {
  content: "";
  width: 0.85rem;
  height: 0.85rem;
  background: currentColor;
  -webkit-mask: url("../images/icon-whatsapp.svg") center / contain no-repeat;
  mask: url("../images/icon-whatsapp.svg") center / contain no-repeat;
}

.team-wa:hover {
  opacity: 0.92;
  color: #fff;
}

.team-call {
  border: 1px solid color-mix(in srgb, var(--card-accent) 28%, transparent);
  color: var(--card-accent);
}

.team-call:hover {
  background: color-mix(in srgb, var(--card-accent) 8%, #fff);
}

.team-card-detail {
  display: grid;
  gap: 1.4rem;
  padding: 1.2rem 1.2rem 1.4rem;
  border-top: 1px solid var(--tree-line);
  background: var(--tree-wash);
  animation: team-detail-in 0.28s ease;
}

@keyframes team-detail-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.team-card-detail[hidden] {
  display: none;
}

.team-card-detail h4 {
  margin: 0 0 0.45rem;
  color: var(--card-accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.team-card-detail p {
  margin: 0;
  color: #4b5563;
  font-size: 0.9rem;
}

.team-aff,
.team-exp {
  margin: 0;
  padding: 0;
  list-style: none;
}

.team-aff li,
.team-exp li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-top: 0.4rem;
  color: #4b5563;
  font-size: 0.82rem;
}

.team-aff li::before {
  content: "";
  flex-shrink: 0;
  width: 0.35rem;
  height: 0.35rem;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--card-accent);
}

.team-exp li span {
  display: inline-flex;
  flex-shrink: 0;
  width: 1.05rem;
  height: 1.05rem;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
  border-radius: 50%;
  background: var(--card-accent);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
}

.team-chips-all {
  justify-content: flex-start;
  margin-top: 1rem;
}

.team-catalog-empty,
.team-note {
  margin: 1.25rem 0 0;
  color: var(--tree-muted);
  font-size: 0.9rem;
}

@media (max-width: 767px) {
  .team-catalog-list {
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
  }

  .team-card.is-open {
    grid-column: 1 / -1;
  }

  .team-card-body {
    padding: 0.65rem 0.7rem 0.8rem;
  }

  .team-card-body h3 {
    font-size: 0.92rem;
    line-height: 1.25;
  }

  .team-card-title {
    font-size: 0.66rem;
  }

  .team-tag {
    font-size: 0.62rem;
    padding: 0.1rem 0.4rem;
  }

  .team-chips {
    display: none;
  }

  .team-card-intro {
    display: none;
  }

  .team-card.is-open .team-card-intro {
    display: -webkit-box;
    margin-top: 0.55rem;
    font-size: 0.84rem;
    -webkit-line-clamp: 5;
  }

  .team-more {
    margin-top: 0.45rem;
    font-size: 0.74rem;
  }

  .team-card-actions {
    margin-top: 0.5rem;
  }

  .team-wa,
  .team-call {
    width: 100%;
    justify-content: center;
    min-height: 34px;
    padding: 0 0.5rem;
    font-size: 0.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .team-card,
  .team-card-photo img,
  .team-card-detail,
  .team-filters button {
    animation: none;
    transition: none;
  }

  .team-card:hover,
  .team-card:hover .team-card-photo img {
    transform: none;
  }
}

@media (min-width: 768px) {
  .team-catalog-wrap {
    grid-template-columns: 11.5rem minmax(0, 1fr);
    align-items: start;
    gap: 2.25rem;
  }

  .team-filters {
    position: sticky;
    top: 6.4rem;
    background: transparent;
  }

  .team-filters-label {
    display: block;
    margin: 0 0 0.65rem;
    color: var(--tree-life-dark);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
  }

  .team-filters-inner {
    display: grid;
    gap: 0.12rem;
    overflow: visible;
    padding: 0;
    margin: 0;
  }

  .team-filters button {
    justify-content: space-between;
    width: 100%;
    padding: 0.48rem 0.35rem 0.48rem 0.75rem;
    border-radius: 0;
    background: transparent;
    color: var(--tree-muted);
    border-left: 3px solid transparent;
    text-align: left;
  }

  .team-filters button:hover {
    background: var(--tree-wash);
    color: var(--tree-life-dark);
  }

  .team-filters button.is-active {
    background: var(--tree-wash);
    color: var(--tree-life-dark);
    border-left-color: var(--tree-life);
  }

  .team-filters button span {
    background: var(--tree-wash);
  }

  .team-filters button.is-active span {
    background: #fff;
  }

  .team-catalog-list {
    max-width: none;
  }

  .team-card-main {
    flex-direction: row;
    align-items: flex-start;
  }

  .team-card-photo {
    width: 13.5rem;
    flex-shrink: 0;
    min-height: 0;
  }

  .team-card-photo img {
    height: auto;
    min-height: 0;
  }

  .team-card-detail {
    grid-template-columns: 1fr 1fr;
    padding-inline: 1.25rem;
  }
}

/* On-site booking form */
.book-how {
  background: #fff;
  border: 1px solid #d7e6c8;
  border-radius: var(--tree-radius);
  padding: 1.2rem 1.25rem 1.1rem;
  margin-bottom: 1.25rem;
}
.book-how h2 { margin: 0 0 0.6rem; font-size: 1.15rem; }
.book-how ol { margin: 0 0 0.75rem; padding-left: 1.25rem; }
.book-how li { margin: 0.35rem 0; }
.book-how p { margin: 0; color: #3a4a2e; }

.book-layout {
  display: grid;
  gap: 1.75rem;
}

.book-form {
  background: #fff;
  border: 1px solid #d7e6c8;
  border-radius: var(--tree-radius);
  padding: 1.35rem 1.25rem 1.5rem;
}

.book-form h2 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  color: var(--tree-life-ink);
}

.book-lead {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.book-grid-fields {
  display: grid;
  gap: 1rem;
}

.book-field label,
.book-field .book-label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--tree-life-ink);
}

.book-field input:not([type="file"]):not([type="radio"]):not([type="checkbox"]),
.book-field select,
.book-field textarea {
  width: 100%;
  border: 1px solid #c5d6b4;
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  color: inherit;
  background: #fff;
}

.book-field textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.book-hint {
  margin: 0 0 0.65rem;
  font-size: 0.86rem;
  font-weight: 400;
  color: var(--text-muted);
}

.book-symptoms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.book-chip {
  margin: 0;
  padding: 0.45rem 0.8rem;
  border: 1px solid #c5d6b4;
  border-radius: 999px;
  background: var(--tree-wash);
  color: var(--tree-life-ink);
  font: inherit;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
}

.book-chip:hover {
  border-color: var(--tree-life);
}

.book-chip.is-on {
  background: var(--tree-life);
  border-color: var(--tree-life);
  color: #fff;
}

.book-extra-label {
  margin-top: 0.15rem;
}

.book-field #book-symptoms,
.book-field #book-notes {
  min-height: 3.6rem;
}

.book-field input:focus,
.book-field select:focus,
.book-field textarea:focus {
  outline: 2px solid var(--tree-life);
  outline-offset: 1px;
  border-color: var(--tree-life);
}

.book-mail-frame {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.book-captcha {
  margin: 0.35rem 0 0.25rem;
}

.book-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.book-file-btn {
  display: inline-flex;
  align-items: center;
  margin: 0 0 0.75rem;
  padding: 0.55rem 1rem;
  border: 1px solid var(--tree-life);
  border-radius: 999px;
  background: #fff;
  color: var(--tree-life-dark);
  font-weight: 600;
  cursor: pointer;
}

.book-file-btn:hover {
  background: var(--tree-wash);
}

.book-file-list {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.book-file-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid #d7e6c8;
  border-radius: 10px;
  background: var(--tree-wash);
  font-size: 0.88rem;
}

.book-file-list button {
  flex-shrink: 0;
  margin: 0;
  padding: 0.2rem 0.55rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--tree-life-ink);
  font: inherit;
  cursor: pointer;
}

.book-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.book-choices label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.45rem 0.75rem;
  border: 1px solid #c5d6b4;
  border-radius: 999px;
  background: var(--tree-wash);
  font-weight: 500;
  cursor: pointer;
}

.book-choices input {
  width: auto;
  margin: 0;
}

.book-error {
  min-height: 1.1rem;
  margin-top: 0.25rem;
  font-size: 0.82rem;
  color: #b42318;
}

.book-field.has-error .book-symptoms {
  outline: 2px solid #b42318;
  outline-offset: 2px;
  border-radius: 12px;
}

.book-check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.book-check input {
  width: auto;
  margin-top: 0.25rem;
}

.book-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.5rem;
}

.book-status {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.book-hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.book-side {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.book-success {
  background: #fff;
  border: 1px solid #d7e6c8;
  border-radius: var(--tree-radius);
  padding: 1.5rem 1.25rem;
}

.book-success h2 {
  margin: 0 0 0.5rem;
  color: var(--tree-life-ink);
}

.book-success p {
  margin: 0 0 0.85rem;
  line-height: 1.65;
}

/* About: award cabinet wall (section currently hidden on about.html) */
.honors-band[hidden],
.honor-lightbox[hidden] {
  display: none !important;
}

.honors-band {
  background: #fff;
  padding: 3.4rem 0 3.6rem;
  border-top: 1px solid var(--tree-line);
  border-bottom: 1px solid var(--tree-line);
}

.honors-head {
  display: grid;
  gap: 0.4rem 2.5rem;
  margin-bottom: 1.75rem;
  align-items: end;
}

.honors-kicker {
  margin: 0 0 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--tree-life-dark);
}

.honors-head h2 {
  margin: 0;
  color: var(--tree-life-ink);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.honors-lead {
  margin: 0;
  max-width: 34rem;
  color: var(--tree-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.honor-wall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 1.1rem;
}

.honor-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.honor-card button {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0;
  padding: 0.35rem;
  border: 0;
  background: #fff;
  cursor: zoom-in;
}

.honor-card img {
  position: absolute;
  inset: 0.35rem;
  display: block;
  width: calc(100% - 0.7rem);
  height: calc(100% - 0.7rem);
  max-height: none;
  object-fit: contain;
  object-position: center bottom;
}

.honor-year {
  margin: 0.65rem 0 0.15rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--tree-life-dark);
  text-align: center;
}

.honor-card h3 {
  margin: 0;
  min-height: 3.6em;
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--tree-ink);
  font-weight: 700;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.honors-lead a,
.honors-foot a,
.article a[href="#honors"] {
  color: var(--tree-life-deep);
  text-underline-offset: 0.15em;
}

.honors-foot {
  margin: 1.35rem 0 0;
  font-size: 0.8rem;
  color: var(--tree-muted);
  line-height: 1.6;
}

.honor-lightbox {
  width: min(92vw, 52rem);
  max-height: 92vh;
  padding: 1rem 1rem 1.2rem;
  border: 0;
  border-radius: 14px;
  background: #fff;
  z-index: 400;
}

.honor-lightbox[open] {
  display: block;
}

.honor-lightbox::backdrop {
  background: rgba(22, 48, 12, 0.55);
}

.honor-lightbox-close {
  display: block;
  margin: 0 0 0.6rem auto;
  border: 0;
  background: transparent;
  color: var(--tree-life-dark);
  font-size: 0.88rem;
  cursor: pointer;
}

.honor-lightbox figure {
  margin: 0;
}

.honor-lightbox img {
  display: block;
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  background: #fff;
}

.honor-lightbox figcaption {
  margin: 0.6rem 0 0;
  color: var(--tree-muted);
  font-size: 0.88rem;
}

@media (min-width: 720px) {
  .honors-head {
    grid-template-columns: minmax(12rem, 0.9fr) minmax(0, 1.1fr);
  }

  .honor-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem 1.15rem;
  }

  .honor-card h3 {
    font-size: 0.9rem;
    min-height: 4.2em;
  }
}

@media (max-width: 639px) {
  .honors-band {
    padding: 2.2rem 0 2.5rem;
  }

  .honor-card h3 {
    font-size: 0.78rem;
    min-height: 3.6em;
  }
}

@media (min-width: 900px) {
  .book-layout {
    grid-template-columns: minmax(0, 1.55fr) minmax(16rem, 0.85fr);
    align-items: start;
  }

  .book-grid-fields {
    grid-template-columns: 1fr 1fr;
  }

  .book-field-wide {
    grid-column: 1 / -1;
  }
}

.edu-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 auto 1.75rem;
  max-width: 860px;
  justify-content: center;
}

.edu-filter button {
  appearance: none;
  border: 1px solid var(--tree-line);
  background: #fff;
  color: var(--tree-ink);
  border-radius: 999px;
  padding: 0.42rem 1.05rem;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
}

.edu-filter button.is-on {
  border-color: #3f7a18;
  background: #6FBA2C;
  color: #fff;
}

.edu-week-note {
  max-width: 860px;
  margin: 0 auto 1.1rem;
  font-size: 0.95rem;
  font-weight: 600;
}
.edu-week-note a { color: #3f7a18; }
.news-item.week-post p { margin-top: 0.35rem; }

.edu-topic-title {
  max-width: 860px;
  margin: 0 auto 1rem;
  font-size: 1.15rem;
}

.edu-block[hidden] {
  display: none;
}

.clinic-facts {
  margin-top: 1.75rem;
  padding: 1rem 1.15rem;
  background: #f3f7ee;
  border-left: 4px solid #6FBA2C;
  font-size: 0.92rem;
  line-height: 1.65;
  color: #2c3a24;
}
.clinic-facts p { margin: 0; }
.google-map-frame {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
  border-radius: 12px;
  margin-top: 0.85rem;
}
.doctor-hero-grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.doctor-hero-grid img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: #eef3ea;
}
@media (min-width: 800px) {
  .doctor-hero-grid {
    grid-template-columns: 220px 1fr;
    align-items: start;
  }
}
.team-page {
  display: inline-block;
  margin-top: 0.45rem;
  font-weight: 700;
  color: #3f7a18;
}
.side-cta p { margin: 0.6rem 0 0; }
.side-cta p a { color: inherit; font-weight: 700; }

/* Home: patient testimonials (no photos) */
.home-reviews[hidden] {
  display: none !important;
}

.home-review-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  margin: 0;
  padding: 0;
}

.home-review-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  margin: 0;
  padding: 1.45rem 1.4rem 1.25rem;
  overflow: hidden;
  border: 1px solid #e4ecd8;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(63, 111, 20, 0.08);
}

.home-review-card::before {
  content: "“";
  position: absolute;
  top: 0.15rem;
  right: 0.85rem;
  color: var(--tree-life);
  font-size: 5.2rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0.16;
  pointer-events: none;
}

.home-review-stars {
  display: flex;
  gap: 0.18rem;
  margin: 0 0 0.85rem;
}

.home-review-stars span {
  display: block;
  width: 0.92rem;
  height: 0.92rem;
  background: #f39800;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.home-review-stars span.is-half {
  background: linear-gradient(90deg, #f39800 50%, #d7e4c6 50%);
}

.home-review-card blockquote {
  flex: 1;
  margin: 0 0 1.15rem;
}

.home-review-card blockquote p {
  margin: 0;
  color: var(--tree-ink);
  font-size: 0.98rem;
  line-height: 1.7;
}

.home-review-card footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.95rem;
  border-top: 1px solid #eef3ea;
}

.home-review-avatar {
  flex: 0 0 2.6rem;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: #eef7e3;
  color: var(--tree-life-dark);
  font-size: 0.95rem;
  font-weight: 800;
}

.home-review-meta {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  min-width: 0;
}

.home-review-meta strong {
  color: var(--tree-ink);
  font-size: 0.95rem;
}

.home-review-meta span {
  color: var(--tree-muted);
  font-size: 0.78rem;
}

.home-reviews .home-review-note {
  margin: 1.15rem 0 0;
  max-width: 62ch;
  color: var(--tree-muted);
  font-size: 0.8rem;
}

@media (max-width: 1023px) {
  .home-review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .home-review-grid {
    display: flex;
    grid-template-columns: none;
    gap: 0.85rem;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0.15rem max(1.25rem, calc((100vw - 100%) / 2)) 1.1rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .home-review-card {
    flex: 0 0 min(82vw, 20.5rem);
    min-height: 16.5rem;
    scroll-snap-align: start;
  }
}

/* Mobile PageSpeed: 48px tap targets, contrast, CLS isolation */
.home-kv-slides,
.home-doc-fan {
  contain: layout;
}

.footer-bottom nav {
  gap: 0.35rem 1.25rem;
}

.footer-bottom nav a,
.footer-social a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
}

@media (max-width: 1080px) {
  .nav-dropdown .dropdown-menu a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0.75rem 0.15rem;
  }

  .main-nav > a,
  .nav-dropdown > summary {
    min-height: 48px;
  }
}

@media (max-width: 767px) {
  .footer-fold .footer-links a {
    min-height: 48px;
  }

  .home-acc > summary,
  .geo-faq-list summary {
    min-height: 48px;
  }

  .home-kv-nav .n-kv-thumb {
    min-height: 52px;
  }
}


