/* ==========================================================================
   CitiDental of Woodhaven — Visual Redesign
   Additive stylesheet. Loaded after style.css/custom.css/multi-step-form.css.
   All new components are scoped under body.rd-redesign to avoid clashing
   with legacy rules still used by untouched functional widgets (quiz form,
   contact form, reCAPTCHA, FAQ accordion, Slick carousels, lazy-load).
   ========================================================================== */

body.rd-redesign {
  --rd-navy: #123a5e;
  --rd-navy-dark: #0b2540;
  --rd-blue: #2e7dd1;
  --rd-blue-light: #eaf3fc;
  --rd-orange: #f3923c;
  --rd-orange-dark: #e07f26;
  --rd-text: #33414f;
  --rd-text-muted: #6b7785;
  --rd-border: #e2e8f0;
  --rd-bg-alt: #f6f9fc;
  --rd-white: #ffffff;
  --rd-radius-sm: 8px;
  --rd-radius: 14px;
  --rd-radius-lg: 20px;
  --rd-shadow: 0 4px 16px rgba(18, 58, 94, 0.08);
  --rd-shadow-lg: 0 12px 32px rgba(18, 58, 94, 0.12);
  --rd-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --rd-max: 1240px;

  font-family: var(--rd-font);
  color: var(--rd-text);
}

body.rd-redesign * {
  box-sizing: border-box;
}

