/* =========================================================
   Braces and Dental Works - stylesheet
   ========================================================= */
:root {
  --blue: #16283d;
  --blue-dark: #0e1b2a;
  --teal: #00b4e6;
  --teal-dark: #0090c4;
  --mint: #e7f7fc;
  --sky: #eef5fa;
  --ink: #131b26;
  --muted: #5c6b78;
  --line: #e2e8ee;
  --white: #fff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 44px rgba(19, 27, 38, 0.14);
  --shadow-sm: 0 8px 22px rgba(19, 27, 38, 0.1);
  --container: 1160px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--teal-dark);
  text-decoration: none;
}
h1,
h2,
h3,
h4 {
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.2;
  color: var(--blue-dark);
  font-weight: 600;
}
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}
.section {
  padding: 82px 0;
}
.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--teal-dark);
}
.section h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  margin: 10px 0 16px;
}
.section-intro {
  color: var(--muted);
  max-width: 64ch;
  margin-bottom: 40px;
}
.center {
  text-align: center;
}
.center .section-intro {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: 0.2s;
  font-family: "Inter", sans-serif;
}
.btn-primary {
  background: var(--teal);
  color: #fff;
}
.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
}
.btn-blue {
  background: var(--blue);
  color: #fff;
}
.btn-blue:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}
.btn-ghost {
  border-color: currentColor;
  color: var(--blue);
}
.btn-ghost:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn-light {
  background: #fff;
  color: var(--blue);
}
.btn-light:hover {
  transform: translateY(-2px);
}
.btn-outline-light {
  border-color: #fff;
  color: #fff;
}
.btn-outline-light:hover {
  background: #fff;
  color: var(--blue);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: "Inter", sans-serif;
  font-size: 1.08rem;
  color: #fff;
  font-weight: 700;
  line-height: 1.15;
}
.brand small {
  display: block;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--blue), var(--teal));
  color: #fff;
  font-weight: 700;
  font-family: "Inter", sans-serif;
  flex-shrink: 0;
}
.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-list a {
  color: #e7eef5;
  font-weight: 500;
  font-size: 0.94rem;
}
.nav-list a:hover,
.nav-list a.active {
  color: var(--teal);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-call-head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  font-family: "Inter", sans-serif;
}
.btn-call-head:hover {
  background: var(--teal-dark);
  color: #fff;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  display: block;
  transition: 0.2s;
}

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(
      160deg,
      rgba(238, 244, 251, 0.96),
      rgba(255, 255, 255, 0.88) 55%,
      rgba(231, 247, 252, 0.9)
    ),
    url("../images/reception.jpeg") center/cover no-repeat;
  padding: 70px 0 80px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: center;
}
.hero .eyebrow {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.25rem);
  margin: 18px 0 16px;
  color: var(--blue-dark);
}
.hero h1 span {
  color: var(--teal);
}
.hero-lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 52ch;
}
.hero-actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  margin: 28px 0 26px;
}
.hero-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--muted);
}
.hero-mini strong {
  color: var(--blue-dark);
}
.hero-media {
  position: relative;
}
.hero-media > img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  aspect-ratio: 6/3;
}
.hero-badge {
  position: absolute;
  left: -18px;
  bottom: -22px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 16px 20px;
  display: flex;
  gap: 14px;
  align-items: center;
}
.hero-badge b {
  font-family: "Inter", sans-serif;
  font-size: 1.5rem;
  color: var(--blue);
  display: block;
  line-height: 1;
}
.hero-badge span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ---------- Trust strip ---------- */
.trust {
  background: var(--blue-dark);
  color: #eaf1fb;
}
.trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  padding: 30px 0;
  text-align: center;
}
.trust-inner > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.trust-inner svg {
  width: 30px;
  height: 30px;
  color: var(--teal);
  margin-bottom: 4px;
}
.trust b {
  font-family: "Inter", sans-serif;
  font-size: 1.5rem;
  color: #fff;
  display: block;
}
.trust span {
  font-size: 0.85rem;
  color: #b9cbe4;
}

