/* ==========================================================================
   Independent dental clinic — Kelowna landing page
   Scoped to .dk-landing. Other templates keep the Coral Dark styling.
   ========================================================================== */

.dk-landing {
  --ivory: #fbf7f4;
  --blush: #f4e6e1;
  --blush-2: #ecd8d2;
  --white: #ffffff;
  --wine: #5e2a38;
  --wine-2: #7a3a4a;
  --wine-deep: #431d27;
  --rose: #c07b7b;
  --ink: #2a2124;
  --muted: #77676b;
  --rule: #e6d9d4;
  --rule-light: rgba(251, 247, 244, 0.18);

  --display: "Petrona", Georgia, "Times New Roman", serif;
  --body: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --r: 6px;
  --r-lg: 12px;

  --wrap: 1180px;
  --gutter: 24px;

  background: var(--ivory);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.dk-landing img { max-width: 100%; height: auto; display: block; }
.dk-landing p { margin: 0; }

.dk-landing h1,
.dk-landing h2,
.dk-landing h3 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.012em;
  margin: 0;
  color: var(--wine);
}

.dk-wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.dk-label {
  display: inline-block;
  font-family: var(--body);
  font-size: 11.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--rose);
}
.dk-label--light { color: #d9a9a9; }

/* ---------- Buttons ---------- */
.dk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px;
  font-family: var(--body);
  font-size: 15px; font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--r);
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.dk-btn--wine { background: var(--wine); color: var(--ivory); }
.dk-btn--wine:hover { background: var(--wine-deep); color: var(--ivory); }
.dk-btn--rose { background: var(--rose); color: #fff; }
.dk-btn--rose:hover { background: #ab6868; color: #fff; }
.dk-btn--ivory { background: var(--ivory); color: var(--wine); }
.dk-btn--ivory:hover { background: #fff; color: var(--wine); }
.dk-btn--line { border-color: var(--rule); color: var(--wine); }
.dk-btn--line:hover { border-color: var(--wine); }
.dk-btn--line-light { border-color: var(--rule-light); color: var(--ivory); }
.dk-btn--line-light:hover { border-color: var(--ivory); }
.dk-btn--sm { padding: 11px 20px; font-size: 14px; }

/* ---------- Header ---------- */
.dk-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251, 247, 244, .95);
  backdrop-filter: saturate(150%) blur(9px);
  border-bottom: 1px solid var(--rule);
}
.dk-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; height: 82px; }
.dk-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.dk-logo__mark {
  width: 40px; height: 40px; flex: none; border-radius: 50%;
  border: 1px solid var(--rose); color: var(--rose);
  display: grid; place-items: center;
}
.dk-logo__name { font-family: var(--display); font-size: 24px; color: var(--wine); line-height: 1; }
.dk-logo__sub {
  display: block; font-size: 9.5px; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--muted); margin-top: 6px;
}
.dk-nav { display: flex; gap: 30px; }
.dk-nav a { font-size: 15px; font-weight: 600; color: var(--muted); text-decoration: none; }
.dk-nav a:hover { color: var(--wine); }

/* ---------- Hero: centered on blush ---------- */
.dk-hero { background: var(--blush); padding: 92px 0 84px; text-align: center; }
.dk-hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.1rem);
  margin: 24px auto 0;
  max-width: 17ch;
}
.dk-hero h1 em { font-style: italic; color: var(--rose); }
.dk-hero__lede { font-size: 19px; color: var(--muted); max-width: 56ch; margin: 24px auto 0; }
.dk-hero__actions { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; margin-top: 34px; }
.dk-hero__micro {
  margin-top: 24px; font-size: 13.5px; color: var(--muted);
  display: flex; flex-wrap: wrap; gap: 8px 26px; justify-content: center;
}

/* ---------- Full-width photo band ---------- */
.dk-band { margin-top: -46px; }
.dk-band img {
  width: 100%; aspect-ratio: 21 / 8; object-fit: cover;
  border-radius: var(--r-lg);
}

/* ---------- Sections ---------- */
.dk-section { padding: 100px 0; }
.dk-section--blush { background: var(--blush); }
.dk-section--white { background: var(--white); }
.dk-section--wine { background: var(--wine); color: rgba(251, 247, 244, .74); }
.dk-section--wine h2, .dk-section--wine h3 { color: var(--ivory); }

