/* =========================================
   DR DEPENDABLE DENTISTRY
   Premium burgundy, gold & ivory design
========================================= */

:root {
  --burgundy: #310b18;
  --burgundy-dark: #210610;
  --burgundy-light: #521b2d;
  --gold: #c9a45c;
  --gold-light: #e5ce98;
  --ivory: #faf7f0;
  --cream: #f1eade;
  --white: #ffffff;
  --text: #30252a;
  --muted: #766a6d;
  --border: #e9e0d9;
  --shadow: 0 18px 50px rgba(49, 11, 24, 0.09);
  --radius: 18px;
  --font-body: "DM Sans", sans-serif;
  --font-heading: "Playfair Display", Georgia, serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body,
button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding: 100px 0;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1,
h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.7px;
}

h1 {
  font-size: clamp(2.7rem, 5vw, 4.65rem);
}

h2 {
  font-size: clamp(2.1rem, 3.6vw, 3.25rem);
}

h1 span,
h2 span {
  color: var(--gold);
}

p {
  overflow-wrap: break-word;
}

::selection {
  color: var(--white);
  background: var(--burgundy);
}


/* BUTTONS */

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 23px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-gold {
  color: var(--burgundy-dark);
  background: var(--gold);
  border-color: var(--gold);
}

.button-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: 0 8px 24px rgba(201, 164, 92, 0.2);
}

.button-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
  background: transparent;
}

.button-outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.button-maroon {
  color: var(--white);
  background: var(--burgundy);
  border-color: var(--burgundy);
}

.button-maroon:hover {
  background: var(--burgundy-light);
}

.button-whatsapp {
  color: var(--white);
  background: #167b55;
}

.button-whatsapp:hover {
  background: #116544;
}


/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  color: var(--white);
  background: var(--burgundy-dark);
  border-bottom: 1px solid rgba(201, 164, 92, 0.22);
}

.nav-wrapper {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-logo {
  width: 57px;
  height: 57px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--white);
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.brand-name strong {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 600;
}

.brand-name > span {
  color: var(--gold);
  font-size: 0.67rem;
  letter-spacing: 3px;
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.main-nav a,
.footer-nav a {
  font-size: 0.82rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.footer-nav a:hover {
  color: var(--gold-light);
}

.header-call {
  padding: 11px 16px;
  min-height: 44px;
  white-space: nowrap;
  font-size: 0.8rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  transition: transform 0.2s ease;
}


/* HERO */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(
      ellipse at 85% 45%,
      rgba(108, 40, 61, 0.48),
      transparent 48%
    ),
    linear-gradient(120deg, #250712, #3a0d1c 60%, #290814);
}

.hero-glow {
  position: absolute;
  z-index: -1;
  top: 10%;
  left: -180px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(201, 164, 92, 0.1);
  border-radius: 50%;
  box-shadow:
    0 0 0 45px rgba(201, 164, 92, 0.025),
    0 0 0 90px rgba(201, 164, 92, 0.02);
}

.hero-grid {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 55px;
  padding-top: 65px;
  padding-bottom: 65px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.4px;
  margin-bottom: 20px;
}

.eyebrow-dark {
  color: #99743a;
}

.hero h1 {
  max-width: 650px;
  margin-bottom: 25px;
}

.hero h1 span {
  display: block;
  color: var(--gold-light);
}

.hero-description {
  max-width: 510px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 28px;
}

.doctor-credential {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 28px;
}

.credential-icon {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  color: var(--gold);
  border: 1px solid rgba(201, 164, 92, 0.5);
  border-radius: 50%;
  font-size: 1.4rem;
}

.doctor-credential div {
  display: flex;
  flex-direction: column;
}

.doctor-credential strong {
  font-size: 0.93rem;
}

.doctor-credential div span {
  color: rgba(255,255,255,0.66);
  font-size: 0.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-location {
  margin-top: 25px;
  color: rgba(255,255,255,0.62);
  font-size: 0.78rem;
}

.hero-location span {
  color: var(--gold);
  margin-right: 7px;
}

.hero-visual {
  position: relative;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px 35px 15px;
}

.hero-image-frame {
  position: relative;
  z-index: 1;
  width: min(100%, 405px);
  height: 520px;
  overflow: hidden;
  border: 1px solid rgba(201, 164, 92, 0.65);
  border-radius: 200px 200px 10px 10px;
  background: #e6d8c5;
  box-shadow: 20px 20px 0 rgba(201, 164, 92, 0.09);
}

.hero-doctor {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-image-caption {
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 245px;
  padding: 17px 22px;
  color: var(--text);
  background: var(--ivory);
  box-shadow: var(--shadow);
}

.caption-mark {
  color: #a17c3d;
  font-size: 1.8rem;
}

.hero-image-caption div {
  display: flex;
  flex-direction: column;
}

.hero-image-caption strong {
  font-family: var(--font-heading);
  font-size: 0.98rem;
}

.hero-image-caption div span {
  color: var(--muted);
  font-size: 0.76rem;
}

.hero-decor {
  position: absolute;
  border: 1px solid rgba(201, 164, 92, 0.3);
  border-radius: 50%;
}

.hero-decor-one {
  top: 12px;
  right: -3px;
  width: 80px;
  height: 80px;
}

.hero-decor-two {
  bottom: 35px;
  right: -15px;
  width: 42px;
  height: 42px;
}


/* VALUE STRIP */

.value-strip {
  background: var(--ivory);
  border-bottom: 1px solid var(--border);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.value-item {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 20px 12px;
  border-right: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.5;
}

.value-item:last-child {
  border-right: none;
}

.value-icon {
  color: #99743a;
  font-size: 1.8rem;
}


/* SECTION HEADINGS */

.section-heading {
  max-width: 740px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading .eyebrow {
  margin-bottom: 15px;
}

.section-heading h2 {
  margin-bottom: 17px;
}

.section-heading > p:last-child {
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 0.95rem;
}

.section-heading-light {
  color: var(--white);
}

.section-heading-light > p:last-child {
  color: rgba(255,255,255,0.7);
}


/* TREATMENT CARDS */

.treatments-section {
  background: var(--white);
}

.treatment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 23px;
}

.treatment-card {
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.treatment-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201,164,92,0.65);
  box-shadow: var(--shadow);
}

.treatment-art {
  position: relative;
  display: grid;
  place-items: center;
  height: 130px;
  overflow: hidden;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: rgba(49, 11, 24, 0.75);
}

.treatment-art::before,
.treatment-art::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(49, 11, 24, 0.12);
  border-radius: 50%;
}

.treatment-art::before {
  width: 145px;
  height: 145px;
}

.treatment-art::after {
  width: 105px;
  height: 105px;
}

.art-smile {
  background: #f4e8d5;
}

.art-biomimetic {
  background: #e7e2d2;
}

.art-orthodontics {
  background: #e3e9dc;
}

.art-implants {
  background: #eee2dd;
}

.art-prosthodontics {
  background: #e9e2ed;
}

.art-endodontics {
  background: #f1e6d9;
}

.art-surgery {
  background: #e3e8ec;
}

.art-periodontal {
  background: #e0e9e2;
}

.art-preventive {
  background: #f0e6d2;
}

.treatment-card-content {
  padding: 24px 24px 27px;
}

.card-number {
  display: block;
  color: #9a7842;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.treatment-card h3 {
  font-family: var(--font-heading);
  color: var(--burgundy);
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.treatment-card p {
  min-height: 85px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.8;
  margin-bottom: 18px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--burgundy);
  font-size: 0.82rem;
  font-weight: 700;
}

.text-link span {
  color: #a17c3d;
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translateX(5px);
}

.featured-card {
  border-color: rgba(201,164,92,0.55);
}


/* ABOUT */

.about-section {
  overflow: hidden;
  background: var(--ivory);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 85px;
}

.about-visual {
  position: relative;
  padding: 0 25px 25px 0;
}

.about-image-placeholder {
  position: relative;
  z-index: 1;
  min-height: 410px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 35px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 42%, #fffdf8, transparent 48%),
    #eae0d2;
  border: 1px solid #d7c3a1;
}

.about-emblem {
  display: grid;
  place-items: center;
  width: 135px;
  height: 135px;
  margin-bottom: 25px;
  padding: 12px;
  background: var(--white);
  border: 1px solid rgba(201,164,92,0.5);
  border-radius: 50%;
}

.about-emblem img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.about-image-label {
  color: var(--burgundy);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 2.2px;
}

.about-image-placeholder > p {
  margin-top: 10px;
  color: var(--muted);
  font-family: var(--font-heading);
  font-size: 1.15rem;
}

.about-accent {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 75%;
  height: 75%;
  border: 2px solid var(--gold);
}

.about-content h2 {
  margin-bottom: 27px;
}

.about-content h2 span {
  color: var(--burgundy-light);
}

.about-content > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.about-content .button {
  margin-top: 10px;
}


/* WHY US */

.why-section {
  color: var(--white);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(102,37,58,0.5), transparent 60%),
    var(--burgundy-dark);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 25px;
}

.benefit {
  text-align: center;
  padding: 25px 13px;
  border-top: 1px solid rgba(201,164,92,0.55);
}

.benefit-icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin: 0 auto 22px;
  color: var(--gold-light);
  border: 1px solid rgba(201,164,92,0.55);
  border-radius: 50%;
  font-size: 1.75rem;
}

.benefit h3 {
  min-height: 48px;
  margin-bottom: 12px;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 500;
}

.benefit p {
  color: rgba(255,255,255,0.67);
  font-size: 0.8rem;
  line-height: 1.8;
}


/* DOCTOR PROFILE */

.doctor-section {
  background: var(--white);
}

.doctor-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: 85px;
}

.doctor-profile-image {
  position: relative;
  max-width: 430px;
  min-height: 430px;
  padding: 0 18px 18px 0;
}

.doctor-profile-image > img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 490px;
  object-fit: cover;
  object-position: center top;
  border-radius: 160px 160px 8px 8px;
  background: var(--cream);
}

.doctor-photo-caption {
  position: absolute;
  z-index: 2;
  left: -15px;
  bottom: 0;
  display: flex;
  flex-direction: column;
  padding: 17px 23px;
  background: var(--ivory);
  border-left: 3px solid var(--gold);
  box-shadow: var(--shadow);
}

.doctor-photo-caption span {
  color: #99743a;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.doctor-photo-caption strong {
  font-family: var(--font-heading);
  color: var(--burgundy);
  font-size: 1.05rem;
}

.doctor-profile-content h2 {
  margin-bottom: 10px;
}

.doctor-profile-content h2 span {
  color: var(--burgundy-light);
}

.doctor-role {
  color: #99743a;
  font-size: 0.9rem;
  font-weight: 700;
}

.gold-divider {
  width: 65px;
  height: 3px;
  margin: 23px 0;
  background: var(--gold);
}

.doctor-profile-content > p:not(.eyebrow, .doctor-role) {
  color: var(--muted);
  font-size: 0.91rem;
  margin-bottom: 18px;
}

.doctor-profile-content .button {
  margin-top: 10px;
}


/* BIOMIMETIC FEATURE */

.biomimetic-section {
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(ellipse at 80% 50%, rgba(111,45,65,0.45), transparent 55%),
    var(--burgundy);
}

.biomimetic-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 70px;
  padding-top: 85px;
  padding-bottom: 85px;
}

.biomimetic-content h2 {
  margin-bottom: 20px;
}

.biomimetic-content h2 span {
  display: block;
  color: var(--gold-light);
}

.biomimetic-content h3 {
  margin-bottom: 20px;
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 500;
}

.biomimetic-content > p:not(.eyebrow) {
  max-width: 590px;
  margin-bottom: 17px;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
}

.biomimetic-content .button {
  margin-top: 15px;
}

.biomimetic-visual {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tooth-symbol {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 180px;
  height: 180px;
  color: var(--gold-light);
  font-size: 5rem;
  border: 1px solid rgba(201,164,92,0.7);
  border-radius: 50%;
  background: rgba(255,255,255,0.025);
  box-shadow: 0 0 0 20px rgba(201,164,92,0.035);
}

.tooth-orbit {
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(201,164,92,0.2);
  border-radius: 50%;
}

.orbit-two {
  width: 365px;
  height: 365px;
  border-style: dashed;
  border-color: rgba(201,164,92,0.16);
}

.biomimetic-note {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 220px;
  padding: 13px 15px;
  color: var(--text);
  background: var(--ivory);
  box-shadow: var(--shadow);
}

.biomimetic-note span {
  color: #99743a;
  font-family: var(--font-heading);
  font-size: 1.2rem;
}

.biomimetic-note p {
  font-size: 0.74rem;
  line-height: 1.5;
}

.biomimetic-note:nth-of-type(4) {
  top: 30px;
  right: -5px;
}

.biomimetic-note:nth-of-type(5) {
  bottom: 25px;
  left: -5px;
}


/* APPOINTMENT CTA */

.appointment-section {
  padding: 90px 0;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, #fffaf0, transparent 70%),
    var(--ivory);
}

.appointment-content {
  max-width: 790px;
}

.appointment-content h2 {
  margin-bottom: 18px;
}

.appointment-content h2 span {
  color: var(--burgundy-light);
}

.appointment-content > p:not(.eyebrow) {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.93rem;
}

.appointment-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 28px;
}


/* CONTACT */

.contact-section {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 65px;
  align-items: stretch;
}

.contact-content h2 {
  margin-bottom: 33px;
}

.contact-content h2 span {
  color: var(--burgundy-light);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 25px;
}

.contact-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  color: #99743a;
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 1.25rem;
}

.contact-item h3 {
  margin-bottom: 5px;
  color: var(--burgundy);
  font-family: var(--font-heading);
  font-size: 1.08rem;
}

.contact-item p,
.contact-item a {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.9;
}

.contact-item a:hover {
  color: var(--burgundy);
}

.contact-item p + p {
  margin-top: 6px;
}

.map-container {
  min-height: 480px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--cream);
}

.map-container iframe {
  display: block;
  min-height: 480px;
}


/* FOOTER */

.site-footer {
  color: var(--white);
  background: var(--burgundy-dark);
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 45px;
  padding-bottom: 45px;
}

.footer-tagline {
  max-width: 210px;
  color: rgba(255,255,255,0.65);
  font-size: 0.82rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 19px;
}

.footer-bottom {
  min-height: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.55);
  font-size: 0.74rem;
}

.footer-bottom a:hover {
  color: var(--gold-light);
}


/* FLOATING WHATSAPP */

.floating-whatsapp {
  position: fixed;
  z-index: 900;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 12px 18px;
  color: var(--white);
  background: #167b55;
  border-radius: 40px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
  font-size: 0.82rem;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-4px);
}

.floating-whatsapp > span:first-child {
  font-size: 1.2rem;
}


/* ACCESSIBILITY */

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}


/* TABLETS */

@media (max-width: 1024px) {
  .container {
    width: min(100% - 40px, 900px);
  }

  .nav-wrapper {
    gap: 16px;
  }

  .main-nav {
    gap: 15px;
  }

  .brand-name strong {
    font-size: 0.98rem;
  }

  .brand-logo {
    width: 49px;
    height: 49px;
  }

  .hero-grid {
    gap: 30px;
    min-height: 590px;
  }

  .hero-image-frame {
    height: 460px;
  }

  .about-grid,
  .doctor-grid {
    gap: 45px;
  }

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

  .benefits-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 20px;
  }

  .biomimetic-grid {
    gap: 30px;
  }

  .contact-grid {
    gap: 35px;
  }

  .footer-main {
    flex-wrap: wrap;
  }
}


/* MOBILE NAVIGATION AND LAYOUT */

