:root {
  --primary-teal: #0e8b8f;
  --medical-green: #2e9e6f;
  --soft-gold: #c9a227;
  --dark-text: #0f172a;
  --paragraph: #5b6470;
  --soft-white: #f8fcfc;
  --light-section: #edf7f7;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #0e8b8f, #2e9e6f);
  --shadow-soft: 0 18px 45px rgba(14, 139, 143, 0.14);
  --shadow-strong: 0 28px 70px rgba(15, 23, 42, 0.14);
  --radius-card: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: var(--dark-text);
  background: var(--soft-white);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

p {
  color: var(--paragraph);
  line-height: 1.8;
  margin: 0;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  letter-spacing: 0;
  margin: 0;
  color: var(--dark-text);
}

h1 {
  font-size: clamp(2.55rem, 5.2vw, 5rem);
  line-height: 1.08;
  max-width: 680px;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  line-height: 1.05;
}

h3 {
  font-size: 1.45rem;
}

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

.section-pad {
  padding: 120px 0;
}

.section-tint {
  background:
    linear-gradient(180deg, rgba(237, 247, 247, 0.78), rgba(248, 252, 252, 0.95)),
    var(--light-section);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header.scrolled {
  background: rgba(248, 252, 252, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.08);
}

.navbar {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  width: 214px;
  height: 82px;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
}

.brand img,
.footer-logo {
  border-radius: 6px;
  mix-blend-mode: multiply;
}

.brand img {
  height: 82px;
  object-fit: cover;
  object-position: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 0.94rem;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  color: rgba(15, 23, 42, 0.76);
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-teal);
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(14, 139, 143, 0.16);
  background: rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  padding: 12px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--dark-text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 22%, rgba(46, 158, 111, 0.2), transparent 34%),
    linear-gradient(140deg, #f8fcfc 0%, #edf7f7 55%, #ffffff 100%);
}

.hero.section-pad {
  padding-top: 170px;
}

.ambient {
  position: absolute;
  filter: blur(50px);
  opacity: 0.42;
  z-index: -2;
  pointer-events: none;
}

.ambient-one {
  width: 46vw;
  height: 46vw;
  top: -18vw;
  right: -10vw;
  background: linear-gradient(135deg, rgba(14, 139, 143, 0.44), rgba(201, 162, 39, 0.22));
  animation: floatField 11s ease-in-out infinite alternate;
}

.ambient-two {
  width: 40vw;
  height: 40vw;
  left: -16vw;
  bottom: -18vw;
  background: linear-gradient(135deg, rgba(46, 158, 111, 0.32), rgba(255, 255, 255, 0.7));
  animation: floatField 13s ease-in-out infinite alternate-reverse;
}

.particle-field {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.28;
  background-image:
    radial-gradient(circle, rgba(14, 139, 143, 0.42) 1px, transparent 1px),
    radial-gradient(circle, rgba(201, 162, 39, 0.3) 1px, transparent 1px);
  background-size: 86px 86px, 132px 132px;
  animation: driftParticles 24s linear infinite;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 72px;
  padding-top: 80px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--primary-teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--soft-gold);
}

.hero-text {
  max-width: 630px;
  margin-top: 26px;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.btn-primary {
  color: var(--white);
  background: var(--gradient);
  box-shadow: 0 16px 34px rgba(14, 139, 143, 0.24);
}

.btn-secondary {
  color: var(--primary-teal);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(14, 139, 143, 0.18);
}

.hero-trust {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero-trust span {
  padding: 10px 14px;
  border: 1px solid rgba(14, 139, 143, 0.12);
  background: rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  color: var(--paragraph);
  font-size: 0.84rem;
  backdrop-filter: blur(12px);
}

.hero-visual {
  position: relative;
}

.doctor-frame {
  position: relative;
  padding: 18px;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(237, 247, 247, 0.52));
  box-shadow: var(--shadow-strong);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.doctor-frame::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 8px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(14, 139, 143, 0.4), rgba(201, 162, 39, 0.46));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.doctor-frame > img {
  height: min(650px, 68vh);
  object-fit: cover;
  border-radius: 8px;
  object-position: center top;
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  animation: softFloat 4.8s ease-in-out infinite alternate;
}

.care-card {
  left: -36px;
  bottom: 58px;
}

.pulse-card {
  right: -26px;
  top: 72px;
  flex-direction: column;
  align-items: flex-start;
}

.mini-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--gradient);
  font-weight: 700;
}