body.rd-redesign .rd-container {
  max-width: var(--rd-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Top info bar ---------- */
.rd-topbar {
  background: var(--rd-navy-dark);
  color: #cfe0f0;
  font-size: 13px;
  padding: 8px 0;
}
.rd-topbar .rd-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.rd-topbar__left {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.rd-topbar__item {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.rd-topbar__item i {
  font-size: 13px;
  opacity: 0.85;
}
.rd-topbar__right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.rd-topbar a {
  color: #cfe0f0;
  text-decoration: none;
}
.rd-topbar a:hover {
  color: var(--rd-white);
}
@media (max-width: 767px) {
  .rd-topbar__left { gap: 12px; font-size: 12px; }
  .rd-topbar__item--hide-mobile { display: none; }
}

/* ---------- Header / nav ---------- */
.rd-header {
  background: var(--rd-white);
  border-bottom: 1px solid var(--rd-border);
  position: relative;
  z-index: 500;
}
/* Legacy template already provides scroll-to-fixed behavior via JS toggling
   .header-content.fixed (position:fixed) — do not fight it with position:sticky
   on the outer <header>, which collapses once the child leaves the flow. */
.rd-header .header-content.fixed {
  background: var(--rd-white);
  box-shadow: var(--rd-shadow);
  top: 0;
}
.rd-header .header-content {
  max-width: var(--rd-max);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.rd-header .header-logo img {
  height: 40px;
  width: auto;
}
.rd-header .header-box {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: flex-end;
}
.rd-header .header-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.rd-header .header-nav > li {
  position: relative;
}
.rd-header .header-nav > li > a {
  color: var(--rd-navy);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.rd-header .header-nav > li > a:hover,
.rd-header .header-nav > li.rd-active > a {
  color: var(--rd-blue);
  border-color: var(--rd-orange);
}
.rd-header .header-nav > li > ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--rd-white);
  border: 1px solid var(--rd-border);
  border-radius: var(--rd-radius-sm);
  box-shadow: var(--rd-shadow-lg);
  padding: 8px;
  margin: 8px 0 0;
  list-style: none;
  z-index: 50;
}
.rd-header .header-nav > li:hover > ul {
  display: block;
}
.rd-header .header-nav > li > ul li a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  color: var(--rd-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.rd-header .header-nav > li > ul li a:hover {
  background: var(--rd-blue-light);
  color: var(--rd-blue);
}
.rd-header .header-options {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.rd-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .12s, box-shadow .12s, background .12s;
  white-space: nowrap;
}
.rd-btn:hover { transform: translateY(-1px); }
.rd-btn--primary {
  background: var(--rd-orange);
  color: var(--rd-white);
  box-shadow: 0 6px 16px rgba(243, 146, 60, .35);
}
.rd-btn--primary:hover { background: var(--rd-orange-dark); color: var(--rd-white); }
.rd-btn--outline {
  background: var(--rd-white);
  border-color: var(--rd-navy);
  color: var(--rd-navy);
}
.rd-btn--outline:hover { background: var(--rd-blue-light); color: var(--rd-navy); }
.rd-btn--ghost {
  background: transparent;
  border-color: rgba(255,255,255,.4);
  color: var(--rd-white);
}
.rd-header .header-options .rd-btn { padding: 9px 18px; font-size: 13px; }

/* Fallback: on pages rolled out via script, header-options/.hidelg buttons keep
   their original .but1/.but2 classes (no rd-btn added) — style those directly
   so results are identical without depending on an exact string-replace match. */
.rd-header .header-options .but1,
.rd-header .header-options .but2,
.rd-header .but2.hidelg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  border: 2px solid transparent;
  white-space: nowrap;
}
.rd-header .header-options .but1 {
  background: var(--rd-white);
  border-color: var(--rd-navy);
  color: var(--rd-navy);
}
.rd-header .header-options .but2,
.rd-header .but2.hidelg {
  background: var(--rd-orange);
  color: var(--rd-white);
}
.rd-header .header-options .but1:hover { background: var(--rd-blue-light); }
.rd-header .header-options .but2:hover,
.rd-header .but2.hidelg:hover { background: var(--rd-orange-dark); }

/* Fix #1: legacy `.but1 .icon-smartphone:before{color:#fff!important}` makes the
   phone icon invisible on our white/outline buttons. Let it inherit the button's
   actual text color instead (still white on dark buttons like the load-bg hero). */
body.rd-redesign .but1 .icon-smartphone:before,
body.rd-redesign .but2 .icon-smartphone:before {
  color: inherit !important;
}

/* mobile hamburger (keeps .js-btn-menu hook) */
.rd-header .btn-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  cursor: pointer;
}
.rd-header .btn-menu span {
  display: block;
  height: 2px;
  background: var(--rd-navy);
  border-radius: 2px;
}
.rd-header .but2.hidelg { display: none; }

/* Mobile nav: the legacy template already implements an off-canvas slide-in
   panel — custom.js toggles $('.header-box').toggleClass('active'), and
   .header-box{position:fixed;right:-306px;...} / .header-box.active{right:0}
   (defined in style.css) handles the slide + full-height panel. We only need
   to restyle what's INSIDE that panel for the new look — never hide it via
   display:none or invent a parallel toggle class, or the two mechanisms
   fight each other. */
@media (max-width: 991px) {
  .rd-header .btn-menu { display: flex; }
  .rd-header .but2.hidelg {
    display: inline-flex;
    padding: 9px 16px;
    font-size: 13px;
  }
  .rd-header .header-nav,
  .rd-header .header-options {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
  }
  .rd-header .header-nav > li > ul {
    position: static;
    box-shadow: none;
    border: none;
    margin: 4px 0 4px 12px;
    padding: 0;
  }
  .rd-header .header-options {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--rd-border);
  }
}

/* ---------- Hero (homepage) ---------- */
.rd-hero {
  background: linear-gradient(180deg, var(--rd-blue-light) 0%, var(--rd-white) 65%);
  padding: 56px 0 64px;
}
.rd-hero .rd-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.rd-hero__eyebrow {
  display: inline-block;
  background: var(--rd-blue-light);
  color: var(--rd-blue);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.rd-hero h1 {
  font-size: 42px;
  line-height: 1.15;
  color: var(--rd-navy);
  font-weight: 800;
  margin: 0 0 18px;
}
.rd-hero h1 em,
.rd-hero h1 .rd-accent {
  color: var(--rd-blue);
  font-style: italic;
  font-weight: 700;
}
.rd-hero__sub {
  font-size: 17px;
  color: var(--rd-text-muted);
  max-width: 46ch;
  margin: 0 0 28px;
}
.rd-hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.rd-hero__stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 24px;
}
@media (max-width: 767px) {
  .rd-hero__stats { grid-template-columns: repeat(2, 1fr); gap: 16px 20px; }
}
.rd-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--rd-text-muted);
  font-weight: 600;
}
.rd-stat i {
  color: var(--rd-blue);
  font-size: 18px;
}
.rd-hero__media {
  position: relative;
}
.rd-hero__media-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3.1;
  border-radius: var(--rd-radius-lg);
  background: linear-gradient(135deg, #dceafb 0%, #b9d6f4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rd-blue);
  box-shadow: var(--rd-shadow-lg);
  overflow: hidden;
}
.rd-hero__media-placeholder svg { width: 46%; height: 46%; opacity: .55; }
.rd-hero__media-photo {
  width: 100%;
  aspect-ratio: 4 / 3.1;
  border-radius: var(--rd-radius-lg);
  box-shadow: var(--rd-shadow-lg);
  overflow: hidden;
}
.rd-hero__media-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 991px) {
  .rd-hero .rd-container { grid-template-columns: 1fr; }
  .rd-hero__media { order: -1; max-width: 420px; margin: 0 auto 8px; }
  .rd-hero h1 { font-size: 32px; }
}

