/* ==========================================================================
   醫點醫療中心 MediPoint Medical Centre — 新版網站樣式
   品牌主色取自官方標誌的藍色 (#1ca7e0)
   ========================================================================== */

:root {
  --blue: #1ca7e0;
  --blue-dark: #0f83b5;
  --blue-deep: #0b5c85;
  --navy: #0d3450;
  --navy-2: #123f5c;
  --sky: #f0f9fd;
  --sky-2: #ddf0fa;
  --sky-3: #cbe7f6;
  --gold: #c9a227;
  --green: #2fa36b;
  --ink: #103449;
  --body: #4a5c6b;
  --muted: #768b9b;
  --bg: #ffffff;
  --line: #d9eaf4;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(13, 52, 80, 0.08);
  --shadow-lg: 0 22px 55px rgba(13, 52, 80, 0.16);
  --maxw: 1180px;
  --header-h: 78px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "PingFang HK", "Microsoft JhengHei", "Noto Sans TC", "Apple LiGothic Medium", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.8;
  color: var(--body);
  background: var(--bg);
}

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

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

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.35;
  margin: 0 0 0.6em;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4.4vw, 3.05rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.22rem; }

p { margin: 0 0 1rem; }

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

svg { flex: 0 0 auto; }

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

.section { padding: 84px 0; }
.section--tint { background: var(--sky); }
.section--tight { padding: 60px 0; }

.section-head { max-width: 740px; margin: 0 auto 52px; text-align: center; }
.section-head p { color: var(--muted); margin-bottom: 0; }
.section-head--left { margin-left: 0; text-align: left; }

.eyebrow {
  display: inline-block;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  color: var(--blue-dark);
  font-weight: 700;
  margin-bottom: 12px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 2px;
  vertical-align: middle;
  margin-right: 10px;
  background: var(--blue);
}