@media (max-width: 760px) {
  html {
    scroll-padding-top: 75px;
  }

  .container {
    width: calc(100% - 36px);
  }

  .section {
    padding: 72px 0;
  }

  .nav-wrapper {
    min-height: 73px;
    position: relative;
  }

  .brand {
    gap: 9px;
  }

  .brand-logo {
    width: 43px;
    height: 43px;
  }

  .brand-name strong {
    font-size: 0.94rem;
  }

  .brand-name > span {
    font-size: 0.59rem;
    letter-spacing: 2.5px;
  }

  .header-call {
    display: none;
  }

  .menu-toggle {
    display: block;
    flex-shrink: 0;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: -18px;
    right: -18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 18px 18px;
    background: var(--burgundy-dark);
    border-top: 1px solid rgba(201,164,92,0.2);
    box-shadow: 0 18px 25px rgba(0,0,0,0.15);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 8px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-top: 58px;
    padding-bottom: 60px;
  }

  .hero-content {
    text-align: center;
  }

  .hero .eyebrow {
    font-size: 0.65rem;
    letter-spacing: 1.7px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 10vw, 3.65rem);
    margin-bottom: 20px;
  }

  .hero-description {
    margin-inline: auto;
    font-size: 0.91rem;
  }

  .doctor-credential {
    justify-content: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-location {
    font-size: 0.74rem;
  }

  .hero-visual {
    width: 100%;
    padding: 0 12px 30px;
  }

  .hero-image-frame {
    width: min(100%, 350px);
    height: 430px;
  }

  .hero-image-caption {
    left: 0;
    min-width: 220px;
    padding: 13px 16px;
  }

  .hero-decor-one {
    right: 0;
  }

  .hero-decor-two {
    right: 0;
  }

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

  .value-item {
    min-height: 95px;
    justify-content: flex-start;
    padding: 18px 12px;
    font-size: 0.76rem;
    border-bottom: 1px solid var(--border);
  }

  .value-item:nth-child(2) {
    border-right: none;
  }

  .value-item:nth-child(3),
  .value-item:nth-child(4) {
    border-bottom: none;
  }

  .value-icon {
    font-size: 1.55rem;
  }

  .section-heading {
    margin-bottom: 35px;
  }

  .section-heading h2,
  .about-content h2,
  .doctor-profile-content h2,
  .contact-content h2 {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }

  .section-heading > p:last-child {
    font-size: 0.87rem;
  }

  .treatment-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .treatment-art {
    height: 110px;
  }

  .treatment-card-content {
    padding: 21px;
  }

  .treatment-card p {
    min-height: 0;
  }

  .about-grid,
  .doctor-grid,
  .biomimetic-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .about-visual {
    max-width: 480px;
    width: 100%;
    margin-inline: auto;
  }

  .about-image-placeholder {
    min-height: 320px;
  }

  .about-content {
    text-align: left;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
  }

  .benefit {
    padding: 22px 9px;
  }

  .benefit:last-child {
    grid-column: 1 / -1;
  }

  .benefit-icon {
    width: 55px;
    height: 55px;
    margin-bottom: 17px;
  }

  .benefit h3 {
    font-size: 1rem;
  }

  .benefit p {
    font-size: 0.76rem;
  }

  .doctor-grid {
    gap: 42px;
  }

  .doctor-profile-image {
    width: min(100%, 400px);
    margin-inline: auto;
  }

  .doctor-profile-image > img {
    height: 460px;
  }

  .doctor-profile-content {
    text-align: left;
  }

  .biomimetic-grid {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .biomimetic-content h2 {
    font-size: clamp(2.1rem, 8vw, 3rem);
  }

  .biomimetic-content .button {
    width: 100%;
  }

  .biomimetic-visual {
    min-height: 340px;
  }

  .tooth-symbol {
    width: 145px;
    height: 145px;
  }

  .tooth-orbit {
    width: 245px;
    height: 245px;
  }

  .orbit-two {
    width: 295px;
    height: 295px;
  }

  .biomimetic-note {
    max-width: 185px;
    padding: 10px;
  }

  .biomimetic-note:nth-of-type(4) {
    right: 0;
    top: 12px;
  }

  .biomimetic-note:nth-of-type(5) {
    left: 0;
    bottom: 12px;
  }

  .appointment-section {
    padding: 72px 0;
  }

  .appointment-content h2 {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .appointment-actions {
    flex-direction: column;
  }

  .appointment-actions .button {
    width: 100%;
  }

  .contact-grid {
    gap: 35px;
  }

  .map-container,
  .map-container iframe {
    min-height: 350px;
  }

  .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding-top: 38px;
    padding-bottom: 30px;
  }

  .footer-tagline {
    max-width: 100%;
  }

  .footer-nav {
    gap: 18px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .floating-whatsapp {
    right: 13px;
    bottom: 13px;
    min-height: 47px;
    padding: 10px 15px;
    font-size: 0.77rem;
  }
}


/* SMALL PHONES */

@media (max-width: 380px) {
  .container {
    width: calc(100% - 28px);
  }

  .brand-name strong {
    font-size: 0.83rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-image-frame {
    height: 380px;
  }

  .value-item {
    gap: 8px;
    font-size: 0.7rem;
  }

  .benefits-grid {
    gap: 10px;
  }

  .biomimetic-note {
    max-width: 165px;
  }
}


/* REDUCED MOTION ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   FINAL DESIGN SYSTEM — DR DEPENDABLE DENTISTRY
   Premium editorial styling and responsive refinements
========================================================= */

:root {
  --burgundy: #401225;
  --burgundy-dark: #260914;
  --burgundy-light: #61263b;
  --gold: #d4b16c;
  --gold-light: #f0dba8;
  --ivory: #fbf8f1;
  --cream: #f2eadf;
  --white: #ffffff;
  --text: #30262a;
  --muted: #62575b;
  --border: #e7ddd2;
  --shadow: 0 18px 50px rgba(38, 9, 20, 0.10);
  --radius: 16px;
}

body {
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
  background: var(--white);
}

h1, h2, h3 { text-wrap: balance; }
h1, h2 { letter-spacing: -0.035em; }
h1 { line-height: 1.08; }
h2 { line-height: 1.16; }
p { color: inherit; }

.section-heading h2,
.about-content h2,
.doctor-profile-content h2,
.appointment-content h2,
.contact-content h2 {
  color: var(--burgundy);
}

.section-heading h2 span,
.about-content h2 span,
.doctor-profile-content h2 span,
.appointment-content h2 span,
.contact-content h2 span {
  color: var(--burgundy-light);
}

.section-heading > p:last-child,
.about-content > p:not(.eyebrow),
.doctor-profile-content > p:not(.eyebrow, .doctor-role),
.appointment-content > p:not(.eyebrow),
.contact-item p,
.contact-item a {
  color: var(--muted);
}

.eyebrow-dark { color: #805c2c; }

/* Header and navigation */
.site-header { z-index: 1000; }
.nav-wrapper { position: relative; }
.brand { min-width: 0; }
.brand-name strong { color: var(--ivory); }
.main-nav a { color: var(--ivory); }

.main-nav a:focus-visible,
.footer-nav a:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 5px;
  border-radius: 2px;
}

.menu-toggle {
  position: relative;
  z-index: 1002;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  color: var(--ivory);
  border: 1px solid rgba(240, 219, 168, 0.65);
  background: var(--burgundy-dark);
  box-shadow: 0 3px 10px rgba(0,0,0,0.14);
  appearance: none;
  -webkit-appearance: none;
}

.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 0;
  flex: 0 0 2px;
  border-radius: 2px;
  background: #fffaf0;
  opacity: 1;
  transform-origin: center;
}

.menu-toggle:hover {
  border-color: var(--gold-light);
  background: #3a1020;
}

.menu-toggle:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 3px;
}

/* Editorial hero */
.hero {
  color: var(--ivory);
  background:
    radial-gradient(ellipse at 84% 42%, rgba(108, 40, 61, 0.48), transparent 48%),
    linear-gradient(120deg, #250712, #3a0d1c 60%, #290814);
}

.hero h1 {
  color: var(--ivory);
  max-width: 680px;
  font-size: clamp(2.8rem, 4.15vw, 4.35rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.hero h1 span { color: var(--gold-light); }
.hero .eyebrow { color: var(--gold-light); }
.hero-description {
  color: rgba(255, 250, 240, 0.86);
  font-size: 1rem;
  max-width: 540px;
}
.hero-location,
.doctor-credential div span {
  color: rgba(255, 250, 240, 0.78);
}

.hero-grid {
  grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.94fr);
  gap: clamp(32px, 4vw, 64px);
}
.hero-content, .hero-visual { min-width: 0; }

.hero-image-frame {
  width: min(100%, 420px);
  height: clamp(410px, 43vw, 535px);
  border: 1px solid rgba(229, 206, 152, 0.8);
  border-radius: 28px 100px 28px 28px;
  background: #f5eee3;
  box-shadow:
    12px 12px 0 rgba(201, 164, 92, 0.13),
    24px 24px 0 rgba(201, 164, 92, 0.045);
}
.hero-image-frame::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 12px;
  border: 1px solid rgba(201, 164, 92, 0.45);
  border-radius: 19px 78px 18px 18px;
  pointer-events: none;
}
.hero-doctor {
  object-position: center 12%;
}
.hero-image-caption {
  left: -2px;
  width: min(310px, calc(100% - 12px));
  min-width: 0;
  padding: 17px 20px;
  color: var(--burgundy);
  background: var(--ivory);
  border: 1px solid rgba(201, 164, 92, 0.75);
  border-radius: 4px 24px 4px 24px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}
.hero-image-caption strong { color: var(--burgundy); }
.hero-image-caption div span { color: #66585d; }
.hero-decor-one { top: 0; right: 0; }
.hero-decor-two { right: 2px; bottom: 42px; }

/* Readable light sections and balanced treatment cards */
.value-strip,
.treatments-section,
.about-section,
.doctor-section,
.appointment-section,
.contact-section {
  color: var(--text);
}
.value-item { color: #41353a; }
.treatment-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.treatment-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.treatment-card h3 {
  color: var(--burgundy);
  line-height: 1.25;
}
.treatment-card p {
  flex: 1;
  min-height: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
}
.card-number { color: #805c2c; }
.text-link { color: var(--burgundy); margin-top: auto; }
.text-link span { color: #805c2c; }

.why-section,
.biomimetic-section { color: var(--ivory); }
.why-section h2,
.biomimetic-content h2 { color: var(--ivory); }
.why-section h2 span,
.biomimetic-content h2 span { color: var(--gold-light); }
.why-section .section-heading > p:last-child,
.why-section .benefit p,
.biomimetic-content > p:not(.eyebrow) {
  color: rgba(255, 250, 240, 0.82);
}
.benefit h3 { color: var(--ivory); }

.button-gold {
  color: #29100e;
  background: var(--gold);
  border-color: var(--gold);
}
.button-outline {
  color: var(--ivory);
  border-color: rgba(255, 250, 240, 0.65);
}
.button-outline:hover {
  color: var(--gold-light);
  border-color: var(--gold-light);
}
.button-whatsapp {
  color: #fff;
  background: #176b4b;
  border-color: #176b4b;
}

/* Dedicated doctor profile: a calm, editorial feature card */
.doctor-section { background: var(--ivory); }
.doctor-grid {
  gap: clamp(38px, 6vw, 82px);
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px 34px 8px 34px;
  box-shadow: 0 22px 60px rgba(38, 9, 20, 0.07);
}
.doctor-profile-image {
  width: 100%;
  max-width: 430px;
  min-height: 0;
  padding: 0 18px 18px 0;
}
.doctor-profile-image > img {
  height: 490px;
  border-radius: 8px 100px 8px 8px;
  object-position: center 10%;
  background: var(--cream);
}
.doctor-profile-image::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 18px 0 0 18px;
  border: 1px solid var(--gold);
  border-radius: 8px 100px 8px 8px;
  pointer-events: none;
}
.doctor-photo-caption {
  left: -8px;
  bottom: 0;
  border-left: 3px solid var(--gold);
}
.doctor-profile-content h2 { line-height: 1.15; }
.doctor-profile-content h2 span { color: var(--burgundy-light); }
.doctor-role { color: #805c2c; }
.gold-divider { background: var(--gold); }

.contact-item h3 { color: var(--burgundy); }
.contact-item p, .contact-item a { overflow-wrap: anywhere; }
.map-container iframe { width: 100%; border: 0; }
.floating-whatsapp {
  z-index: 950;
  color: #fff;
  background: #176b4b;
  box-shadow: 0 8px 24px rgba(20, 32, 25, 0.22);
}

/* Tablet and compact laptop */
@media (max-width: 1100px) and (min-width: 761px) {
  .container { width: calc(100% - 48px); }
  .nav-wrapper { gap: 18px; }
  .main-nav { gap: 14px; }
  .main-nav a { font-size: 0.78rem; }
  .header-call { padding-inline: 12px; font-size: 0.76rem; }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
    gap: 30px;
  }
  .hero h1 { font-size: clamp(2.55rem, 4.2vw, 3.5rem); }
  .hero-image-frame { height: clamp(390px, 43vw, 470px); }
  .about-grid, .doctor-grid { gap: 36px; }
  .doctor-grid { padding: 26px; }
  .benefits-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Mobile layout and dropdown navigation */
@media (max-width: 760px) {
  .nav-wrapper {
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .brand { flex: 1 1 auto; min-width: 0; gap: 8px; }
  .brand-logo { width: 42px; height: 42px; }
  .brand-name strong { font-size: clamp(0.82rem, 3.6vw, 0.98rem); white-space: nowrap; }
  .brand-name > span { font-size: 0.56rem; letter-spacing: 2px; }
  .header-call { display: none; }
  .menu-toggle {
    display: flex !important;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin-left: auto;
  }
  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: -18px;
    right: -18px;
    z-index: 1001;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 18px 16px;
    color: var(--ivory);
    background: var(--burgundy-dark);
    border-top: 1px solid rgba(240, 219, 168, 0.35);
    box-shadow: 0 18px 30px rgba(20, 5, 11, 0.28);
  }
  .main-nav.is-open { display: flex !important; }
  .main-nav a {
    display: block;
    width: 100%;
    padding: 13px 8px;
    color: #fffaf0;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 250, 240, 0.12);
  }
  .main-nav a:last-child { border-bottom: 0; }
  .main-nav a:hover, .main-nav a:focus-visible {
    color: var(--gold-light);
    background: rgba(255,255,255,0.04);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    min-height: 0;
    padding-top: 48px;
    padding-bottom: 56px;
  }
  .hero-content { text-align: center; }
  .hero h1 {
    max-width: 620px;
    margin-inline: auto;
    font-size: clamp(2.35rem, 8.8vw, 3.45rem);
    line-height: 1.1;
    letter-spacing: -0.045em;
  }
  .hero-description {
    max-width: 540px;
    margin-inline: auto;
    font-size: 0.95rem;
    line-height: 1.8;
  }
  .doctor-credential, .hero-actions { justify-content: center; }
  .hero-location { max-width: 420px; margin-inline: auto; }
  .hero-visual {
    width: 100%;
    max-width: 440px;
    margin-inline: auto;
    padding: 8px 12px 35px;
  }
  .hero-image-frame {
    width: min(100%, 360px);
    height: clamp(360px, 105vw, 455px);
    border-radius: 22px 72px 22px 22px;
  }
  .hero-image-frame::before {
    inset: 9px;
    border-radius: 15px 53px 15px 15px;
  }
  .hero-image-caption {
    left: 0;
    width: min(300px, calc(100% - 8px));
    padding: 13px 15px;
  }

  .section { padding: 72px 0; }
  .section-heading { margin-bottom: 34px; }
  .section-heading h2,
  .about-content h2,
  .doctor-profile-content h2,
  .contact-content h2 {
    font-size: clamp(2rem, 7.8vw, 2.75rem);
  }
  .treatment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .treatment-card-content { padding: 20px; }
  .treatment-card h3 { font-size: 1.13rem; }
  .treatment-card p { font-size: 0.85rem; }

  .about-grid, .doctor-grid, .biomimetic-grid, .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }
  .about-visual { width: min(100%, 460px); margin-inline: auto; }
  .about-image-placeholder { min-height: 300px; }
  .benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .benefit:last-child { grid-column: 1 / -1; }

  .doctor-grid { padding: 22px; gap: 32px; }
  .doctor-profile-image { width: min(100%, 390px); margin-inline: auto; }
  .doctor-profile-image > img { height: clamp(380px, 110vw, 460px); }

  .biomimetic-grid { padding-top: 70px; padding-bottom: 70px; }
  .biomimetic-visual { min-height: 320px; }
  .appointment-actions { gap: 12px; }
  .map-container, .map-container iframe { min-height: 350px; }
  .floating-whatsapp {
    right: 12px;
    bottom: 12px;
    min-height: 46px;
    padding: 10px 14px;
    font-size: 0.76rem;
  }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 32px); }
  .hero .eyebrow { font-size: 0.62rem; letter-spacing: 1.4px; }
  .hero h1 { font-size: clamp(2.15rem, 9.5vw, 2.8rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .treatment-grid { grid-template-columns: minmax(0, 1fr); }
  .treatment-card-content { padding: 22px; }
  .treatment-art { height: 100px; }
  .value-item { font-size: 0.73rem; gap: 9px; padding-inline: 10px; }
  .benefits-grid { gap: 10px; }
  .benefit { padding: 20px 8px; }
  .biomimetic-note { max-width: 160px; font-size: 0.9rem; }
  .appointment-actions { flex-direction: column; }
  .appointment-actions .button { width: 100%; }
  .footer-nav { gap: 14px; }
  .floating-whatsapp { right: 10px; bottom: 10px; }
  .doctor-grid { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* FINAL REFINEMENT: more distinctive hero + doctor profile */
.hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: clamp(38px, 5vw, 78px);
  min-height: 690px;
  padding-top: 76px;
  padding-bottom: 76px;
}
.hero-content { max-width: 680px; }
.hero h1 {
  max-width: 700px;
  font-size: clamp(3.25rem, 4.45vw, 5.15rem);
  line-height: 1.02;
  letter-spacing: -.055em;
}
.hero-description { max-width: 490px; font-size: 1.02rem; }
.hero-visual { padding: 0 12px 46px 24px; }
.hero-image-frame {
  width: min(100%, 440px);
  height: 555px;
  border-radius: 34px 150px 14px 14px;
  box-shadow: 15px 16px 0 rgba(201, 164, 92, .13);
}
.hero-image-frame::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 10px;
  border: 1px solid rgba(201, 164, 92, .48);
  border-radius: 27px 140px 9px 9px;
  pointer-events: none;
}
.hero-doctor { object-position: center 12%; }
.hero-image-caption {
  left: -8px;
  bottom: 0;
  min-width: 285px;
  padding: 20px 24px;
  border: 1px solid rgba(201, 164, 92, .65);
  border-radius: 0 26px 0 0;
}
.hero-decor-one { right: -5px; top: 2%; width: 92px; height: 92px; }
.hero-decor-two { right: 0; bottom: 2%; width: 52px; height: 52px; }

/* Treatment labels should not resemble template numbering */
.treatment-card .card-number { display: none !important; }

/* Doctor profile: editorial, clear, and easier to scan */
.doctor-section { padding-top: clamp(76px, 8vw, 118px); padding-bottom: clamp(76px, 8vw, 118px); }
.doctor-grid {
  grid-template-columns: minmax(300px, .82fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 104px);
  padding: 0;
}
.doctor-profile-image { max-width: 450px; min-height: 500px; padding: 0 18px 18px 0; }
.doctor-profile-image > img {
  height: 530px;
  border-radius: 14px 115px 14px 14px;
  object-position: center 10%;
}
.doctor-photo-caption {
  left: -18px;
  max-width: calc(100% - 12px);
  padding: 18px 24px;
  border-radius: 0 20px 0 0;
}
.doctor-profile-content { max-width: 650px; }
.doctor-profile-content h2 {
  max-width: 620px;
  margin: 0 0 12px;
  font-size: clamp(2.55rem, 4vw, 4rem);
  line-height: 1.08;
  letter-spacing: -.04em;
}
.doctor-profile-content h2 span { display: block; }
.doctor-role { margin-bottom: 0; font-size: 1rem; }
.role-separator { color: var(--gold); padding: 0 5px; }
.doctor-profile-content .gold-divider { margin: 24px 0 26px; }
.doctor-profile-content .doctor-intro {
  color: #65565b;
  font-size: 1.02rem;
  line-height: 1.85;
  max-width: 610px;
  margin-bottom: 28px;
}
.doctor-care-heading {
  margin: 0 0 16px;
  color: var(--burgundy);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
}
.doctor-care-list {
  list-style: none;
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 0 0 30px;
}
.doctor-care-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #65565b;
  line-height: 1.6;
  font-size: .95rem;
}
.doctor-care-list li span {
  display: inline-grid;
  place-items: center;
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
  margin-top: 1px;
  border-radius: 50%;
  color: #68451c;
  background: #f5ead4;
  font-size: .8rem;
  font-weight: 700;
}
.doctor-appointment-button { margin-top: 0 !important; }

@media (max-width: 1024px) {
  .hero-grid { gap: 34px; min-height: 610px; }
  .hero h1 { font-size: clamp(2.8rem, 5.2vw, 4rem); }
  .hero-image-frame { height: 490px; }
  .doctor-grid { gap: 42px; }
}
@media (max-width: 760px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    padding-top: 54px;
    padding-bottom: 62px;
  }
  .hero-content { text-align: left; }
  .hero h1 { font-size: clamp(2.7rem, 10vw, 4rem); margin-left: 0; }
  .hero-description { margin-left: 0; }
  .doctor-credential, .hero-actions { justify-content: flex-start; }
  .hero-location { margin-left: 0; }
  .hero-visual { max-width: 470px; padding: 0 10px 35px 16px; }
  .hero-image-frame { height: clamp(390px, 112vw, 500px); border-radius: 26px 100px 12px 12px; }
  .hero-image-frame::before { border-radius: 19px 90px 7px 7px; }
  .hero-image-caption { left: 0; min-width: 0; width: min(300px, 94%); padding: 15px 17px; }
  .doctor-grid { grid-template-columns: minmax(0, 1fr); gap: 42px; }
  .doctor-profile-image { width: min(100%, 420px); min-height: 0; margin: 0 auto; }
  .doctor-profile-image > img { height: clamp(400px, 115vw, 500px); }
  .doctor-profile-content h2 { font-size: clamp(2.4rem, 8.5vw, 3.4rem); }
}
@media (max-width: 480px) {
  .hero-content { text-align: left; }
  .hero h1 { font-size: clamp(2.45rem, 10.3vw, 3.2rem); }
  .hero-actions { align-items: stretch; }
  .hero-image-caption strong { font-size: .92rem; }
  .doctor-section { padding-top: 64px; padding-bottom: 64px; }
  .doctor-profile-image { padding-right: 10px; padding-bottom: 14px; }
  .doctor-photo-caption { left: -6px; padding: 14px 16px; }
  .doctor-care-list { gap: 12px; }
}


/* VISUAL DIRECTION: premium editorial hero with clinic photography */
.hero {
  overflow: hidden;
  position: relative;
  background: radial-gradient(ellipse at 72% 35%, rgba(105, 31, 52, .42), transparent 42%), #310b18;
}
.hero-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, .98fr);
  gap: clamp(34px, 4vw, 64px);
  min-height: 570px;
  padding-top: 58px;
  padding-bottom: 58px;
  align-items: center;
}
.hero-content { position: relative; z-index: 3; max-width: 700px; }
.hero h1 {
  max-width: 740px;
  font-size: clamp(3.15rem, 4.6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -.052em;
}
.hero-description { max-width: 560px; font-size: 1.04rem; line-height: 1.75; }
.hero-visual {
  position: relative;
  min-width: 0;
  width: 100%;
  padding: 0 0 28px 0;
  isolation: isolate;
}
.hero-image-frame {
  position: relative;
  width: 100%;
  max-width: none;
  height: clamp(390px, 39vw, 500px);
  overflow: hidden;
  border: 1px solid rgba(219, 181, 107, .8);
  border-radius: 46% 12px 12px 46% / 52% 12px 12px 52%;
  background: #5a3026;
  box-shadow: 16px 18px 0 rgba(201, 164, 92, .12);
}
.hero-image-frame::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 10px;
  border: 1px solid rgba(246, 223, 174, .46);
  border-radius: inherit;
  pointer-events: none;
}
.hero-clinic-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  filter: saturate(.88) contrast(1.02);
}
.hero-image-caption {
  position: absolute;
  z-index: 4;
  left: auto;
  right: -8px;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 260px;
  padding: 17px 22px;
  color: var(--burgundy);
  background: #fbf6ed;
  border: 1px solid rgba(201, 164, 92, .6);
  border-radius: 18px 0 18px 0;
  box-shadow: 0 14px 35px rgba(17, 4, 8, .18);
}
.hero-image-caption .caption-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  background: #f0e3ca;
  color: #6d431a;
  font-size: 1.5rem;
}
.hero-image-caption strong { display: block; color: var(--burgundy); font-family: var(--font-heading); font-size: 1.02rem; }
.hero-image-caption div span { display: block; margin-top: 4px; color: #66585d; font-size: .84rem; }
.hero-decor-one { z-index: -1; }
.value-strip { background: #fbf7f0; border-bottom: 1px solid rgba(164, 119, 53, .12); }
.value-grid { min-height: 104px; }
.value-item { padding: 18px clamp(10px, 2vw, 28px); }
.value-icon { background: #f2e7d4; border: 1px solid rgba(201,164,92,.22); }

/* Keep the doctor portrait exclusive to the dentist profile section */
.doctor-profile-image > img { object-position: center 10%; }
.doctor-profile-content { align-self: center; }
.doctor-profile-content h2 { font-size: clamp(2.45rem, 3.8vw, 3.8rem); }
.doctor-care-list { grid-template-columns: 1fr; }

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(320px, .88fr); gap: 30px; min-height: 560px; }
  .hero h1 { font-size: clamp(2.8rem, 5vw, 4rem); }
  .hero-image-frame { height: clamp(370px, 48vw, 450px); }
  .hero-image-caption { right: -4px; min-width: 240px; }
}
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; padding-top: 48px; padding-bottom: 54px; }
  .hero h1 { font-size: clamp(2.6rem, 10vw, 3.7rem); }
  .hero-visual { width: min(100%, 520px); margin-inline: auto; padding: 0 8px 26px 0; }
  .hero-image-frame { height: clamp(310px, 82vw, 420px); border-radius: 34% 12px 12px 12px / 40% 12px 12px 12px; }
  .hero-image-caption { right: 0; bottom: 0; min-width: 0; width: min(300px, 92%); padding: 13px 15px; }
  .hero-image-caption .caption-mark { width: 38px; height: 38px; flex-basis: 38px; }
  .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value-item { justify-content: flex-start; }
}
@media (max-width: 480px) {
  .hero-grid { padding-top: 38px; }
  .hero h1 { font-size: clamp(2.35rem, 10.5vw, 3rem); }
  .hero-description { font-size: .96rem; }
  .hero-image-frame { height: 320px; }
  .hero-image-caption strong { font-size: .9rem; }
  .hero-image-caption div span { font-size: .76rem; }
  .value-grid { gap: 0; }
  .value-item { gap: 10px; font-size: .82rem; }
  .value-icon { width: 42px; height: 42px; flex-basis: 42px; }
}