/* ---------- Interior page hero (service/symptom pages) ---------- */
.rd-page-hero {
  background: linear-gradient(180deg, var(--rd-navy-dark) 0%, var(--rd-navy) 100%);
  color: var(--rd-white);
  padding: 44px 0 40px;
}
.rd-page-hero .rd-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.rd-page-hero__eyebrow {
  display: inline-block;
  background: rgba(255,255,255,.12);
  color: #cfe0f0;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}
.rd-page-hero h1 {
  font-size: 34px;
  font-weight: 800;
  margin: 0;
  color: var(--rd-white);
  line-height: 1.2;
}
.rd-page-hero__sub {
  color: #cfe0f0;
  font-size: 15px;
  max-width: 60ch;
  margin: 0;
}
.rd-page-hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.rd-page-hero__trust {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 6px;
  font-size: 13px;
  color: #cfe0f0;
}
.rd-page-hero__trust span { display: flex; align-items: center; gap: 6px; }
.rd-page-hero__trust i { color: var(--rd-orange); }

/* ---------- Section wrapper / cards ---------- */
.rd-section {
  padding: 56px 0;
}
.rd-section--alt { background: var(--rd-bg-alt); }
.rd-section__head {
  text-align: center !important;
  max-width: 640px;
  width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 40px;
}
.rd-section__eyebrow {
  color: var(--rd-blue);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .05em;
  display: block;
  text-align: center;
  margin: 0 0 8px;
}
.rd-section__title {
  font-size: 30px;
  font-weight: 800;
  color: var(--rd-navy);
  text-align: center;
  width: 100%;
  margin: 0;
}

.rd-panel {
  background: var(--rd-white);
  border: 1px solid var(--rd-border);
  border-radius: var(--rd-radius);
  box-shadow: var(--rd-shadow);
  padding: 32px;
}
@media (max-width: 767px) {
  .rd-panel { padding: 22px; }
}
.rd-panel--two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}
/* Legacy .profile-main/.profile-aside carry fixed widths and calc() formulas
   tuned for the old flex layout (e.g. width: calc(100% - 550px)) — inside our
   grid columns those compute to 0/negative. Let grid own sizing instead. */
