/* ==========================================================================
   DENTIST32 — COMPONENTS
   Geometry mirrors the 1512px Figma frames (1180px content rail).
   ========================================================================== */

/* ==========================================================================
   1. HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--white);
  box-shadow: var(--shadow-header);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  min-width: 120px;
}

.brand img {
  width: 119px;
  height: 43px;
  object-fit: contain;
  display: block;
}

.site-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-list a {
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text);
  white-space: nowrap;
}

.nav-list a:hover {
  color: var(--orange);
}

.nav-list a.active {
  font-weight: 700;
  color: var(--orange);
}

.header-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 9px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--text);
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   2. BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--r-sm);
  font-family: var(--font);
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  height: 50px;
  padding: 0 30px;
  font-size: 14px;
  line-height: 20px;
  color: var(--white);
  background: var(--orange-deep);
}

.btn-primary:hover {
  background: var(--orange-hover);
}

.btn-ghost {
  height: 50px;
  padding: 0 30px;
  font-size: 14px;
  line-height: 20px;
  color: var(--orange);
  background: transparent;
  border-color: var(--orange-deep);
}

.btn-ghost:hover {
  background: var(--orange-soft);
}

/* solid orange CTA — “Register as a Dentist”, “Find a Dentist” */
.btn-orange {
  padding: 11px 20px;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 21.75px;
  color: var(--white);
  background: var(--orange);
}

.btn-orange:hover {
  background: var(--orange-hover);
}

/* small outlined pill — “View all”, “Browse all articles” */
.btn-outline {
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 500;
  line-height: 19.5px;
  color: var(--text-muted);
  background: transparent;
  border-color: var(--border-muted);
}

.btn-outline:hover {
  color: var(--text);
  border-color: var(--text);
}

.btn-search {
  flex: none;
  height: 52px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  color: var(--white);
  background: var(--orange);
  border-radius: 8px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: none;
  transition: background 0.2s ease;
  margin: 0 0 0 14px;
  align-self: center;
}

.btn-search:hover {
  background: var(--orange-hover);
}

.btn-search svg {
  width: 17px;
  height: 17px;
  flex: none;
}

/* ==========================================================================
   3. SECTION HEADINGS
   ========================================================================== */
.eyebrow {
  font-size: 18px;
  font-weight: 900;
  line-height: 18.75px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--orange);
}

.eyebrow+.section-title,
.eyebrow+.section-title-lg {
  margin-top: 10px;
}

.section-title {
  font-size: 30px;
  font-weight: 700;
  line-height: 45px;
  letter-spacing: -0.3px;
  color: var(--text);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.section-head .btn-outline {
  margin-bottom: 7px;
}

.section-title-lg {
  font-size: 36px;
  font-weight: 800;
  line-height: 54px;
  color: var(--text);
}

.section-lede {
  max-width: 494px;
  margin-inline: auto;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  text-align: center;
}

/* ==========================================================================
   4. HERO + SEARCH
   ========================================================================== */
.hero {
  background: var(--surface);
  padding: 64px 0 120px;
  text-align: center;
}

.hero-eyebrow {
  font-size: 16px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 2.64px;
  text-transform: uppercase;
  color: var(--text);
}

.hero-title {
  max-width: 675px;
  margin: 20px auto 0;
  font-size: 64px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--orange-deep);
}

.search-bar {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1065px;
  height: 74px;
  min-height: 74px;
  margin: 50px auto 0;
  padding: 11px 12px 11px 24px;
  background: var(--white);
  border-radius: 16px;
  border: 2px solid #ff6a00;
  box-shadow: 0 10px 30px rgba(255, 106, 0, 0.12), 0 2px 10px rgba(0, 0, 0, 0.04);
  text-align: left;
  box-sizing: border-box;
  transition: all 0.25s ease;
}

.search-bar:hover,
.search-bar:focus-within {
  border-color: #ff6a00;
  box-shadow: 0 14px 38px rgba(255, 106, 0, 0.2), 0 0 0 3px rgba(255, 106, 0, 0.12);
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
  padding: 0 16px;
  min-width: 0;
}

.search-field:nth-of-type(1) {
  flex: 1.3 1 0;
  padding-left: 0;
}

.search-field:nth-of-type(2) {
  flex: 1.15 1 0;
}

.search-field:nth-of-type(3) {
  flex: 1.1 1 0;
}

.search-field label {
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.search-field input,
.search-field select {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  padding: 0;
}

.search-field input::placeholder {
  color: var(--placeholder);
}

.search-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='4' viewBox='0 0 8 4'%3E%3Cpath d='M0 0h8L4 4z' fill='%232d2d2d'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 24px;
  cursor: pointer;
}

.search-divider {
  flex: none;
  width: 1px;
  height: 48px;
  background: #edf2f7;
}

/* "OR" between the city and pin code fields */
.search-or {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin: 0 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
}

/* search field validation; the message hangs below the bar so it doesn't change its height */
.search-field.has-error label {
  color: #b91c1c;
}

.search-field.has-error input {
  color: #b91c1c;
}

.search-error {
  position: absolute;
  top: calc(100% + 18px);
  left: 16px;
  z-index: 5;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.search-field:nth-of-type(1) .search-error {
  left: 0;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin-top: 40px;
}

.stat {
  text-align: center;
}

.stat-value {
  font-size: 22px;
  font-weight: 700;
  line-height: 33px;
  color: var(--orange);
}

.stat-label {
  font-size: 12.5px;
  font-weight: 400;
  line-height: 18.75px;
  color: var(--text-ink);
}

/* ---- Value props card (overlaps the hero edge) ---- */
.value-props {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  max-width: 800px;
  margin: -52px auto 0;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-panel);
}