/* =========================================================
   HERO IMAGE — clinic-hero.webp
   Final responsive refinement for the current HTML markup
========================================================= */
.hero-visual {
  align-self: center;
  min-width: 0;
  overflow: visible;
}

.hero-image-frame {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 520px;
  height: clamp(360px, 37vw, 500px);
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgba(219, 181, 107, 0.82);
  border-radius: 34px 110px 14px 14px;
  background: #f2e7d4;
  box-shadow: 14px 16px 0 rgba(201, 164, 92, 0.13);
}

.hero-image-frame::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 10px;
  border: 1px solid rgba(246, 223, 174, 0.55);
  border-radius: 25px 101px 8px 8px;
  pointer-events: none;
}

.hero-clinic-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  filter: saturate(0.92) contrast(1.02);
}

.hero-image-caption {
  right: -8px;
  bottom: 0;
  left: auto;
  width: min(320px, calc(100% - 8px));
  min-width: 0;
  padding: 16px 20px;
  border: 1px solid rgba(201, 164, 92, 0.7);
  border-radius: 16px 0 16px 0;
  background: #fbf6ed;
  box-shadow: 0 14px 35px rgba(17, 4, 8, 0.2);
}

.hero-image-caption .caption-mark {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f0e3ca;
  color: #6d431a;
}

.hero-image-caption strong {
  color: #401225;
}

.hero-image-caption div span {
  color: #66585d;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(290px, 0.88fr);
    gap: 30px;
    min-height: 0;
    padding-top: 54px;
    padding-bottom: 58px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 4.8vw, 3.8rem);
  }

  .hero-image-frame {
    height: clamp(340px, 43vw, 430px);
    border-radius: 28px 84px 12px 12px;
  }

  .hero-image-frame::before {
    border-radius: 20px 75px 7px 7px;
  }

  .hero-image-caption {
    right: 0;
    width: min(290px, 94%);
    padding: 13px 15px;
  }
}

@media (max-width: 760px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    padding-top: 44px;
    padding-bottom: 52px;
  }

  .hero-content {
    text-align: left;
  }

  .hero h1 {
    max-width: 620px;
    font-size: clamp(2.45rem, 9.3vw, 3.55rem);
    line-height: 1.08;
  }

  .hero-description {
    max-width: 560px;
    margin-left: 0;
    font-size: 0.95rem;
  }

  .doctor-credential,
  .hero-actions {
    justify-content: flex-start;
  }

  .hero-location {
    margin-left: 0;
  }

  .hero-visual {
    width: min(100%, 520px);
    margin-inline: auto;
    padding: 0 8px 30px 0;
  }

  .hero-image-frame {
    width: 100%;
    max-width: 480px;
    height: clamp(290px, 78vw, 410px);
    border-radius: 28px 76px 12px 12px;
  }

  .hero-image-frame::before {
    inset: 8px;
    border-radius: 21px 68px 7px 7px;
  }

  .hero-image-caption {
    right: 0;
    bottom: 0;
    width: min(300px, 94%);
    padding: 12px 14px;
  }
}

@media (max-width: 480px) {
  .hero-grid {
    padding-top: 36px;
    padding-bottom: 44px;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 10vw, 2.9rem);
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-image-frame {
    height: 290px;
    border-radius: 24px 64px 10px 10px;
  }

  .hero-image-frame::before {
    border-radius: 17px 56px 6px 6px;
  }

  .hero-image-caption {
    width: min(280px, 96%);
    padding: 11px 12px;
  }

  .hero-image-caption strong {
    font-size: 0.9rem;
  }

  .hero-image-caption div span {
    font-size: 0.75rem;
  }
}


/* MOBILE ONLY — restore premium breathing room in dentist profile */
@media (max-width: 760px) {
  .doctor-profile-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-left: 22px !important;
    padding-right: 22px !important;
    box-sizing: border-box;
  }

  .doctor-profile-content h2,
  .doctor-profile-content .doctor-intro,
  .doctor-profile-content .doctor-care-heading,
  .doctor-profile-content .doctor-care-list,
  .doctor-profile-content .doctor-role,
  .doctor-profile-content .eyebrow,
  .doctor-profile-content .gold-divider {
    max-width: 100%;
  }

  .doctor-profile-content .doctor-appointment-button {
    max-width: 100%;
  }
}

@media (max-width: 380px) {
  .doctor-profile-content {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
}
/* =========================================
   DR DEPENDABLE DENTISTRY
   Premium burgundy, gold & ivory design
========================================= */

:root {
  --burgundy: #310b18;
  --burgundy-dark: #210610;
  --burgundy-light: #521b2d;
  --gold: #c9a45c;
  --gold-light: #e5ce98;
  --ivory: #faf7f0;
  --cream: #f1eade;
  --white: #ffffff;
  --text: #30252a;
  --muted: #766a6d;
  --border: #e9e0d9;
  --shadow: 0 18px 50px rgba(49, 11, 24, 0.09);
  --radius: 18px;
  --font-body: "DM Sans", sans-serif;
  --font-heading: "Playfair Display", Georgia, serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body,
button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding: 100px 0;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1,
h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.7px;
}

h1 {
  font-size: clamp(2.7rem, 5vw, 4.65rem);
}

h2 {
  font-size: clamp(2.1rem, 3.6vw, 3.25rem);
}

h1 span,
h2 span {
  color: var(--gold);
}

p {
  overflow-wrap: break-word;
}

::selection {
  color: var(--white);
  background: var(--burgundy);
}


/* BUTTONS */

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 23px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-gold {
  color: var(--burgundy-dark);
  background: var(--gold);
  border-color: var(--gold);
}

.button-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: 0 8px 24px rgba(201, 164, 92, 0.2);
}

.button-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
  background: transparent;
}

.button-outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.button-maroon {
  color: var(--white);
  background: var(--burgundy);
  border-color: var(--burgundy);
}

.button-maroon:hover {
  background: var(--burgundy-light);
}

.button-whatsapp {
  color: var(--white);
  background: #167b55;
}

.button-whatsapp:hover {
  background: #116544;
}


/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  color: var(--white);
  background: var(--burgundy-dark);
  border-bottom: 1px solid rgba(201, 164, 92, 0.22);
}

.nav-wrapper {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-logo {
  width: 57px;
  height: 57px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--white);
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.brand-name strong {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 600;
}

.brand-name > span {
  color: var(--gold);
  font-size: 0.67rem;
  letter-spacing: 3px;
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.main-nav a,
.footer-nav a {
  font-size: 0.82rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.footer-nav a:hover {
  color: var(--gold-light);
}

.header-call {
  padding: 11px 16px;
  min-height: 44px;
  white-space: nowrap;
  font-size: 0.8rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  transition: transform 0.2s ease;
}


/* HERO */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(
      ellipse at 85% 45%,
      rgba(108, 40, 61, 0.48),
      transparent 48%
    ),
    linear-gradient(120deg, #250712, #3a0d1c 60%, #290814);
}

.hero-glow {
  position: absolute;
  z-index: -1;
  top: 10%;
  left: -180px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(201, 164, 92, 0.1);
  border-radius: 50%;
  box-shadow:
    0 0 0 45px rgba(201, 164, 92, 0.025),
    0 0 0 90px rgba(201, 164, 92, 0.02);
}

.hero-grid {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 55px;
  padding-top: 65px;
  padding-bottom: 65px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.4px;
  margin-bottom: 20px;
}

.eyebrow-dark {
  color: #99743a;
}

.hero h1 {
  max-width: 650px;
  margin-bottom: 25px;
}

.hero h1 span {
  display: block;
  color: var(--gold-light);
}

.hero-description {
  max-width: 510px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 28px;
}

.doctor-credential {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 28px;
}

.credential-icon {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  color: var(--gold);
  border: 1px solid rgba(201, 164, 92, 0.5);
  border-radius: 50%;
  font-size: 1.4rem;
}

.doctor-credential div {
  display: flex;
  flex-direction: column;
}

.doctor-credential strong {
  font-size: 0.93rem;
}

.doctor-credential div span {
  color: rgba(255,255,255,0.66);
  font-size: 0.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-location {
  margin-top: 25px;
  color: rgba(255,255,255,0.62);
  font-size: 0.78rem;
}

.hero-location span {
  color: var(--gold);
  margin-right: 7px;
}

.hero-visual {
  position: relative;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px 35px 15px;
}

.hero-image-frame {
  position: relative;
  z-index: 1;
  width: min(100%, 405px);
  height: 520px;
  overflow: hidden;
  border: 1px solid rgba(201, 164, 92, 0.65);
  border-radius: 200px 200px 10px 10px;
  background: #e6d8c5;
  box-shadow: 20px 20px 0 rgba(201, 164, 92, 0.09);
}

.hero-doctor {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-image-caption {
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 245px;
  padding: 17px 22px;
  color: var(--text);
  background: var(--ivory);
  box-shadow: var(--shadow);
}

.caption-mark {
  color: #a17c3d;
  font-size: 1.8rem;
}

.hero-image-caption div {
  display: flex;
  flex-direction: column;
}

.hero-image-caption strong {
  font-family: var(--font-heading);
  font-size: 0.98rem;
}

.hero-image-caption div span {
  color: var(--muted);
  font-size: 0.76rem;
}

.hero-decor {
  position: absolute;
  border: 1px solid rgba(201, 164, 92, 0.3);
  border-radius: 50%;
}

.hero-decor-one {
  top: 12px;
  right: -3px;
  width: 80px;
  height: 80px;
}

.hero-decor-two {
  bottom: 35px;
  right: -15px;
  width: 42px;
  height: 42px;
}


/* VALUE STRIP */

.value-strip {
  background: var(--ivory);
  border-bottom: 1px solid var(--border);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.value-item {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 20px 12px;
  border-right: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.5;
}

.value-item:last-child {
  border-right: none;
}

.value-icon {
  color: #99743a;
  font-size: 1.8rem;
}


/* SECTION HEADINGS */

.section-heading {
  max-width: 740px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading .eyebrow {
  margin-bottom: 15px;
}

.section-heading h2 {
  margin-bottom: 17px;
}

.section-heading > p:last-child {
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 0.95rem;
}

.section-heading-light {
  color: var(--white);
}

.section-heading-light > p:last-child {
  color: rgba(255,255,255,0.7);
}


/* TREATMENT CARDS */

.treatments-section {
  background: var(--white);
}

.treatment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 23px;
}

.treatment-card {
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.treatment-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201,164,92,0.65);
  box-shadow: var(--shadow);
}

.treatment-art {
  position: relative;
  display: grid;
  place-items: center;
  height: 130px;
  overflow: hidden;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: rgba(49, 11, 24, 0.75);
}

.treatment-art::before,
.treatment-art::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(49, 11, 24, 0.12);
  border-radius: 50%;
}

.treatment-art::before {
  width: 145px;
  height: 145px;
}

.treatment-art::after {
  width: 105px;
  height: 105px;
}

.art-smile {
  background: #f4e8d5;
}

.art-biomimetic {
  background: #e7e2d2;
}

.art-orthodontics {
  background: #e3e9dc;
}

.art-implants {
  background: #eee2dd;
}

.art-prosthodontics {
  background: #e9e2ed;
}

.art-endodontics {
  background: #f1e6d9;
}

.art-surgery {
  background: #e3e8ec;
}

.art-periodontal {
  background: #e0e9e2;
}

.art-preventive {
  background: #f0e6d2;
}

.treatment-card-content {
  padding: 24px 24px 27px;
}

.card-number {
  display: block;
  color: #9a7842;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.treatment-card h3 {
  font-family: var(--font-heading);
  color: var(--burgundy);
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.treatment-card p {
  min-height: 85px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.8;
  margin-bottom: 18px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--burgundy);
  font-size: 0.82rem;
  font-weight: 700;
}

.text-link span {
  color: #a17c3d;
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translateX(5px);
}

.featured-card {
  border-color: rgba(201,164,92,0.55);
}


/* ABOUT */

.about-section {
  overflow: hidden;
  background: var(--ivory);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 85px;
}

.about-visual {
  position: relative;
  padding: 0 25px 25px 0;
}

.about-image-placeholder {
  position: relative;
  z-index: 1;
  min-height: 410px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 35px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 42%, #fffdf8, transparent 48%),
    #eae0d2;
  border: 1px solid #d7c3a1;
}

.about-emblem {
  display: grid;
  place-items: center;
  width: 135px;
  height: 135px;
  margin-bottom: 25px;
  padding: 12px;
  background: var(--white);
  border: 1px solid rgba(201,164,92,0.5);
  border-radius: 50%;
}

.about-emblem img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.about-image-label {
  color: var(--burgundy);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 2.2px;
}

.about-image-placeholder > p {
  margin-top: 10px;
  color: var(--muted);
  font-family: var(--font-heading);
  font-size: 1.15rem;
}

.about-accent {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 75%;
  height: 75%;
  border: 2px solid var(--gold);
}

.about-content h2 {
  margin-bottom: 27px;
}

.about-content h2 span {
  color: var(--burgundy-light);
}

.about-content > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.about-content .button {
  margin-top: 10px;
}


/* WHY US */

.why-section {
  color: var(--white);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(102,37,58,0.5), transparent 60%),
    var(--burgundy-dark);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 25px;
}

.benefit {
  text-align: center;
  padding: 25px 13px;
  border-top: 1px solid rgba(201,164,92,0.55);
}

.benefit-icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin: 0 auto 22px;
  color: var(--gold-light);
  border: 1px solid rgba(201,164,92,0.55);
  border-radius: 50%;
  font-size: 1.75rem;
}

.benefit h3 {
  min-height: 48px;
  margin-bottom: 12px;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 500;
}

.benefit p {
  color: rgba(255,255,255,0.67);
  font-size: 0.8rem;
  line-height: 1.8;
}


/* DOCTOR PROFILE */

.doctor-section {
  background: var(--white);
}

.doctor-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: 85px;
}

.doctor-profile-image {
  position: relative;
  max-width: 430px;
  min-height: 430px;
  padding: 0 18px 18px 0;
}

.doctor-profile-image > img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 490px;
  object-fit: cover;
  object-position: center top;
  border-radius: 160px 160px 8px 8px;
  background: var(--cream);
}