.rd-panel--two-col .profile-main,
.rd-panel--two-col .profile-aside,
.rd-booking.rd-panel--two-col .profile-main,
.rd-booking.rd-panel--two-col .profile-aside {
  width: auto !important;
}
@media (max-width: 767px) {
  .rd-panel--two-col { grid-template-columns: 1fr; }
}
.rd-panel h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--rd-navy);
  margin: 0 0 14px;
}
.rd-panel p { color: var(--rd-text-muted); line-height: 1.65; }
.rd-media-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--rd-radius);
  background: linear-gradient(135deg, #eaf3fc 0%, #d3e6f8 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--rd-blue);
}
.rd-media-placeholder svg { width: 40%; height: 40%; opacity: .5; }
.rd-media-frame {
  border-radius: var(--rd-radius);
  overflow: hidden;
  box-shadow: var(--rd-shadow);
}
.rd-media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Insurance / brand logo strip — reskin only, keep Slick carousel classes untouched */
body.rd-redesign .products-items.js-products-items2 {
  background: var(--rd-white);
  border: 1px solid var(--rd-border);
  border-radius: var(--rd-radius);
  padding: 18px 24px;
  margin: 28px 0;
  box-shadow: var(--rd-shadow);
}
body.rd-redesign .products-items.js-products-items2 img { opacity: .75; max-height: 34px; width: auto; }

/* Fix #2: continuous auto-scrolling logo carousel (independent of the Slick
   library — see custom.js `:not(.rd-logo-marquee)` exclusion). Markup is
   duplicated once in HTML for a seamless loop; animate the doubled track -50%. */
body.rd-redesign .rd-logo-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
body.rd-redesign .rd-logo-marquee .rd-logo-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: rd-marquee 26s linear infinite;
}
body.rd-redesign .rd-logo-marquee:hover .rd-logo-track { animation-play-state: paused; }
body.rd-redesign .rd-logo-marquee .rd-logo-track > div {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}
@keyframes rd-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  body.rd-redesign .rd-logo-marquee .rd-logo-track { animation: none; }
}

/* Pull-quote banner (also matches about.html's alternate .main wrapper, same inner .quote) */
body.rd-redesign .mainq,
body.rd-redesign main .main[style*="text-align"] {
  background: var(--rd-navy);
  color: var(--rd-white);
  border-radius: var(--rd-radius-lg);
  padding: 32px 36px;
  margin-top: 28px;
  text-align: center;
}
body.rd-redesign .mainq .quote,
body.rd-redesign main .main[style*="text-align"] .quote {
  /* Fix #3: legacy `.quote{background:url(bg.jpg);padding:50px 0}` (style.css)
     is never overridden by property, so its decorative swoosh photo keeps
     rendering behind our light text on the navy card, killing contrast. */
  background: none !important;
  padding: 0 !important;
  font-size: 17px;
  line-height: 1.6;
  color: #e4edf7;
  max-width: 70ch;
  margin: 10px auto 18px;
}
body.rd-redesign .mainq img.js-img,
body.rd-redesign main .main[style*="text-align"] img.js-img { border-radius: 50%; opacity: .9; }
body.rd-redesign .mainq .but3 {
  display: inline-block;
  color: var(--rd-white);
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 999px;
  padding: 9px 20px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
}
body.rd-redesign .mainq .but3:hover { background: rgba(255,255,255,.1); }

/* ---------- Service card grid ---------- */
.rd-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1200px) { .rd-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) { .rd-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 480px) { .rd-grid { grid-template-columns: 1fr; } }

.rd-card {
  background: var(--rd-white);
  border: 1px solid var(--rd-border);
  border-radius: var(--rd-radius);
  padding: 26px 22px;
  box-shadow: var(--rd-shadow);
  transition: transform .15s, box-shadow .15s;
}
.rd-card:hover { transform: translateY(-3px); box-shadow: var(--rd-shadow-lg); }
.rd-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--rd-blue-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.rd-card__icon img { width: 24px; height: 24px; }
.rd-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--rd-navy);
  margin: 0 0 8px;
}
.rd-card p {
  font-size: 14px;
  color: var(--rd-text-muted);
  line-height: 1.55;
  margin: 0 0 14px;
}
.rd-card .more a {
  color: var(--rd-blue);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
}
.rd-card .more a:hover { text-decoration: underline; }

/* ---------- Testimonials ---------- */
.rd-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 991px) { .rd-testimonial-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .rd-testimonial-grid { grid-template-columns: 1fr; } }