.value-prop {
  flex: 1;
  padding: 15px 30px 16px;
  min-width: 0;
}

.value-prop+.value-prop {
  border-left: 1px solid var(--border);
}

.value-prop h3 {
  font-size: 14px;
  font-weight: 700;
  line-height: 22.5px;
  color: var(--text);
}

.value-prop p {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 400;
  line-height: 19.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   5. DOCTOR CARDS
   ========================================================================== */
.section-doctors {
  padding: 80px 0 100px;
}

.doctor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.doctor-card {
  display: flex;
  gap: 16px;
  padding: 19px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.doctor-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(20, 43, 39, 0.1);
}

.doctor-photo {
  flex: none;
  width: 88px;
  height: 125px;
  object-fit: cover;
  background: var(--surface-photo);
  border-radius: 10px 4px 10px 10px;
}

.doctor-body {
  min-width: 0;
}

.doctor-name {
  font-size: 17px;
  font-weight: 700;
  line-height: 25.5px;
  color: var(--text);
}

.doctor-specialty {
  margin-top: 2px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  line-height: 19.5px;
  color: var(--blue);
}

.doctor-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  font-size: 12px;
  line-height: 19.5px;
  color: var(--text-muted);
}

.doctor-meta .with-icon {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.doctor-meta svg {
  width: 14px;
  height: 14px;
  flex: none;
}

.rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
}

.stars {
  display: inline-flex;
  gap: 2px;
}

.stars svg {
  width: 14px;
  height: 14px;
  fill: var(--orange);
}

.rating-score {
  font-size: 13px;
  font-weight: 600;
  line-height: 19.5px;
  color: var(--text);
}

.rating-count {
  font-size: 12px;
  line-height: 18px;
  color: var(--text-faint);
}

/* ==========================================================================
   6. TREATMENTS
   ========================================================================== */
.section-treatments {
  background: var(--surface);
  padding: 60px 0;
  text-align: center;
}

.treatment-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
}

.treatment-card {
  flex: 0 0 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 116px;
  background: var(--white);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.treatment-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(20, 43, 39, 0.1);
}

.treatment-card img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.treatment-card span {
  font-size: 13px;
  font-weight: 500;
  line-height: 19.5px;
  color: var(--text);
}

/* ==========================================================================
   7. BLUE BANNER (mascot strip)
   ========================================================================== */
.section-education {
  padding: 80px 0 0;
  text-align: center;
}

.mascot-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  height: 159px;
  margin-top: 30px;
  padding-inline: 24px;
  background: var(--surface);
  border: 4px solid var(--blue);
  border-radius: var(--r-md);
}

.mascot-banner img {
  height: 102px;
  width: auto;
  flex: none;
}

.mascot-banner p {
  font-size: 36px;
  font-weight: 400;
  line-height: 54px;
  color: var(--text);
}

/* ==========================================================================
   8. EDUCATION TABS
   ========================================================================== */
.edu-heading {
  margin-top: 30px;
}

.edu-heading .section-lede {
  margin-top: 30px;
}

.edu-panel {
  display: grid;
  grid-template-columns: 244px 1fr;
  gap: 40px;
  margin-top: 41px;
  padding: 20px;
  background: var(--surface);
  border-radius: var(--r-md);
  text-align: left;
}

.edu-tabs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.edu-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 50px;
  padding: 0 20px;
  background: var(--white);
  border: 0.2px solid var(--orange);
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
  color: var(--text);
  text-align: left;
  transition: background 0.18s ease, color 0.18s ease;
}

.edu-tab svg {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform 0.2s ease;
}

.edu-tab:hover {
  background: var(--orange-soft);
}

.edu-tab[aria-selected="true"] {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  font-weight: 700;
}

.edu-articles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-content: start;
}

.article-card {
  display: block;
}

.article-card img {
  width: 100%;
  /* height: 257px; */
  object-fit: fill;
  /* object-fit: cover; */
  border-radius: var(--r-md);
  background: var(--surface-photo);
}

.article-tag {
  display: block;
  margin-top: 10px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  line-height: 16.5px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--orange);
}

.article-title {
  margin-top: 10px;
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
  color: var(--text);
}

.article-card:hover .article-title {
  color: var(--orange);
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

/* ==========================================================================
   9. KIDS SECTION
   ========================================================================== */
.section-kids {
  padding: 80px 0 0;
  text-align: center;
}

.kids-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 66px;
  text-align: left;
}

.kids-grid .article-card img {
  height: 257px;
}

.kids-grid .article-title {
  margin-top: 20px;
}

/* ==========================================================================
   10. SPLIT CTA CARDS
   ========================================================================== */
.section-cta {
  padding: 80px 0;
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.cta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 36px 35px;
  border-radius: var(--r-2xl);
  text-align: center;
  color: var(--white);
}