.doctor-photo-caption {
  position: absolute;
  z-index: 2;
  left: -15px;
  bottom: 0;
  display: flex;
  flex-direction: column;
  padding: 17px 23px;
  background: var(--ivory);
  border-left: 3px solid var(--gold);
  box-shadow: var(--shadow);
}

.doctor-photo-caption span {
  color: #99743a;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.doctor-photo-caption strong {
  font-family: var(--font-heading);
  color: var(--burgundy);
  font-size: 1.05rem;
}

.doctor-profile-content h2 {
  margin-bottom: 10px;
}

.doctor-profile-content h2 span {
  color: var(--burgundy-light);
}

.doctor-role {
  color: #99743a;
  font-size: 0.9rem;
  font-weight: 700;
}

.gold-divider {
  width: 65px;
  height: 3px;
  margin: 23px 0;
  background: var(--gold);
}

.doctor-profile-content > p:not(.eyebrow, .doctor-role) {
  color: var(--muted);
  font-size: 0.91rem;
  margin-bottom: 18px;
}

.doctor-profile-content .button {
  margin-top: 10px;
}


/* BIOMIMETIC FEATURE */

.biomimetic-section {
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(ellipse at 80% 50%, rgba(111,45,65,0.45), transparent 55%),
    var(--burgundy);
}

.biomimetic-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 70px;
  padding-top: 85px;
  padding-bottom: 85px;
}

.biomimetic-content h2 {
  margin-bottom: 20px;
}

.biomimetic-content h2 span {
  display: block;
  color: var(--gold-light);
}

.biomimetic-content h3 {
  margin-bottom: 20px;
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 500;
}

.biomimetic-content > p:not(.eyebrow) {
  max-width: 590px;
  margin-bottom: 17px;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
}

.biomimetic-content .button {
  margin-top: 15px;
}

.biomimetic-visual {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tooth-symbol {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 180px;
  height: 180px;
  color: var(--gold-light);
  font-size: 5rem;
  border: 1px solid rgba(201,164,92,0.7);
  border-radius: 50%;
  background: rgba(255,255,255,0.025);
  box-shadow: 0 0 0 20px rgba(201,164,92,0.035);
}

.tooth-orbit {
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(201,164,92,0.2);
  border-radius: 50%;
}

.orbit-two {
  width: 365px;
  height: 365px;
  border-style: dashed;
  border-color: rgba(201,164,92,0.16);
}

.biomimetic-note {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 220px;
  padding: 13px 15px;
  color: var(--text);
  background: var(--ivory);
  box-shadow: var(--shadow);
}

.biomimetic-note span {
  color: #99743a;
  font-family: var(--font-heading);
  font-size: 1.2rem;
}

.biomimetic-note p {
  font-size: 0.74rem;
  line-height: 1.5;
}

.biomimetic-note:nth-of-type(4) {
  top: 30px;
  right: -5px;
}

.biomimetic-note:nth-of-type(5) {
  bottom: 25px;
  left: -5px;
}


/* APPOINTMENT CTA */

.appointment-section {
  padding: 90px 0;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, #fffaf0, transparent 70%),
    var(--ivory);
}

.appointment-content {
  max-width: 790px;
}

.appointment-content h2 {
  margin-bottom: 18px;
}

.appointment-content h2 span {
  color: var(--burgundy-light);
}

.appointment-content > p:not(.eyebrow) {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.93rem;
}

.appointment-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 28px;
}


/* CONTACT */

.contact-section {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 65px;
  align-items: stretch;
}

.contact-content h2 {
  margin-bottom: 33px;
}

.contact-content h2 span {
  color: var(--burgundy-light);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 25px;
}

.contact-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  color: #99743a;
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 1.25rem;
}

.contact-item h3 {
  margin-bottom: 5px;
  color: var(--burgundy);
  font-family: var(--font-heading);
  font-size: 1.08rem;
}

.contact-item p,
.contact-item a {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.9;
}

.contact-item a:hover {
  color: var(--burgundy);
}

.contact-item p + p {
  margin-top: 6px;
}

.map-container {
  min-height: 480px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--cream);
}

.map-container iframe {
  display: block;
  min-height: 480px;
}


/* FOOTER */

.site-footer {
  color: var(--white);
  background: var(--burgundy-dark);
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 45px;
  padding-bottom: 45px;
}

.footer-tagline {
  max-width: 210px;
  color: rgba(255,255,255,0.65);
  font-size: 0.82rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 19px;
}

.footer-bottom {
  min-height: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.55);
  font-size: 0.74rem;
}

.footer-bottom a:hover {
  color: var(--gold-light);
}


/* FLOATING WHATSAPP */

.floating-whatsapp {
  position: fixed;
  z-index: 900;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 12px 18px;
  color: var(--white);
  background: #167b55;
  border-radius: 40px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
  font-size: 0.82rem;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-4px);
}

.floating-whatsapp > span:first-child {
  font-size: 1.2rem;
}


/* ACCESSIBILITY */

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}


/* TABLETS */

@media (max-width: 1024px) {
  .container {
    width: min(100% - 40px, 900px);
  }

  .nav-wrapper {
    gap: 16px;
  }

  .main-nav {
    gap: 15px;
  }

  .brand-name strong {
    font-size: 0.98rem;
  }

  .brand-logo {
    width: 49px;
    height: 49px;
  }

  .hero-grid {
    gap: 30px;
    min-height: 590px;
  }

  .hero-image-frame {
    height: 460px;
  }

  .about-grid,
  .doctor-grid {
    gap: 45px;
  }

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

  .benefits-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 20px;
  }

  .biomimetic-grid {
    gap: 30px;
  }

  .contact-grid {
    gap: 35px;
  }

  .footer-main {
    flex-wrap: wrap;
  }
}


/* MOBILE NAVIGATION AND LAYOUT */