.rd-testimonial {
  background: var(--rd-white);
  border: 1px solid var(--rd-border);
  border-radius: var(--rd-radius);
  padding: 24px;
  box-shadow: var(--rd-shadow);
}
.rd-testimonial .stars { color: var(--rd-orange); margin-bottom: 10px; font-size: 13px; }
.rd-testimonial p {
  font-size: 14px;
  color: var(--rd-text);
  line-height: 1.6;
  margin: 0 0 14px;
}
.rd-testimonial .tname {
  font-weight: 700;
  color: var(--rd-navy);
  font-size: 13px;
}

/* ---------- Booking panel ---------- */
.rd-booking {
  background: var(--rd-blue-light);
  border: 1px solid #cfe3f7;
  border-radius: var(--rd-radius-lg);
  padding: 36px;
}
@media (max-width: 767px) { .rd-booking { padding: 20px; } }
.rd-booking .profile-main h2 { color: var(--rd-navy); }

/* keep third-party quiz/form widget functionally untouched, just tone it down visually */
.rd-booking .form-control {
  border-radius: var(--rd-radius-sm) !important;
}
.rd-booking .btn-custom,
.rd-booking #btnContactUs,
.rd-booking #Submit {
  background: var(--rd-orange) !important;
  border-color: var(--rd-orange) !important;
  border-radius: 999px !important;
}
/* Fix #6: legacy `.md6{width:50%}` (custom.css) halves the recaptcha's row,
   which is narrower than Google's fixed ~304px widget, so it overflows the
   card edge and looks clipped. Give it the full row width in our layout. */
.rd-booking .row { overflow: visible; }
.rd-booking .md6 { width: 100%; }
.rd-booking .g-recaptcha { transform-origin: left top; }