/* ---------- Why choose us ---------- */
.why-us {
  background: var(--mint);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 26px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.why-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--blue), var(--teal));
  color: #fff;
  margin-bottom: 16px;
}
.why-icon svg {
  width: 26px;
  height: 26px;
}
.why-card h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
  color: var(--blue-dark);
}
.why-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---------- Services ---------- */
.services {
  background: linear-gradient(160deg, var(--sky), #fff);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: 0.22s;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.service-card img {
  width: 100%;
  object-fit: cover;
}
.service-card .body {
  padding: 22px;
}
.service-card h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}
.service-card p {
  font-size: 0.92rem;
  color: var(--muted);
}
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
  justify-content: center;
}
.chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--blue-dark);
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}
.about-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 150px;
  gap: 14px;
}
.about-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.about-collage img:first-child {
  grid-row: span 2;
  height: 100%;
}
.about-collage-single {
  display: block;
}
.about-collage-single img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.about-grid p {
  color: var(--muted);
  margin-bottom: 14px;
}
.tick-list {
  list-style: none;
  margin: 18px 0 26px;
}
.tick-list li {
  padding: 7px 0 7px 30px;
  position: relative;
  color: var(--ink);
  font-weight: 500;
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 180, 230, 0.2);
}

/* ---------- Doctors ---------- */
.doctor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.doctor-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 26px 24px;
}
.doctor-card img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  margin-bottom: 14px;
}
.doctor-card .body {
  padding: 0;
}
.doctor-card h3 {
  font-size: 1.15rem;
}
.doctor-role {
  color: var(--teal-dark);
  font-weight: 600;
  font-size: 0.86rem;
  margin: 4px 0 12px;
}
.doctor-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 10px;
}
.doctor-expertise {
  font-size: 0.86rem;
  color: var(--ink);
  background: var(--mint);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
}

/* ---------- Testimonial slider ---------- */
.testimonials {
  background: linear-gradient(160deg, var(--sky), #fff);
}
.slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}
.slider-track {
  display: flex;
  transition: transform 0.5s ease;
}
.slide {
  min-width: 100%;
  padding: 8px;
}
.slide-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 38px 40px;
  text-align: center;
}
.slide-card .stars {
  color: #f5b301;
  letter-spacing: 2px;
  font-size: 1rem;
}
.slide-card blockquote {
  font-size: 1.06rem;
  color: var(--ink);
  margin: 16px 0 18px;
  line-height: 1.7;
}
.slide-card .name {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  color: var(--blue-dark);
}
.slide-card .src {
  font-size: 0.8rem;
  color: var(--muted);
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--blue);
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  display: grid;
  place-items: center;
  z-index: 2;
}
.slider-btn:hover {
  background: var(--blue);
  color: #fff;
}
.slider-btn.prev {
  left: 2px;
}
.slider-btn.next {
  right: 2px;
}
.slider-dots {
  display: flex;
  gap: 9px;
  justify-content: center;
  margin-top: 22px;
}
.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: #c5d3e6;
  cursor: pointer;
  padding: 0;
}
.slider-dots button.active {
  background: var(--blue);
  width: 26px;
  border-radius: 999px;
}
.testimonial-cta {
  text-align: center;
  margin-top: 34px;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-sm);
}
.gallery-grid img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.gallery-item:hover img {
  transform: scale(1.12);
}
.gallery-item {
  cursor: zoom-in;
}

