:root {
  --navy: #0f344f;
  --teal: #008fa3;
  --mint: #eef9f8;
  --coral: #ff6b6b;
  --ink: #1a2b3c;
  --muted: #5e7282;
  --line: #e2eaf1;
  --paper: #ffffff;
  --soft: #ffffff;
  --gold: #c5a059;
  --shadow: 0 20px 40px rgba(15, 52, 79, 0.08);
  --shadow-sm: 0 4px 12px rgba(15, 52, 79, 0.04);
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: 'Outfit', sans-serif;
  background: var(--paper);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

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

h1,
h2,
h3,
h4 {
  font-family: 'Playfair Display', serif;
  margin: 0;
  color: var(--navy);
  line-height: 1.15;
}



.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-image {
  height: 60px;
  width: auto;
  display: block;
}

.menu {
  display: flex;
  align-items: center;
  gap: 32px;
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
}

.menu a {
  position: relative;
  padding: 4px 0;
}

.menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width 0.3s ease;
}

.menu a:hover::after {
  width: 100%;
}

.menu a:hover {
  color: var(--teal);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--navy);
  background: #fff;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 120px));
  overflow: hidden;
  background: var(--navy);
}

.hero-slider,
.hero-slide {
  min-height: inherit;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(54px, 9vw, 120px) clamp(18px, 7vw, 96px);
  color: #fff;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1200ms cubic-bezier(0.4, 0, 0.2, 1), transform 1500ms cubic-bezier(0.4, 0, 0.2, 1);
  isolation: isolate;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide::before,
.hero-slide::after {
  position: absolute;
  inset: 0;
  content: "";
  z-index: -1;
}

.hero-slide::before {
  background: var(--hero-image) center / cover no-repeat;
}

.hero-slide::after {
  background: radial-gradient(circle at center, rgba(7, 37, 55, 0.4), rgba(7, 37, 55, 0.8));
}

.hero-content {
  width: min(760px, 94vw);
}

.hero-content h1 {
  margin: 12px 0 24px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 1;
  font-weight: 900;
  color: #ffffff;
}

.hero-content p {
  margin: 0 auto 34px;
  width: min(600px, 90vw);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 400;
  opacity: 0.9;
  color: #ffffff;
}

.hero-dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 28px;
  display: flex;
  gap: 10px;
  z-index: 2;
}

.hero-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 999px;
  background: transparent;
}

.hero-dots button.is-active {
  background: #fff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 0;
  border-radius: 12px;
  padding: 14px 32px;
  color: #fff;
  background: var(--teal);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 143, 163, 0.15);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 143, 163, 0.2);
  background: #007c8d;
}

.button.ghost {
  color: var(--navy);
  background: var(--mint);
  box-shadow: none;
}

.quick-cards {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 80px 24px 34px;
  background: #F8F9FA;
  margin: 0;
  position: relative;
  z-index: 10;
  gap: 24px;
}