/* ---------- Footer ---------- */
.rd-footer {
  background: var(--rd-navy-dark);
  color: #cfe0f0;
  padding: 52px 0 0;
}
.rd-footer .rd-container {
  display: grid;
  /* Fix #7: legacy `.footer-nav__col{width:25%;max-width:215px}` (style.css)
     was never overridden, so columns got squeezed to 215px regardless of our
     grid track sizing, wrapping the address one word per line. minmax(0,*)
     also stops any single long word from blowing the grid out. */
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  padding-bottom: 36px;
}
.rd-footer .footer-nav__col {
  width: auto;
  max-width: none;
  min-width: 0;
}
@media (max-width: 991px) {
  .rd-footer .rd-container { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .rd-footer .rd-container { grid-template-columns: minmax(0, 1fr); }
}
.rd-footer .footer-nav__col-title {
  color: var(--rd-white);
  font-weight: 700;
  font-size: 14px;
  display: block;
  margin-bottom: 14px;
}
.rd-footer .footer-nav__col ul { list-style: none; margin: 0; padding: 0; }
.rd-footer .footer-nav__col ul li { margin-bottom: 9px; }
.rd-footer .footer-nav__col ul a {
  color: #b9cde3;
  text-decoration: none;
  font-size: 14px;
}
.rd-footer .footer-nav__col ul a:hover { color: var(--rd-white); }
.rd-footer .footer-nav__col-phones a { color: #b9cde3; text-decoration: none; }
.rd-footer .footer-nav__col:last-of-type ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.rd-footer .footer-nav__col:last-of-type ul li i {
  flex-shrink: 0;
  margin-top: 3px;
  color: #6f93b9;
}
.rd-footer .footer-copy {
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center;
  padding: 18px 0;
  font-size: 13px;
  color: #93a9c1;
}
.rd-footer .footer-copy span { color: #93a9c1; }
.rd-footer .contcenter.pt50 img { height: 34px; width: auto; filter: brightness(0) invert(1); opacity: .95; }

/* fixed bottom mobile call bar padding fix (existing .wrap element) */
@media (max-width: 767px) {
  body.rd-redesign .main-wrapper { padding-bottom: 54px; }
}

/* ---------- Bulk-rollout mode: restyle ORIGINAL legacy classes directly ----------
   For pages rolled out via script (not hand-rebuilt like the homepage/dental-implants
   proof-of-concept), we do NOT restructure the hero/panel markup — instead these
   rules target the site's own existing classes (.main-block.load-bg, .saint-text,
   .profile-content.box1, etc.) so the same visual language applies with zero risk
   of losing/misplacing per-page content during rollout. */

body.rd-redesign .main-block.load-bg {
  background: linear-gradient(180deg, var(--rd-navy-dark) 0%, var(--rd-navy) 100%) !important;
  padding: 44px 0 40px;
}
body.rd-redesign .main-block.load-bg .wrapper {
  max-width: var(--rd-max);
  margin: 0 auto;
  padding: 0 20px;
}
body.rd-redesign .main-block.load-bg .saint-text {
  display: inline-block;
  background: rgba(255,255,255,.12);
  color: #cfe0f0;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
body.rd-redesign .main-block.load-bg .main-text {
  font-size: 34px;
  font-weight: 800;
  color: var(--rd-white) !important;
  margin: 0 0 18px;
  line-height: 1.2;
}
body.rd-redesign .main-block.load-bg h5 {
  color: #cfe0f0;
  font-size: 15px;
  font-weight: 600;
  margin: 6px 0;
}
body.rd-redesign .main-block.load-bg h5 span { font-weight: 400; }
body.rd-redesign .main-block.load-bg .main-block__content > p {
  color: #cfe0f0;
  font-size: 14px;
  margin: 0 0 18px;
}
body.rd-redesign .main-block.load-bg .main-options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 18px 0;
}
body.rd-redesign .main-block.load-bg .main-options .but1,
body.rd-redesign .main-block.load-bg .main-options .but2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}
body.rd-redesign .main-block.load-bg .main-options .but1 {
  background: transparent;
  border: 2px solid rgba(255,255,255,.4);
  color: var(--rd-white);
}
body.rd-redesign .main-block.load-bg .main-options .but2 {
  background: var(--rd-orange);
  color: var(--rd-white);
  border: 2px solid transparent;
}
body.rd-redesign .main-block.load-bg .pleft {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 8px;
}
body.rd-redesign .main-block.load-bg .counter,
body.rd-redesign .main-block.load-bg .stars,
body.rd-redesign .main-block.load-bg .more {
  color: #cfe0f0;
  font-size: 13px;
  font-weight: 600;
}
body.rd-redesign .main-block.load-bg .stars i { color: var(--rd-orange); }
body.rd-redesign .main-block.load-bg .more a { color: #cfe0f0; text-decoration: underline; }

/* Section rhythm + alt background for the booking section, via existing classes */
body.rd-redesign section.trending { padding: 40px 0; }
body.rd-redesign section.trending .wrapper {
  max-width: var(--rd-max);
  margin: 0 auto;
  padding: 0 20px;
}
body.rd-redesign section.trending.color2 { background: var(--rd-bg-alt); }

/* Two-column "About" and "Booking" panels — reskin .profile-content.box1 directly */
body.rd-redesign .trending .profile-content.box1 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  background: var(--rd-white);
  border: 1px solid var(--rd-border);
  border-radius: var(--rd-radius);
  box-shadow: var(--rd-shadow);
  padding: 32px;
}
@media (max-width: 767px) {
  body.rd-redesign .trending .profile-content.box1 { grid-template-columns: 1fr; padding: 22px; }
}
body.rd-redesign .trending .profile-content.box1 .profile-aside,
body.rd-redesign .trending .profile-content.box1 .profile-main {
  width: auto !important;
}
body.rd-redesign .trending .profile-content.box1 .profile-aside img {
  width: 100%;
  border-radius: var(--rd-radius);
  display: block;
}
body.rd-redesign .trending .profile-content.box1 h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--rd-navy);
  margin: 0 0 14px;
}
body.rd-redesign .trending .profile-content.box1 p {
  color: var(--rd-text-muted);
  line-height: 1.65;
}
body.rd-redesign .trending .profile-content.box1 .saint-text {
  color: var(--rd-blue);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .05em;
  display: block;
  margin-bottom: 8px;
}
body.rd-redesign .trending .profile-content.box1 .main-options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin-top: 16px;
}
body.rd-redesign .trending .profile-content.box1 .main-options .but1,
body.rd-redesign .trending .profile-content.box1 .main-options .but2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
}
body.rd-redesign .trending .profile-content.box1 .main-options .but1 {
  background: var(--rd-orange);
  color: var(--rd-white);
}
body.rd-redesign .trending .profile-content.box1 .main-options .but2 {
  background: transparent;
  border: 2px solid var(--rd-navy);
  color: var(--rd-navy);
}