/* ---------- Lightbox ---------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10, 14, 20, 0.94);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.open {
  display: flex;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  border-radius: 10px;
  box-shadow: var(--shadow);
  object-fit: contain;
  animation: lightbox-in 0.2s ease;
}
@keyframes lightbox-in {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: 0.2s;
}
.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.25);
}
.lightbox-close {
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
}
.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.8rem;
}
.lightbox-nav.prev {
  left: 18px;
}
.lightbox-nav.next {
  right: 18px;
}
@media (max-width: 560px) {
  .lightbox-close {
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
  }
  .lightbox-nav {
    width: 40px;
    height: 40px;
  }
  .lightbox-nav.prev {
    left: 6px;
  }
  .lightbox-nav.next {
    right: 6px;
  }
}

/* ---------- Before & After ---------- */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 34px;
}
.ba-card {
  margin: 0;
  background: #fff;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.ba-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md, 0 12px 28px rgba(19, 27, 38, 0.12));
}
.ba-card img {
  width: 100%;
  height: 261px;
  object-fit: cover;
  display: block;
}
@media (max-width: 900px) {
  .ba-card img {
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: contain;
    background: #eef3f6;
  }
}
.ba-card figcaption {
  padding: 14px 16px;
  font-weight: 600;
  color: var(--text, #131b26);
  text-align: center;
}
.ba-note {
  margin-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted, #667);
}
@media (max-width: 900px) {
  .ba-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .ba-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- CTA band ---------- */
.cta-band {
  background:
    linear-gradient(135deg, rgba(19, 27, 38, 0.92), rgba(0, 144, 196, 0.85)),
    url("../images/operatory-2.jpeg") center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 88px 0;
}
.cta-band h2 {
  color: #fff;
}
.cta-band p {
  color: #e2edf7;
  max-width: 52ch;
  margin: 12px auto 28px;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    linear-gradient(
      160deg,
      rgba(238, 244, 251, 0.92),
      rgba(255, 255, 255, 0.96)
    ),
    url("../images/corridor.jpeg") right center/cover no-repeat;
  padding: 66px 0 58px;
  border-bottom: 1px solid var(--line);
}
.page-hero .eyebrow {
  color: var(--teal-dark);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 700;
}
.page-hero h1 {
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  margin: 10px 0 12px;
}
.page-hero p {
  color: var(--muted);
  max-width: 62ch;
}
.crumbs {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 14px;
}
.crumbs a {
  color: var(--teal-dark);
}

/* ---------- Contact ---------- */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
}
.contact-list {
  list-style: none;
  margin: 18px 0 22px;
}
.contact-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-list .ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--mint);
  color: var(--teal-dark);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-list .label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
  color: var(--teal-dark);
  font-weight: 700;
  display: block;
}
.social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.social-links a {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
}
.social-links a:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.contact-form {
  background: var(--mint);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.contact-form h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.field {
  margin-bottom: 14px;
}
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--blue-dark);
}
.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--teal);
  border-radius: 10px;
  font: inherit;
  background: #fff;
}
.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--teal);
  border-color: var(--teal);
}
.field.invalid input,
.field.invalid textarea {
  border-color: #d1495b;
}
.form-note {
  margin-top: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal-dark);
  min-height: 1.2em;
}
.map-wrap {
  margin-top: 42px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.map-wrap iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--blue-dark);
  color: #c3d3e8;
  padding: 52px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr;
  gap: 36px;
  margin-bottom: 30px;
}
.footer-grid h4 {
  color: #fff;
  font-family: "Inter", sans-serif;
  margin-bottom: 14px;
  font-size: 1rem;
}
.footer-grid p {
  font-size: 0.9rem;
  line-height: 1.7;
}
.footer-grid a {
  color: #c3d3e8;
  display: block;
  padding: 4px 0;
  font-size: 0.9rem;
}
.footer-grid a:hover {
  color: #fff;
}
.footer-contact {
  list-style: none;
  margin: 0 0 4px;
  font-size: 0.9rem;
  line-height: 1.6;
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 5px 0;
}
.footer-contact svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--teal);
}
.footer-contact a {
  display: inline;
  padding: 0;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}
.footer-social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.1);
  padding: 0;
  font-size: 0.78rem;
  font-weight: 700;
}
.footer-social a {
  color: #fff;
}
.footer-social svg {
  width: 18px;
  height: 18px;
  display: block;
}
.footer-social a:hover {
  background: var(--teal);
  color: #fff;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.83rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
}

/* ---------- Floating action buttons ---------- */
.fab-stack {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fab {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.3rem;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
  font-weight: 700;
}
.fab svg {
  width: 26px;
  height: 26px;
  display: block;
}
.fab.call {
  background: var(--blue);
}
.fab.wa {
  background: #25d366;
}
.fab:hover {
  transform: scale(1.07);
  color: #fff;
}

/* ---------- Side enquiry tab ---------- */
.side-enquiry-btn {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 98;
  background: #00b4e6;
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 16px 10px;
  border-radius: 8px 0 0 8px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.4;
}
.side-enquiry-btn:hover {
  background: #0099c7;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .doctor-grid,
  .contact-inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-media {
    order: -1;
  }
  .trust-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 12px;
  }
  .gallery-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}
