:root {
  --ink: #08151d;
  --carbon: #10202a;
  --blue: #005ca8;
  --blue-deep: #003a72;
  --teal: #078a9b;
  --cyan: #6fd8e9;
  --paper: #f7fbfd;
  --white: #ffffff;
  --muted: #5c6d78;
  --line: rgba(0, 92, 168, 0.15);
  --shadow: 0 24px 70px rgba(7, 21, 29, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

img,
iframe {
  max-width: 100%;
}

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

button {
  font: inherit;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 998;
  width: 100%;
  height: 4px;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--blue), var(--teal), var(--cyan));
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(111, 216, 233, 0.22), transparent 28%),
    radial-gradient(circle at 22% 18%, rgba(0, 92, 168, 0.36), transparent 30%),
    radial-gradient(circle at 78% 82%, rgba(7, 138, 155, 0.32), transparent 32%),
    linear-gradient(135deg, #03080c 0%, #071926 46%, #020608 100%);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    linear-gradient(115deg, transparent 36%, rgba(255, 255, 255, 0.08), transparent 58%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 96px);
  animation: preloaderSweep 2.8s ease-in-out infinite;
}

.preloader::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 0 34%, rgba(0, 0, 0, 0.4) 72%);
  pointer-events: none;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader__halo {
  position: absolute;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  filter: blur(12px);
  opacity: 0.48;
  animation: haloPulse 2.2s ease-in-out infinite alternate;
}

.preloader__halo--one {
  background: radial-gradient(circle, rgba(111, 216, 233, 0.42), transparent 64%);
}

.preloader__halo--two {
  width: 560px;
  height: 560px;
  background: conic-gradient(from 90deg, rgba(0, 92, 168, 0), rgba(0, 92, 168, 0.38), rgba(7, 138, 155, 0.36), rgba(0, 92, 168, 0));
  animation: spinHalo 5.8s linear infinite;
}

.preloader__content {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 20px;
  width: min(420px, calc(100vw - 48px));
  animation: logoEntrance 0.9s ease both;
}

.preloader__logo-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: min(390px, 88vw);
  min-height: 150px;
  padding: 26px 32px;
  border: 1px solid rgba(111, 216, 233, 0.2);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(238, 248, 251, 0.9)),
    var(--white);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.42),
    0 0 70px rgba(111, 216, 233, 0.22);
  animation: logoFloat 1.85s ease-in-out infinite alternate;
}

.preloader__logo-wrap::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--cyan), transparent 42%, var(--blue));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.preloader__content img {
  position: relative;
  width: min(320px, 74vw);
  height: auto;
  filter: drop-shadow(0 18px 24px rgba(0, 58, 114, 0.24));
}

.preloader__content span {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 0 24px rgba(111, 216, 233, 0.28);
}

.preloader__bar {
  width: 100%;
  height: 6px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 24px rgba(111, 216, 233, 0.16);
}

.preloader__bar i {
  display: block;
  width: 45%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--teal), var(--cyan));
  animation: loadbar 1.1s ease-in-out infinite alternate;
}

@keyframes preloaderSweep {
  0% {
    transform: translateX(-12%) rotate(0deg);
  }

  50% {
    transform: translateX(12%) rotate(4deg);
  }

  100% {
    transform: translateX(-12%) rotate(0deg);
  }
}

@keyframes haloPulse {
  from {
    transform: scale(0.88);
    opacity: 0.32;
  }

  to {
    transform: scale(1.06);
    opacity: 0.58;
  }
}

@keyframes spinHalo {
  to {
    transform: rotate(360deg);
  }
}

@keyframes logoEntrance {
  from {
    transform: translateY(18px) scale(0.95);
    opacity: 0;
  }

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

@keyframes logoFloat {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-8px);
  }
}

@keyframes loadbar {
  to {
    transform: translateX(125%);
  }
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 900;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 36px rgba(6, 20, 28, 0.1);
  backdrop-filter: blur(12px);
  transform: translateX(-50%);
  transition: min-height 0.25s ease, padding 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  min-height: 58px;
  padding-top: 8px;
  padding-bottom: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 42px rgba(21, 21, 18, 0.2);
}

.brand img {
  display: block;
  width: 190px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  color: var(--carbon);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav a {
  transition: color 0.25s ease;
}

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

.header-cta,
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  max-height: 56px;
  width: fit-content;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  isolation: isolate;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.header-cta::before,
.btn::before,
.fab::before {
  content: "";
  position: absolute;
  inset: -35% auto -35% -70%;
  z-index: 0;
  width: 48%;
  pointer-events: none;
  transform: skewX(-22deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.68), transparent);
  animation: shine 3.2s ease-in-out infinite;
}