.cta-card--blue {
  background: linear-gradient(158.71deg, #0878c9 0%, #64b9f6 100%);
}

.cta-card--orange {
  background: linear-gradient(158.71deg, #ff6a00 0%, #ffaa6e 100%);
}

.cta-card h2 {
  font-size: 26px;
  font-weight: 800;
  line-height: 34.5px;
  letter-spacing: -0.23px;
}

.cta-card p {
  max-width: 450px;
  margin-top: 10px;
  font-size: 14.5px;
  font-weight: 400;
  line-height: 21.75px;
  color: rgba(255, 255, 255, 0.88);
}

.cta-card .btn {
  width: 100%;
  max-width: 508px;
  margin-top: 19px;
  padding: 11px 20px;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 21.75px;
  background: var(--white);
}

.cta-card--blue .btn {
  color: var(--blue);
}

.cta-card--orange .btn {
  color: var(--orange);
}

.cta-card .btn:hover {
  opacity: 0.9;
}

/* ==========================================================================
   11. FOR DENTISTS
   ========================================================================== */
.section-dentists {
  background: var(--surface);
  padding: 60px 0 60px;
}

.dentists-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.dentists-head .section-title {
  margin-top: 10px;
}

.dentists-head p {
  max-width: 520px;
  margin-top: 8px;
  font-size: 15.5px;
  line-height: 23.25px;
  color: var(--text-muted);
}

.dentists-head .btn-orange {
  margin-bottom: 2px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 43px;
}

.step-card {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}

.step-card h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 22.5px;
  color: var(--text);
}

.step-card p {
  margin-top: 8px;
  font-size: 12px;
  line-height: 20.25px;
  color: var(--text-muted);
}

/* ==========================================================================
   12. TESTIMONIALS
   ========================================================================== */
.section-testimonials {
  padding: 100px 0 0;
  text-align: center;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
  text-align: left;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}

.testimonial-card blockquote {
  flex: 1;
  font-family: var(--font-serif);
  font-style: normal;
  font-size: 16px;
  font-weight: 400;
  line-height: 25.6px;
  color: var(--text);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.testimonial-author img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}

.testimonial-author strong {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 20.25px;
  color: var(--text);
}

.testimonial-author span {
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  color: var(--text-muted);
}

/* ==========================================================================
   13. NEWSLETTER + FOOTER
   ========================================================================== */
.newsletter-wrap {
  padding-top: 80px;
}

.newsletter {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 160px;
  padding: 38px 46px;
  background: linear-gradient(135deg, #fffaf5 0%, #fdf1e6 100%);
  border: 1px solid #f3e1d2;
  border-radius: var(--r-2xl);
  box-shadow: 0 16px 40px rgba(37, 49, 59, 0.08);
}

.newsletter h2 {
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: -0.2px;
  color: #25313b;
  margin: 0;
}

.newsletter p {
  max-width: 490px;
  margin-top: 6px;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 20px;
  color: #576574;
}

.newsletter-right {
  width: 490px;
  flex: none;
}

.newsletter-form {
  display: flex;
  align-items: center;
  height: 46px;
  background: #ffffff;
  border: 1px solid #e3e7ea;
  border-radius: 7px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  position: relative;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 16px;
  background: #ffffff;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 13px;
  line-height: 46px;
  color: #1e293b;
  border-radius: 7px 0 0 7px;
}

.newsletter-form input::placeholder {
  color: #8c9ba5;
  font-size: 13px;
  font-weight: 400;
  opacity: 1;
}

.newsletter-form button {
  flex: none;
  height: 100%;
  padding: 0 28px;
  background: var(--blue);
  border: 1px solid #ffffff;
  border-radius: 0 7px 7px 0;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 44px;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, opacity 0.15s ease;
}

.newsletter-form button:hover {
  background: #0066b2;
}

.newsletter-note {
  margin-top: 8px;
  font-family: inherit;
  font-size: 12px;
  line-height: 16px;
  color: #ffffff;
  text-align: right;
  opacity: 0.95;
  letter-spacing: -0.1px;
}

.site-footer {
  margin-top: -87px;
  padding-top: 148px;
  background: var(--footer-bg);
  color: rgba(255, 255, 255, 0.5);
}

.footer-grid {
  display: grid;
  grid-template-columns: 395px 285px 265px 1fr;
  padding-bottom: 50px;
}

.footer-brand img {
  width: 106px;
  height: 38px;
  object-fit: contain;
}

.footer-brand p {
  max-width: 260px;
  margin-top: 19px;
  font-size: 14px;
  line-height: 23.8px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  color: rgba(255, 255, 255, 0.85);
}

.footer-social a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.footer-social svg {
  width: 14px;
  height: 14px;
}

.footer-col h3 {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 18px;
}

.footer-col a {
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 21px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-family: var(--font-ui);
  font-size: 13px;
  line-height: 19.5px;
  color: rgba(255, 255, 255, 0.35);
}

/* ==========================================================================
   14. TOAST
   ========================================================================== */
.toast-notification {
  position: fixed;
  left: 50%;
  bottom: 32px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  background: var(--text);
  color: var(--white);
  border-radius: var(--r-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  font-size: 14px;
  font-weight: 600;
  transform: translate(-50%, 24px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.toast-notification.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.toast-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--orange);
  font-size: 12px;
}

/* ==========================================================================
   15. SCROLL REVEAL
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   16. RESPONSIVE
   ========================================================================== */
@media (max-width: 1280px) {
  .nav-list {
    gap: 28px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
  }
}

/* Nav + both header CTAs stop fitting on the same rail here */
@media (max-width: 1140px) {
  .nav-list {
    gap: 20px;
  }

  .nav-list a {
    font-size: 15px;
  }

  .header-actions .btn-ghost {
    padding: 19px 18px;
  }
}

@media (max-width: 1040px) {
  .header-actions .btn-ghost {
    display: none;
  }
}

@media (max-width: 1080px) {
  .hero-title {
    font-size: 52px;
  }

  .search-bar {
    flex-wrap: wrap;
    height: auto;
    padding: 16px;
    gap: 12px;
  }

  .search-field {
    flex: 1 1 220px !important;
    padding: 8px 0 !important;
  }

  .search-divider {
    display: none;
  }

  .btn-search {
    width: 100%;
  }

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

  .edu-panel {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .edu-tabs {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .edu-tab {
    flex: 1 1 200px;
  }

  .edu-articles {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

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

  .newsletter {
    flex-direction: column;
    align-items: stretch;
  }

  .newsletter-right {
    width: 100%;
  }

  .newsletter-note {
    text-align: left;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 70px;
  }

  .site-header {
    height: 70px;
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
  }

  .brand {
    margin-right: auto;
    flex: 0 0 auto;
  }

  .brand img {
    width: 104px;
    height: 38px;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    order: 2;
    margin-left: auto;
    flex: 0 0 auto;
  }

  .header-actions .btn-ghost {
    display: none;
  }

  .header-actions .btn-primary {
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 700;
    height: 38px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
  }

  .nav-toggle {
    display: inline-flex;
    order: 3;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: #f8fafc;
    color: var(--text);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    flex: 0 0 38px;
    transition: all 0.2s ease;
  }

  .nav-toggle:hover,
  .nav-toggle:active {
    background: #ffffff;
    border-color: var(--orange);
    color: var(--orange);
  }

  .nav-toggle svg {
    width: 20px;
    height: 20px;
  }

  .site-nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    display: none;
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  }

  .site-nav.show {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 16px;
  }

  .nav-list a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }

  .value-props {
    flex-direction: column;
    margin: 28px auto 0;
    max-width: 100%;
  }

  .value-prop {
    padding: 16px 20px;
  }

  .value-prop+.value-prop {
    border-left: none;
    border-top: 1px solid var(--border);
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .section-head>div:last-child {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .section-head .btn-outline {
    margin-bottom: 0;
  }

  .mascot-banner {
    height: auto;
    padding: 24px;
    flex-wrap: wrap;
  }

  .mascot-banner p {
    font-size: 26px;
    line-height: 38px;
  }

  .mascot-banner img {
    height: 76px;
  }

  .dentists-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-kids {
    padding-top: 90px;
  }

  .section-cta {
    padding-top: 70px;
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 20px;
  }

  .hero {
    padding: 48px 0 100px;
  }

  .hero-title {
    font-size: 38px;
  }

  .hero-eyebrow {
    font-size: 13px;
    letter-spacing: 2px;
  }

  .hero-stats {
    gap: 28px;
  }

  .section-title {
    font-size: 24px;
    line-height: 34px;
  }

  .section-title-lg {
    font-size: 28px;
    line-height: 40px;
  }

  .eyebrow {
    font-size: 14px;
  }

  .doctor-grid,
  .steps-grid,
  .testimonial-grid,
  .edu-articles,
  .kids-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .treatment-grid {
    justify-content: center;
    gap: 14px;
  }

  .treatment-card {
    flex: 0 0 calc(50% - 7px);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .section-doctors {
    padding: 56px 0 64px;
  }

  .section-education {
    padding-top: 56px;
  }

  .section-kids {
    padding-top: 64px;
  }

  .section-testimonials {
    padding-top: 64px;
  }
}

@media (max-width: 480px) {
  .treatment-card {
    flex: 0 0 100%;
  }

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

  .newsletter {
    padding: 28px 24px;
  }

  .cta-card {
    padding: 28px 20px;
  }
}

/* ==========================================================================
   17. SEARCH STRIP + BREADCRUMB  (listing / detail pages)
   ========================================================================== */
.search-strip {
  padding: 32px 0 0;
}

.search-card {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 96px;
  padding: 0 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
}

.search-card .search-field {
  padding: 0;
  gap: 6px;
}

.search-card .search-field:nth-of-type(1) {
  flex: 300 1 0;
}

.search-card .search-field:nth-of-type(2) {
  flex: 260 1 0;
}

.search-card .search-field:nth-of-type(3) {
  flex: 255 1 0;
}

.search-card label {
  font-size: 12px;
  font-weight: 600;
  line-height: 14px;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.field-control {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 19px;
}

.field-control>svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--orange);
}

.field-control input,
.field-control select {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  padding: 0;
}

.field-clear {
  flex: none;
  display: inline-flex;
  width: 14px;
  height: 14px;
  color: var(--text-muted);
}

.field-clear:hover {
  color: var(--text);
}

.search-card .search-divider {
  height: 40px;
}

.search-card .btn-search {
  flex: none;
  width: 172px;
  height: 48px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 24px 0 0;
  font-size: 14px;
  line-height: 18px;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--orange);
}

.breadcrumb svg {
  width: 12px;
  height: 12px;
  color: var(--text-faint);
}

.breadcrumb [aria-current] {
  font-weight: 700;
  color: var(--text);
}

/* ==========================================================================
   18. LISTING LAYOUT
   ========================================================================== */
.listing-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 34px;
  align-items: start;
  margin-top: 26px;
  padding-bottom: 62px;
}

.filter-panel {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
}

.filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.filter-head h2 {
  font-size: 18px;
  font-weight: 700;
  line-height: 25px;
  color: var(--text);
}

.link-action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
  color: var(--orange);
}

.link-action:hover {
  color: var(--orange-hover);
}

.link-action svg {
  width: 14px;
  height: 14px;
}

.filter-group {
  margin-top: 24px;
}

.filter-group>summary,
.filter-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  list-style: none;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text);
}

.filter-group>summary::-webkit-details-marker {
  display: none;
}

.filter-group-head svg {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.filter-group[open] .filter-group-head svg {
  transform: rotate(180deg);
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  line-height: 19px;
  color: var(--text);
  cursor: pointer;
}

.filter-option input {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1.5px solid var(--border-muted);
  border-radius: var(--r-xs);
  cursor: pointer;
  position: relative;
}

.filter-option input:checked {
  background: var(--orange);
  border-color: var(--orange);
}

.filter-option input:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.filter-option .count {
  color: var(--text-muted);
}

.filter-more {
  margin-top: 24px;
}

.filter-more svg {
  width: 10px;
  height: 10px;
}

.filter-divider {
  height: 1px;
  margin: 24px 0 0;
  background: var(--border);
}

.btn-clear-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 43px;
  border: 1px solid var(--orange);
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--orange);
  background: var(--white);
}