.floating-card strong,
.floating-card span {
  color: var(--dark-text);
  font-weight: 700;
}

.floating-card small {
  color: var(--paragraph);
}

.split-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.88fr);
  gap: 46px;
  align-items: center;
}

.section-copy p:not(.eyebrow) {
  margin-top: 24px;
}

.glass-card {
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(14, 139, 143, 0.12);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.about-panel {
  padding: 42px;
}

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

.promise-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.promise-list span {
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(237, 247, 247, 0.72);
  color: var(--dark-text);
  font-weight: 500;
}

.stats-band {
  width: 100%;
  margin-top: 64px;
  padding: 42px 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(135deg, #1767d2, #0e8b8f);
  box-shadow: 0 22px 54px rgba(23, 103, 210, 0.18);
}

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

.reference-stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 96px;
  color: var(--white);
}

.reference-stat:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.reference-stat-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.16);
  font-size: 2rem;
  font-weight: 800;
}

.reference-stat strong {
  display: block;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  line-height: 0.95;
  color: var(--white);
}

.reference-stat p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 1.05rem;
}

.section-head {
  max-width: 760px;
  text-align: center;
  margin-bottom: 54px;
}

.section-head .eyebrow {
  justify-content: center;
}

.section-head-row {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  text-align: left;
}

.section-head-row .eyebrow {
  justify-content: flex-start;
}

.speciality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card,
.doctor-card {
  position: relative;
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(14, 139, 143, 0.1);
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.07);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card {
  padding: 34px;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(14, 139, 143, 0.56), rgba(201, 162, 39, 0.5));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.service-card:hover,
.doctor-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-strong);
  border-color: rgba(14, 139, 143, 0.2);
}

.service-card:hover::before {
  opacity: 1;
}

.icon-wrap {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 8px;
  background: var(--gradient);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(14, 139, 143, 0.2);
}

.service-card p {
  margin-top: 14px;
}

.swiper-controls {
  display: flex;
  gap: 10px;
}

.swiper-controls button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(14, 139, 143, 0.18);
  background: var(--white);
  color: var(--primary-teal);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.swiper-controls button:hover {
  transform: translateY(-2px);
  background: var(--primary-teal);
  color: var(--white);
}

.doctors-swiper {
  padding: 8px 4px 44px;
}

.doctor-card {
  padding: 16px 16px 24px;
  height: auto;
}

.doctor-image {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4 / 4.6;
  margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(14, 139, 143, 0.14), rgba(237, 247, 247, 0.92));
}

.doctor-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.doctor-card:hover .doctor-image img {
  transform: scale(1.07);
}

.social-layer {
  position: absolute;
  inset: auto 14px 14px;
  display: flex;
  gap: 8px;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.doctor-card:hover .social-layer {
  opacity: 1;
  transform: translateY(0);
}

.social-layer a,
.footer-social a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: rgba(14, 139, 143, 0.88);
  font-weight: 700;
}

.doctor-card h3,
.doctor-card p,
.doctor-card span {
  margin-inline: 6px;
}

.doctor-card p {
  margin-top: 6px;
  color: var(--primary-teal);
  font-weight: 600;
}

.doctor-card span {
  display: inline-block;
  margin-top: 12px;
  color: var(--paragraph);
  font-size: 0.9rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  gap: 18px;
}