@media (max-width: 820px) {
  .nav-toggle {
    display: flex;
  }
  .nav-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 22px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-list.open {
    display: flex;
  }
  .nav-list li {
    width: 100%;
  }
  .nav-list a {
    display: block;
    padding: 13px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .brand-text-full {
    display: none;
  }
}
@media (max-width: 520px) {
  .section {
    padding: 56px 0;
  }
  .hero {
    padding: 44px 0 60px;
  }
  .slide-card {
    padding: 28px 22px;
  }
  .btn-call-head span {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .slider-track {
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Service card: Call Now button ---------- */
.service-card .body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-card .body p {
  flex: 1;
}
.btn-call-sm {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  align-self: flex-start;
  background: var(--teal);
  color: #fff;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.86rem;
  padding: 9px 18px;
  border-radius: 999px;
  transition: 0.2s;
}
.btn-call-sm:hover {
  background: var(--teal-dark);
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- Comprehensive Treatment Planning ---------- */
.ctp .ctp-head {
  text-align: center;
  margin-bottom: 36px;
}
.ctp .ctp-head h2 {
  color: var(--blue);
}
.ctp-sub {
  text-align: center;
  color: var(--blue);
  font-size: 1.15rem;
  margin: 44px 0 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.ctp-diag {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.ctp-diag-card {
  background: var(--sky);
  border-radius: var(--radius-sm);
  padding: 20px;
}
.ctp-diag-card h4 {
  color: var(--blue);
  margin: 0 0 8px;
}
.ctp-diag-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 10px;
}
.ctp-diag-card .ctp-tag {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.86rem;
  margin: 0;
}
.ctp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: none;
}
.ctp-steps li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px;
}
.ctp-num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  margin-bottom: 10px;
}
.ctp-steps h4 {
  color: var(--blue);
  margin: 0 0 6px;
}
.ctp-steps p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}
.ctp-callout {
  text-align: center;
  background: var(--mint);
  border-radius: var(--radius);
  padding: 28px 24px;
  margin: 44px 0 0;
}
.ctp-callout-tags {
  color: var(--blue);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 0 0 12px;
  font-size: 0.9rem;
}
.ctp-callout-lead {
  color: var(--blue);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 6px;
}
.ctp-callout p:last-child {
  color: var(--muted);
  margin: 0;
}
.ctp-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.ctp-benefits div {
  background: var(--sky);
  border-radius: var(--radius-sm);
  padding: 20px;
}
.ctp-benefits h4 {
  color: var(--blue);
  margin: 0 0 6px;
}
.ctp-benefits p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}
.ctp-quote {
  margin: 44px 0 0;
  text-align: center;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--blue);
  border: 0;
  padding: 0 20px;
}
.ctp-quote::before {
  content: "\201C";
}
.ctp-quote::after {
  content: "\201D";
}
@media (max-width: 900px) {
  .ctp-diag,
  .ctp-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .ctp-benefits {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .ctp-diag,
  .ctp-steps,
  .ctp-benefits {
    grid-template-columns: 1fr;
  }
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 860px;
  margin: 34px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--sky);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 50px 18px 22px;
  font-weight: 600;
  color: var(--blue);
  position: relative;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--teal-dark);
}
.faq-item[open] summary::after {
  content: "\2212";
}
.faq-item p {
  padding: 0 22px 20px;
  color: var(--muted);
}

/* =========================================================
   Enquiry popup modal
   ========================================================= */
.enquiry-overlay {
  position: fixed;
  inset: 0;
  background: rgba(19, 27, 38, 0.62);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 3000;
}
.enquiry-overlay.active {
  display: flex;
}
.enquiry-modal {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px 28px 28px;
  animation: enquiryPop 0.25s ease;
}
@keyframes enquiryPop {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.enquiry-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: var(--sky);
  color: var(--blue);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
.enquiry-close:hover {
  background: var(--mint);
}
.enquiry-modal h3 {
  color: var(--blue);
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.enquiry-modal p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 18px;
}
.enquiry-modal .form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--white);
  color: var(--ink);
}
.enquiry-modal .form-control:focus {
  outline: none;
  border-color: var(--teal);
}
.enquiry-modal .btn-block {
  width: 100%;
  padding: 13px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}
.enquiry-modal .btn-block:hover {
  opacity: 0.92;
}
@media (max-width: 480px) {
  .enquiry-modal {
    padding: 30px 20px 22px;
  }
}
