:root {
  --bg: #f3f8fc;
  --surface: #ffffff;
  --surface-alt: #eaf3fa;
  --text: #102233;
  --muted: #5d6f80;
  --primary: #0a6aa8;
  --primary-dark: #084f7d;
  --accent: #11a3b8;
  --success: #0a8f6a;
  --border: #d7e4ef;
  --shadow: 0 14px 30px rgba(10, 48, 78, 0.12);
  --radius: 14px;
  --radius-sm: 10px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top left, #ffffff, #edf5fb 45%, #e4f0fa 100%);
  line-height: 1.55;
}

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

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius-sm);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.topbar {
  background: #08273f;
  color: #d4e9f9;
  font-size: 0.85rem;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
}

header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand-logo {
  width: 76px;
  height: auto;
  border-radius: 0;
  flex: 0 0 auto;
}

.brand-text {
  display: block;
}

.brand small {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 500;
}

.nav-toggle {
  background: transparent;
  border: 1px solid var(--border);
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  font-weight: 600;
}

nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

nav.open {
  display: block;
}

nav ul {
  margin: 0;
  padding: 0.8rem 1rem 1rem;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

nav li {
  position: relative;
}

nav a {
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  display: inline-block;
}

.nav-category details {
  position: relative;
}

.nav-category summary {
  list-style: none;
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  display: inline-block;
  cursor: pointer;
}

.nav-category summary::-webkit-details-marker {
  display: none;
}

.nav-category summary::after {
  content: " v";
  font-size: 0.8em;
}

.nav-category details[open] summary,
.nav-category summary:hover,
.nav-category summary:focus-visible {
  background: var(--surface-alt);
  color: var(--primary-dark);
}

.dropdown-menu {
  margin: 0.45rem 0 0;
  padding: 0.5rem;
  list-style: none;
  display: grid;
  gap: 0.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.dropdown-menu a {
  width: 100%;
}

nav a:hover,
nav a:focus-visible,
nav a.active {
  background: var(--surface-alt);
  color: var(--primary-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  padding: 0.82rem 1.15rem;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-icon {
  width: 1.05em;
  height: 1.05em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.btn-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--primary), #1298cf);
  box-shadow: 0 8px 20px rgba(8, 82, 130, 0.28);
}

.btn-secondary {
  color: var(--primary-dark);
  background: #dff2ff;
}

.btn-whatsapp {
  color: #fff;
  background: #0a8f6a;
}

.hero {
  padding: 2.4rem 0 1.2rem;
}

.category-blank-page .blank-page-space {
  min-height: 28vh;
}

.hero-grid {
  display: grid;
  gap: 1.1rem;
}

.eyebrow {
  display: inline-block;
  background: #d8ecf9;
  color: #0a517f;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.77rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0.2rem 0 0.55rem;
}

h1 {
  font-size: clamp(1.65rem, 5.8vw, 3rem);
}

h2 {
  font-size: clamp(1.4rem, 5vw, 2.15rem);
}

h3 {
  font-size: 1.15rem;
}

.services-grid .card h3 {
  overflow-wrap: anywhere;
}

.facilities-section {
  background: transparent;
}

.facilities-section .section-head {
  margin-bottom: 0.85rem;
}

.facilities-section h2 {
  max-width: 980px;
}

.facilities-grid {
  gap: 0.9rem;
}

.facilities-grid .card {
  min-height: 86px;
  display: flex;
  align-items: center;
  padding: 1.05rem 1.2rem;
  border-color: #d9e8f3;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 20px rgba(10, 48, 78, 0.06);
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.facilities-grid .card:hover,
.facilities-grid .card:focus-within {
  border-color: #b8d7eb;
  box-shadow: 0 10px 24px rgba(10, 48, 78, 0.08);
}

.facilities-grid .card:focus-visible {
  outline: 3px solid rgba(17, 163, 184, 0.24);
  outline-offset: 3px;
}

.facilities-grid .card h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 700;
}

.lead {
  color: var(--muted);
  max-width: 60ch;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.card,
.panel,
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card {
  padding: 1rem;
}

.grid {
  display: grid;
  gap: 0.95rem;
}

.stats {
  margin-top: 0.95rem;
}

.stat {
  padding: 0.9rem;
  background: #f6fbff;
  border: 1px solid #dbeaf6;
  border-radius: 10px;
}

.stat strong {
  font-size: 1.35rem;
  display: block;
}

section {
  padding: 1.35rem 0;
}

.section-head {
  margin-bottom: 0.65rem;
}

.kicker {
  color: #0b5f95;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.feature-list,
.check-list {
  list-style: none;
  margin: 0.7rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.feature-list li,
.check-list li {
  background: #f8fcff;
  border: 1px solid #d7e9f7;
  border-radius: 9px;
  padding: 0.7rem;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.7rem;
}

.badge {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0d4f77;
  background: #e2f1fb;
  border: 1px solid #c7e3f7;
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
}

.gallery-grid,
.testimonial-grid,
.services-grid,
.trust-grid,
.doctor-grid,
.contact-grid,
.results-grid,
.faq-grid,
.content-grid,
.location-grid,
.blog-grid,
.certificate-grid {
  display: grid;
  gap: 0.95rem;
}

.content-grid {
  align-items: start;
}

.content-grid > * {
  min-width: 0;
}

.jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.jump-links a {
  background: #f6fbff;
  border: 1px solid #dbeaf6;
  border-radius: 999px;
  padding: 0.5rem 0.8rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.faq-grid .card p,
.content-grid .card p,
.blog-grid .card p,
.location-grid .card p {
  margin-bottom: 0;
}

.cta-band {
  background: linear-gradient(135deg, #083a5f, #0d5f97);
  color: #ecf7ff;
}

.visit-section {
  padding: 60px 0;
}

.visit-section .content-grid {
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

.cta-band .lead,
.cta-band .small {
  color: #d8edf9;
}

.cta-band .card,
.cta-band .form-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

.cta-band .feature-list li,
.cta-band .check-list li {
  color: var(--text);
}

.visit-card {
  min-height: 420px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.visit-card h2 {
  max-width: 13ch;
}

.visit-facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-top: 1rem;
}

.visit-facts span {
  display: block;
  padding: 0.68rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #f2fbff;
  font-weight: 700;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.breadcrumb a {
  color: var(--primary-dark);
}

.case {
  overflow: hidden;
}

.case figure {
  margin: 0;
}

.case figcaption {
  padding: 0.7rem 0.85rem 0.95rem;
}

.patient-stories,
.smile-transformations {
  background: rgba(255, 255, 255, 0.36);
}

.patient-grid,
.transform-grid {
  display: grid;
  gap: 1rem;
}

.patient-card {
  display: grid;
  gap: 0.35rem;
  align-content: start;
  padding: 0.85rem;
}

.patient-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.patient-head h3 {
  margin: 0 0 0.12rem;
  font-size: 1rem;
}

.patient-photo {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #dff2ff, #ffffff);
  color: var(--primary-dark);
  border: 1px solid var(--border);
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(10, 48, 78, 0.08);
}

.patient-photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.patient-card .rating {
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.patient-role {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.85rem;
}

.patient-card > p {
  font-size: 0.9rem;
  line-height: 1.45;
}

.patient-card p:last-child,
.transform-card p {
  margin-bottom: 0;
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.image-slot {
  min-height: 150px;
  border-radius: var(--radius-sm);
  border: 1px dashed #a9c7db;
  background: linear-gradient(135deg, #f8fcff, #dff0fb);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #315d7b;
  font-weight: 800;
  text-align: center;
  padding: 0.75rem;
}

.image-slot.after {
  background: linear-gradient(135deg, #f5fffb, #d9f4ec);
  color: #14634d;
}

.transform-card h3 {
  margin-top: 0;
}

.smile-transformations {
  background: linear-gradient(180deg, #ffffff 0%, var(--surface-alt) 100%);
  overflow: hidden;
}

.smile-transformations .section-head {
  text-align: center;
}

.smile-transformations h2 {
  color: var(--primary-dark);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
}

.work-grid {
  display: grid;
  gap: 1.4rem;
}

.work-card {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.work-image {
  position: relative;
  min-height: 178px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-weight: 800;
  text-transform: uppercase;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.72), transparent 34%),
    linear-gradient(135deg, #dff2ff, #b8dff5 48%, #f8fcff);
}

.work-image img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 0;
}

.transformation-image {
  min-height: 0;
  display: block;
  background: #ffffff;
}

.transformation-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: contain;
  background: #ffffff;
}

.work-image.after {
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.8), transparent 36%),
    linear-gradient(135deg, #f5fffb, #d9f4ec 48%, #ffffff);
}

.work-image strong {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 0.35rem 0.65rem;
  background: var(--primary-dark);
  color: #ffffff;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.work-label {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  width: max-content;
  max-width: calc(100% - 2rem);
  padding: 0.45rem 0.75rem;
  border: 2px solid var(--accent);
  background: #ffffff;
  color: var(--primary-dark);
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(10, 106, 168, 0.18);
}

.work-card p {
  margin: 0;
  padding: 0.85rem;
  color: var(--muted);
  background: #ffffff;
}

.rating {
  color: #ba7d00;
  font-weight: 700;
}

.form-card {
  padding: 1rem;
}

label {
  font-size: 0.85rem;
  font-weight: 700;
  display: block;
  margin-top: 0.72rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c6dceb;
  border-radius: 9px;
  padding: 0.72rem;
  font: inherit;
  margin-top: 0.3rem;
  background: #fff;
}

textarea {
  min-height: 98px;
  resize: vertical;
}

.small {
  font-size: 0.82rem;
  color: var(--muted);
}

footer {
  margin-top: 1.5rem;
  padding: 1.4rem 0 2.8rem;
  background: #08243b;
  color: #d5e5f4;
}

footer a {
  color: #e7f3ff;
}

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  padding: 0.55rem 0.7rem;
  z-index: 45;
}

.sticky-cta .inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  width: min(100%, 460px);
  margin-inline: auto;
}

.sticky-cta .btn {
  min-height: 46px;
  border-radius: 10px;
  padding: 0.68rem 0.9rem;
  font-size: 0.92rem;
  line-height: 1.15;
  box-shadow: none;
  white-space: nowrap;
}

.sticky-cta .btn-primary {
  background: #0b75b7;
}

.sticky-cta .btn-primary:hover,
.sticky-cta .btn-primary:focus-visible {
  background: #085f95;
  box-shadow: 0 8px 18px rgba(10, 106, 168, 0.24);
}

.sticky-cta .btn-whatsapp {
  background: #0a8f6a;
}

.sticky-cta .btn-whatsapp:hover,
.sticky-cta .btn-whatsapp:focus-visible {
  background: #087655;
  box-shadow: 0 8px 18px rgba(10, 143, 106, 0.24);
}

.hero-media {
  position: relative;
}

.clinic-hero-media {
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
}

.clinic-hero-media img {
  width: 100%;
  height: min(72vh, 620px);
  min-height: 360px;
  object-fit: cover;
  object-position: center 58%;
  border-radius: 8px;
}

.hero-media .floating-review {
  position: absolute;
  left: 0.65rem;
  bottom: 0.65rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.5rem;
  font-size: 0.77rem;
}

.clinic-image-grid,
.clinic-story-grid {
  display: grid;
  gap: 0.95rem;
}

.facility-photo-grid {
  margin-top: 1rem;
}

.clinic-story-grid {
  align-items: stretch;
}

.clinic-photo {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(10, 48, 78, 0.1);
}

.clinic-photo img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  border-radius: 8px;
}

.clinic-photo div {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  display: grid;
  gap: 0.15rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.93);
  color: var(--text);
  box-shadow: 0 10px 24px rgba(8, 36, 59, 0.12);
}

.clinic-photo strong {
  line-height: 1.2;
}

.clinic-photo span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.facility-photo-grid .clinic-photo {
  min-height: 260px;
}

.clinic-photo-feature {
  min-height: 420px;
}

.location-photo {
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 420px;
  aspect-ratio: auto;
  box-shadow: none;
}

.location-photo img {
  object-fit: contain;
  background: #0a3d62;
}

.location-photo div {
  color: var(--text);
}

.case img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.certificate-card {
  display: grid;
  gap: 0.55rem;
}

.certificate-card img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
}

.certificate-card h3 {
  margin-bottom: 0;
}

.certificate-card p {
  margin: 0;
  color: var(--muted);
}

.client-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.client-gallery-item {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(10, 48, 78, 0.1);
}

.client-gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 180ms ease;
}

.client-gallery-item:hover img {
  transform: scale(1.02);
}

.treatment-page .hero {
  padding: 1.25rem 0 0.65rem;
}

.treatment-page .hero-grid {
  gap: 0.8rem;
}

.treatment-page .hero h1 {
  font-size: clamp(1.55rem, 3.2vw, 2.25rem);
  max-width: 16ch;
}

.treatment-page .lead {
  font-size: 0.98rem;
  max-width: 72ch;
}

.treatment-page .hero-actions {
  margin-top: 0.65rem;
}

.treatment-page .hero .btn {
  min-height: 42px;
  padding: 0.6rem 1rem;
}

.treatment-page .treatment-hero-image {
  padding: 0.55rem;
}

.treatment-page .treatment-hero-image img {
  max-height: 190px;
  object-fit: cover;
}

.treatment-page main > section:not(.hero) {
  padding: 0.55rem 0;
}

.treatment-page .content-grid {
  gap: 0.7rem;
}

.treatment-page .card {
  padding: 0.85rem;
  box-shadow: 0 10px 24px rgba(11, 48, 70, 0.06);
}

.treatment-page .kicker {
  font-size: 0.72rem;
  margin-bottom: 0.15rem;
}

.treatment-page h2 {
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  margin-bottom: 0.35rem;
}

.treatment-page h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.treatment-page .card p {
  font-size: 0.94rem;
  line-height: 1.55;
  margin-bottom: 0;
}

.treatment-page .feature-list {
  gap: 0.35rem;
  margin-top: 0.45rem;
}

.treatment-page .feature-list li {
  padding: 0.48rem 0.6rem;
  font-size: 0.92rem;
}

.treatment-page .sticky-cta {
  padding: 0.45rem 0.65rem;
}

.treatment-page .sticky-cta .btn {
  min-height: 42px;
  padding: 0.55rem 0.8rem;
  font-size: 0.92rem;
}

.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(3, 16, 27, 0.62);
}

.popup-overlay.is-visible {
  display: flex;
}

.popup-box {
  position: relative;
  width: min(100%, 500px);
  max-height: min(92vh, 720px);
  overflow: auto;
  padding: clamp(1.4rem, 4vw, 1.9rem);
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #f7f9fb;
  box-shadow: 0 24px 70px rgba(3, 16, 27, 0.28);
  animation: popupAnim 0.38s ease;
}

.popup-box h2 {
  margin: 0 1.7rem 0.45rem;
  color: #111827;
  font-size: clamp(1.65rem, 7vw, 2.25rem);
  line-height: 1.12;
  text-align: center;
}

.popup-box p {
  margin: 0 0 1.35rem;
  color: rgb(8,79,129);
  font-size: clamp(1rem, 3.6vw, 1.25rem);
  font-weight: 700;
  text-align: center;
}

.popup-box input,
.popup-box select {
  margin: 0 0 0.9rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid #d7dde4;
  border-radius: 999px;
  background: #ffffff;
  font-size: 1rem;
  outline: none;
}

.popup-box input:focus,
.popup-box select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10, 106, 168, 0.14);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0 0 0.8rem;
  color: #334155;
  font-size: 0.9rem;
  line-height: 1.35;
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin: 0.05rem 0 0;
  flex: 0 0 auto;
}

.submit-btn {
  margin-top: 0.35rem;
  padding: 0.82rem 2.15rem;
  border: 0;
  border-radius: 10px;
  background: rgb(8,79,129);
  color: #ffffff;
  font: inherit;
  font-size: 1.08rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.submit-btn:hover,
.submit-btn:focus-visible {
  background: #5f341d;
  transform: translateY(-1px);
}

.close-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #111827;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.close-btn:hover,
.close-btn:focus-visible {
  background: #e7edf3;
}

@keyframes popupAnim {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

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

@media (min-width: 760px) {
  .nav-toggle {
    display: none;
  }

  nav {
    display: block;
    position: static;
    box-shadow: none;
    border: 0;
    background: transparent;
  }

  nav ul {
    padding: 0;
    display: flex;
    gap: 0.2rem;
    align-items: center;
  }

  .nav-category details {
    position: relative;
  }

  .dropdown-menu {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0;
    width: 300px;
    max-height: 70vh;
    overflow: auto;
    margin: 0;
    z-index: 60;
    display: grid;
  }

  .hero {
    padding: 3.1rem 0 1.4rem;
  }

  .hero-grid,
  .doctor-grid,
  .contact-grid {
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
  }

  .services-grid,
  .trust-grid,
  .testimonial-grid,
  .patient-grid,
  .results-grid,
  .faq-grid,
  .blog-grid,
  .certificate-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .work-grid {
    grid-template-columns: repeat(4, minmax(250px, 1fr));
    overflow-x: auto;
    padding-bottom: 0.4rem;
    scroll-snap-type: x proximity;
  }

  .work-card {
    scroll-snap-align: start;
  }

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

  .client-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .clinic-image-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .clinic-story-grid {
    grid-template-columns: 1.25fr 0.85fr;
  }

  .clinic-photo-feature {
    grid-row: span 2;
  }

  .content-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .visit-section .content-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

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

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

  .sticky-cta {
    left: auto;
    right: 1.25rem;
    bottom: 1.25rem;
    width: min(380px, calc(100% - 1.8rem));
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(8, 36, 59, 0.16);
  }

  .sticky-cta .inner {
    width: 100%;
  }

  .sticky-cta .btn {
    min-height: 42px;
    padding: 0.62rem 0.78rem;
  }

  .treatment-page .hero {
    padding: 1.55rem 0 0.75rem;
  }

  .treatment-page .hero-grid {
    grid-template-columns: 1.25fr 0.75fr;
  }

  .treatment-page .content-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: stretch;
  }

  .treatment-page .sticky-cta {
    width: min(360px, calc(100% - 1.8rem));
  }
}

@media (min-width: 1100px) {
  .client-gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