.btn-clear-filters:hover {
  background: var(--orange-soft);
}

.btn-clear-filters svg {
  width: 14px;
  height: 14px;
}

/* ---- results ---- */
.results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 38px;
}

.results-head h1 {
  font-size: 20px;
  font-weight: 500;
  line-height: 27px;
  color: var(--text);
}

.results-head h1 strong {
  font-weight: 800;
  color: var(--orange);
}

.sort-select {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--white);
  font-size: 13px;
  color: var(--text);
}

.sort-select select {
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font);
  font-size: 13px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.sort-select svg {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  pointer-events: none;
}

.result-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.result-card {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 23px 18px 23px 23px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.result-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(20, 43, 39, 0.1);
}

.result-photo {
  flex: none;
  width: 140px;
  height: 140px;
  border-radius: var(--r-md);
  object-fit: cover;
  background: var(--surface-photo);
}

.result-body {
  flex: 1;
  min-width: 0;
}

.result-name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  min-height: 30px;
}

.result-name {
  font-size: 20px;
  font-weight: 800;
  line-height: 30px;
  color: var(--text);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  background: #ffebd9;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
}

.badge svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.result-degrees {
  margin-top: 6px;
  font-size: 14px;
  line-height: 21px;
  color: var(--text-muted);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 5px;
}