.quick-card {
  flex: 1;
  max-width: 360px;
  min-height: 160px;
  padding: 30px;
  color: var(--navy);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 15px 30px rgba(15, 52, 79, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  cursor: pointer;
}

.quick-card:hover {
  transform: translateY(-5px);
}

.quick-card:nth-child(2) {
  color: var(--teal);
}

.quick-card:nth-child(3) {
  color: var(--coral);
}

.quick-card span {
  display: block;
  margin-bottom: 12px;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.quick-card strong {
  font-size: 18px;
  line-height: 1.3;
  display: block;
  font-family: 'Outfit', sans-serif;
}

.treatment-gallery {
  padding: 30px clamp(18px, 5vw, 72px) 86px;
  background: #F8F9FA;
  scroll-margin-top: 100px;
}

.gallery-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 auto 28px;
}

.gallery-tab {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px;
  color: var(--navy);
  background: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.gallery-tab:hover,
.gallery-tab.is-active {
  color: #fff;
  background: var(--teal);
  border-color: var(--teal);
  transform: translateY(-2px);
}

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

.gallery-card {
  min-width: 0;
  position: relative;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(15, 52, 79, 0.10);
  cursor: pointer;
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-card.is-hiding {
  opacity: 0;
  transform: scale(0.96);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-card:hover {
  box-shadow: 0 22px 44px rgba(15, 52, 79, 0.16);
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-card strong {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 10px 12px;
  color: #fff;
  background: rgba(13, 33, 55, 0.82);
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.2;
  backdrop-filter: blur(10px);
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(6, 22, 36, 0.72);
  backdrop-filter: blur(10px);
}

.gallery-modal.is-open {
  display: flex;
}

.gallery-modal-panel {
  position: relative;
  width: min(920px, 96vw);
  padding: clamp(18px, 3vw, 28px);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.gallery-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  color: var(--navy);
  background: #f2f6f9;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.gallery-modal-panel h2 {
  padding-right: 48px;
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 42px);
}

.gallery-modal-stage {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: 12px;
  align-items: center;
}

.gallery-modal-stage img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  background: #eef3f6;
}

.gallery-modal-nav {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--teal);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

#gallery-modal-caption {
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.band,
.section {
  padding: clamp(60px, 8vw, 110px) clamp(18px, 5vw, 72px);
}

.band {
  background: var(--soft);
}

.intro,
.digital,
.contact,
.provider {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.contact {
  align-items: stretch;
  grid-template-columns: minmax(300px, 460px) minmax(320px, 1fr);
  padding-top: clamp(52px, 6vw, 78px);
  padding-bottom: clamp(128px, 12vw, 160px);
  background: #f8fafc;
  scroll-margin-top: 96px;
}

.doctor {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  background: #fff;
}

.provider {
  padding: clamp(60px, 8vw, 100px) clamp(18px, 5vw, 72px);
  background: #fff;
}

.provider img,
.digital img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.doctor-image-frame {
  background: #fff;
  padding: 12px;
  border-radius: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-width: 420px;
  margin: 0 auto;
  display: block;
}

.doctor img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 24px;
  display: block;
}

.doctor .section-copy h2 {
  margin-bottom: 12px;
  font-size: 48px;
}

.doctor .qualification {
  margin-bottom: 12px;
  font-size: 18px;
  letter-spacing: 0.01em;
}

.doctor #doctor-bio {
  margin-bottom: 24px;
  max-width: 520px;
  line-height: 1.7;
}

.doctor .button.ghost {
  background: #00A8A8;
  color: white;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 168, 168, 0.2);
}

.doctor .button.ghost:hover {
  background: #008fa3;
  transform: translateY(-2px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-content .eyebrow {
  color: #ffffff;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  line-height: 1.12;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
}

.section-copy p:not(.eyebrow),
.provider p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.section-heading {
  width: min(780px, 100%);
  margin: 0 auto 34px;
  text-align: center;
}

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

.stats-grid div {
  min-height: 138px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.stats-grid strong {
  display: block;
  color: var(--coral);
  font-size: 42px;
  line-height: 1;
}

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

.treatment-grid,
.speciality-grid,
.review-grid {
  display: grid;
  gap: 18px;
}

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

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

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

.treatment-card,
.speciality-card,
.review-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(16, 62, 99, 0.07);
}

.treatment-card img,
.speciality-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.treatment-card h3,
.speciality-card h3,
.review-card h3 {
  padding: 20px 20px 0;
  font-size: 22px;
}

.speciality-card p,
.review-card p {
  padding: 0 20px;
  color: var(--muted);
}

.read-more {
  display: inline-flex;
  margin: 0 20px 22px;
  color: var(--teal);
  font-weight: 800;
}

.qualification {
  color: var(--coral) !important;
  font-weight: 800;
}

.reviews {
  background: #fff;
}

.review-card {
  padding-bottom: 20px;
}

.review-card h3 {
  color: var(--teal);
}

.review-card strong {
  display: block;
  padding: 0 20px;
  color: var(--navy);
}

.review-summary {
  width: min(760px, 100%);
  margin: -12px auto 28px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  color: var(--navy);
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.review-summary strong {
  color: var(--teal);
  font-size: 14px;
  text-transform: uppercase;
}

.review-summary span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.faq {
  background: #f8fafc;
}

.faq-grid {
  width: min(920px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-grid details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-grid summary {
  padding: 16px 18px;
  color: var(--navy);
  font-weight: 800;
  cursor: pointer;
}

.faq-grid p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.contact-form {
  width: 100%;
  max-width: 460px;
  align-self: start;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(15, 52, 79, 0.06);
  display: grid;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--teal), #00c9db, #25d366);
}

.contact-form-heading {
  max-width: 360px;
}

.contact-form-heading h2 {
  margin-bottom: 6px;
  font-size: clamp(26px, 2.8vw, 32px);
}

.contact-form-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-field label {
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrap svg {
  position: absolute;
  left: 14px;
  width: 17px;
  height: 17px;
  color: var(--teal);
  pointer-events: none;
  transition: color 0.3s ease;
  z-index: 1;
}

.input-wrap input,
.input-wrap textarea {
  width: 100%;
  border: 1.5px solid #e4eaf0;
  border-radius: 10px;
  padding: 10px 14px 10px 40px;
  font: inherit;
  font-size: 14px;
  background: #f8fafc;
  color: var(--navy);
  transition: all 0.3s ease;
}

.input-wrap input {
  min-height: 44px;
}

.input-wrap textarea {
  min-height: 72px;
  resize: vertical;
}

.input-wrap input::placeholder,
.input-wrap textarea::placeholder {
  color: #a0b0be;
  font-weight: 400;
}

.input-wrap input:focus,
.input-wrap textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 143, 163, 0.08);
}

.input-wrap:focus-within svg {
  color: #007c8d;
}

.form-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 10px;
  padding: 12px 22px;
  color: #fff;
  background: linear-gradient(135deg, #0097a7, #00b4c8);
  font-family: inherit;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 143, 163, 0.20);
  transition: all 0.35s ease;
  margin-top: 4px;
}

.form-submit-btn:hover {
  background: linear-gradient(135deg, #007c8d, #0097a7);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 143, 163, 0.28);
}

.form-submit-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.form-submit-btn:hover svg {
  transform: translateX(4px);
}

.contact-card {
  align-self: start;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(15, 52, 79, 0.06);
  padding: 22px;
  overflow: hidden;
}

.contact-card-heading {
  margin-bottom: 14px;
}

.contact-card h2 {
  margin-bottom: 4px;
  font-size: clamp(26px, 2.7vw, 32px);
}

.contact-intro {
  margin: 0 !important;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}

.contact-info-item {
  display: block;
  padding: 12px 0;
  background: transparent;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  transition: all 0.3s ease;
}

.contact-info-item:hover {
  background: transparent;
  transform: none;
}

.contact-info-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal);
  margin-bottom: 2px;
}

.contact-info-item p {
  margin: 0;
  color: var(--navy);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 500;
}

.contact-map-wrap {
  padding-top: 14px;
}

.contact-map {
  display: block;
  width: 100%;
  height: 260px;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #eef3f6;
}

/* Floating Footer Navigation */
.floating-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  pointer-events: none;
}

/* State 1: Full Pill Bar (Centered) */
.footer-pill-bar {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  padding: 8px 12px;
  border-radius: 100px;
  background: #0D2137;
  display: flex;
  gap: 8px;
  white-space: nowrap;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.35);
  pointer-events: all;
  opacity: 1;
}