@keyframes shine {
  0%,
  38% {
    left: -70%;
  }

  58%,
  100% {
    left: 135%;
  }
}

.header-cta,
.btn--primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-deep), var(--blue) 54%, var(--teal));
  box-shadow: 0 16px 34px rgba(0, 92, 168, 0.26);
}

.btn--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.btn--map {
  color: var(--blue-deep);
  border-color: var(--line);
  background: var(--white);
  box-shadow: 0 14px 30px rgba(0, 58, 114, 0.12);
}

.btn svg,
.header-cta svg,
.fab svg {
  width: 19px;
  height: 19px;
}

.cta-whatsapp {
  fill: currentColor;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 150px max(24px, calc((100vw - 1180px) / 2)) 90px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(4, 13, 19, 0.94) 0%, rgba(4, 13, 19, 0.74) 38%, rgba(4, 13, 19, 0.26) 72%),
    linear-gradient(180deg, rgba(4, 13, 19, 0.18), rgba(4, 13, 19, 0.58)),
    url("assets/hero-clinic.png") center center / cover no-repeat,
    var(--ink);
}

.hero__track,
.hero__slide,
.hero__slide img,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__slide {
  opacity: 0;
  transition: opacity 0.9s ease;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  background: var(--ink);
  opacity: 0;
}

.hero__overlay {
  display: none;
}

.hero__copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 24px;
  width: min(690px, 100%);
}

.eyebrow {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(3rem, 7vw, 6.9rem);
  line-height: 0.95;
}

.hero p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 1.7vw, 1.32rem);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__mobile-logo {
  display: none;
}

.testimonial-dots,
.carousel-dots {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.testimonial-dots {
  margin-top: 28px;
  padding-inline: 18px;
}

.testimonial-dots button,
.carousel-dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.testimonial-dots button.is-active,
.carousel-dots button.is-active {
  width: 34px;
  border-radius: 99px;
  background: var(--cyan);
}

.section-pad {
  padding: 110px max(24px, calc((100vw - 1180px) / 2));
}

.section-head {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin-bottom: 42px;
}

.section-head h2 {
  color: var(--carbon);
  font-size: clamp(2.2rem, 4.6vw, 4.35rem);
  line-height: 1.02;
}

.section-head p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: -42px;
  position: relative;
  z-index: 4;
  padding-top: 0;
}

.metrics article,
.service-card,
.method-grid article,
.booking__box,
.faq details,
.testimonial {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.metrics article {
  display: grid;
  gap: 6px;
  min-height: 148px;
  padding: 28px;
}

.metrics strong {
  color: var(--blue);
  font-size: 2.8rem;
  line-height: 1;
}

.metrics span {
  color: var(--muted);
  font-weight: 700;
}

.clinic-preview {
  padding-top: 78px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(238, 248, 251, 0.92)),
    var(--paper);
}

.image-carousel {
  position: relative;
  display: grid;
  gap: 18px;
}

.image-carousel__track {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow);
  background: var(--ink);
}

.mini-carousel .image-carousel__track {
  min-height: 430px;
}

.image-carousel__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 0.55s ease, transform 1.1s ease;
}

.image-carousel__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.image-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-carousel__slide figcaption {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: grid;
  gap: 4px;
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 18px;
  color: var(--white);
  font-weight: 900;
  background: rgba(4, 13, 19, 0.54);
  backdrop-filter: blur(12px);
}

.image-carousel__slide figcaption strong {
  font-size: 0.98rem;
}

.image-carousel__slide figcaption span {
  max-width: 440px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
}

.experience-carousel .image-carousel__track {
  background:
    linear-gradient(135deg, #061018, #10202a),
    var(--ink);
}

.experience-carousel .image-carousel__slide img {
  object-fit: contain;
  padding: 18px;
}

.carousel-dots button {
  background: rgba(0, 92, 168, 0.25);
}

.service-grid,
.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card,
.method-grid article {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 280px;
  padding: 30px;
}

.service-card svg {
  width: 34px;
  height: 34px;
  color: var(--teal);
}

.service-card h3,
.method-grid h3,
.booking__box h3 {
  color: var(--carbon);
  font-size: 1.23rem;
}

.service-card p,
.method-grid p,
.booking__box p,
.faq p {
  color: var(--muted);
  line-height: 1.7;
}

.gallery {
  background: linear-gradient(180deg, #eef8fb, var(--paper));
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 18px;
}

.gallery-grid figure {
  position: relative;
  min-height: 430px;
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.gallery-grid figure:first-child {
  min-height: 560px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-grid figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--white);
  font-weight: 800;
  background: rgba(4, 13, 19, 0.56);
  backdrop-filter: blur(12px);
}

.method {
  background: var(--white);
}

.method-grid article span {
  color: var(--blue);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3rem;
  font-weight: 700;
}

.split,
.contact__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 28px;
}

.split__copy {
  display: grid;
  gap: 22px;
}

.split__copy h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.04;
}