@media (max-width: 760px) {
  html {
    scroll-padding-top: 75px;
  }

  .container {
    width: calc(100% - 36px);
  }

  .section {
    padding: 72px 0;
  }

  .nav-wrapper {
    min-height: 73px;
    position: relative;
  }

  .brand {
    gap: 9px;
  }

  .brand-logo {
    width: 43px;
    height: 43px;
  }

  .brand-name strong {
    font-size: 0.94rem;
  }

  .brand-name > span {
    font-size: 0.59rem;
    letter-spacing: 2.5px;
  }

  .header-call {
    display: none;
  }

  .menu-toggle {
    display: block;
    flex-shrink: 0;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: -18px;
    right: -18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 18px 18px;
    background: var(--burgundy-dark);
    border-top: 1px solid rgba(201,164,92,0.2);
    box-shadow: 0 18px 25px rgba(0,0,0,0.15);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 8px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-top: 58px;
    padding-bottom: 60px;
  }

  .hero-content {
    text-align: center;
  }

  .hero .eyebrow {
    font-size: 0.65rem;
    letter-spacing: 1.7px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 10vw, 3.65rem);
    margin-bottom: 20px;
  }

  .hero-description {
    margin-inline: auto;
    font-size: 0.91rem;
  }

  .doctor-credential {
    justify-content: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-location {
    font-size: 0.74rem;
  }

  .hero-visual {
    width: 100%;
    padding: 0 12px 30px;
  }

  .hero-image-frame {
    width: min(100%, 350px);
    height: 430px;
  }

  .hero-image-caption {
    left: 0;
    min-width: 220px;
    padding: 13px 16px;
  }

  .hero-decor-one {
    right: 0;
  }

  .hero-decor-two {
    right: 0;
  }

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

  .value-item {
    min-height: 95px;
    justify-content: flex-start;
    padding: 18px 12px;
    font-size: 0.76rem;
    border-bottom: 1px solid var(--border);
  }

  .value-item:nth-child(2) {
    border-right: none;
  }

  .value-item:nth-child(3),
  .value-item:nth-child(4) {
    border-bottom: none;
  }

  .value-icon {
    font-size: 1.55rem;
  }

  .section-heading {
    margin-bottom: 35px;
  }

  .section-heading h2,
  .about-content h2,
  .doctor-profile-content h2,
  .contact-content h2 {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }

  .section-heading > p:last-child {
    font-size: 0.87rem;
  }

  .treatment-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .treatment-art {
    height: 110px;
  }

  .treatment-card-content {
    padding: 21px;
  }

  .treatment-card p {
    min-height: 0;
  }

  .about-grid,
  .doctor-grid,
  .biomimetic-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .about-visual {
    max-width: 480px;
    width: 100%;
    margin-inline: auto;
  }

  .about-image-placeholder {
    min-height: 320px;
  }

  .about-content {
    text-align: left;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
  }

  .benefit {
    padding: 22px 9px;
  }

  .benefit:last-child {
    grid-column: 1 / -1;
  }

  .benefit-icon {
    width: 55px;
    height: 55px;
    margin-bottom: 17px;
  }

  .benefit h3 {
    font-size: 1rem;
  }

  .benefit p {
    font-size: 0.76rem;
  }

  .doctor-grid {
    gap: 42px;
  }

  .doctor-profile-image {
    width: min(100%, 400px);
    margin-inline: auto;
  }

  .doctor-profile-image > img {
    height: 460px;
  }

  .doctor-profile-content {
    text-align: left;
  }

  .biomimetic-grid {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .biomimetic-content h2 {
    font-size: clamp(2.1rem, 8vw, 3rem);
  }

  .biomimetic-content .button {
    width: 100%;
  }

  .biomimetic-visual {
    min-height: 340px;
  }

  .tooth-symbol {
    width: 145px;
    height: 145px;
  }

  .tooth-orbit {
    width: 245px;
    height: 245px;
  }

  .orbit-two {
    width: 295px;
    height: 295px;
  }

  .biomimetic-note {
    max-width: 185px;
    padding: 10px;
  }

  .biomimetic-note:nth-of-type(4) {
    right: 0;
    top: 12px;
  }

  .biomimetic-note:nth-of-type(5) {
    left: 0;
    bottom: 12px;
  }

  .appointment-section {
    padding: 72px 0;
  }

  .appointment-content h2 {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .appointment-actions {
    flex-direction: column;
  }

  .appointment-actions .button {
    width: 100%;
  }

  .contact-grid {
    gap: 35px;
  }

  .map-container,
  .map-container iframe {
    min-height: 350px;
  }

  .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding-top: 38px;
    padding-bottom: 30px;
  }

  .footer-tagline {
    max-width: 100%;
  }

  .footer-nav {
    gap: 18px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .floating-whatsapp {
    right: 13px;
    bottom: 13px;
    min-height: 47px;
    padding: 10px 15px;
    font-size: 0.77rem;
  }
}


/* SMALL PHONES */

@media (max-width: 380px) {
  .container {
    width: calc(100% - 28px);
  }

  .brand-name strong {
    font-size: 0.83rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-image-frame {
    height: 380px;
  }

  .value-item {
    gap: 8px;
    font-size: 0.7rem;
  }

  .benefits-grid {
    gap: 10px;
  }

  .biomimetic-note {
    max-width: 165px;
  }
}


/* REDUCED MOTION ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   FINAL DESIGN SYSTEM — DR DEPENDABLE DENTISTRY
   Premium editorial styling and responsive refinements
========================================================= */

:root {
  --burgundy: #401225;
  --burgundy-dark: #260914;
  --burgundy-light: #61263b;
  --gold: #d4b16c;
  --gold-light: #f0dba8;
  --ivory: #fbf8f1;
  --cream: #f2eadf;
  --white: #ffffff;
  --text: #30262a;
  --muted: #62575b;
  --border: #e7ddd2;
  --shadow: 0 18px 50px rgba(38, 9, 20, 0.10);
  --radius: 16px;
}

body {
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
  background: var(--white);
}

h1, h2, h3 { text-wrap: balance; }
h1, h2 { letter-spacing: -0.035em; }
h1 { line-height: 1.08; }
h2 { line-height: 1.16; }
p { color: inherit; }

.section-heading h2,
.about-content h2,
.doctor-profile-content h2,
.appointment-content h2,
.contact-content h2 {
  color: var(--burgundy);
}

.section-heading h2 span,
.about-content h2 span,
.doctor-profile-content h2 span,
.appointment-content h2 span,
.contact-content h2 span {
  color: var(--burgundy-light);
}

.section-heading > p:last-child,
.about-content > p:not(.eyebrow),
.doctor-profile-content > p:not(.eyebrow, .doctor-role),
.appointment-content > p:not(.eyebrow),
.contact-item p,
.contact-item a {
  color: var(--muted);
}

.eyebrow-dark { color: #805c2c; }

/* Header and navigation */
.site-header { z-index: 1000; }
.nav-wrapper { position: relative; }
.brand { min-width: 0; }
.brand-name strong { color: var(--ivory); }
.main-nav a { color: var(--ivory); }

.main-nav a:focus-visible,
.footer-nav a:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 5px;
  border-radius: 2px;
}

.menu-toggle {
  position: relative;
  z-index: 1002;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  color: var(--ivory);
  border: 1px solid rgba(240, 219, 168, 0.65);
  background: var(--burgundy-dark);
  box-shadow: 0 3px 10px rgba(0,0,0,0.14);
  appearance: none;
  -webkit-appearance: none;
}

.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 0;
  flex: 0 0 2px;
  border-radius: 2px;
  background: #fffaf0;
  opacity: 1;
  transform-origin: center;
}

.menu-toggle:hover {
  border-color: var(--gold-light);
  background: #3a1020;
}

.menu-toggle:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 3px;
}

/* Editorial hero */
.hero {
  color: var(--ivory);
  background:
    radial-gradient(ellipse at 84% 42%, rgba(108, 40, 61, 0.48), transparent 48%),
    linear-gradient(120deg, #250712, #3a0d1c 60%, #290814);
}

.hero h1 {
  color: var(--ivory);
  max-width: 680px;
  font-size: clamp(2.8rem, 4.15vw, 4.35rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.hero h1 span { color: var(--gold-light); }
.hero .eyebrow { color: var(--gold-light); }
.hero-description {
  color: rgba(255, 250, 240, 0.86);
  font-size: 1rem;
  max-width: 540px;
}
.hero-location,
.doctor-credential div span {
  color: rgba(255, 250, 240, 0.78);
}

.hero-grid {
  grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.94fr);
  gap: clamp(32px, 4vw, 64px);
}
.hero-content, .hero-visual { min-width: 0; }

.hero-image-frame {
  width: min(100%, 420px);
  height: clamp(410px, 43vw, 535px);
  border: 1px solid rgba(229, 206, 152, 0.8);
  border-radius: 28px 100px 28px 28px;
  background: #f5eee3;
  box-shadow:
    12px 12px 0 rgba(201, 164, 92, 0.13),
    24px 24px 0 rgba(201, 164, 92, 0.045);
}
.hero-image-frame::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 12px;
  border: 1px solid rgba(201, 164, 92, 0.45);
  border-radius: 19px 78px 18px 18px;
  pointer-events: none;
}
.hero-doctor {
  object-position: center 12%;
}
.hero-image-caption {
  left: -2px;
  width: min(310px, calc(100% - 12px));
  min-width: 0;
  padding: 17px 20px;
  color: var(--burgundy);
  background: var(--ivory);
  border: 1px solid rgba(201, 164, 92, 0.75);
  border-radius: 4px 24px 4px 24px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}
.hero-image-caption strong { color: var(--burgundy); }
.hero-image-caption div span { color: #66585d; }
.hero-decor-one { top: 0; right: 0; }
.hero-decor-two { right: 2px; bottom: 42px; }

/* Readable light sections and balanced treatment cards */
.value-strip,
.treatments-section,
.about-section,
.doctor-section,
.appointment-section,
.contact-section {
  color: var(--text);
}
.value-item { color: #41353a; }
.treatment-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.treatment-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.treatment-card h3 {
  color: var(--burgundy);
  line-height: 1.25;
}
.treatment-card p {
  flex: 1;
  min-height: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
}
.card-number { color: #805c2c; }
.text-link { color: var(--burgundy); margin-top: auto; }
.text-link span { color: #805c2c; }

.why-section,
.biomimetic-section { color: var(--ivory); }
.why-section h2,
.biomimetic-content h2 { color: var(--ivory); }
.why-section h2 span,
.biomimetic-content h2 span { color: var(--gold-light); }
.why-section .section-heading > p:last-child,
.why-section .benefit p,
.biomimetic-content > p:not(.eyebrow) {
  color: rgba(255, 250, 240, 0.82);
}
.benefit h3 { color: var(--ivory); }

.button-gold {
  color: #29100e;
  background: var(--gold);
  border-color: var(--gold);
}
.button-outline {
  color: var(--ivory);
  border-color: rgba(255, 250, 240, 0.65);
}
.button-outline:hover {
  color: var(--gold-light);
  border-color: var(--gold-light);
}
.button-whatsapp {
  color: #fff;
  background: #176b4b;
  border-color: #176b4b;
}

/* Dedicated doctor profile: a calm, editorial feature card */
.doctor-section { background: var(--ivory); }
.doctor-grid {
  gap: clamp(38px, 6vw, 82px);
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px 34px 8px 34px;
  box-shadow: 0 22px 60px rgba(38, 9, 20, 0.07);
}
.doctor-profile-image {
  width: 100%;
  max-width: 430px;
  min-height: 0;
  padding: 0 18px 18px 0;
}
.doctor-profile-image > img {
  height: 490px;
  border-radius: 8px 100px 8px 8px;
  object-position: center 10%;
  background: var(--cream);
}
.doctor-profile-image::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 18px 0 0 18px;
  border: 1px solid var(--gold);
  border-radius: 8px 100px 8px 8px;
  pointer-events: none;
}
.doctor-photo-caption {
  left: -8px;
  bottom: 0;
  border-left: 3px solid var(--gold);
}
.doctor-profile-content h2 { line-height: 1.15; }
.doctor-profile-content h2 span { color: var(--burgundy-light); }
.doctor-role { color: #805c2c; }
.gold-divider { background: var(--gold); }

.contact-item h3 { color: var(--burgundy); }
.contact-item p, .contact-item a { overflow-wrap: anywhere; }
.map-container iframe { width: 100%; border: 0; }
.floating-whatsapp {
  z-index: 950;
  color: #fff;
  background: #176b4b;
  box-shadow: 0 8px 24px rgba(20, 32, 25, 0.22);
}

/* Tablet and compact laptop */
@media (max-width: 1100px) and (min-width: 761px) {
  .container { width: calc(100% - 48px); }
  .nav-wrapper { gap: 18px; }
  .main-nav { gap: 14px; }
  .main-nav a { font-size: 0.78rem; }
  .header-call { padding-inline: 12px; font-size: 0.76rem; }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
    gap: 30px;
  }
  .hero h1 { font-size: clamp(2.55rem, 4.2vw, 3.5rem); }
  .hero-image-frame { height: clamp(390px, 43vw, 470px); }
  .about-grid, .doctor-grid { gap: 36px; }
  .doctor-grid { padding: 26px; }
  .benefits-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Mobile layout and dropdown navigation */
@media (max-width: 760px) {
  .nav-wrapper {
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .brand { flex: 1 1 auto; min-width: 0; gap: 8px; }
  .brand-logo { width: 42px; height: 42px; }
  .brand-name strong { font-size: clamp(0.82rem, 3.6vw, 0.98rem); white-space: nowrap; }
  .brand-name > span { font-size: 0.56rem; letter-spacing: 2px; }
  .header-call { display: none; }
  .menu-toggle {
    display: flex !important;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin-left: auto;
  }
  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: -18px;
    right: -18px;
    z-index: 1001;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 18px 16px;
    color: var(--ivory);
    background: var(--burgundy-dark);
    border-top: 1px solid rgba(240, 219, 168, 0.35);
    box-shadow: 0 18px 30px rgba(20, 5, 11, 0.28);
  }
  .main-nav.is-open { display: flex !important; }
  .main-nav a {
    display: block;
    width: 100%;
    padding: 13px 8px;
    color: #fffaf0;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 250, 240, 0.12);
  }
  .main-nav a:last-child { border-bottom: 0; }
  .main-nav a:hover, .main-nav a:focus-visible {
    color: var(--gold-light);
    background: rgba(255,255,255,0.04);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    min-height: 0;
    padding-top: 48px;
    padding-bottom: 56px;
  }
  .hero-content { text-align: center; }
  .hero h1 {
    max-width: 620px;
    margin-inline: auto;
    font-size: clamp(2.35rem, 8.8vw, 3.45rem);
    line-height: 1.1;
    letter-spacing: -0.045em;
  }
  .hero-description {
    max-width: 540px;
    margin-inline: auto;
    font-size: 0.95rem;
    line-height: 1.8;
  }
  .doctor-credential, .hero-actions { justify-content: center; }
  .hero-location { max-width: 420px; margin-inline: auto; }
  .hero-visual {
    width: 100%;
    max-width: 440px;
    margin-inline: auto;
    padding: 8px 12px 35px;
  }
  .hero-image-frame {
    width: min(100%, 360px);
    height: clamp(360px, 105vw, 455px);
    border-radius: 22px 72px 22px 22px;
  }
  .hero-image-frame::before {
    inset: 9px;
    border-radius: 15px 53px 15px 15px;
  }
  .hero-image-caption {
    left: 0;
    width: min(300px, calc(100% - 8px));
    padding: 13px 15px;
  }

  .section { padding: 72px 0; }
  .section-heading { margin-bottom: 34px; }
  .section-heading h2,
  .about-content h2,
  .doctor-profile-content h2,
  .contact-content h2 {
    font-size: clamp(2rem, 7.8vw, 2.75rem);
  }
  .treatment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .treatment-card-content { padding: 20px; }
  .treatment-card h3 { font-size: 1.13rem; }
  .treatment-card p { font-size: 0.85rem; }

  .about-grid, .doctor-grid, .biomimetic-grid, .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }
  .about-visual { width: min(100%, 460px); margin-inline: auto; }
  .about-image-placeholder { min-height: 300px; }
  .benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .benefit:last-child { grid-column: 1 / -1; }

  .doctor-grid { padding: 22px; gap: 32px; }
  .doctor-profile-image { width: min(100%, 390px); margin-inline: auto; }
  .doctor-profile-image > img { height: clamp(380px, 110vw, 460px); }

  .biomimetic-grid { padding-top: 70px; padding-bottom: 70px; }
  .biomimetic-visual { min-height: 320px; }
  .appointment-actions { gap: 12px; }
  .map-container, .map-container iframe { min-height: 350px; }
  .floating-whatsapp {
    right: 12px;
    bottom: 12px;
    min-height: 46px;
    padding: 10px 14px;
    font-size: 0.76rem;
  }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 32px); }
  .hero .eyebrow { font-size: 0.62rem; letter-spacing: 1.4px; }
  .hero h1 { font-size: clamp(2.15rem, 9.5vw, 2.8rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .treatment-grid { grid-template-columns: minmax(0, 1fr); }
  .treatment-card-content { padding: 22px; }
  .treatment-art { height: 100px; }
  .value-item { font-size: 0.73rem; gap: 9px; padding-inline: 10px; }
  .benefits-grid { gap: 10px; }
  .benefit { padding: 20px 8px; }
  .biomimetic-note { max-width: 160px; font-size: 0.9rem; }
  .appointment-actions { flex-direction: column; }
  .appointment-actions .button { width: 100%; }
  .footer-nav { gap: 14px; }
  .floating-whatsapp { right: 10px; bottom: 10px; }
  .doctor-grid { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* FINAL REFINEMENT: more distinctive hero + doctor profile */
.hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: clamp(38px, 5vw, 78px);
  min-height: 690px;
  padding-top: 76px;
  padding-bottom: 76px;
}
.hero-content { max-width: 680px; }
.hero h1 {
  max-width: 700px;
  font-size: clamp(3.25rem, 4.45vw, 5.15rem);
  line-height: 1.02;
  letter-spacing: -.055em;
}
.hero-description { max-width: 490px; font-size: 1.02rem; }
.hero-visual { padding: 0 12px 46px 24px; }
.hero-image-frame {
  width: min(100%, 440px);
  height: 555px;
  border-radius: 34px 150px 14px 14px;
  box-shadow: 15px 16px 0 rgba(201, 164, 92, .13);
}
.hero-image-frame::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 10px;
  border: 1px solid rgba(201, 164, 92, .48);
  border-radius: 27px 140px 9px 9px;
  pointer-events: none;
}
.hero-doctor { object-position: center 12%; }
.hero-image-caption {
  left: -8px;
  bottom: 0;
  min-width: 285px;
  padding: 20px 24px;
  border: 1px solid rgba(201, 164, 92, .65);
  border-radius: 0 26px 0 0;
}
.hero-decor-one { right: -5px; top: 2%; width: 92px; height: 92px; }
.hero-decor-two { right: 0; bottom: 2%; width: 52px; height: 52px; }

/* Treatment labels should not resemble template numbering */
.treatment-card .card-number { display: none !important; }

/* Doctor profile: editorial, clear, and easier to scan */
.doctor-section { padding-top: clamp(76px, 8vw, 118px); padding-bottom: clamp(76px, 8vw, 118px); }
.doctor-grid {
  grid-template-columns: minmax(300px, .82fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 104px);
  padding: 0;
}
.doctor-profile-image { max-width: 450px; min-height: 500px; padding: 0 18px 18px 0; }
.doctor-profile-image > img {
  height: 530px;
  border-radius: 14px 115px 14px 14px;
  object-position: center 10%;
}
.doctor-photo-caption {
  left: -18px;
  max-width: calc(100% - 12px);
  padding: 18px 24px;
  border-radius: 0 20px 0 0;
}
.doctor-profile-content { max-width: 650px; }
.doctor-profile-content h2 {
  max-width: 620px;
  margin: 0 0 12px;
  font-size: clamp(2.55rem, 4vw, 4rem);
  line-height: 1.08;
  letter-spacing: -.04em;
}
.doctor-profile-content h2 span { display: block; }
.doctor-role { margin-bottom: 0; font-size: 1rem; }
.role-separator { color: var(--gold); padding: 0 5px; }
.doctor-profile-content .gold-divider { margin: 24px 0 26px; }
.doctor-profile-content .doctor-intro {
  color: #65565b;
  font-size: 1.02rem;
  line-height: 1.85;
  max-width: 610px;
  margin-bottom: 28px;
}
.doctor-care-heading {
  margin: 0 0 16px;
  color: var(--burgundy);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
}
.doctor-care-list {
  list-style: none;
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 0 0 30px;
}
.doctor-care-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #65565b;
  line-height: 1.6;
  font-size: .95rem;
}
.doctor-care-list li span {
  display: inline-grid;
  place-items: center;
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
  margin-top: 1px;
  border-radius: 50%;
  color: #68451c;
  background: #f5ead4;
  font-size: .8rem;
  font-weight: 700;
}
.doctor-appointment-button { margin-top: 0 !important; }

@media (max-width: 1024px) {
  .hero-grid { gap: 34px; min-height: 610px; }
  .hero h1 { font-size: clamp(2.8rem, 5.2vw, 4rem); }
  .hero-image-frame { height: 490px; }
  .doctor-grid { gap: 42px; }
}
@media (max-width: 760px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    padding-top: 54px;
    padding-bottom: 62px;
  }
  .hero-content { text-align: left; }
  .hero h1 { font-size: clamp(2.7rem, 10vw, 4rem); margin-left: 0; }
  .hero-description { margin-left: 0; }
  .doctor-credential, .hero-actions { justify-content: flex-start; }
  .hero-location { margin-left: 0; }
  .hero-visual { max-width: 470px; padding: 0 10px 35px 16px; }
  .hero-image-frame { height: clamp(390px, 112vw, 500px); border-radius: 26px 100px 12px 12px; }
  .hero-image-frame::before { border-radius: 19px 90px 7px 7px; }
  .hero-image-caption { left: 0; min-width: 0; width: min(300px, 94%); padding: 15px 17px; }
  .doctor-grid { grid-template-columns: minmax(0, 1fr); gap: 42px; }
  .doctor-profile-image { width: min(100%, 420px); min-height: 0; margin: 0 auto; }
  .doctor-profile-image > img { height: clamp(400px, 115vw, 500px); }
  .doctor-profile-content h2 { font-size: clamp(2.4rem, 8.5vw, 3.4rem); }
}
@media (max-width: 480px) {
  .hero-content { text-align: left; }
  .hero h1 { font-size: clamp(2.45rem, 10.3vw, 3.2rem); }
  .hero-actions { align-items: stretch; }
  .hero-image-caption strong { font-size: .92rem; }
  .doctor-section { padding-top: 64px; padding-bottom: 64px; }
  .doctor-profile-image { padding-right: 10px; padding-bottom: 14px; }
  .doctor-photo-caption { left: -6px; padding: 14px 16px; }
  .doctor-care-list { gap: 12px; }
}


/* VISUAL DIRECTION: premium editorial hero with clinic photography */
.hero {
  overflow: hidden;
  position: relative;
  background: radial-gradient(ellipse at 72% 35%, rgba(105, 31, 52, .42), transparent 42%), #310b18;
}
.hero-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, .98fr);
  gap: clamp(34px, 4vw, 64px);
  min-height: 570px;
  padding-top: 58px;
  padding-bottom: 58px;
  align-items: center;
}
.hero-content { position: relative; z-index: 3; max-width: 700px; }
.hero h1 {
  max-width: 740px;
  font-size: clamp(3.15rem, 4.6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -.052em;
}
.hero-description { max-width: 560px; font-size: 1.04rem; line-height: 1.75; }
.hero-visual {
  position: relative;
  min-width: 0;
  width: 100%;
  padding: 0 0 28px 0;
  isolation: isolate;
}
.hero-image-frame {
  position: relative;
  width: 100%;
  max-width: none;
  height: clamp(390px, 39vw, 500px);
  overflow: hidden;
  border: 1px solid rgba(219, 181, 107, .8);
  border-radius: 46% 12px 12px 46% / 52% 12px 12px 52%;
  background: #5a3026;
  box-shadow: 16px 18px 0 rgba(201, 164, 92, .12);
}
.hero-image-frame::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 10px;
  border: 1px solid rgba(246, 223, 174, .46);
  border-radius: inherit;
  pointer-events: none;
}
.hero-clinic-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  filter: saturate(.88) contrast(1.02);
}
.hero-image-caption {
  position: absolute;
  z-index: 4;
  left: auto;
  right: -8px;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 260px;
  padding: 17px 22px;
  color: var(--burgundy);
  background: #fbf6ed;
  border: 1px solid rgba(201, 164, 92, .6);
  border-radius: 18px 0 18px 0;
  box-shadow: 0 14px 35px rgba(17, 4, 8, .18);
}
.hero-image-caption .caption-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  background: #f0e3ca;
  color: #6d431a;
  font-size: 1.5rem;
}
.hero-image-caption strong { display: block; color: var(--burgundy); font-family: var(--font-heading); font-size: 1.02rem; }
.hero-image-caption div span { display: block; margin-top: 4px; color: #66585d; font-size: .84rem; }
.hero-decor-one { z-index: -1; }
.value-strip { background: #fbf7f0; border-bottom: 1px solid rgba(164, 119, 53, .12); }
.value-grid { min-height: 104px; }
.value-item { padding: 18px clamp(10px, 2vw, 28px); }
.value-icon { background: #f2e7d4; border: 1px solid rgba(201,164,92,.22); }

/* Keep the doctor portrait exclusive to the dentist profile section */
.doctor-profile-image > img { object-position: center 10%; }
.doctor-profile-content { align-self: center; }
.doctor-profile-content h2 { font-size: clamp(2.45rem, 3.8vw, 3.8rem); }
.doctor-care-list { grid-template-columns: 1fr; }

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(320px, .88fr); gap: 30px; min-height: 560px; }
  .hero h1 { font-size: clamp(2.8rem, 5vw, 4rem); }
  .hero-image-frame { height: clamp(370px, 48vw, 450px); }
  .hero-image-caption { right: -4px; min-width: 240px; }
}
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; padding-top: 48px; padding-bottom: 54px; }
  .hero h1 { font-size: clamp(2.6rem, 10vw, 3.7rem); }
  .hero-visual { width: min(100%, 520px); margin-inline: auto; padding: 0 8px 26px 0; }
  .hero-image-frame { height: clamp(310px, 82vw, 420px); border-radius: 34% 12px 12px 12px / 40% 12px 12px 12px; }
  .hero-image-caption { right: 0; bottom: 0; min-width: 0; width: min(300px, 92%); padding: 13px 15px; }
  .hero-image-caption .caption-mark { width: 38px; height: 38px; flex-basis: 38px; }
  .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value-item { justify-content: flex-start; }
}
@media (max-width: 480px) {
  .hero-grid { padding-top: 38px; }
  .hero h1 { font-size: clamp(2.35rem, 10.5vw, 3rem); }
  .hero-description { font-size: .96rem; }
  .hero-image-frame { height: 320px; }
  .hero-image-caption strong { font-size: .9rem; }
  .hero-image-caption div span { font-size: .76rem; }
  .value-grid { gap: 0; }
  .value-item { gap: 10px; font-size: .82rem; }
  .value-icon { width: 42px; height: 42px; flex-basis: 42px; }
}



/* =========================================================
   HERO IMAGE — clinic-hero.webp
   Final responsive refinement for the current HTML markup
========================================================= */
.hero-visual {
  align-self: center;
  min-width: 0;
  overflow: visible;
}

.hero-image-frame {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 520px;
  height: clamp(360px, 37vw, 500px);
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgba(219, 181, 107, 0.82);
  border-radius: 34px 110px 14px 14px;
  background: #f2e7d4;
  box-shadow: 14px 16px 0 rgba(201, 164, 92, 0.13);
}

.hero-image-frame::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 10px;
  border: 1px solid rgba(246, 223, 174, 0.55);
  border-radius: 25px 101px 8px 8px;
  pointer-events: none;
}

.hero-clinic-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  filter: saturate(0.92) contrast(1.02);
}

.hero-image-caption {
  right: -8px;
  bottom: 0;
  left: auto;
  width: min(320px, calc(100% - 8px));
  min-width: 0;
  padding: 16px 20px;
  border: 1px solid rgba(201, 164, 92, 0.7);
  border-radius: 16px 0 16px 0;
  background: #fbf6ed;
  box-shadow: 0 14px 35px rgba(17, 4, 8, 0.2);
}

.hero-image-caption .caption-mark {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f0e3ca;
  color: #6d431a;
}

.hero-image-caption strong {
  color: #401225;
}

.hero-image-caption div span {
  color: #66585d;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(290px, 0.88fr);
    gap: 30px;
    min-height: 0;
    padding-top: 54px;
    padding-bottom: 58px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 4.8vw, 3.8rem);
  }

  .hero-image-frame {
    height: clamp(340px, 43vw, 430px);
    border-radius: 28px 84px 12px 12px;
  }

  .hero-image-frame::before {
    border-radius: 20px 75px 7px 7px;
  }

  .hero-image-caption {
    right: 0;
    width: min(290px, 94%);
    padding: 13px 15px;
  }
}