.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  background: linear-gradient(135deg, rgba(14, 139, 143, 0.14), rgba(237, 247, 247, 0.92));
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item-contain img {
  object-fit: contain;
  background: rgba(237, 247, 247, 0.9);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.58));
}

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

.gallery-item figcaption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 1;
  color: var(--white);
  font-weight: 700;
}

.quick-cards {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.appointment-wrap {
  scroll-margin-top: 130px;
  margin-bottom: 72px;
}

.appointment-form {
  display: grid;
  justify-items: center;
  gap: 20px;
  padding: 40px 38px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.1);
  border: 1px solid rgba(14, 139, 143, 0.08);
}

.appointment-fields {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 36px;
}

.appointment-fields input {
  width: 100%;
  min-height: 62px;
  padding: 0 24px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--dark-text);
  font: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.appointment-fields input:focus {
  border-color: rgba(14, 139, 143, 0.52);
  box-shadow: 0 0 0 4px rgba(14, 139, 143, 0.1);
}

.appointment-form button {
  min-width: 255px;
  min-height: 56px;
  margin-top: 2px;
  border: 0;
  border-radius: 11px;
  color: var(--white);
  background: linear-gradient(135deg, #3f82f6, #1d5eed);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(29, 94, 237, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.appointment-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(29, 94, 237, 0.28);
}

.appointment-status {
  min-height: 24px;
  text-align: center;
  color: var(--medical-green);
  font-weight: 600;
}

.quick-card {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(14, 139, 143, 0.1);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.quick-card:hover {
  transform: translateX(5px);
  border-color: rgba(14, 139, 143, 0.28);
}

.quick-card span {
  color: var(--paragraph);
  font-size: 0.9rem;
}

.quick-card strong {
  color: var(--dark-text);
  text-align: right;
}

.quick-card.emergency {
  background: linear-gradient(135deg, rgba(14, 139, 143, 0.08), rgba(201, 162, 39, 0.12));
}

.map-card {
  display: block;
  padding: 16px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.map-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.map-placeholder {
  min-height: 350px;
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(14, 139, 143, 0.86), rgba(46, 158, 111, 0.78)),
    repeating-linear-gradient(45deg, transparent 0 24px, rgba(255, 255, 255, 0.1) 24px 25px);
  color: var(--white);
}

.map-placeholder span {
  color: rgba(255, 255, 255, 0.74);
  font-weight: 600;
}

.map-placeholder strong {
  display: block;
  margin-top: 8px;
  font-family: "Playfair Display", serif;
  font-size: 2rem;
}

.map-placeholder p {
  color: rgba(255, 255, 255, 0.82);
  margin-top: 10px;
}

address {
  margin-top: 18px;
  color: var(--paragraph);
  font-style: normal;
}

.chatbot-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 0;
  background: #082b70;
  box-shadow: 0 18px 42px rgba(8, 43, 112, 0.28);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.chatbot-float.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.92);
}

.chatbot-float:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 24px 50px rgba(8, 43, 112, 0.34);
}