.split__copy p {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.8;
}

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

.check-grid span,
.booking__box li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--carbon);
  font-weight: 800;
}

.check-grid svg,
.booking__box svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--teal);
}

.split__media {
  display: grid;
  place-items: center;
  min-height: 430px;
  padding: 44px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(0, 92, 168, 0.9), rgba(7, 138, 155, 0.86)),
    var(--carbon);
  box-shadow: var(--shadow);
}

.split__media--logo {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(238, 248, 251, 0.94)),
    var(--white);
}

.split__media--logo::before {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(0, 92, 168, 0.14);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(111, 216, 233, 0.12), transparent 42%),
    rgba(255, 255, 255, 0.64);
}

.split__media img {
  position: relative;
  z-index: 1;
  width: min(430px, 100%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(0, 58, 114, 0.16));
}

.testimonials {
  background: linear-gradient(135deg, var(--carbon), #071018);
  color: var(--white);
}

.testimonials .section-head h2,
.testimonials .section-head p {
  color: var(--white);
}

.testimonial-carousel {
  position: relative;
  min-height: 390px;
}

.testimonial {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 18px;
  width: min(860px, 100%);
  margin: auto;
  min-height: 330px;
  padding: 42px 46px 34px;
  overflow: hidden;
  border: 1px solid rgba(111, 216, 233, 0.26);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(238, 248, 251, 0.94)),
    var(--white);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.testimonial::before {
  content: "";
  position: absolute;
  inset: 0 0 auto auto;
  width: 7px;
  height: 100%;
  background: linear-gradient(180deg, var(--cyan), var(--teal), var(--blue));
}

.testimonial::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -130px;
  width: 290px;
  height: 290px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 216, 233, 0.24), transparent 64%);
}

.testimonial.is-active {
  opacity: 1;
  transform: translateY(0);
}

.testimonial__quote {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  color: var(--white);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 4rem;
  line-height: 1;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  box-shadow: 0 16px 36px rgba(0, 92, 168, 0.22);
}

.testimonial p {
  position: relative;
  z-index: 1;
  color: #5d646b;
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  font-weight: 750;
  line-height: 1.48;
}

.testimonial strong {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
  color: var(--carbon);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-weight: 900;
  text-align: right;
}

.testimonial strong::before {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  border-radius: 99px;
  background: var(--teal);
}

.testimonial__line {
  display: block;
  justify-self: end;
  width: min(300px, 58%);
  height: 2px;
  margin-top: 4px;
  background: linear-gradient(90deg, transparent, rgba(7, 138, 155, 0.58));
}