.chip {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 14px;
  border-radius: var(--r-sm);
  background: #f0f5ff;
  font-size: 13px;
  font-weight: 500;
  color: #2959a6;
}

.result-location {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
  font-size: 13px;
  line-height: 21px;
  color: var(--text-muted);
}

.result-location svg {
  width: 14px;
  height: 14px;
  flex: none;
}

.result-reviews {
  margin-top: 4px;
  font-size: 13px;
  line-height: 20px;
  color: var(--orange);
}

.result-action {
  align-self: center;
  flex: none;
}

.btn-profile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 126px;
  height: 44px;
  border: 1px solid var(--orange);
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--orange);
  background: var(--white);
}

.btn-profile:hover {
  background: var(--orange);
  color: var(--white);
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  padding-top: 16px;
  margin-top: 20px;
}

.btn-load-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 48px;
  padding: 0 32px;
  border: 1px solid var(--orange);
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--orange);
  background: var(--white);
}

.btn-load-more:hover {
  background: var(--orange-soft);
}

.btn-load-more svg {
  width: 16px;
  height: 16px;
}

.newsletter-wrap.is-tight {
  padding-top: 0;
}

@media (max-width: 1080px) {
  .search-card {
    flex-wrap: wrap;
    height: auto;
    padding: 20px 24px;
    gap: 18px;
  }

  .search-card .search-field {
    flex: 1 1 220px !important;
  }

  .search-card .search-divider {
    display: none;
  }

  .search-card .btn-search {
    width: 100%;
  }

  .listing-layout {
    grid-template-columns: 240px 1fr;
    gap: 24px;
  }
}

@media (max-width: 900px) {
  .listing-layout {
    grid-template-columns: 1fr;
  }

  .result-card {
    flex-wrap: wrap;
  }

  .result-action {
    align-self: stretch;
    width: 100%;
  }

  .btn-profile {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .result-photo {
    width: 100%;
    height: 200px;
  }

  .results-head {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    gap: 12px;
  }
}

/* ==========================================================================
   19. DENTIST DETAIL — PROFILE HERO
   ========================================================================== */
.detail-breadcrumb {
  padding-top: 24px;
}

.detail-hero {
  display: grid;
  grid-template-columns: 805px 354px;
  gap: 21px;
  align-items: start;
  margin-top: 24px;
}

.profile-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--surface);
  border-radius: var(--r-lg);
}

.profile-photo {
  flex: none;
  width: 220px;
  height: 385px;
  object-fit: cover;
  border-radius: var(--r-md);
  background: var(--surface-photo);
}

.profile-body {
  flex: 1;
  min-width: 0;
}

.profile-name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 36px;
}

.profile-name {
  font-size: 26px;
  font-weight: 700;
  line-height: 36px;
  color: var(--text);
}

.badge--verified {
  background: #e5f0ff;
  color: #2563eb;
}

.badge--featured {
  background: #ffedd9;
  color: var(--orange-deep);
}

.profile-degrees {
  margin-top: 8px;
  font-size: 15px;
  line-height: 20px;
  color: var(--text-muted);
}

.profile-experience {
  margin-top: 26px;
  font-size: 14px;
  line-height: 19px;
  color: var(--text);
}

.profile-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  font-size: 14px;
  line-height: 19px;
  color: var(--text-muted);
}

.profile-rating .reviews {
  color: var(--orange);
}

.profile-location {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
  font-size: 13px;
  line-height: 18px;
  color: var(--text-muted);
}

.is-open {
  color: #16a34a;
  font-weight: 600;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 14px;
  border-radius: 999px;
  background: #e5f0ff;
  font-size: 13px;
  font-weight: 500;
  color: #2563eb;
}

.profile-bio {
  max-width: 539px;
  margin-top: 16px;
  font-size: 13px;
  line-height: 19px;
  color: var(--text-muted);
}