.chatbot-float span {
  position: relative;
  width: 28px;
  height: 20px;
  border-radius: 50% 50% 50% 42%;
  background: linear-gradient(135deg, #ffffff, #d9ccff);
}

.chatbot-float span::after {
  content: "";
  position: absolute;
  right: 3px;
  bottom: -4px;
  width: 9px;
  height: 9px;
  background: #d9ccff;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.chatbot-panel {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 901;
  width: min(376px, calc(100vw - 34px));
  height: 430px;
  display: grid;
  grid-template-rows: 60px 1fr 56px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
  transform: translateY(18px) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.chatbot-panel.active {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 16px;
  color: var(--white);
  background: #082b70;
}

.chatbot-header strong {
  font-size: 1rem;
}

.chatbot-close {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: transparent;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.chatbot-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 14px;
  overflow-y: auto;
  background: #f3f6fb;
}

.chat-message {
  max-width: 80%;
  padding: 12px 14px;
  border-radius: 9px;
  color: #657180;
  background: #dfe6f3;
  line-height: 1.45;
}

.chat-message.user {
  align-self: flex-end;
  color: var(--white);
  background: var(--primary-teal);
}

.chatbot-form {
  display: grid;
  grid-template-columns: 1fr auto;
  border-top: 1px solid rgba(15, 23, 42, 0.12);
  background: var(--white);
}

.chatbot-form input {
  min-width: 0;
  border: 0;
  padding: 0 16px;
  color: var(--dark-text);
  font: inherit;
  outline: none;
}

.chatbot-form button {
  border: 0;
  padding: 0 18px;
  color: #071f24;
  background: #20a7f3;
  font: inherit;
  cursor: pointer;
}

.footer {
  padding: 54px 0 24px;
  background: #071f24;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.6fr;
  gap: 34px;
  align-items: start;
}

.footer-logo {
  width: 220px;
  background: var(--white);
  padding: 4px;
}

.footer p {
  max-width: 360px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.68);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 12px 32px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-social {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.copyright {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.9rem;
}

.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  width: 260px;
  height: 260px;
  pointer-events: none;
  opacity: 0.2;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(14, 139, 143, 0.28), transparent 62%);
  mix-blend-mode: multiply;
  transition: opacity 0.25s ease;
}

@keyframes floatField {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(28px, 22px, 0) scale(1.04);
  }
}

@keyframes driftParticles {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 140px 220px, -160px 180px;
  }
}

@keyframes softFloat {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-12px);
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .split-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding-top: 110px;
  }

  .hero-visual {
    max-width: 620px;
    margin-inline: auto;
  }

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

  .reference-stat:nth-child(2) {
    border-right: 0;
  }

  .reference-stat:nth-child(3) {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

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

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

  .navbar {
    min-height: 76px;
  }

  .brand {
    width: 176px;
    height: 68px;
  }

  .brand img {
    height: 68px;
  }

  .menu-toggle {
    display: block;
    position: fixed;
    top: 56px;
    right: 14px;
    z-index: 1002;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    display: grid;
    place-content: center;
    gap: 24px;
    background: rgba(248, 252, 252, 0.95);
    backdrop-filter: blur(18px);
    transform: translateX(100%);
    transition: transform 0.35s ease;
    font-size: 1.2rem;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .section-pad {
    padding: 86px 0;
  }

  .hero.section-pad {
    padding-top: 132px;
  }

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

  .floating-card {
    position: static;
    margin-top: 14px;
  }

  .doctor-frame > img {
    height: auto;
    aspect-ratio: 4 / 4.8;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  h1 {
    font-size: clamp(2.35rem, 11vw, 3.35rem);
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    gap: 42px;
    padding-top: 94px;
  }

  .hero.section-pad {
    padding-top: 118px;
  }

  .hero-actions,
  .hero-trust {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .reference-stats-grid,
  .speciality-grid,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats-band {
    padding: 28px 0;
  }

  .reference-stat {
    justify-content: flex-start;
    min-height: 88px;
    padding: 18px 0;
  }

  .reference-stat:not(:last-child),
  .reference-stat:nth-child(3) {
    grid-column: auto;
    border-right: 0;
    border-top: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .gallery-grid {
    grid-auto-rows: 240px;
  }

  .gallery-item.tall,
  .gallery-item.wide {
    grid-row: auto;
    grid-column: auto;
  }

  .about-panel,
  .service-card {
    padding: 26px;
  }

  .quick-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .appointment-wrap {
    margin-bottom: 54px;
  }

  .appointment-form {
    padding: 26px 20px;
  }

  .appointment-fields {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .appointment-form button {
    width: 100%;
    min-width: 0;
  }

  .quick-card strong {
    text-align: left;
  }

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

  .footer-social {
    justify-content: flex-start;
  }

  .cursor-glow {
    display: none;
  }
}

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