@media (max-width: 760px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    padding-top: 44px;
    padding-bottom: 52px;
  }

  .hero-content {
    text-align: left;
  }

  .hero h1 {
    max-width: 620px;
    font-size: clamp(2.45rem, 9.3vw, 3.55rem);
    line-height: 1.08;
  }

  .hero-description {
    max-width: 560px;
    margin-left: 0;
    font-size: 0.95rem;
  }

  .doctor-credential,
  .hero-actions {
    justify-content: flex-start;
  }

  .hero-location {
    margin-left: 0;
  }

  .hero-visual {
    width: min(100%, 520px);
    margin-inline: auto;
    padding: 0 8px 30px 0;
  }

  .hero-image-frame {
    width: 100%;
    max-width: 480px;
    height: clamp(290px, 78vw, 410px);
    border-radius: 28px 76px 12px 12px;
  }

  .hero-image-frame::before {
    inset: 8px;
    border-radius: 21px 68px 7px 7px;
  }

  .hero-image-caption {
    right: 0;
    bottom: 0;
    width: min(300px, 94%);
    padding: 12px 14px;
  }
}

@media (max-width: 480px) {
  .hero-grid {
    padding-top: 36px;
    padding-bottom: 44px;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 10vw, 2.9rem);
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-image-frame {
    height: 290px;
    border-radius: 24px 64px 10px 10px;
  }

  .hero-image-frame::before {
    border-radius: 17px 56px 6px 6px;
  }

  .hero-image-caption {
    width: min(280px, 96%);
    padding: 11px 12px;
  }

  .hero-image-caption strong {
    font-size: 0.9rem;
  }

  .hero-image-caption div span {
    font-size: 0.75rem;
  }
}


/* MOBILE ONLY — restore premium breathing room in dentist profile */
@media (max-width: 760px) {
  .doctor-profile-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-left: 22px !important;
    padding-right: 22px !important;
    box-sizing: border-box;
  }

  .doctor-profile-content h2,
  .doctor-profile-content .doctor-intro,
  .doctor-profile-content .doctor-care-heading,
  .doctor-profile-content .doctor-care-list,
  .doctor-profile-content .doctor-role,
  .doctor-profile-content .eyebrow,
  .doctor-profile-content .gold-divider {
    max-width: 100%;
  }

  .doctor-profile-content .doctor-appointment-button {
    max-width: 100%;
  }
}

@media (max-width: 380px) {
  .doctor-profile-content {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
}
/* =========================================
   DR DEPENDABLE DENTISTRY
   Premium burgundy, gold & ivory design
========================================= */

:root {
  --burgundy: #310b18;
  --burgundy-dark: #210610;
  --burgundy-light: #521b2d;
  --gold: #c9a45c;
  --gold-light: #e5ce98;
  --ivory: #faf7f0;
  --cream: #f1eade;
  --white: #ffffff;
  --text: #30252a;
  --muted: #766a6d;
  --border: #e9e0d9;
  --shadow: 0 18px 50px rgba(49, 11, 24, 0.09);
  --radius: 18px;
  --font-body: "DM Sans", sans-serif;
  --font-heading: "Playfair Display", Georgia, serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body,
button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding: 100px 0;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1,
h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.7px;
}

h1 {
  font-size: clamp(2.7rem, 5vw, 4.65rem);
}

h2 {
  font-size: clamp(2.1rem, 3.6vw, 3.25rem);
}

h1 span,
h2 span {
  color: var(--gold);
}

p {
  overflow-wrap: break-word;
}

::selection {
  color: var(--white);
  background: var(--burgundy);
}


/* BUTTONS */

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 23px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-gold {
  color: var(--burgundy-dark);
  background: var(--gold);
  border-color: var(--gold);
}

.button-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: 0 8px 24px rgba(201, 164, 92, 0.2);
}

.button-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
  background: transparent;
}

.button-outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.button-maroon {
  color: var(--white);
  background: var(--burgundy);
  border-color: var(--burgundy);
}

.button-maroon:hover {
  background: var(--burgundy-light);
}

.button-whatsapp {
  color: var(--white);
  background: #167b55;
}

.button-whatsapp:hover {
  background: #116544;
}


/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  color: var(--white);
  background: var(--burgundy-dark);
  border-bottom: 1px solid rgba(201, 164, 92, 0.22);
}

.nav-wrapper {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-logo {
  width: 57px;
  height: 57px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--white);
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.brand-name strong {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 600;
}

.brand-name > span {
  color: var(--gold);
  font-size: 0.67rem;
  letter-spacing: 3px;
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.main-nav a,
.footer-nav a {
  font-size: 0.82rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.footer-nav a:hover {
  color: var(--gold-light);
}

.header-call {
  padding: 11px 16px;
  min-height: 44px;
  white-space: nowrap;
  font-size: 0.8rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  transition: transform 0.2s ease;
}


/* HERO */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(
      ellipse at 85% 45%,
      rgba(108, 40, 61, 0.48),
      transparent 48%
    ),
    linear-gradient(120deg, #250712, #3a0d1c 60%, #290814);
}

.hero-glow {
  position: absolute;
  z-index: -1;
  top: 10%;
  left: -180px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(201, 164, 92, 0.1);
  border-radius: 50%;
  box-shadow:
    0 0 0 45px rgba(201, 164, 92, 0.025),
    0 0 0 90px rgba(201, 164, 92, 0.02);
}

.hero-grid {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 55px;
  padding-top: 65px;
  padding-bottom: 65px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.4px;
  margin-bottom: 20px;
}

.eyebrow-dark {
  color: #99743a;
}

.hero h1 {
  max-width: 650px;
  margin-bottom: 25px;
}

.hero h1 span {
  display: block;
  color: var(--gold-light);
}

.hero-description {
  max-width: 510px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 28px;
}

.doctor-credential {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 28px;
}

.credential-icon {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  color: var(--gold);
  border: 1px solid rgba(201, 164, 92, 0.5);
  border-radius: 50%;
  font-size: 1.4rem;
}

.doctor-credential div {
  display: flex;
  flex-direction: column;
}

.doctor-credential strong {
  font-size: 0.93rem;
}

.doctor-credential div span {
  color: rgba(255,255,255,0.66);
  font-size: 0.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-location {
  margin-top: 25px;
  color: rgba(255,255,255,0.62);
  font-size: 0.78rem;
}

.hero-location span {
  color: var(--gold);
  margin-right: 7px;
}

.hero-visual {
  position: relative;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px 35px 15px;
}

.hero-image-frame {
  position: relative;
  z-index: 1;
  width: min(100%, 405px);
  height: 520px;
  overflow: hidden;
  border: 1px solid rgba(201, 164, 92, 0.65);
  border-radius: 200px 200px 10px 10px;
  background: #e6d8c5;
  box-shadow: 20px 20px 0 rgba(201, 164, 92, 0.09);
}

.hero-doctor {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-image-caption {
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 245px;
  padding: 17px 22px;
  color: var(--text);
  background: var(--ivory);
  box-shadow: var(--shadow);
}

.caption-mark {
  color: #a17c3d;
  font-size: 1.8rem;
}

.hero-image-caption div {
  display: flex;
  flex-direction: column;
}

.hero-image-caption strong {
  font-family: var(--font-heading);
  font-size: 0.98rem;
}

.hero-image-caption div span {
  color: var(--muted);
  font-size: 0.76rem;
}

.hero-decor {
  position: absolute;
  border: 1px solid rgba(201, 164, 92, 0.3);
  border-radius: 50%;
}

.hero-decor-one {
  top: 12px;
  right: -3px;
  width: 80px;
  height: 80px;
}

.hero-decor-two {
  bottom: 35px;
  right: -15px;
  width: 42px;
  height: 42px;
}


/* VALUE STRIP */

.value-strip {
  background: var(--ivory);
  border-bottom: 1px solid var(--border);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.value-item {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 20px 12px;
  border-right: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.5;
}

.value-item:last-child {
  border-right: none;
}

.value-icon {
  color: #99743a;
  font-size: 1.8rem;
}


/* SECTION HEADINGS */

.section-heading {
  max-width: 740px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading .eyebrow {
  margin-bottom: 15px;
}

.section-heading h2 {
  margin-bottom: 17px;
}

.section-heading > p:last-child {
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 0.95rem;
}

.section-heading-light {
  color: var(--white);
}

.section-heading-light > p:last-child {
  color: rgba(255,255,255,0.7);
}


/* TREATMENT CARDS */

.treatments-section {
  background: var(--white);
}

.treatment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 23px;
}

.treatment-card {
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.treatment-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201,164,92,0.65);
  box-shadow: var(--shadow);
}

.treatment-art {
  position: relative;
  display: grid;
  place-items: center;
  height: 130px;
  overflow: hidden;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: rgba(49, 11, 24, 0.75);
}

.treatment-art::before,
.treatment-art::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(49, 11, 24, 0.12);
  border-radius: 50%;
}

.treatment-art::before {
  width: 145px;
  height: 145px;
}

.treatment-art::after {
  width: 105px;
  height: 105px;
}

.art-smile {
  background: #f4e8d5;
}

.art-biomimetic {
  background: #e7e2d2;
}

.art-orthodontics {
  background: #e3e9dc;
}

.art-implants {
  background: #eee2dd;
}

.art-prosthodontics {
  background: #e9e2ed;
}

.art-endodontics {
  background: #f1e6d9;
}

.art-surgery {
  background: #e3e8ec;
}

.art-periodontal {
  background: #e0e9e2;
}

.art-preventive {
  background: #f0e6d2;
}

.treatment-card-content {
  padding: 24px 24px 27px;
}

.card-number {
  display: block;
  color: #9a7842;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.treatment-card h3 {
  font-family: var(--font-heading);
  color: var(--burgundy);
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.treatment-card p {
  min-height: 85px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.8;
  margin-bottom: 18px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--burgundy);
  font-size: 0.82rem;
  font-weight: 700;
}

.text-link span {
  color: #a17c3d;
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translateX(5px);
}

.featured-card {
  border-color: rgba(201,164,92,0.55);
}


/* ABOUT */

.about-section {
  overflow: hidden;
  background: var(--ivory);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 85px;
}

.about-visual {
  position: relative;
  padding: 0 25px 25px 0;
}

.about-image-placeholder {
  position: relative;
  z-index: 1;
  min-height: 410px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 35px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 42%, #fffdf8, transparent 48%),
    #eae0d2;
  border: 1px solid #d7c3a1;
}

.about-emblem {
  display: grid;
  place-items: center;
  width: 135px;
  height: 135px;
  margin-bottom: 25px;
  padding: 12px;
  background: var(--white);
  border: 1px solid rgba(201,164,92,0.5);
  border-radius: 50%;
}

.about-emblem img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.about-image-label {
  color: var(--burgundy);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 2.2px;
}

.about-image-placeholder > p {
  margin-top: 10px;
  color: var(--muted);
  font-family: var(--font-heading);
  font-size: 1.15rem;
}

.about-accent {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 75%;
  height: 75%;
  border: 2px solid var(--gold);
}

.about-content h2 {
  margin-bottom: 27px;
}

.about-content h2 span {
  color: var(--burgundy-light);
}

.about-content > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.about-content .button {
  margin-top: 10px;
}


/* WHY US */

.why-section {
  color: var(--white);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(102,37,58,0.5), transparent 60%),
    var(--burgundy-dark);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 25px;
}

.benefit {
  text-align: center;
  padding: 25px 13px;
  border-top: 1px solid rgba(201,164,92,0.55);
}

.benefit-icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin: 0 auto 22px;
  color: var(--gold-light);
  border: 1px solid rgba(201,164,92,0.55);
  border-radius: 50%;
  font-size: 1.75rem;
}

.benefit h3 {
  min-height: 48px;
  margin-bottom: 12px;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 500;
}

.benefit p {
  color: rgba(255,255,255,0.67);
  font-size: 0.8rem;
  line-height: 1.8;
}


/* DOCTOR PROFILE */

.doctor-section {
  background: var(--white);
}

.doctor-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: 85px;
}

.doctor-profile-image {
  position: relative;
  max-width: 430px;
  min-height: 430px;
  padding: 0 18px 18px 0;
}

.doctor-profile-image > img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 490px;
  object-fit: cover;
  object-position: center top;
  border-radius: 160px 160px 8px 8px;
  background: var(--cream);
}

.doctor-photo-caption {
  position: absolute;
  z-index: 2;
  left: -15px;
  bottom: 0;
  display: flex;
  flex-direction: column;
  padding: 17px 23px;
  background: var(--ivory);
  border-left: 3px solid var(--gold);
  box-shadow: var(--shadow);
}

.doctor-photo-caption span {
  color: #99743a;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.doctor-photo-caption strong {
  font-family: var(--font-heading);
  color: var(--burgundy);
  font-size: 1.05rem;
}

.doctor-profile-content h2 {
  margin-bottom: 10px;
}

.doctor-profile-content h2 span {
  color: var(--burgundy-light);
}

.doctor-role {
  color: #99743a;
  font-size: 0.9rem;
  font-weight: 700;
}

.gold-divider {
  width: 65px;
  height: 3px;
  margin: 23px 0;
  background: var(--gold);
}

.doctor-profile-content > p:not(.eyebrow, .doctor-role) {
  color: var(--muted);
  font-size: 0.91rem;
  margin-bottom: 18px;
}

.doctor-profile-content .button {
  margin-top: 10px;
}


/* BIOMIMETIC FEATURE */

.biomimetic-section {
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(ellipse at 80% 50%, rgba(111,45,65,0.45), transparent 55%),
    var(--burgundy);
}

.biomimetic-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 70px;
  padding-top: 85px;
  padding-bottom: 85px;
}

.biomimetic-content h2 {
  margin-bottom: 20px;
}

.biomimetic-content h2 span {
  display: block;
  color: var(--gold-light);
}

.biomimetic-content h3 {
  margin-bottom: 20px;
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 500;
}

.biomimetic-content > p:not(.eyebrow) {
  max-width: 590px;
  margin-bottom: 17px;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
}

.biomimetic-content .button {
  margin-top: 15px;
}

.biomimetic-visual {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tooth-symbol {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 180px;
  height: 180px;
  color: var(--gold-light);
  font-size: 5rem;
  border: 1px solid rgba(201,164,92,0.7);
  border-radius: 50%;
  background: rgba(255,255,255,0.025);
  box-shadow: 0 0 0 20px rgba(201,164,92,0.035);
}

.tooth-orbit {
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(201,164,92,0.2);
  border-radius: 50%;
}

.orbit-two {
  width: 365px;
  height: 365px;
  border-style: dashed;
  border-color: rgba(201,164,92,0.16);
}

.biomimetic-note {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 220px;
  padding: 13px 15px;
  color: var(--text);
  background: var(--ivory);
  box-shadow: var(--shadow);
}

.biomimetic-note span {
  color: #99743a;
  font-family: var(--font-heading);
  font-size: 1.2rem;
}

.biomimetic-note p {
  font-size: 0.74rem;
  line-height: 1.5;
}

.biomimetic-note:nth-of-type(4) {
  top: 30px;
  right: -5px;
}

.biomimetic-note:nth-of-type(5) {
  bottom: 25px;
  left: -5px;
}


/* APPOINTMENT CTA */

.appointment-section {
  padding: 90px 0;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, #fffaf0, transparent 70%),
    var(--ivory);
}

.appointment-content {
  max-width: 790px;
}

.appointment-content h2 {
  margin-bottom: 18px;
}

.appointment-content h2 span {
  color: var(--burgundy-light);
}

.appointment-content > p:not(.eyebrow) {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.93rem;
}

.appointment-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 28px;
}


/* CONTACT */

.contact-section {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 65px;
  align-items: stretch;
}

.contact-content h2 {
  margin-bottom: 33px;
}

.contact-content h2 span {
  color: var(--burgundy-light);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 25px;
}

.contact-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  color: #99743a;
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 1.25rem;
}

.contact-item h3 {
  margin-bottom: 5px;
  color: var(--burgundy);
  font-family: var(--font-heading);
  font-size: 1.08rem;
}

.contact-item p,
.contact-item a {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.9;
}

.contact-item a:hover {
  color: var(--burgundy);
}

.contact-item p + p {
  margin-top: 6px;
}

.map-container {
  min-height: 480px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--cream);
}

.map-container iframe {
  display: block;
  min-height: 480px;
}


/* FOOTER */

.site-footer {
  color: var(--white);
  background: var(--burgundy-dark);
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 45px;
  padding-bottom: 45px;
}

.footer-tagline {
  max-width: 210px;
  color: rgba(255,255,255,0.65);
  font-size: 0.82rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 19px;
}

.footer-bottom {
  min-height: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.55);
  font-size: 0.74rem;
}

.footer-bottom a:hover {
  color: var(--gold-light);
}


/* FLOATING WHATSAPP */

.floating-whatsapp {
  position: fixed;
  z-index: 900;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 12px 18px;
  color: var(--white);
  background: #167b55;
  border-radius: 40px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
  font-size: 0.82rem;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-4px);
}

.floating-whatsapp > span:first-child {
  font-size: 1.2rem;
}


/* ACCESSIBILITY */

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}


/* TABLETS */

@media (max-width: 1024px) {
  .container {
    width: min(100% - 40px, 900px);
  }

  .nav-wrapper {
    gap: 16px;
  }

  .main-nav {
    gap: 15px;
  }

  .brand-name strong {
    font-size: 0.98rem;
  }

  .brand-logo {
    width: 49px;
    height: 49px;
  }

  .hero-grid {
    gap: 30px;
    min-height: 590px;
  }

  .hero-image-frame {
    height: 460px;
  }

  .about-grid,
  .doctor-grid {
    gap: 45px;
  }

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

  .benefits-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 20px;
  }

  .biomimetic-grid {
    gap: 30px;
  }

  .contact-grid {
    gap: 35px;
  }

  .footer-main {
    flex-wrap: wrap;
  }
}


/* MOBILE NAVIGATION AND LAYOUT */