.profile-stats {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 102px;
  height: 68px;
  padding: 0 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}

.stat-box strong {
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
  color: var(--text);
}

.stat-box span {
  font-size: 12px;
  line-height: 16px;
  color: var(--text-muted);
}

/* ---- booking form ---- */
.book-card {
  padding: 20px;
  background: var(--surface);
  border-radius: var(--r-lg);
}

.book-card h2 {
  font-size: 17px;
  font-weight: 700;
  line-height: 23px;
  color: var(--text);
}

.book-card>p {
  margin-top: 12px;
  font-size: 13px;
  line-height: 17px;
  color: var(--text-muted);
}

.book-form {
  margin-top: 12px;
}

.field-row {
  display: flex;
  gap: 10px;
}

.book-form input,
.book-form select,
.book-form textarea {
  width: 100%;
  height: 37px;
  padding: 10px 14px;
  margin-top: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-family: var(--font);
  font-size: 13px;
  color: var(--text);
  outline: none;
}

.book-form textarea {
  height: 70px;
  resize: vertical;
}

.book-form input::placeholder,
.book-form textarea::placeholder {
  color: var(--text-muted);
}

.book-form input:focus,
.book-form select:focus,
.book-form textarea:focus {
  border-color: var(--orange);
}

.book-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2366737d' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

.btn-submit {
  height: 43px;
  margin-top: 12px;
  padding: 0 32px;
  border-radius: var(--r-sm);
  background: var(--orange);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}

.btn-submit:hover {
  background: var(--orange-hover);
}

/* ==========================================================================
   20. DETAIL TABS + PANEL
   ========================================================================== */
.tab-bar {
  display: flex;
  gap: 34px;
  overflow-x: auto;
  margin-top: 80px;
  height: 38px;
  scrollbar-width: none;
}

.tab-bar::-webkit-scrollbar {
  display: none;
}

.tab-bar a {
  display: inline-flex;
  align-items: flex-start;
  gap: 5px;
  flex: none;
  height: 26px;
  font-size: 15px;
  font-weight: 500;
  line-height: 16px;
  color: var(--text);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  padding-bottom: 8px;
}

.tab-bar a:hover {
  color: var(--orange);
}

.tab-bar a[aria-current] {
  color: var(--orange);
  font-weight: 700;
  border-bottom-color: var(--orange);
}

.tab-bar svg {
  width: 10px;
  height: 10px;
  color: var(--text-faint);
  flex: none;
}

.tab-panel {
  margin-top: 12px;
  padding: 27px 21px;
  background: var(--surface);
  border-radius: var(--r-lg);
}

/* ---- clinic details layout ---- */
.about-grid {
  display: grid;
  grid-template-columns: 703px 1px 400px;
  gap: 28px;
  align-items: start;
  padding: 0 0 20px;
}

.about-rule {
  align-self: stretch;
  background: var(--border);
}

.panel-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 25px;
  color: var(--text);
}

.about-text {
  margin-top: 26px;
  font-size: 14px;
  line-height: 26px;
  color: var(--text-muted);
}

.about-text p+p {
  margin-top: 18px;
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 26px;
}

.info-card {
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}

.info-card svg {
  width: 16px;
  height: 16px;
  color: var(--orange);
}

.info-card dt {
  margin-top: 6px;
  font-size: 12px;
  line-height: 15px;
  color: var(--text-muted);
}

.info-card dd {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  color: var(--text);
}

.spec-list {
  margin-top: 24px;
}

.spec-list > div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 12px;
  padding: 8px 0;
  font-size: 13px;
}

.spec-list dt {
  color: var(--text-muted);
}

.spec-list dd {
  margin: 0;
  font-weight: 600;
  color: var(--text);
}

/* ---- featured media card ---- */
.media-featured {
  display: grid;
  grid-template-columns: 552px 1fr;
  gap: 32px;
  padding: 15px;
  background: var(--white);
  border-radius: var(--r-md);
}

.media-thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--surface-photo);
}

.media-thumb img {
  width: 100%;
  height: 256px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.media-thumb:hover img {
  transform: scale(1.03);
}

.media-meta {
  padding: 25px 0;
  align-self: start;
}

.pill {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  background: #e5f0ff;
  font-size: 12px;
  font-weight: 600;
  color: #2563eb;
}

.pill--featured {
  background: #ffedd9;
  color: var(--orange);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-size: 11px;
}

.media-meta h3 {
  margin-top: 11px;
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
  color: var(--text);
}

.media-meta>p {
  max-width: 461px;
  margin-top: 14px;
  font-size: 13px;
  line-height: 19px;
  color: var(--text-muted);
}

.media-note {
  margin-top: 11px;
  font-size: 12px;
  line-height: 18px;
  color: var(--orange);
}

.btn-pill-orange {
  display: inline-flex;
  align-items: center;
  height: 33px;
  margin-top: 22px;
  padding: 0 20px;
  border-radius: var(--r-sm);
  background: var(--orange);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}

.btn-pill-orange:hover {
  background: var(--orange-hover);
}

/* ---- media / event card grid ---- */
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.media-card {
  display: block;
  padding: 10px 10px 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.media-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(20, 43, 39, 0.1);
}

.media-card img {
  width: 100%;
  height: 201px;
  object-fit: cover;
  border-radius: var(--r-sm);
  background: var(--surface-photo);
}

.media-card h3 {
  margin: 12px 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  line-height: 22px;
  color: var(--text);
}

.media-card p {
  margin: 5px 0 0 6px;
  font-size: 12px;
  line-height: 18px;
  color: var(--orange);
}

.media-card p.muted {
  color: var(--text-muted);
}

.panel-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 43px;
  padding: 0 32px;
  border: 1px solid var(--border-muted);
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  background: var(--white);
}