.dk-head { max-width: 700px; margin-bottom: 58px; }
.dk-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.dk-head h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); margin: 18px 0 16px; }
.dk-head p { font-size: 18px; color: var(--muted); }
.dk-section--wine .dk-head p { color: rgba(251, 247, 244, .68); }

/* ---------- Independence pillars ---------- */
.dk-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.dk-pillar { border-top: 2px solid var(--rose); padding-top: 24px; }
.dk-pillar h3 { font-size: 23px; margin-bottom: 12px; }
.dk-pillar p { color: rgba(251, 247, 244, .72); font-size: 15.5px; }

/* ---------- Services: numbered hairline rows ---------- */
.dk-services { border-top: 1px solid var(--rule); }
.dk-service {
  display: grid; grid-template-columns: 72px 1fr 1fr;
  gap: 40px; padding: 38px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.dk-service__n { font-family: var(--display); font-size: 30px; color: var(--rose); line-height: 1; }
.dk-service h3 { font-size: 25px; }
.dk-service__body p { color: var(--muted); font-size: 16px; }
.dk-service__body ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 9px; }
.dk-service__body li { position: relative; padding-left: 19px; font-size: 15px; color: var(--ink); }
.dk-service__body li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 8px; height: 1px; background: var(--rose);
}

/* ---------- Coverage table ---------- */
.dk-table-wrap { border: 1px solid var(--rule); border-radius: var(--r-lg); overflow: hidden; background: var(--white); }
.dk-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.dk-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.dk-table th, .dk-table td { padding: 17px 22px; text-align: left; border-bottom: 1px solid var(--rule); }
.dk-table thead th {
  background: var(--blush);
  font-family: var(--display); font-size: 15.5px; font-weight: 600; color: var(--wine);
}
.dk-table tbody th { font-weight: 600; color: var(--ink); }
.dk-table td { color: var(--muted); }
.dk-table td.dk-cov { color: var(--wine-2); font-weight: 600; white-space: nowrap; }
.dk-table tr:last-child th, .dk-table tr:last-child td { border-bottom: 0; }
.dk-table__note { margin-top: 22px; font-size: 14.5px; color: var(--muted); text-align: center; }

/* ---------- Insurers ---------- */
.dk-insurers { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 9px; }
.dk-insurers li {
  border: 1px solid var(--rule-light); border-radius: 999px;
  padding: 8px 16px; font-size: 13.5px; color: rgba(251, 247, 244, .86);
}
.dk-cover { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.dk-cover__list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.dk-cover__list li { display: flex; gap: 12px; align-items: flex-start; color: rgba(251, 247, 244, .82); font-size: 16px; }
.dk-cover__list svg { flex: none; margin-top: 4px; color: var(--rose); }

/* ---------- First visit ---------- */
.dk-visit { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.dk-visit img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-lg); }
.dk-timeline { list-style: none; margin: 28px 0 0; padding: 0; }
.dk-timeline li {
  position: relative; padding: 0 0 26px 34px;
  border-left: 1px solid var(--rule);
}
.dk-timeline li:last-child { padding-bottom: 0; border-left-color: transparent; }
.dk-timeline li::before {
  content: ""; position: absolute; left: -6px; top: 5px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--rose);
}
.dk-timeline strong { display: block; font-family: var(--display); font-size: 20px; color: var(--wine); margin-bottom: 5px; }
.dk-timeline span { color: var(--muted); font-size: 15.5px; }

/* ---------- Local band ---------- */
.dk-local { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.dk-local__item h3 { font-size: 21px; margin-bottom: 11px; }
.dk-local__item p { color: var(--muted); font-size: 15.5px; }
.dk-hours { list-style: none; margin: 12px 0 0; padding: 0; }
.dk-hours li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 9px 0; border-bottom: 1px solid var(--rule);
  font-size: 15px;
}
.dk-hours li:last-child { border-bottom: 0; }
.dk-hours strong { color: var(--ink); font-weight: 600; }
.dk-hours span { color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- FAQ ---------- */
.dk-faq { max-width: 860px; margin: 0 auto; }
.dk-faq details { border-bottom: 1px solid var(--rule); }
.dk-faq summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0;
  font-family: var(--display); font-size: 21px; color: var(--wine);
}
.dk-faq summary::-webkit-details-marker { display: none; }
.dk-faq summary::after {
  content: ""; width: 11px; height: 11px; flex: none;
  border-right: 1px solid var(--rose); border-bottom: 1px solid var(--rose);
  transform: rotate(45deg); margin-top: -6px;
  transition: transform .2s ease;
}
.dk-faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.dk-faq details p { padding: 0 0 24px; color: var(--muted); font-size: 16px; max-width: 68ch; }