/* ---------- Services directory (services.html) — plain .profile-content (no .box1) ---------- */
body.rd-redesign .trending .profile-content {
  background: var(--rd-white);
  border: 1px solid var(--rd-border);
  border-radius: var(--rd-radius);
  box-shadow: var(--rd-shadow);
  padding: 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  align-items: start;
}
/* same legacy width:calc() issue as .box1 panels - neutralize it here too */
body.rd-redesign .trending .profile-content > .profile-main,
body.rd-redesign .trending .profile-content > .profile-aside {
  width: auto !important;
}
@media (max-width: 767px) {
  body.rd-redesign .trending .profile-content { grid-template-columns: 1fr; padding: 22px; }
}
body.rd-redesign .trending .profile-content h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--rd-navy);
  margin: 0 0 18px;
}
/* category grid: each top-level <li class="tt"> becomes a card, its <ol> the link list */
body.rd-redesign .trending .profile-content > .profile-main > ul.main-options {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 640px) {
  body.rd-redesign .trending .profile-content > .profile-main > ul.main-options { grid-template-columns: 1fr; }
}
body.rd-redesign .trending .profile-content li.tt {
  background: var(--rd-bg-alt);
  border-radius: var(--rd-radius-sm);
  padding: 16px 18px;
}
body.rd-redesign .trending .profile-content li.tt > a.tt2 {
  font-weight: 700;
  font-size: 15px;
  color: var(--rd-navy);
  text-decoration: none;
}
body.rd-redesign .trending .profile-content li.tt > a.tt2:hover { color: var(--rd-blue); }
body.rd-redesign .trending .profile-content li.tt ol {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}
body.rd-redesign .trending .profile-content li.tt ol li { margin-bottom: 6px; }
body.rd-redesign .trending .profile-content li.tt ol a {
  font-size: 13px;
  color: var(--rd-text-muted);
  text-decoration: none;
}
body.rd-redesign .trending .profile-content li.tt ol a:hover { color: var(--rd-blue); text-decoration: underline; }

/* ---------- "Read more" band (interior pages) ---------- */
body.rd-redesign section.trending.color3.contcenter {
  background: var(--rd-bg-alt);
  padding: 40px 0;
  text-align: center;
}
body.rd-redesign section.trending.color3.contcenter h3 {
  color: var(--rd-navy);
  font-size: 24px;
  font-weight: 800;
  margin: 6px 0 0;
}

/* ---------- FAQ accordion (interior pages) — keep .faq-item* classes, reskin only ---------- */
body.rd-redesign section.faqs {
  padding: 48px 0;
  max-width: var(--rd-max);
  margin: 0 auto;
}
body.rd-redesign .faq-items { padding: 0 20px; }
body.rd-redesign .faq-item {
  background: var(--rd-white);
  border: 1px solid var(--rd-border);
  border-radius: var(--rd-radius);
  margin-bottom: 14px;
  overflow: hidden;
}
body.rd-redesign .faq-item__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  cursor: pointer;
}
body.rd-redesign .faq-item__head-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--rd-blue-light);
  color: var(--rd-blue);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
body.rd-redesign .faq-item__head .w80 {
  font-weight: 700;
  color: var(--rd-navy);
  font-size: 15px;
}
body.rd-redesign .faq-item__content {
  padding: 0 22px 20px 64px;
  color: var(--rd-text-muted);
  font-size: 14px;
  line-height: 1.6;
}