@media (max-width: 760px) {
  html {
    scroll-padding-top: 75px;
  }

  .container {
    width: calc(100% - 36px);
  }

  .section {
    padding: 72px 0;
  }

  .nav-wrapper {
    min-height: 73px;
    position: relative;
  }

  .brand {
    gap: 9px;
  }

  .brand-logo {
    width: 43px;
    height: 43px;
  }

  .brand-name strong {
    font-size: 0.94rem;
  }

  .brand-name > span {
    font-size: 0.59rem;
    letter-spacing: 2.5px;
  }

  .header-call {
    display: none;
  }

  .menu-toggle {
    display: block;
    flex-shrink: 0;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: -18px;
    right: -18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 18px 18px;
    background: var(--burgundy-dark);
    border-top: 1px solid rgba(201,164,92,0.2);
    box-shadow: 0 18px 25px rgba(0,0,0,0.15);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 8px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-top: 58px;
    padding-bottom: 60px;
  }

  .hero-content {
    text-align: center;
  }

  .hero .eyebrow {
    font-size: 0.65rem;
    letter-spacing: 1.7px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 10vw, 3.65rem);
    margin-bottom: 20px;
  }

  .hero-description {
    margin-inline: auto;
    font-size: 0.91rem;
  }

  .doctor-credential {
    justify-content: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-location {
    font-size: 0.74rem;
  }

  .hero-visual {
    width: 100%;
    padding: 0 12px 30px;
  }

  .hero-image-frame {
    width: min(100%, 350px);
    height: 430px;
  }

  .hero-image-caption {
    left: 0;
    min-width: 220px;
    padding: 13px 16px;
  }

  .hero-decor-one {
    right: 0;
  }

  .hero-decor-two {
    right: 0;
  }

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

  .value-item {
    min-height: 95px;
    justify-content: flex-start;
    padding: 18px 12px;
    font-size: 0.76rem;
    border-bottom: 1px solid var(--border);
  }

  .value-item:nth-child(2) {
    border-right: none;
  }

  .value-item:nth-child(3),
  .value-item:nth-child(4) {
    border-bottom: none;
  }

  .value-icon {
    font-size: 1.55rem;
  }

  .section-heading {
    margin-bottom: 35px;
  }

  .section-heading h2,
  .about-content h2,
  .doctor-profile-content h2,
  .contact-content h2 {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }

  .section-heading > p:last-child {
    font-size: 0.87rem;
  }

  .treatment-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .treatment-art {
    height: 110px;
  }

  .treatment-card-content {
    padding: 21px;
  }

  .treatment-card p {
    min-height: 0;
  }

  .about-grid,
  .doctor-grid,
  .biomimetic-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .about-visual {
    max-width: 480px;
    width: 100%;
    margin-inline: auto;
  }

  .about-image-placeholder {
    min-height: 320px;
  }

  .about-content {
    text-align: left;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
  }

  .benefit {
    padding: 22px 9px;
  }

  .benefit:last-child {
    grid-column: 1 / -1;
  }

  .benefit-icon {
    width: 55px;
    height: 55px;
    margin-bottom: 17px;
  }

  .benefit h3 {
    font-size: 1rem;
  }

  .benefit p {
    font-size: 0.76rem;
  }

  .doctor-grid {
    gap: 42px;
  }

  .doctor-profile-image {
    width: min(100%, 400px);
    margin-inline: auto;
  }

  .doctor-profile-image > img {
    height: 460px;
  }

  .doctor-profile-content {
    text-align: left;
  }

  .biomimetic-grid {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .biomimetic-content h2 {
    font-size: clamp(2.1rem, 8vw, 3rem);
  }

  .biomimetic-content .button {
    width: 100%;
  }

  .biomimetic-visual {
    min-height: 340px;
  }

  .tooth-symbol {
    width: 145px;
    height: 145px;
  }

  .tooth-orbit {
    width: 245px;
    height: 245px;
  }

  .orbit-two {
    width: 295px;
    height: 295px;
  }

  .biomimetic-note {
    max-width: 185px;
    padding: 10px;
  }

  .biomimetic-note:nth-of-type(4) {
    right: 0;
    top: 12px;
  }

  .biomimetic-note:nth-of-type(5) {
    left: 0;
    bottom: 12px;
  }

  .appointment-section {
    padding: 72px 0;
  }

  .appointment-content h2 {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .appointment-actions {
    flex-direction: column;
  }

  .appointment-actions .button {
    width: 100%;
  }

  .contact-grid {
    gap: 35px;
  }

  .map-container,
  .map-container iframe {
    min-height: 350px;
  }

  .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding-top: 38px;
    padding-bottom: 30px;
  }

  .footer-tagline {
    max-width: 100%;
  }

  .footer-nav {
    gap: 18px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .floating-whatsapp {
    right: 13px;
    bottom: 13px;
    min-height: 47px;
    padding: 10px 15px;
    font-size: 0.77rem;
  }
}


/* SMALL PHONES */

@media (max-width: 380px) {
  .container {
    width: calc(100% - 28px);
  }

  .brand-name strong {
    font-size: 0.83rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-image-frame {
    height: 380px;
  }

  .value-item {
    gap: 8px;
    font-size: 0.7rem;
  }

  .benefits-grid {
    gap: 10px;
  }

  .biomimetic-note {
    max-width: 165px;
  }
}


/* REDUCED MOTION ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   FINAL DESIGN SYSTEM — DR DEPENDABLE DENTISTRY
   Premium editorial styling and responsive refinements
========================================================= */

:root {
  --burgundy: #401225;
  --burgundy-dark: #260914;
  --burgundy-light: #61263b;
  --gold: #d4b16c;
  --gold-light: #f0dba8;
  --ivory: #fbf8f1;
  --cream: #f2eadf;
  --white: #ffffff;
  --text: #30262a;
  --muted: #62575b;
  --border: #e7ddd2;
  --shadow: 0 18px 50px rgba(38, 9, 20, 0.10);
  --radius: 16px;
}

body {
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
  background: var(--white);
}

h1, h2, h3 { text-wrap: balance; }
h1, h2 { letter-spacing: -0.035em; }
h1 { line-height: 1.08; }
h2 { line-height: 1.16; }
p { color: inherit; }

.section-heading h2,
.about-content h2,
.doctor-profile-content h2,
.appointment-content h2,
.contact-content h2 {
  color: var(--burgundy);
}

.section-heading h2 span,
.about-content h2 span,
.doctor-profile-content h2 span,
.appointment-content h2 span,
.contact-content h2 span {
  color: var(--burgundy-light);
}

.section-heading > p:last-child,
.about-content > p:not(.eyebrow),
.doctor-profile-content > p:not(.eyebrow, .doctor-role),
.appointment-content > p:not(.eyebrow),
.contact-item p,
.contact-item a {
  color: var(--muted);
}

.eyebrow-dark { color: #805c2c; }

/* Header and navigation */
.site-header { z-index: 1000; }
.nav-wrapper { position: relative; }
.brand { min-width: 0; }
.brand-name strong { color: var(--ivory); }
.main-nav a { color: var(--ivory); }

.main-nav a:focus-visible,
.footer-nav a:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 5px;
  border-radius: 2px;
}

.menu-toggle {
  position: relative;
  z-index: 1002;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  color: var(--ivory);
  border: 1px solid rgba(240, 219, 168, 0.65);
  background: var(--burgundy-dark);
  box-shadow: 0 3px 10px rgba(0,0,0,0.14);
  appearance: none;
  -webkit-appearance: none;
}

.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 0;
  flex: 0 0 2px;
  border-radius: 2px;
  background: #fffaf0;
  opacity: 1;
  transform-origin: center;
}

.menu-toggle:hover {
  border-color: var(--gold-light);
  background: #3a1020;
}

.menu-toggle:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 3px;
}

/* Editorial hero */
.hero {
  color: var(--ivory);
  background:
    radial-gradient(ellipse at 84% 42%, rgba(108, 40, 61, 0.48), transparent 48%),
    linear-gradient(120deg, #250712, #3a0d1c 60%, #290814);
}

.hero h1 {
  color: var(--ivory);
  max-width: 680px;
  font-size: clamp(2.8rem, 4.15vw, 4.35rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.hero h1 span { color: var(--gold-light); }
.hero .eyebrow { color: var(--gold-light); }
.hero-description {
  color: rgba(255, 250, 240, 0.86);
  font-size: 1rem;
  max-width: 540px;
}
.hero-location,
.doctor-credential div span {
  color: rgba(255, 250, 240, 0.78);
}

.hero-grid {
  grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.94fr);
  gap: clamp(32px, 4vw, 64px);
}
.hero-content, .hero-visual { min-width: 0; }

.hero-image-frame {
  width: min(100%, 420px);
  height: clamp(410px, 43vw, 535px);
  border: 1px solid rgba(229, 206, 152, 0.8);
  border-radius: 28px 100px 28px 28px;
  background: #f5eee3;
  box-shadow:
    12px 12px 0 rgba(201, 164, 92, 0.13),
    24px 24px 0 rgba(201, 164, 92, 0.045);
}
.hero-image-frame::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 12px;
  border: 1px solid rgba(201, 164, 92, 0.45);
  border-radius: 19px 78px 18px 18px;
  pointer-events: none;
}
.hero-doctor {
  object-position: center 12%;
}
.hero-image-caption {
  left: -2px;
  width: min(310px, calc(100% - 12px));
  min-width: 0;
  padding: 17px 20px;
  color: var(--burgundy);
  background: var(--ivory);
  border: 1px solid rgba(201, 164, 92, 0.75);
  border-radius: 4px 24px 4px 24px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}
.hero-image-caption strong { color: var(--burgundy); }
.hero-image-caption div span { color: #66585d; }
.hero-decor-one { top: 0; right: 0; }
.hero-decor-two { right: 2px; bottom: 42px; }

/* Readable light sections and balanced treatment cards */
.value-strip,
.treatments-section,
.about-section,
.doctor-section,
.appointment-section,
.contact-section {
  color: var(--text);
}
.value-item { color: #41353a; }
.treatment-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.treatment-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.treatment-card h3 {
  color: var(--burgundy);
  line-height: 1.25;
}
.treatment-card p {
  flex: 1;
  min-height: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
}
.card-number { color: #805c2c; }
.text-link { color: var(--burgundy); margin-top: auto; }
.text-link span { color: #805c2c; }

.why-section,
.biomimetic-section { color: var(--ivory); }
.why-section h2,
.biomimetic-content h2 { color: var(--ivory); }
.why-section h2 span,
.biomimetic-content h2 span { color: var(--gold-light); }
.why-section .section-heading > p:last-child,
.why-section .benefit p,
.biomimetic-content > p:not(.eyebrow) {
  color: rgba(255, 250, 240, 0.82);
}
.benefit h3 { color: var(--ivory); }

.button-gold {
  color: #29100e;
  background: var(--gold);
  border-color: var(--gold);
}
.button-outline {
  color: var(--ivory);
  border-color: rgba(255, 250, 240, 0.65);
}
.button-outline:hover {
  color: var(--gold-light);
  border-color: var(--gold-light);
}
.button-whatsapp {
  color: #fff;
  background: #176b4b;
  border-color: #176b4b;
}

/* Dedicated doctor profile: a calm, editorial feature card */
.doctor-section { background: var(--ivory); }
.doctor-grid {
  gap: clamp(38px, 6vw, 82px);
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px 34px 8px 34px;
  box-shadow: 0 22px 60px rgba(38, 9, 20, 0.07);
}
.doctor-profile-image {
  width: 100%;
  max-width: 430px;
  min-height: 0;
  padding: 0 18px 18px 0;
}
.doctor-profile-image > img {
  height: 490px;
  border-radius: 8px 100px 8px 8px;
  object-position: center 10%;
  background: var(--cream);
}
.doctor-profile-image::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 18px 0 0 18px;
  border: 1px solid var(--gold);
  border-radius: 8px 100px 8px 8px;
  pointer-events: none;
}
.doctor-photo-caption {
  left: -8px;
  bottom: 0;
  border-left: 3px solid var(--gold);
}
.doctor-profile-content h2 { line-height: 1.15; }
.doctor-profile-content h2 span { color: var(--burgundy-light); }
.doctor-role { color: #805c2c; }
.gold-divider { background: var(--gold); }

.contact-item h3 { color: var(--burgundy); }
.contact-item p, .contact-item a { overflow-wrap: anywhere; }
.map-container iframe { width: 100%; border: 0; }
.floating-whatsapp {
  z-index: 950;
  color: #fff;
  background: #176b4b;
  box-shadow: 0 8px 24px rgba(20, 32, 25, 0.22);
}

/* Tablet and compact laptop */
@media (max-width: 1100px) and (min-width: 761px) {
  .container { width: calc(100% - 48px); }
  .nav-wrapper { gap: 18px; }
  .main-nav { gap: 14px; }
  .main-nav a { font-size: 0.78rem; }
  .header-call { padding-inline: 12px; font-size: 0.76rem; }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
    gap: 30px;
  }
  .hero h1 { font-size: clamp(2.55rem, 4.2vw, 3.5rem); }
  .hero-image-frame { height: clamp(390px, 43vw, 470px); }
  .about-grid, .doctor-grid { gap: 36px; }
  .doctor-grid { padding: 26px; }
  .benefits-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Mobile layout and dropdown navigation */
@media (max-width: 760px) {
  .nav-wrapper {
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .brand { flex: 1 1 auto; min-width: 0; gap: 8px; }
  .brand-logo { width: 42px; height: 42px; }
  .brand-name strong { font-size: clamp(0.82rem, 3.6vw, 0.98rem); white-space: nowrap; }
  .brand-name > span { font-size: 0.56rem; letter-spacing: 2px; }
  .header-call { display: none; }
  .menu-toggle {
    display: flex !important;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin-left: auto;
  }
  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: -18px;
    right: -18px;
    z-index: 1001;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 18px 16px;
    color: var(--ivory);
    background: var(--burgundy-dark);
    border-top: 1px solid rgba(240, 219, 168, 0.35);
    box-shadow: 0 18px 30px rgba(20, 5, 11, 0.28);
  }
  .main-nav.is-open { display: flex !important; }
  .main-nav a {
    display: block;
    width: 100%;
    padding: 13px 8px;
    color: #fffaf0;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 250, 240, 0.12);
  }
  .main-nav a:last-child { border-bottom: 0; }
  .main-nav a:hover, .main-nav a:focus-visible {
    color: var(--gold-light);
    background: rgba(255,255,255,0.04);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    min-height: 0;
    padding-top: 48px;
    padding-bottom: 56px;
  }
  .hero-content { text-align: center; }
  .hero h1 {
    max-width: 620px;
    margin-inline: auto;
    font-size: clamp(2.35rem, 8.8vw, 3.45rem);
    line-height: 1.1;
    letter-spacing: -0.045em;
  }
  .hero-description {
    max-width: 540px;
    margin-inline: auto;
    font-size: 0.95rem;
    line-height: 1.8;
  }
  .doctor-credential, .hero-actions { justify-content: center; }
  .hero-location { max-width: 420px; margin-inline: auto; }
  .hero-visual {
    width: 100%;
    max-width: 440px;
    margin-inline: auto;
    padding: 8px 12px 35px;
  }
  .hero-image-frame {
    width: min(100%, 360px);
    height: clamp(360px, 105vw, 455px);
    border-radius: 22px 72px 22px 22px;
  }
  .hero-image-frame::before {
    inset: 9px;
    border-radius: 15px 53px 15px 15px;
  }
  .hero-image-caption {
    left: 0;
    width: min(300px, calc(100% - 8px));
    padding: 13px 15px;
  }

  .section { padding: 72px 0; }
  .section-heading { margin-bottom: 34px; }
  .section-heading h2,
  .about-content h2,
  .doctor-profile-content h2,
  .contact-content h2 {
    font-size: clamp(2rem, 7.8vw, 2.75rem);
  }
  .treatment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .treatment-card-content { padding: 20px; }
  .treatment-card h3 { font-size: 1.13rem; }
  .treatment-card p { font-size: 0.85rem; }

  .about-grid, .doctor-grid, .biomimetic-grid, .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }
  .about-visual { width: min(100%, 460px); margin-inline: auto; }
  .about-image-placeholder { min-height: 300px; }
  .benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .benefit:last-child { grid-column: 1 / -1; }

  .doctor-grid { padding: 22px; gap: 32px; }
  .doctor-profile-image { width: min(100%, 390px); margin-inline: auto; }
  .doctor-profile-image > img { height: clamp(380px, 110vw, 460px); }

  .biomimetic-grid { padding-top: 70px; padding-bottom: 70px; }
  .biomimetic-visual { min-height: 320px; }
  .appointment-actions { gap: 12px; }
  .map-container, .map-container iframe { min-height: 350px; }
  .floating-whatsapp {
    right: 12px;
    bottom: 12px;
    min-height: 46px;
    padding: 10px 14px;
    font-size: 0.76rem;
  }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 32px); }
  .hero .eyebrow { font-size: 0.62rem; letter-spacing: 1.4px; }
  .hero h1 { font-size: clamp(2.15rem, 9.5vw, 2.8rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .treatment-grid { grid-template-columns: minmax(0, 1fr); }
  .treatment-card-content { padding: 22px; }
  .treatment-art { height: 100px; }
  .value-item { font-size: 0.73rem; gap: 9px; padding-inline: 10px; }
  .benefits-grid { gap: 10px; }
  .benefit { padding: 20px 8px; }
  .biomimetic-note { max-width: 160px; font-size: 0.9rem; }
  .appointment-actions { flex-direction: column; }
  .appointment-actions .button { width: 100%; }
  .footer-nav { gap: 14px; }
  .floating-whatsapp { right: 10px; bottom: 10px; }
  .doctor-grid { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* FINAL REFINEMENT: more distinctive hero + doctor profile */
.hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: clamp(38px, 5vw, 78px);
  min-height: 690px;
  padding-top: 76px;
  padding-bottom: 76px;
}
.hero-content { max-width: 680px; }
.hero h1 {
  max-width: 700px;
  font-size: clamp(3.25rem, 4.45vw, 5.15rem);
  line-height: 1.02;
  letter-spacing: -.055em;
}
.hero-description { max-width: 490px; font-size: 1.02rem; }
.hero-visual { padding: 0 12px 46px 24px; }
.hero-image-frame {
  width: min(100%, 440px);
  height: 555px;
  border-radius: 34px 150px 14px 14px;
  box-shadow: 15px 16px 0 rgba(201, 164, 92, .13);
}
.hero-image-frame::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 10px;
  border: 1px solid rgba(201, 164, 92, .48);
  border-radius: 27px 140px 9px 9px;
  pointer-events: none;
}
.hero-doctor { object-position: center 12%; }
.hero-image-caption {
  left: -8px;
  bottom: 0;
  min-width: 285px;
  padding: 20px 24px;
  border: 1px solid rgba(201, 164, 92, .65);
  border-radius: 0 26px 0 0;
}
.hero-decor-one { right: -5px; top: 2%; width: 92px; height: 92px; }
.hero-decor-two { right: 0; bottom: 2%; width: 52px; height: 52px; }

/* Treatment labels should not resemble template numbering */
.treatment-card .card-number { display: none !important; }

/* Doctor profile: editorial, clear, and easier to scan */
.doctor-section { padding-top: clamp(76px, 8vw, 118px); padding-bottom: clamp(76px, 8vw, 118px); }
.doctor-grid {
  grid-template-columns: minmax(300px, .82fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 104px);
  padding: 0;
}
.doctor-profile-image { max-width: 450px; min-height: 500px; padding: 0 18px 18px 0; }
.doctor-profile-image > img {
  height: 530px;
  border-radius: 14px 115px 14px 14px;
  object-position: center 10%;
}
.doctor-photo-caption {
  left: -18px;
  max-width: calc(100% - 12px);
  padding: 18px 24px;
  border-radius: 0 20px 0 0;
}
.doctor-profile-content { max-width: 650px; }
.doctor-profile-content h2 {
  max-width: 620px;
  margin: 0 0 12px;
  font-size: clamp(2.55rem, 4vw, 4rem);
  line-height: 1.08;
  letter-spacing: -.04em;
}
.doctor-profile-content h2 span { display: block; }
.doctor-role { margin-bottom: 0; font-size: 1rem; }
.role-separator { color: var(--gold); padding: 0 5px; }
.doctor-profile-content .gold-divider { margin: 24px 0 26px; }
.doctor-profile-content .doctor-intro {
  color: #65565b;
  font-size: 1.02rem;
  line-height: 1.85;
  max-width: 610px;
  margin-bottom: 28px;
}
.doctor-care-heading {
  margin: 0 0 16px;
  color: var(--burgundy);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
}
.doctor-care-list {
  list-style: none;
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 0 0 30px;
}
.doctor-care-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #65565b;
  line-height: 1.6;
  font-size: .95rem;
}
.doctor-care-list li span {
  display: inline-grid;
  place-items: center;
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
  margin-top: 1px;
  border-radius: 50%;
  color: #68451c;
  background: #f5ead4;
  font-size: .8rem;
  font-weight: 700;
}
.doctor-appointment-button { margin-top: 0 !important; }

@media (max-width: 1024px) {
  .hero-grid { gap: 34px; min-height: 610px; }
  .hero h1 { font-size: clamp(2.8rem, 5.2vw, 4rem); }
  .hero-image-frame { height: 490px; }
  .doctor-grid { gap: 42px; }
}
@media (max-width: 760px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    padding-top: 54px;
    padding-bottom: 62px;
  }
  .hero-content { text-align: left; }
  .hero h1 { font-size: clamp(2.7rem, 10vw, 4rem); margin-left: 0; }
  .hero-description { margin-left: 0; }
  .doctor-credential, .hero-actions { justify-content: flex-start; }
  .hero-location { margin-left: 0; }
  .hero-visual { max-width: 470px; padding: 0 10px 35px 16px; }
  .hero-image-frame { height: clamp(390px, 112vw, 500px); border-radius: 26px 100px 12px 12px; }
  .hero-image-frame::before { border-radius: 19px 90px 7px 7px; }
  .hero-image-caption { left: 0; min-width: 0; width: min(300px, 94%); padding: 15px 17px; }
  .doctor-grid { grid-template-columns: minmax(0, 1fr); gap: 42px; }
  .doctor-profile-image { width: min(100%, 420px); min-height: 0; margin: 0 auto; }
  .doctor-profile-image > img { height: clamp(400px, 115vw, 500px); }
  .doctor-profile-content h2 { font-size: clamp(2.4rem, 8.5vw, 3.4rem); }
}
@media (max-width: 480px) {
  .hero-content { text-align: left; }
  .hero h1 { font-size: clamp(2.45rem, 10.3vw, 3.2rem); }
  .hero-actions { align-items: stretch; }
  .hero-image-caption strong { font-size: .92rem; }
  .doctor-section { padding-top: 64px; padding-bottom: 64px; }
  .doctor-profile-image { padding-right: 10px; padding-bottom: 14px; }
  .doctor-photo-caption { left: -6px; padding: 14px 16px; }
  .doctor-care-list { gap: 12px; }
}


/* VISUAL DIRECTION: premium editorial hero with clinic photography */
.hero {
  overflow: hidden;
  position: relative;
  background: radial-gradient(ellipse at 72% 35%, rgba(105, 31, 52, .42), transparent 42%), #310b18;
}
.hero-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, .98fr);
  gap: clamp(34px, 4vw, 64px);
  min-height: 570px;
  padding-top: 58px;
  padding-bottom: 58px;
  align-items: center;
}
.hero-content { position: relative; z-index: 3; max-width: 700px; }
.hero h1 {
  max-width: 740px;
  font-size: clamp(3.15rem, 4.6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -.052em;
}
.hero-description { max-width: 560px; font-size: 1.04rem; line-height: 1.75; }
.hero-visual {
  position: relative;
  min-width: 0;
  width: 100%;
  padding: 0 0 28px 0;
  isolation: isolate;
}
.hero-image-frame {
  position: relative;
  width: 100%;
  max-width: none;
  height: clamp(390px, 39vw, 500px);
  overflow: hidden;
  border: 1px solid rgba(219, 181, 107, .8);
  border-radius: 46% 12px 12px 46% / 52% 12px 12px 52%;
  background: #5a3026;
  box-shadow: 16px 18px 0 rgba(201, 164, 92, .12);
}
.hero-image-frame::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 10px;
  border: 1px solid rgba(246, 223, 174, .46);
  border-radius: inherit;
  pointer-events: none;
}
.hero-clinic-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  filter: saturate(.88) contrast(1.02);
}
.hero-image-caption {
  position: absolute;
  z-index: 4;
  left: auto;
  right: -8px;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 260px;
  padding: 17px 22px;
  color: var(--burgundy);
  background: #fbf6ed;
  border: 1px solid rgba(201, 164, 92, .6);
  border-radius: 18px 0 18px 0;
  box-shadow: 0 14px 35px rgba(17, 4, 8, .18);
}
.hero-image-caption .caption-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  background: #f0e3ca;
  color: #6d431a;
  font-size: 1.5rem;
}
.hero-image-caption strong { display: block; color: var(--burgundy); font-family: var(--font-heading); font-size: 1.02rem; }
.hero-image-caption div span { display: block; margin-top: 4px; color: #66585d; font-size: .84rem; }
.hero-decor-one { z-index: -1; }
.value-strip { background: #fbf7f0; border-bottom: 1px solid rgba(164, 119, 53, .12); }
.value-grid { min-height: 104px; }
.value-item { padding: 18px clamp(10px, 2vw, 28px); }
.value-icon { background: #f2e7d4; border: 1px solid rgba(201,164,92,.22); }

/* Keep the doctor portrait exclusive to the dentist profile section */
.doctor-profile-image > img { object-position: center 10%; }
.doctor-profile-content { align-self: center; }
.doctor-profile-content h2 { font-size: clamp(2.45rem, 3.8vw, 3.8rem); }
.doctor-care-list { grid-template-columns: 1fr; }

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(320px, .88fr); gap: 30px; min-height: 560px; }
  .hero h1 { font-size: clamp(2.8rem, 5vw, 4rem); }
  .hero-image-frame { height: clamp(370px, 48vw, 450px); }
  .hero-image-caption { right: -4px; min-width: 240px; }
}
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; padding-top: 48px; padding-bottom: 54px; }
  .hero h1 { font-size: clamp(2.6rem, 10vw, 3.7rem); }
  .hero-visual { width: min(100%, 520px); margin-inline: auto; padding: 0 8px 26px 0; }
  .hero-image-frame { height: clamp(310px, 82vw, 420px); border-radius: 34% 12px 12px 12px / 40% 12px 12px 12px; }
  .hero-image-caption { right: 0; bottom: 0; min-width: 0; width: min(300px, 92%); padding: 13px 15px; }
  .hero-image-caption .caption-mark { width: 38px; height: 38px; flex-basis: 38px; }
  .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value-item { justify-content: flex-start; }
}
@media (max-width: 480px) {
  .hero-grid { padding-top: 38px; }
  .hero h1 { font-size: clamp(2.35rem, 10.5vw, 3rem); }
  .hero-description { font-size: .96rem; }
  .hero-image-frame { height: 320px; }
  .hero-image-caption strong { font-size: .9rem; }
  .hero-image-caption div span { font-size: .76rem; }
  .value-grid { gap: 0; }
  .value-item { gap: 10px; font-size: .82rem; }
  .value-icon { width: 42px; height: 42px; flex-basis: 42px; }
}