/* ---------- CTA ---------- */
.dk-cta { background: var(--wine-deep); padding: 100px 0; text-align: center; }
.dk-cta h2 { color: var(--ivory); font-size: clamp(2.1rem, 4.2vw, 3.2rem); margin: 22px auto 18px; max-width: 18ch; }
.dk-cta p { color: rgba(251, 247, 244, .74); font-size: 18px; max-width: 50ch; margin: 0 auto; }
.dk-cta__actions { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; margin-top: 34px; }
.dk-cta__contact {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 44px;
  margin-top: 48px; padding-top: 34px; border-top: 1px solid var(--rule-light);
}
.dk-cta__contact div { text-align: left; }
.dk-cta__contact span {
  display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(251, 247, 244, .55); margin-bottom: 5px;
}
.dk-cta__contact a, .dk-cta__contact strong { color: var(--ivory); font-size: 16px; font-weight: 600; text-decoration: none; }
.dk-cta__contact a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.dk-footer { background: var(--ink); color: rgba(251, 247, 244, .56); padding: 56px 0 30px; font-size: 15px; }
.dk-footer__cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 42px; padding-bottom: 38px; border-bottom: 1px solid var(--rule-light); }
.dk-footer .dk-logo__name { color: var(--ivory); }
.dk-footer h4 {
  font-family: var(--body); font-size: 11.5px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--ivory); margin-bottom: 16px;
}
.dk-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dk-footer a { color: rgba(251, 247, 244, .66); text-decoration: none; }
.dk-footer a:hover { color: var(--rose); }
.dk-footer__blurb { margin-top: 16px; max-width: 32ch; font-size: 14.5px; }
.dk-footer__base { padding-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13.5px; }
.dk-footer__legal { margin-top: 18px; font-size: 12.5px; line-height: 1.6; color: rgba(251, 247, 244, .4); max-width: 98ch; }
.dk-footer__credit { margin-top: 12px; font-size: 12px; color: rgba(251, 247, 244, .32); }
.dk-footer__credit a { color: rgba(251, 247, 244, .46); text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .dk-cover, .dk-visit { grid-template-columns: 1fr; gap: 40px; }
  .dk-pillars, .dk-local { grid-template-columns: 1fr; gap: 30px; }
  .dk-service { grid-template-columns: 56px 1fr; gap: 22px; }
  .dk-service__body { grid-column: 1 / -1; }
  .dk-footer__cols { grid-template-columns: 1fr 1fr; }
  .dk-band img { aspect-ratio: 16 / 9; }
}

@media (max-width: 720px) {
  .dk-nav { display: none; }
  .dk-header__inner { height: 70px; }
  .dk-section, .dk-cta { padding: 70px 0; }
  .dk-hero { padding: 60px 0 64px; }
  .dk-band { margin-top: -34px; }
  .dk-band img { aspect-ratio: 4 / 3; }
  .dk-service { grid-template-columns: 1fr; gap: 12px; }
  .dk-footer__cols { grid-template-columns: 1fr; }
  .dk-cta__contact { justify-content: flex-start; }
  .dk-hero__actions .dk-btn, .dk-cta__actions .dk-btn { flex: 1 1 100%; }

  .dk-table thead { display: none; }
  .dk-table, .dk-table tbody, .dk-table tr, .dk-table th, .dk-table td { display: block; width: 100%; }
  .dk-table tr { border-bottom: 1px solid var(--rule); padding: 8px 0; }
  .dk-table tr:last-child { border-bottom: 0; }
  .dk-table th, .dk-table td { border-bottom: 0; padding: 6px 20px; }
  .dk-table td::before {
    content: attr(data-label);
    display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em;
    text-transform: uppercase; color: #a89195; margin-bottom: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dk-landing * { transition: none !important; }
}