.footer-btn {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 50px;
  min-width: 120px;
  max-width: 160px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-btn.call { background: #FF6B6B; }
.footer-btn.whatsapp { background: #25D366; }
.footer-btn.appointment { background: #008fa3; }

.footer-btn svg {
  width: 18px;
  height: 18px;
}

.footer-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

/* State 2: Split Circles (Corners) */
.footer-split-circles {
  position: fixed;
  bottom: 24px;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 16px;
  transition: opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

.circle-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  pointer-events: all;
  transition: all 0.3s ease;
}

.circle-btn.call { background: #FF6B6B; }
.circle-btn.whatsapp { background: #25D366; }

.circle-btn svg {
  width: 24px;
  height: 24px;
}

.circle-btn:hover {
  transform: translateY(-4px) scale(1.05);
}

/* Visibility Classes (Managed by JS) */
.is-hidden {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateX(-50%) translateY(20px);
}

.is-visible {
  opacity: 1 !important;
  pointer-events: all !important;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
  .footer-btn {
    min-width: 100px;
    padding: 10px 14px;
    font-size: 12px;
  }
}



footer {
  padding: 12px 24px;
  color: #fff;
  text-align: center;
  background: var(--navy);
}

footer p {
  margin: 0;
  font-size: 14px;
  opacity: 0.8;
}

@media (max-width: 1080px) {

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

@media (max-width: 840px) {
  .menu-toggle {
    display: inline-flex;
  }

  .menu {
    position: absolute;
    left: 18px;
    right: 18px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .menu.is-open {
    display: flex;
  }

  .intro,
  .doctor,
  .digital,
  .contact,
  .provider,
  .speciality-grid {
    grid-template-columns: 1fr;
  }

  main {
    padding-bottom: 132px;
  }

  .quick-cards {
    flex-direction: column;
    padding: 40px 20px 18px;
    gap: 16px;
    align-items: stretch;
  }

  .quick-card {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .contact-form,
  .contact-card {
    border-radius: 10px;
    max-width: none;
  }

  .contact-card {
    background: #f8fafc;
    padding: clamp(22px, 4vw, 32px);
    border-radius: 14px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 640px;
  }

  .treatment-gallery {
    padding: 28px 20px 52px;
  }

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

  .gallery-card strong {
    left: 8px;
    right: 8px;
    bottom: 8px;
    font-size: 13px;
  }

  .gallery-modal-stage {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 8px;
  }

  .gallery-modal-nav {
    width: 42px;
    height: 42px;
  }

  .review-summary {
    flex-direction: column;
    gap: 2px;
    margin-top: -8px;
  }
}

@media (min-width: 721px) and (max-width: 980px) {
  .intro,
  .doctor,
  .digital,
  .provider,
  .speciality-grid {
    grid-template-columns: 1fr;
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-form {
    max-width: none;
  }

  .contact-form-heading h2 {
    font-size: 28px;
  }

  .contact-banner {
    height: 135px;
  }
}

@media (max-width: 620px) {
  .topbar {
    justify-content: center;
  }

  .navbar {
    padding-inline: 16px;
  }

  .brand small {
    display: none;
  }

  .hero-slide {
    align-items: flex-end;
    padding-bottom: 82px;
  }

  .hero-slide::after {
    background: linear-gradient(0deg, rgba(7, 37, 55, 0.9), rgba(7, 37, 55, 0.45));
  }

  .treatment-grid,
  .review-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .gallery-modal {
    padding: 14px;
  }

  .gallery-modal-stage {
    grid-template-columns: 1fr;
  }

  .gallery-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .gallery-modal-nav.prev {
    left: 22px;
  }

  .gallery-modal-nav.next {
    right: 22px;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