.btn-back:hover {
  border-color: var(--text);
}

/* ---- press ---- */
.press-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 21px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

.filter-pill:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.filter-pill[aria-pressed="true"] {
  background: #ffedd9;
  border-color: #ffedd9;
  color: var(--orange);
}

.filter-pill--select {
  margin-left: auto;
  gap: 8px;
}

.filter-pill--select svg {
  width: 10px;
  height: 10px;
}

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.coverage-card {
  display: flex;
  flex-direction: column;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.coverage-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(20, 43, 39, 0.1);
}

.coverage-card img {
  width: 100%;
  height: 177px;
  object-fit: cover;
  border-radius: var(--r-sm);
  background: var(--surface-photo);
}

.coverage-source {
  margin-top: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.coverage-card h3 {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  color: var(--text);
}

.coverage-card>p {
  flex: 1;
  margin-top: 8px;
  font-size: 12px;
  line-height: 18px;
  color: var(--text-muted);
}

.coverage-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-muted);
}

.coverage-foot a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  color: var(--orange);
}

.coverage-foot svg {
  width: 12px;
  height: 12px;
}

/* ---- testimonials panel ---- */
.rating-row {
  display: grid;
  grid-template-columns: 268px 438px;
  gap: 19px;
}

.rating-summary {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}

.rating-big {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rating-big strong {
  font-size: 38px;
  font-weight: 800;
  line-height: 44px;
  color: var(--text);
}

.rating-big .stars svg {
  width: 16px;
  height: 16px;
}

.rating-summary>p {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.rating-recommend {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: #16a34a;
}

.histogram-bars {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}

.histogram-bars div {
  display: grid;
  grid-template-columns: auto 14px 1fr 28px;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.histogram-bars svg {
  width: 12px;
  height: 12px;
  fill: var(--orange);
}

.bar-track {
  height: 9px;
  border-radius: 999px;
  background: #ececec;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--orange);
  transition: width 0.8s ease;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.review-card {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}

.review-card blockquote {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 25.6px;
  color: var(--text);
}

@media (max-width: 1200px) {
  .detail-hero {
    grid-template-columns: 1fr 354px;
  }

  .about-grid {
    grid-template-columns: 1fr 1px 340px;
  }

  .media-featured {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 980px) {
  .detail-hero {
    grid-template-columns: 1fr;
  }

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

  .about-rule {
    display: none;
  }

  .media-featured {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .media-meta {
    padding: 0 0 10px;
  }

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

  .rating-row {
    grid-template-columns: 1fr;
  }

  .tab-bar {
    margin-top: 48px;
  }
}

@media (max-width: 700px) {
  .profile-card {
    flex-direction: column;
  }

  .profile-photo {
    width: 100%;
    height: 300px;
  }

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

  .media-grid,
  .coverage-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .profile-stats {
    flex-wrap: wrap;
  }

  .tab-panel {
    padding: 20px 16px;
  }
}

/* ==========================================================================
   ENHANCED SEARCHABLE SELECT & HERO SEARCH AUTOCOMPLETE
   ========================================================================== */
.search-field-select {
  position: relative;
}

.custom-searchable-select {
  position: relative;
  width: 100%;
}

.select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  cursor: pointer;
  user-select: none;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  padding-right: 4px;
}

.select-trigger .select-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.select-trigger .select-arrow {
  width: 14px;
  height: 14px;
  flex: none;
  transition: transform 0.2s ease;
  color: var(--text-muted);
}

.custom-searchable-select.is-open .select-arrow {
  transform: rotate(180deg);
  color: var(--orange);
}

.select-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  left: -12px;
  width: 320px;
  max-width: 90vw;
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: var(--r-md);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(15, 23, 42, 0.06);
  z-index: 1000;
  overflow: hidden;
  animation: dropdownFadeIn 0.18s ease forwards;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.custom-searchable-select.is-open .select-dropdown {
  display: block;
}

.select-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.select-search-box svg {
  width: 16px;
  height: 16px;
  color: #94a3b8;
  flex: none;
}

.select-search-box input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 13px;
  color: var(--text);
  font-family: inherit;
}

.select-options-list {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  max-height: 240px;
  overflow-y: auto;
}

.select-options-list li {
  display: flex;
  flex-direction: column;
  padding: 9px 16px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  font-size: 13.5px;
  border-left: 3px solid transparent;
}

.select-options-list li:hover {
  background: #f8fafc;
  color: var(--orange);
}

.select-options-list li.is-selected {
  background: #fff7ed;
  border-left-color: var(--orange);
  font-weight: 700;
  color: var(--orange-deep);
}

.select-options-list li .opt-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.select-options-list li .opt-sub {
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
  font-weight: 400;
}

/* Autocomplete suggestion popups for Search inputs */
.search-field {
  position: relative;
}

.autocomplete-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  width: 100%;
  min-width: 260px;
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: var(--r-md);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.12);
  z-index: 999;
  overflow: hidden;
}

.autocomplete-dropdown.show {
  display: block;
  animation: dropdownFadeIn 0.18s ease forwards;
}

.autocomplete-list {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  max-height: 220px;
  overflow-y: auto;
}

.autocomplete-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  cursor: pointer;
  font-size: 13.5px;
  color: var(--text);
  transition: background 0.15s ease, color 0.15s ease;
}

.autocomplete-list li svg {
  width: 15px;
  height: 15px;
  flex: none;
  color: #94a3b8;
}

.autocomplete-list li:hover {
  background: #f8fafc;
  color: var(--orange);
}

.autocomplete-list li:hover svg {
  color: var(--orange);
}

.autocomplete-list li.autocomplete-sub {
  padding-left: 41px;
  font-size: 12.5px;
  color: #64748b;
}

/* Hero Stats Fix */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  margin-top: 48px;
  position: relative;
  z-index: 1;
}

