/* Consistent paired calls to action across Dental Krafts pages. */
.cta-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 16px;
  width: 100%;
  max-width: 600px;
}
.cta-pair > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 56px;
  margin: 0;
  padding: 14px 20px;
  border-width: 1px;
  border-style: solid;
  border-radius: 999px;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  white-space: normal;
}
.cta-pair > a:first-child { border-color: transparent; }
.cta-pair > a > svg { flex-shrink: 0; }
.cta-pair.cta-stack { grid-template-columns: 1fr; max-width: 320px; min-width: 0; flex: 0 1 auto; }
.cta-pair.cta-centered { margin-inline: auto; }
.cta-pair > .cta-secondary { color: #6a2962; background: #fff; border-color: #a98eed; }
.cta-pair > .cta-secondary:hover { background: #eee7ff; border-color: #6a2962; }
.cta-pair > .cta-on-dark { color: #fff; background: transparent; border-color: #ffffff99; }
.cta-pair > .cta-on-dark:hover { background: #ffffff1a; }
@media (max-width: 720px) {
  .cta-pair { grid-template-columns: 1fr; gap: 12px; }
}

/* Equal mobile contact buttons, with space for the device safe area. */
@media (max-width: 720px) {
  body { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  .mobile-cta, .mobile-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 12px;
    padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px));
  }
  .mobile-cta > a, .mobile-actions > a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 48px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #a98eed;
    border-radius: 999px;
    font: 600 14px/1.4 "DM Sans", Arial, sans-serif;
    text-align: center;
    text-decoration: none;
  }
  .mobile-cta > a:last-child, .mobile-actions > a:last-child { border-color: #6a2962; }
}

/* One rounded button style for header, content, and booking actions. */
.btn, .button {
  min-height: 56px;
  border-radius: 999px;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

/* Header contact actions share the same geometry. */
.site-header .header-actions { display: flex; align-items: stretch; gap: 16px; }
.site-header .header-actions > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  width: 248px;
  min-height: 56px;
  padding: 14px 20px;
  border: 1px solid #6a2962;
  border-radius: 999px;
  background: #6a2962;
  color: #fff;
  font: 600 16px/1.4 "DM Sans", Arial, sans-serif;
  white-space: nowrap;
}
.site-header .header-actions > a:hover { background: #54204e; color: #fff; }
.site-header .phone-link span { display: none; }
.site-header .phone-link strong { font: inherit; color: inherit; }
@media (max-width: 980px) {
  .site-header .header-actions > .header-book { display: none; }
  .site-header .header-actions > .phone-link { width: auto; }
}
@media (max-width: 720px) {
  .site-header .header-actions > .phone-link { min-height: 46px; padding: 10px 13px; font-size: 13px; }
}
@media (max-width: 370px) {
  .site-header .header-actions > .phone-link { padding-inline: 10px; font-size: 12px; }
}