.testimonial img {
  position: relative;
  z-index: 1;
  justify-self: start;
  align-self: end;
  width: min(240px, 58%);
  height: auto;
  margin-top: 8px;
  object-fit: contain;
  opacity: 0.95;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq details {
  padding: 22px 26px;
}

.faq summary {
  color: var(--carbon);
  cursor: pointer;
  font-weight: 900;
}

.faq p {
  padding-top: 12px;
}

.contact {
  background: #eef8fb;
}

.booking__box {
  display: grid;
  gap: 20px;
  padding: 34px;
}

.booking__box ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-actions {
  display: grid;
  gap: 12px;
  align-items: start;
  justify-items: start;
}

.contact .btn--ghost {
  color: var(--blue-deep);
  border-color: var(--line);
  background: var(--white);
}

.map-wrap {
  overflow: hidden;
  min-height: 430px;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 430px;
}

.footer {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 46px 24px 92px;
  text-align: center;
  color: rgba(255, 255, 255, 0.74);
  background: var(--ink);
}

.footer img {
  width: 230px;
  height: auto;
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 16px;
  border: 1px solid rgba(111, 216, 233, 0.24);
  border-radius: 999px;
  color: var(--cyan);
  font-size: 0.86rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.05);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.footer-credit:hover {
  transform: translateY(-2px);
  border-color: rgba(111, 216, 233, 0.5);
  background: rgba(255, 255, 255, 0.09);
}

.floating-actions {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  display: grid;
  gap: 12px;
}

.fab {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  color: var(--white);
  background: #21b45b;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
  isolation: isolate;
}

.fab .brand-icon {
  position: relative;
  z-index: 1;
}

.fab--instagram {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.brand-icon {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    width: calc(100% - 28px);
    top: 12px;
    border-radius: 20px;
  }

  .brand img {
    width: 168px;
  }

  .nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav.is-open {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: grid;
    gap: 6px;
    padding: 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    text-align: center;
  }

  .nav.is-open a {
    padding: 13px;
  }

  .hero {
    min-height: 92svh;
    padding-top: 132px;
  }

  .metrics,
  .service-grid,
  .method-grid,
  .split,
  .contact__grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid figure,
  .gallery-grid figure:first-child {
    min-height: 360px;
  }
}

@media (max-width: 768px) {
  .section-pad {
    padding: 78px 20px;
  }

  .section-head,
  .split__copy,
  .booking__box {
    text-align: center;
    align-items: center;
    justify-content: center;
    margin-inline: auto;
  }

  .section-head p,
  .split__copy p {
    text-align: center;
  }

  .hero {
    min-height: auto;
    align-items: start;
    padding: 126px 20px 34px;
    text-align: center;
  }

  .hero__overlay {
    display: none;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(4, 13, 19, 0.86), rgba(4, 13, 19, 0.76)),
      url("assets/hero-clinic.png") center center / cover no-repeat,
      var(--ink);
  }

  .hero__copy {
    justify-items: center;
    order: 1;
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 3.7rem);
    line-height: 0.98;
  }

  .hero__actions {
    justify-content: center;
    order: 3;
  }

  .hero__mobile-logo {
    display: block;
    order: 4;
    width: min(245px, 72vw);
    height: auto;
    margin-top: 16px;
    margin-bottom: 0;
    padding: 12px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  }

  .site-header,
  .metrics article,
  .service-card,
  .method-grid article,
  .booking__box,
  .faq details,
  .testimonial,
  .image-carousel__track,
  .map-wrap {
    backdrop-filter: none;
  }

  .btn,
  .header-cta {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
  }

  .metrics,
  .service-grid,
  .method-grid,
  .split,
  .contact__grid,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .metrics {
    margin-top: 0;
    padding-top: 54px;
  }

  .metrics article,
  .service-card,
  .method-grid article {
    min-height: auto;
    text-align: center;
    justify-items: center;
  }

  .gallery-grid figure,
  .gallery-grid figure:first-child,
  .image-carousel__track,
  .mini-carousel .image-carousel__track,
  .split__media,
  .map-wrap {
    min-height: 300px;
  }

  .gallery-grid img {
    width: 100%;
    height: auto;
    min-height: 100%;
    object-fit: contain;
  }

  .hero__slide img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: 56% center;
  }

  .image-carousel__slide img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
  }

  .experience-carousel .image-carousel__slide img {
    object-fit: contain;
    height: auto;
    min-height: 0;
    padding: 10px 10px 0;
  }

  .experience-carousel .image-carousel__track {
    display: grid;
    min-height: 350px;
    border-radius: 22px;
  }

  .experience-carousel .image-carousel__slide {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 12px;
    padding: 14px;
  }

  .experience-carousel .image-carousel__slide figcaption {
    position: static;
    width: 100%;
    max-width: 310px;
    margin-inline: auto;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(238, 248, 251, 0.9));
    color: var(--carbon);
    border-color: rgba(7, 138, 155, 0.2);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.16);
    text-align: center;
    justify-items: center;
  }

  .experience-carousel .image-carousel__slide figcaption span {
    color: var(--muted);
  }

  .mini-carousel .image-carousel__slide figcaption {
    left: 14px;
    right: 14px;
    bottom: 14px;
    text-align: center;
    justify-items: center;
  }

  .mini-carousel .image-carousel__slide figcaption span {
    max-width: 100%;
    font-size: 0.8rem;
  }

  .split__copy {
    order: 1;
  }

  .split__media {
    order: 2;
    padding: 32px;
  }

  .booking__box li,
  .check-grid span {
    justify-content: center;
  }

  .contact-actions {
    justify-items: center;
    width: 100%;
  }

  .testimonial-carousel {
    min-height: 390px;
  }

  .testimonial-dots {
    margin-top: 34px;
    gap: 9px;
  }

  .testimonial {
    min-height: 330px;
    padding: 28px 24px 26px;
    text-align: left;
    justify-items: center;
  }

  .testimonial__quote {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    font-size: 3.4rem;
  }

  .testimonial p {
    font-size: 1rem;
    line-height: 1.45;
    text-align: center;
  }

  .testimonial__line {
    justify-self: center;
    width: 62%;
    margin-top: 8px;
    background: rgba(7, 138, 155, 0.38);
  }

  .testimonial strong {
    justify-self: center;
    text-align: center;
  }

  .testimonial img {
    justify-self: center;
    width: min(210px, 72%);
    margin-top: 0;
  }

  .floating-actions {
    right: 14px;
    bottom: 14px;
  }

  .fab {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 430px) {
  .brand img {
    width: 138px;
  }

  .site-header {
    padding: 12px;
  }

  .hero__actions,
  .contact .hero__actions {
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }
}