.hero-stats .stat {
  min-width: 140px;
  text-align: center;
}

/* ==========================================================================
   DOCTOR CAROUSEL (CRAWSAL)
   ========================================================================== */
.doctor-carousel-wrapper {
  position: relative;
  margin-top: 30px;
}

.doctor-carousel-arrows {
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.carousel-arrow:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 106, 0, 0.25);
}

.carousel-arrow svg {
  width: 18px;
  height: 18px;
}

.doctor-carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 10px 4px 24px 4px;
  scrollbar-width: none;
}

.doctor-carousel-track::-webkit-scrollbar {
  display: none;
}

.doctor-carousel-track .doctor-card {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 320px;
  scroll-snap-align: start;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .doctor-carousel-track .doctor-card {
    flex: 0 0 calc((100% - 24px) / 2);
    min-width: 300px;
  }
}

@media (max-width: 640px) {
  .doctor-carousel-track .doctor-card {
    flex: 0 0 88%;
    min-width: 270px;
  }
}

/* ==========================================================================
   PUBLIC MOBILE BOTTOM NAVIGATION WITH BREADCRUMB
   ========================================================================== */
.mobile-public-bottom-bar {
  display: none;
}

@media (max-width: 860px) {
  body {
    padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* iPhone-style Floating Dock Navigation */
  .mobile-public-bottom-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    left: 0;
    right: 0;
    z-index: 9999;
    pointer-events: none;
    padding: 0 16px;
    gap: 8px;
    animation: dtSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  @keyframes dtSlideUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Floating Mini Breadcrumb Capsule */
  .mobile-crumbs-strip {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    padding: 4px 14px;
    font-size: 11px;
    line-height: 1.2;
    overflow-x: auto;
    white-space: nowrap;
    max-width: 90%;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .mobile-crumbs-strip::-webkit-scrollbar {
    display: none;
  }

  .mobile-crumbs-strip .crumbs-inner {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .mobile-crumbs-strip .crumb-icon {
    width: 12px;
    height: 12px;
    color: #ff6a00;
    flex-shrink: 0;
  }

  .mobile-crumbs-strip .crumbs-track {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #64748b;
  }

  .mobile-crumbs-strip a {
    color: #0878c9;
    font-weight: 600;
    text-decoration: none;
  }

  .mobile-crumbs-strip svg {
    width: 10px;
    height: 10px;
    color: #94a3b8;
    flex-shrink: 0;
  }

  .mobile-crumbs-strip [aria-current="page"] {
    color: #0f172a;
    font-weight: 700;
  }

  /* iPhone Glass Dock Container */
  .mobile-public-bottom-nav {
    pointer-events: auto;
    width: 100%;
    max-width: 420px;
    height: 64px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px) saturate(190%);
    -webkit-backdrop-filter: blur(24px) saturate(190%);
    border-radius: 36px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16), 0 3px 10px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 4px 8px;
    margin: 0 auto;
  }

  .m-pub-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #64748b;
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
    padding: 6px 2px;
    border-radius: 20px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    position: relative;
  }

  .m-pub-nav-item svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.1;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
  }

  .m-pub-nav-item:hover {
    color: #0878c9;
  }

  .m-pub-nav-item:active {
    transform: scale(0.92);
  }

  .m-pub-nav-item.is-active {
    color: #ff6a00;
    font-weight: 700;
    background: rgba(255, 106, 0, 0.08);
  }

  .m-pub-nav-item.is-active svg {
    color: #ff6a00;
    transform: scale(1.12);
  }

  .m-pub-nav-item.is-active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    width: 4px;
    height: 4px;
    background: #ff6a00;
    border-radius: 50%;
  }

  /* Responsive Search Bar */
  .search-bar {
    flex-direction: column !important;
    height: auto !important;
    padding: 18px 16px !important;
    border-radius: 16px !important;
    gap: 12px !important;
    box-shadow: 0 8px 24px rgba(255, 106, 0, 0.12) !important;
    border: 2px solid #ff6a00 !important;
  }

  .search-divider {
    display: none !important;
  }

  .search-field {
    width: 100% !important;
    flex: none !important;
    padding: 0 0 10px 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;
  }

  .search-field-select {
    border-bottom: none !important;
    padding-bottom: 0 !important;
  }

  .search-error {
    position: static;
    align-self: flex-start;
    margin-top: 4px;
    white-space: normal;
    box-shadow: none;
  }

  .search-or {
    align-self: center;
  }

  .search-bar .btn-search {
    width: 100% !important;
    height: 48px !important;
    border-radius: 10px !important;
    margin-top: 4px !important;
    justify-content: center !important;
    font-size: 14.5px !important;
  }

  .select-dropdown,
  .autocomplete-dropdown {
    width: 100% !important;
    left: 0 !important;
    max-width: 100% !important;
  }
}

/* Verified Avatar Badge - Blue Circle with White Checkmark */
.verified-avatar-badge {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 28px;
  height: 28px;
  background: #0077da;
  border: 2.5px solid #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0, 119, 218, 0.4);
  z-index: 3;
  pointer-events: none;
}

.verified-avatar-badge svg {
  width: 14px;
  height: 14px;
  stroke: #ffffff;
  display: block;
}