.service-lead { color: var(--blue-dark); font-weight: 700; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  font-family: inherit;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  box-shadow: 0 10px 24px rgba(28, 167, 224, 0.34);
}
.btn-primary:hover { color: #fff; box-shadow: 0 14px 30px rgba(28, 167, 224, 0.44); }

.btn-outline { border-color: var(--blue); color: var(--blue-deep); background: transparent; }
.btn-outline:hover { background: var(--blue); color: #fff; }

.btn-light { background: #fff; color: var(--blue-deep); }
.btn-light:hover { color: var(--blue); }

.btn-ghost-light { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--blue-dark); }

.btn-block { width: 100%; }

/* ---------- topbar ---------- */
.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
  flex-wrap: wrap;
}
.topbar a { color: rgba(255, 255, 255, 0.88); display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 15px; height: 15px; }
.topbar-contact { display: inline-flex; align-items: center; gap: 22px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 16px;
}

.brand { display: flex; align-items: center; min-width: 0; }
.brand-logo {
  width: auto;
  height: 54px;
  object-fit: contain;
}

.primary-nav { display: flex; align-items: center; gap: 4px; flex: 0 0 auto; }
.primary-nav > ul { display: flex; align-items: center; gap: 2px; }
.primary-nav a,
.primary-nav .dropdown-toggle {
  display: block;
  padding: 9px 11px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  white-space: nowrap;
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}
.primary-nav a:hover,
.primary-nav .dropdown-toggle:hover { background: var(--sky-2); color: var(--blue-dark); }
.primary-nav a.is-active { color: var(--blue-deep); background: var(--sky-2); }
.nav-cta { margin-left: 6px; padding: 9px 16px; white-space: nowrap; }

.has-dropdown { position: relative; }
.dropdown-toggle { display: inline-flex; align-items: center; gap: 6px; }
.caret {
  width: 7px; height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}
.has-dropdown.is-open .caret { transform: rotate(-135deg) translateY(-1px); }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  display: none;
  z-index: 110;
}
.has-dropdown.is-open .dropdown-menu { display: block; }
.dropdown-menu a { border-radius: 8px; padding: 10px 12px; }
.has-dropdown.is-active > .dropdown-toggle { color: var(--blue-deep); background: var(--sky-2); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 20px;
  margin: 0 auto;
  background: var(--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); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  color: #fff;
  padding: 96px 0 88px;
  background:
    linear-gradient(100deg, rgba(9, 42, 66, 0.97) 0%, rgba(11, 60, 88, 0.94) 40%, rgba(15, 92, 133, 0.55) 66%, rgba(15, 92, 133, 0.2) 100%),
    url("../images/banner/2.jpg") right center/cover no-repeat;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -150px;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(28, 167, 224, 0.5), transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1, .hero h2 { color: #fff; }
.hero h1 { margin-bottom: 18px; }
.hero p { color: rgba(255, 255, 255, 0.9); font-size: 1.08rem; max-width: 620px; }
.hero .eyebrow { color: #a9e0f6; }
.hero .eyebrow::before { background: #a9e0f6; }

.hero-inner { max-width: 660px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.86rem;
  font-weight: 600;
}
.hero-badges span::before { content: "\2713"; color: #7fd4f5; font-weight: 700; }

/* 內頁標題橫幅 */
.hero--page {
  padding: 72px 0 62px;
  background:
    linear-gradient(100deg, rgba(9, 42, 66, 0.96), rgba(11, 92, 133, 0.78)),
    url("../images/banner/2.jpg") center/cover no-repeat;
}
.hero--page h1 { margin-bottom: 10px; }
.hero--page p { margin-bottom: 0; }
.page-hero-breadcrumb { font-size: 0.9rem; color: rgba(255, 255, 255, 0.78); margin-bottom: 10px; }
.page-hero-breadcrumb a { color: rgba(255, 255, 255, 0.92); }
.page-hero-breadcrumb a:hover { color: #fff; }

/* ---------- grids & cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }

/* 服務圖示（首頁十大服務） */
.service-tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.service-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 16px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.service-tile:hover { transform: translateY(-5px); border-color: var(--sky-3); box-shadow: var(--shadow-lg); }
.service-tile .tile-icon {
  width: 66px;
  height: 66px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  color: var(--blue-dark);
  background: linear-gradient(135deg, var(--sky-2), #fff);
  border: 1px solid var(--line);
}
.service-tile .tile-icon svg { width: 32px; height: 32px; }
.service-tile strong { display: block; color: var(--ink); font-size: 1.02rem; }

/* 業務範圍卡片 */
.service-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.service-card .service-media {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--sky);
}
.service-card .service-media::before { content: ""; display: block; padding-top: 62%; }
.service-card .service-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-card .service-body { padding: 26px 28px 30px; }
.service-card h3 { color: var(--blue-deep); margin-bottom: 6px; }
.service-card .service-lead { color: var(--blue-dark); font-weight: 700; font-size: 0.95rem; margin-bottom: 10px; }
.service-card p { font-size: 0.96rem; }
.service-card[id] { scroll-margin-top: calc(var(--header-h) + 40px); }
.service-card[id]:target { border-color: var(--blue); box-shadow: var(--shadow-lg); }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split--reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }
.split h2 { margin-bottom: 16px; }

.check li { position: relative; padding-left: 34px; margin-bottom: 12px; color: var(--body); }
.check li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.72rem;
  color: #fff;
  background: var(--green);
}

.info-line {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: var(--sky-2);
  color: var(--ink);
  font-weight: 600;
}
.info-line strong { color: var(--blue-deep); }

/* ---------- features (icon + text) ---------- */
.feature { display: flex; gap: 18px; margin-bottom: 30px; }
.feature:last-child { margin-bottom: 0; }
.feature .feature-icon {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
}
.feature .feature-icon svg { width: 26px; height: 26px; }
.feature h3 { margin-bottom: 6px; font-size: 1.08rem; }
.feature p { margin: 0; font-size: 0.97rem; }

/* 卡片內獨立使用的圓角圖示 */
.feature-icon {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
}
.feature-icon svg { width: 26px; height: 26px; }
/* 較小的圖示（例：牙科診所聯絡卡） */
.feature-icon--sm { width: 44px; height: 44px; border-radius: 13px; }
.feature-icon--sm svg { width: 20px; height: 20px; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--navy);
}
.gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 18px 14px;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  background: linear-gradient(to top, rgba(9, 42, 66, 0.88), transparent);
}

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 18px;
  text-align: center;
  box-shadow: var(--shadow);
}
.stat strong { display: block; font-size: 2.1rem; color: var(--blue-dark); line-height: 1.1; font-weight: 800; }
.stat strong small { font-size: 0.85rem; font-weight: 600; margin-left: 3px; }
.stat span { font-size: 0.9rem; color: var(--muted); }

/* ---------- video ---------- */
.video-wrap {
  max-width: 860px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
}
.video-wrap video { width: 100%; display: block; }

/* ---------- news ---------- */
/* 以瀑布流方式顯示，圖片完整顯示不被裁切 */
.news-grid { columns: 2; column-gap: 26px; }
.news-card {
  display: block;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  margin: 0 0 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  color: inherit;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: inherit; }
.news-card .news-media { background: var(--sky); }
.news-card img { width: 100%; height: auto; display: block; }
.news-card .news-body { padding: 18px 22px 22px; }

@media (max-width: 720px) {
  .news-grid { columns: 1; }
}
.news-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.news-card .news-more { font-size: 0.88rem; font-weight: 700; color: var(--blue-dark); }

/* ---------- subsidiaries ---------- */
.subsidiary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.subsidiary {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  text-align: center;
}
.subsidiary .sub-logo {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.subsidiary .sub-logo img { max-height: 70px; width: auto; object-fit: contain; }
.subsidiary ul { text-align: left; }
.subsidiary li { font-size: 0.93rem; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.subsidiary li:last-child { border-bottom: 0; }

/* ---------- hours ---------- */
.hours {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.hours h3 { display: flex; align-items: center; gap: 10px; color: var(--blue-deep); }
.hours h3 svg { width: 22px; height: 22px; }
.hours li { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 0.96rem; }
.hours li:last-child { border-bottom: 0; padding-bottom: 0; }

/* ---------- cta band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy), var(--blue-deep));
  color: #fff;
  border-radius: var(--radius);
  padding: 54px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: rgba(255, 255, 255, 0.88); margin: 0; }
.cta-band .hero-actions { margin-top: 0; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 46px; align-items: start; }
.contact-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .ico {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sky-2);
  color: var(--blue-dark);
}
.contact-list .ico svg { width: 22px; height: 22px; }
.contact-list strong { display: block; color: var(--ink); font-size: 0.92rem; }
.contact-list a, .contact-list span { color: var(--body); }
.contact-list a:hover { color: var(--blue); text-decoration: underline; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field .req { color: #d9534f; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink);
  background: #fbfeff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(28, 167, 224, 0.13);
}
.field textarea { min-height: 120px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: 0.88rem; }
.field-check input { width: auto; margin-top: 5px; }

.form-note { font-size: 0.85rem; color: var(--muted); margin: 14px 0 0; }
.form-status { display: none; margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.form-status.is-ok { display: block; background: #eaf6ea; color: #2f7d32; border: 1px solid #bfe3c0; }
.form-status.is-err { display: block; background: #fdecea; color: #b23b34; border: 1px solid #f3c2bd; }

.map-embed { border: 0; width: 100%; height: 430px; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- article / blockquote ---------- */
.quote {
  background: var(--sky);
  border-left: 5px solid var(--blue);
  border-radius: var(--radius-sm);
  padding: 28px 32px;
  font-size: 1.08rem;
  color: var(--ink);
  margin-bottom: 42px;
}

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.76); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 44px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer a { color: rgba(255, 255, 255, 0.76); }
.site-footer a:hover { color: var(--blue); }
.site-footer li { margin-bottom: 9px; font-size: 0.94rem; }
.footer-brand img { width: auto; height: 62px; object-fit: contain; background: #fff; border-radius: 10px; padding: 8px 12px; margin-bottom: 16px; }
.footer-licence { font-size: 0.86rem; color: rgba(255, 255, 255, 0.6); }
.footer-ico { display: flex; gap: 10px; align-items: flex-start; }
.footer-ico svg { width: 17px; height: 17px; margin-top: 5px; color: var(--blue); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 20px 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- scroll top & whatsapp ---------- */
.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  box-shadow: var(--shadow-lg);
}
.scroll-top.is-visible { display: flex; }
.scroll-top svg { width: 20px; height: 20px; }

.wa-float {
  position: fixed;
  left: 20px;
  bottom: 24px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: var(--shadow-lg);
}
.wa-float:hover { color: #fff; transform: translateY(-2px); }
.wa-float svg { width: 20px; height: 20px; }

/* ---------- utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 36px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- 7-column service tiles ---------- */
.service-tiles--7 { grid-template-columns: repeat(7, 1fr); }

/* ---------- rich lists ---------- */
.list-plain { list-style: decimal; padding-left: 1.4em; margin: 0; }
.list-plain > li { margin-bottom: 12px; }
.list-plain > li:last-child { margin-bottom: 0; }
.list-plain ul { list-style: disc; padding-left: 1.4em; margin: 8px 0 0; }
.list-plain ul li { margin-bottom: 6px; }

/* ---------- table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; }
.table { width: 100%; border-collapse: collapse; min-width: 460px; }
.table th, .table td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.table th { background: var(--sky-2); color: var(--ink); font-weight: 700; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: var(--sky); }
.table td:last-child { font-weight: 700; color: var(--blue-deep); white-space: nowrap; }

/* ---------- period cards ---------- */
.period-card { display: flex; flex-direction: column; }
.period-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 7px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 18px;
}
.period-label svg { width: 17px; height: 17px; }
.period-card .check li { font-size: 0.95rem; }

/* ---------- notes ---------- */
.notes { max-width: 900px; margin: 26px auto 0; color: var(--muted); font-size: 0.9rem; }
.notes p { margin-bottom: 8px; }
.notes p:last-child { margin-bottom: 0; }

/* ---------- callout ---------- */
.callout { border-radius: var(--radius); padding: 30px 34px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.callout h3 { margin-bottom: 10px; }
.callout--warn { background: #fffaf0; border-color: #f2dfae; border-left: 5px solid #e0a800; }
.callout--warn h3 { color: #8a6100; }
.callout p { margin-bottom: 14px; }
.callout .check { margin-bottom: 0; }

/* ---------- dental banner ---------- */
.dental-banner { margin: 40px auto 0; max-width: 900px; }
.dental-banner img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }

@media (max-width: 620px) {
  .callout { padding: 24px 22px; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .service-tiles { grid-template-columns: repeat(4, 1fr); }
  .grid-4, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .subsidiary-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1000px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px;
    box-shadow: var(--shadow);
    display: none;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .primary-nav a, .primary-nav .dropdown-toggle { padding: 12px 14px; border-radius: var(--radius-sm); width: 100%; justify-content: space-between; }
  .has-dropdown { position: static; }
  .dropdown-menu { position: static; display: none; box-shadow: none; border: 0; border-left: 3px solid var(--sky-3); border-radius: 0; padding: 4px 0 4px 10px; margin: 2px 0 6px; min-width: 0; }
  .has-dropdown.is-open .dropdown-menu { display: block; }
  .nav-cta { margin: 10px 0 0; }
}

@media (max-width: 860px) {
  .hero { padding: 76px 0 68px; }
  .hero-inner { max-width: none; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse .split-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .cta-band { flex-direction: column; text-align: center; padding: 40px 26px; }
  .hero--page { padding: 58px 0 52px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .section { padding: 58px 0; }
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .service-tiles { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .subsidiary-grid { grid-template-columns: 1fr; }
  .brand-logo { height: 44px; }
  .topbar-contact { gap: 14px; }
  .wa-float span { display: none; }
  .wa-float { padding: 13px; }
  .footer-bottom { flex-direction: column; }
}