/* =========================================================
   HERO IMAGE — clinic-hero.webp
   Final responsive refinement for the current HTML markup
========================================================= */
.hero-visual {
  align-self: center;
  min-width: 0;
  overflow: visible;
}

.hero-image-frame {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 520px;
  height: clamp(360px, 37vw, 500px);
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgba(219, 181, 107, 0.82);
  border-radius: 34px 110px 14px 14px;
  background: #f2e7d4;
  box-shadow: 14px 16px 0 rgba(201, 164, 92, 0.13);
}

.hero-image-frame::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 10px;
  border: 1px solid rgba(246, 223, 174, 0.55);
  border-radius: 25px 101px 8px 8px;
  pointer-events: none;
}

.hero-clinic-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  filter: saturate(0.92) contrast(1.02);
}

.hero-image-caption {
  right: -8px;
  bottom: 0;
  left: auto;
  width: min(320px, calc(100% - 8px));
  min-width: 0;
  padding: 16px 20px;
  border: 1px solid rgba(201, 164, 92, 0.7);
  border-radius: 16px 0 16px 0;
  background: #fbf6ed;
  box-shadow: 0 14px 35px rgba(17, 4, 8, 0.2);
}

.hero-image-caption .caption-mark {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f0e3ca;
  color: #6d431a;
}

.hero-image-caption strong {
  color: #401225;
}

.hero-image-caption div span {
  color: #66585d;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(290px, 0.88fr);
    gap: 30px;
    min-height: 0;
    padding-top: 54px;
    padding-bottom: 58px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 4.8vw, 3.8rem);
  }

  .hero-image-frame {
    height: clamp(340px, 43vw, 430px);
    border-radius: 28px 84px 12px 12px;
  }

  .hero-image-frame::before {
    border-radius: 20px 75px 7px 7px;
  }

  .hero-image-caption {
    right: 0;
    width: min(290px, 94%);
    padding: 13px 15px;
  }
}

@media (max-width: 760px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    padding-top: 44px;
    padding-bottom: 52px;
  }

  .hero-content {
    text-align: left;
  }

  .hero h1 {
    max-width: 620px;
    font-size: clamp(2.45rem, 9.3vw, 3.55rem);
    line-height: 1.08;
  }

  .hero-description {
    max-width: 560px;
    margin-left: 0;
    font-size: 0.95rem;
  }

  .doctor-credential,
  .hero-actions {
    justify-content: flex-start;
  }

  .hero-location {
    margin-left: 0;
  }

  .hero-visual {
    width: min(100%, 520px);
    margin-inline: auto;
    padding: 0 8px 30px 0;
  }

  .hero-image-frame {
    width: 100%;
    max-width: 480px;
    height: clamp(290px, 78vw, 410px);
    border-radius: 28px 76px 12px 12px;
  }

  .hero-image-frame::before {
    inset: 8px;
    border-radius: 21px 68px 7px 7px;
  }

  .hero-image-caption {
    right: 0;
    bottom: 0;
    width: min(300px, 94%);
    padding: 12px 14px;
  }
}

@media (max-width: 480px) {
  .hero-grid {
    padding-top: 36px;
    padding-bottom: 44px;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 10vw, 2.9rem);
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-image-frame {
    height: 290px;
    border-radius: 24px 64px 10px 10px;
  }

  .hero-image-frame::before {
    border-radius: 17px 56px 6px 6px;
  }

  .hero-image-caption {
    width: min(280px, 96%);
    padding: 11px 12px;
  }

  .hero-image-caption strong {
    font-size: 0.9rem;
  }

  .hero-image-caption div span {
    font-size: 0.75rem;
  }
}


/* MOBILE ONLY — restore premium breathing room in dentist profile */
@media (max-width: 760px) {
  .doctor-profile-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-left: 22px !important;
    padding-right: 22px !important;
    box-sizing: border-box;
  }

  .doctor-profile-content h2,
  .doctor-profile-content .doctor-intro,
  .doctor-profile-content .doctor-care-heading,
  .doctor-profile-content .doctor-care-list,
  .doctor-profile-content .doctor-role,
  .doctor-profile-content .eyebrow,
  .doctor-profile-content .gold-divider {
    max-width: 100%;
  }

  .doctor-profile-content .doctor-appointment-button {
    max-width: 100%;
  }
}

@media (max-width: 380px) {
  .doctor-profile-content {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
}


/* Premium full-screen mobile navigation overlay */
@media (max-width: 760px) {
  .main-nav { position: fixed !important; inset: 0 !important; z-index: 999 !important; display: flex !important; flex-direction: column !important; justify-content: center !important; align-items: flex-start !important; gap: clamp(12px, 2.6vh, 24px) !important; padding: 100px clamp(28px, 8vw, 56px) 48px !important; background: radial-gradient(circle at 85% 12%, rgba(180,139,75,.14), transparent 32%), #310b18 !important; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-12px) scale(.99); clip-path: inset(0 0 100% 0); transition: clip-path .62s cubic-bezier(.76,0,.24,1), opacity .28s ease, transform .55s cubic-bezier(.2,.75,.25,1), visibility .62s; overflow-y: auto; }
  .main-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0) scale(1); clip-path: inset(0 0 0 0); }
  .main-nav a { display: block; width: 100%; color: #fff9f0 !important; font-family: Georgia, 'Times New Roman', serif !important; font-size: clamp(2rem, 8vw, 3.7rem) !important; line-height: 1.05 !important; letter-spacing: -.035em; opacity: 0; transform: translateY(22px); transition: opacity .4s ease, transform .5s cubic-bezier(.2,.75,.25,1); }
  .main-nav.is-open a { opacity: 1; transform: translateY(0); }
  .main-nav.is-open a:nth-child(1) { transition-delay: .12s; } .main-nav.is-open a:nth-child(2) { transition-delay: .17s; } .main-nav.is-open a:nth-child(3) { transition-delay: .22s; } .main-nav.is-open a:nth-child(4) { transition-delay: .27s; } .main-nav.is-open a:nth-child(5) { transition-delay: .32s; } .main-nav.is-open a:nth-child(6) { transition-delay: .37s; } .main-nav.is-open a:nth-child(7) { transition-delay: .42s; }
  body.menu-open { overflow: hidden; touch-action: none; }
  .menu-toggle { z-index: 1001 !important; position: relative; }
  .menu-toggle span { transition: transform .35s ease, opacity .2s ease; transform-origin: center; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(.4); }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (prefers-reduced-motion: reduce) { .main-nav, .main-nav a, .menu-toggle span { transition-duration: .01ms !important; } }

/* DR DEPENDABLE DENTISTRY — mobile gallery toolbar fix */
@media (max-width: 767px) {
  .gallery-toolbar {
    display: block;
  }

  .gallery-controls {
    display: none !important;
  }

  .gallery-note {
    width: 100%;
    max-width: 100%;
    margin: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}


/* Original AI-created treatment artwork — copyright-risk reduction */
.treatment-art {
  height: auto;
  aspect-ratio: 4 / 3;
  display: block;
  background: #f4eee7;
  overflow: hidden;
}
.treatment-art::before,
.treatment-art::after { display: none; }
.treatment-art img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
}
.treatment-card:hover .treatment-art img { transform: scale(1.035); }
@media (max-width: 760px) {
  .treatment-art { aspect-ratio: 16 / 10; }
  .treatment-art img { aspect-ratio: 16 / 10; }
}
@media (prefers-reduced-motion: reduce) {
  .treatment-art img { transition: none; }
}




/* BRANDED INTRO — restrained, lightweight and reduced-motion aware */
.brand-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #2b0b16;
  color: #f8f1e7;
  opacity: 1;
  visibility: visible;
  transition: opacity 360ms ease, visibility 360ms ease;
}
.brand-preloader.is-finished {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.brand-preloader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  transform: translateY(0);
  animation: brand-intro-arrive 650ms cubic-bezier(.2,.75,.25,1) both;
}
.brand-preloader__logo {
  display: block;
  width: clamp(76px, 18vw, 108px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 50%;
  animation: brand-logo-breathe 1.8s ease-in-out infinite;
}
.brand-preloader__name { display: grid; justify-items: center; gap: 10px; }
.brand-preloader__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(24px, 5vw, 34px);
  font-weight: 600;
  letter-spacing: .015em;
  line-height: 1.15;
}
.brand-preloader__rule {
  display: block;
  width: 54px;
  height: 2px;
  border-radius: 99px;
  background: #c8a15a;
  transform-origin: center;
  animation: brand-rule-draw 700ms 180ms ease both;
}
.brand-preloader__caption {
  color: rgba(248,241,231,.72);
  font: 500 10px/1.4 "DM Sans", Arial, sans-serif;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.brand-preloader__progress {
  display: block;
  width: 112px;
  height: 2px;
  margin-top: 7px;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(248,241,231,.16);
}
.brand-preloader__progress span {
  display: block;
  width: 38%;
  height: 100%;
  border-radius: inherit;
  background: #c8a15a;
  animation: brand-progress 1.1s ease-in-out infinite;
}
@keyframes brand-intro-arrive {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes brand-logo-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}
@keyframes brand-rule-draw {
  from { transform: scaleX(0); opacity: .45; }
  to { transform: scaleX(1); opacity: 1; }
}
@keyframes brand-progress {
  from { transform: translateX(-115%); }
  to { transform: translateX(300%); }
}
@media (prefers-reduced-motion: reduce) {
  .brand-preloader,
  .brand-preloader__inner,
  .brand-preloader__logo,
  .brand-preloader__rule,
  .brand-preloader__progress span { animation: none !important; transition-duration: .01ms !important; }
}
