:root {
  --primary: #006498;
  --accent: #31aeb7;
  --deep: #082f45;
  --text: #12384a;
  --white: #ffffff;
  --line: rgba(0, 100, 152, 0.14);
  --shadow: 0 20px 46px rgba(0, 67, 102, 0.16);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text);
  line-height: 1.62;
  background: linear-gradient(180deg, #f5fcff 0%, #eefaff 44%, #ffffff 100%);
  overflow-x: hidden;
}

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
  z-index: 999;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  box-shadow: 0 3px 12px rgba(0, 100, 152, 0.28);
}

.bg-shape {
  position: fixed;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
  z-index: -1;
}

.bg-shape-a {
  width: 390px;
  height: 390px;
  top: -120px;
  right: -120px;
  background: radial-gradient(circle, rgba(49, 174, 183, 0.36), rgba(49, 174, 183, 0));
}

.bg-shape-b {
  width: 340px;
  height: 340px;
  left: -140px;
  top: 240px;
  background: radial-gradient(circle, rgba(0, 100, 152, 0.28), rgba(0, 100, 152, 0));
}

.hero {
  min-height: 100vh;
  position: relative;
}

.topbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 47, 69, 0.95);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.82rem;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.58rem 0;
}

.topbar a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(8px);
  background: rgba(245, 252, 255, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.logo {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--deep);
  font-weight: 800;
  letter-spacing: 0.3px;
  line-height: 1;
}

.logo span {
  margin-top: 0.18rem;
  color: rgba(8, 47, 69, 0.66);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--deep);
  font-weight: 500;
  position: relative;
  transition: opacity 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 2rem;
  align-items: center;
  padding: 4.2rem 0 2.4rem;
}

.eyebrow {
  margin: 0;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.77rem;
  font-weight: 700;
}

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

.hero h1,
.hero .lead,
.section-alt h2,
.section-alt p,
.section-alt span {
  color: var(--deep);
}

.hero .eyebrow,
.section-alt .eyebrow {
  color: var(--primary);
}

.section-alt h2,
.section-alt p,
.section-alt span {
  color: var(--white);
}

.section-alt .eyebrow {
  color: var(--accent);
}

h1 {
  margin: 0.68rem 0 0.75rem;
  font-size: clamp(2rem, 5vw, 4.15rem);
  text-wrap: balance;
}

h2 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  text-wrap: balance;
}

.lead {
  margin: 0;
  max-width: 48ch;
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.insurance-card {
  width: min(520px, 100%);
  margin-top: 1rem;
  border: 1px solid rgba(0, 100, 152, 0.13);
  border-radius: 20px;
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 38px rgba(0, 67, 102, 0.1);
  backdrop-filter: blur(8px);
}

.insurance-logos {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.65rem;
}

.insurance-logos img {
  max-width: 132px;
  max-height: 44px;
  object-fit: contain;
  padding: 0.35rem 0.55rem;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 67, 102, 0.08);
}

.insurance-card p {
  margin: 0;
  color: var(--deep);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
}

.hero-points {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-points span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  border-radius: 999px;
  border: 1px solid rgba(49, 174, 183, 0.28);
  background: rgba(255, 255, 255, 0.82);
  padding: 0.4rem 0.82rem;
}

.hero-actions {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.82rem 1.4rem;
  font-weight: 600;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 12px 28px rgba(0, 100, 152, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(0, 100, 152, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid rgba(49, 174, 183, 0.45);
  box-shadow: none;
}

.btn-cta {
  box-shadow: 0 18px 35px rgba(0, 100, 152, 0.4);
}

.hero-media {
  position: relative;
  min-height: 660px;
  border-radius: 32px;
  background: radial-gradient(circle at 50% 35%, rgba(0, 100, 152, 0.96), rgba(8, 47, 69, 0.98) 68%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out;
  overflow: hidden;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 42px 42px 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(49, 174, 183, 0.2), rgba(0, 100, 152, 0.18) 48%, transparent 70%);
  animation: pulseGlow 4.8s ease-in-out infinite;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: -40% auto -30% -34%;
  width: 42%;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: rotate(14deg) translateX(-180%);
  animation: lightSweep 7s ease-in-out infinite;
}

.hero-photo-wrap {
  position: absolute;
  inset: 0;
  width: auto;
  aspect-ratio: auto;
  border-radius: 32px 32px 24px 24px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 42%, #d9f6f8 0%, #31aeb7 44%, #082f45 100%);
  border: 0;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(49, 174, 183, 0.32), 0 0 80px rgba(0, 100, 152, 0.4);
  animation: photoFloat 6s ease-in-out infinite;
  transform-origin: center bottom;
  z-index: 3;
}

.hero-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.22), transparent 38%, rgba(49, 174, 183, 0.12));
  pointer-events: none;
}

.doctor-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  transform: scale(1.02);
  transform-origin: center top;
  animation: photoZoom 9s ease-in-out infinite alternate;
}

.doctor-name-card {
  position: absolute;
  left: 32px;
  right: 32px;
  top: auto;
  bottom: 98px;
  z-index: 6;
  border-radius: 22px;
  padding: 1rem 1.15rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(8, 47, 69, 0.84), rgba(0, 100, 152, 0.64));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
}

.doctor-name-card span {
  display: block;
  color: var(--white);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.15;
}

.doctor-name-card strong {
  display: block;
  margin-top: 0.18rem;
  color: var(--accent);
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-socials {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 28px;
  z-index: 7;
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.72rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 100, 152, 0.14);
  box-shadow: 0 16px 36px rgba(0, 67, 102, 0.18);
  backdrop-filter: blur(10px);
}

.hero-socials a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  border-radius: 999px;
  padding: 0.5rem 0.78rem;
  color: var(--deep);
  background: rgba(0, 100, 152, 0.07);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.hero-socials a:hover {
  transform: translateY(-2px);
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.social-icon {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--primary);
}

.social-icon svg {
  width: 16px;
  height: 16px;
  display: block;
  fill: currentColor;
}

.hero-socials a:hover .social-icon {
  background: rgba(255, 255, 255, 0.22);
}

.orb {
  position: absolute;
  left: -48px;
  top: 46px;
  width: 138px;
  height: 138px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 22%, #ffffff, #b8edf2 56%, #006498 100%);
  box-shadow: inset -14px -16px 34px rgba(0, 0, 0, 0.18), 0 16px 30px rgba(0, 0, 0, 0.28);
  animation: orbFloat 5.8s ease-in-out infinite;
}

.orb span {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(49, 174, 183, 0.4);
}

.orb span:nth-child(1) { inset: -10px; }
.orb span:nth-child(2) { inset: -22px; opacity: 0.72; }
.orb span:nth-child(3) { inset: -34px; opacity: 0.45; }

.marquee {
  margin-top: 0.4rem;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 47, 69, 0.96);
}

.marquee-track {
  min-width: max-content;
  display: flex;
  gap: 0.9rem;
  padding: 0.9rem 0;
  animation: marquee 26s linear infinite;
}

.marquee-track span {
  border-radius: 999px;
  border: 1px solid rgba(49, 174, 183, 0.32);
  padding: 0.36rem 0.82rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.quick-info {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: -2rem;
  position: relative;
  z-index: 5;
}

.info-card {
  min-height: 145px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
  background: linear-gradient(160deg, rgba(0, 100, 152, 0.94), rgba(8, 47, 69, 0.96));
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.info-card:hover {
  transform: translateY(-7px);
  border-color: rgba(49, 174, 183, 0.5);
}

.info-card strong {
  display: block;
  color: var(--white);
  line-height: 1.2;
}

.info-card span {
  display: block;
  margin-top: 0.65rem;
  color: rgba(235, 250, 252, 0.82);
  font-size: 0.9rem;
}

.section {
  padding: 5rem 0;
}

.section-about {
  background: #ffffff;
}

.about-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: stretch;
}

.about-panel {
  min-height: 100%;
  border: 1px solid rgba(0, 100, 152, 0.12);
  border-radius: 30px;
  padding: 1.4rem;
  background: linear-gradient(180deg, #ffffff, #f4fbfe);
  box-shadow: 0 22px 52px rgba(0, 67, 102, 0.1);
  overflow: hidden;
}

.mela-panel {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 1rem;
}

.endolifting-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
  background: linear-gradient(160deg, rgba(0, 100, 152, 0.96), rgba(8, 47, 69, 0.98));
}

.endolifting-image {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  background: var(--deep);
}

.endolifting-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  max-height: 420px;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.45s ease;
}

.endolifting-panel:hover .endolifting-image img {
  transform: scale(1.04);
}

.about-visual {
  min-height: 310px;
  display: grid;
  place-items: center;
  background: transparent;
  overflow: visible;
}

.about-logo {
  width: min(360px, 86%);
  aspect-ratio: 1;
  display: block;
  border-radius: 0;
  object-fit: cover;
  filter: drop-shadow(0 28px 38px rgba(0, 100, 152, 0.2));
  animation: orbFloat 6.5s ease-in-out infinite;
}

.endolifting-panel h2,
.endolifting-panel .about-copy p:not(.eyebrow),
.endolifting-panel .about-list span {
  color: var(--white);
}

.endolifting-panel .eyebrow {
  color: var(--accent);
}

.endolifting-panel .about-list span {
  background: rgba(255, 255, 255, 0.08);
  border-left-color: var(--accent);
}

.about-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

.about-copy p:not(.eyebrow) {
  color: #3f535e;
  font-weight: 500;
}

.about-list span {
  border-left: 3px solid var(--accent);
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  background: rgba(0, 100, 152, 0.06);
  color: var(--deep);
  font-weight: 600;
}

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

.card {
  padding: 1.2rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 100, 152, 0.08), rgba(49, 174, 183, 0.12));
  opacity: 0;
  transition: opacity 0.22s ease;
}

.card:hover {
  transform: translateY(-7px);
  border-color: rgba(49, 174, 183, 0.5);
  box-shadow: 0 22px 52px rgba(0, 100, 152, 0.18);
}

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

.card h3,
.card p,
.card a {
  position: relative;
  z-index: 1;
}

.card h3 {
  margin: 0 0 0.55rem;
}

.card p {
  margin: 0;
}

.card a {
  display: inline-flex;
  margin-top: 0.95rem;
  text-decoration: none;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.92rem;
}

.service-menu {
  display: grid;
  grid-template-columns: 0.82fr 1.36fr 0.82fr;
  gap: 1rem;
  align-items: stretch;
}

.service-group {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 100, 152, 0.12);
  border-radius: 24px;
  padding: 1.15rem;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(0, 100, 152, 0.12);
}

.service-group::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(49, 174, 183, 0.18), transparent 32%);
  opacity: 0.78;
  pointer-events: none;
}

.service-group.featured {
  background: linear-gradient(150deg, #006498, #082f45 78%);
  color: var(--white);
  transform: translateY(-0.75rem);
}

.service-group.featured h3,
.service-group.featured strong {
  color: var(--white);
}

.service-group-head,
.service-list,
.service-note {
  position: relative;
  z-index: 1;
}

.service-group-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.service-group-head span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--deep);
  background: var(--accent);
  font-weight: 800;
}

.service-group-head h3 {
  margin: 0;
}

.service-note {
  margin: -0.25rem 0 0.9rem;
  color: rgba(235, 250, 252, 0.82);
  font-size: 0.9rem;
}

.service-list {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-list.two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border-radius: 14px;
  padding: 0.9rem 0.95rem;
  background: rgba(0, 100, 152, 0.06);
}

.service-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(49, 174, 183, 0.5);
}

.service-group.featured .service-list li {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.service-list strong {
  color: var(--deep);
  line-height: 1.2;
}


.section-alt {
  background: linear-gradient(160deg, rgba(0, 100, 152, 0.96), rgba(8, 47, 69, 0.98));
}

.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.9rem 1rem;
}

.steps strong {
  color: var(--accent);
  line-height: 1;
}

.tech-section {
  background: #ffffff;
}

.tech-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 1.4rem;
  align-items: start;
}

.tech-points {
  display: grid;
  gap: 0.9rem;
}

.tech-point {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 0.85rem;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(0, 100, 152, 0.12);
  background: linear-gradient(135deg, #ffffff, #f3f8fb);
  box-shadow: 0 14px 36px rgba(0, 100, 152, 0.08);
}

.tech-point span {
  grid-row: span 2;
  color: var(--accent);
  font-weight: 800;
}

.tech-point strong {
  color: var(--deep);
}

.tech-point p {
  margin: 0;
  color: #4e626f;
}

.media-section {
  background: linear-gradient(160deg, rgba(0, 100, 152, 0.96), rgba(8, 47, 69, 0.98));
}

.media-section h2,
.media-section .eyebrow {
  color: var(--white);
}

.media-section .eyebrow {
  color: var(--accent);
}

.media-link {
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

.media-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 1rem;
}

.media-side,
.media-results {
  display: grid;
  gap: 1rem;
}

.media-results {
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.media-feature,
.media-tile {
  min-height: 320px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.media-feature {
  min-height: 620px;
  border-radius: 34px;
}

.media-feature::after,
.media-tile::after {
  content: "";
  position: absolute;
  inset: -45% auto -35% -35%;
  width: 42%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  opacity: 0;
  transform: rotate(14deg) translateX(-170%);
}

.media-feature:hover,
.media-tile:hover {
  transform: translateY(-8px);
  border-color: rgba(49, 174, 183, 0.48);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.36);
}

.media-feature:hover::after,
.media-tile:hover::after {
  animation: mediaSweep 1.05s ease forwards;
}

.media-feature video,
.media-tile img,
.media-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
  transition: transform 0.45s ease;
}

.media-feature video,
.media-tile video {
  background: #082f45;
}

.media-feature:hover video,
.media-tile:hover img {
  transform: scale(1.08);
}

.media-tile:hover video {
  transform: scale(1.05);
}

.media-side .media-tile {
  min-height: 302px;
}

.media-results .media-tile {
  min-height: 360px;
}

.portrait-tile img {
  object-position: 50% 18%;
}

.media-caption,
.media-tile > div {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  border-radius: 18px;
  padding: 1rem;
  background: rgba(8, 47, 69, 0.84);
  backdrop-filter: blur(8px);
  z-index: 3;
}

.media-caption span,
.media-tile span,
.media-placeholder .play-mark {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.media-caption strong,
.media-tile strong {
  display: block;
  margin-top: 0.28rem;
  color: var(--white);
  font-size: 1.3rem;
}

.media-caption strong {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.video-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(8, 47, 69, 0.58));
  z-index: 1;
}

.video-tile > div,
.media-tile > div {
  z-index: 2;
}

.media-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 42%, rgba(8, 47, 69, 0.72));
  z-index: 2;
}

.media-placeholder {
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 1rem;
}

.media-placeholder::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border-radius: 22px;
  border: 1px dashed rgba(49, 174, 183, 0.42);
  background: radial-gradient(circle at 50% 35%, rgba(49, 174, 183, 0.18), transparent 38%);
}

.media-placeholder strong,
.media-placeholder p,
.media-placeholder .play-mark {
  position: relative;
  z-index: 1;
}

.media-placeholder strong {
  color: var(--white);
  font-size: 1.2rem;
}

.media-placeholder p {
  margin: 0.4rem 0 0;
  color: rgba(235, 250, 252, 0.8);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.faq-item {
  border-radius: 14px;
  border: 1px solid rgba(0, 100, 152, 0.12);
  background: #ffffff;
  padding: 0.9rem 1rem;
  box-shadow: var(--shadow);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--deep);
}

.faq-item p {
  margin-bottom: 0;
  margin-top: 0.7rem;
  color: #314650;
  font-weight: 500;
}

.location-section {
  background: linear-gradient(160deg, rgba(0, 100, 152, 0.96), rgba(8, 47, 69, 0.98));
}

.location-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 1.2rem;
  align-items: stretch;
}

.location-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 26px;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.location-copy h2,
.location-copy p {
  color: var(--white);
}

.location-copy .eyebrow {
  color: var(--accent);
}

.location-copy p {
  margin-top: 0;
  color: rgba(235, 250, 252, 0.82);
}

.location-copy .btn {
  width: fit-content;
  margin-top: 0.5rem;
}

.map-card {
  min-height: 420px;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.08);
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.cta {
  padding-top: 3.3rem;
}

.cta-box {
  text-align: center;
  border-radius: 26px;
  padding: 2.2rem;
  background: radial-gradient(circle at 78% 0%, rgba(49, 174, 183, 0.18), transparent 34%), linear-gradient(145deg, #006498, #082f45 72%);
  color: var(--white);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

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

.blog-card {
  padding: 1.15rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 100, 152, 0.12);
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(0, 100, 152, 0.1);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(49, 174, 183, 0.5);
}

.blog-card span {
  display: inline-flex;
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  background: rgba(0, 100, 152, 0.08);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
}

.blog-card h3 {
  margin: 0.8rem 0 0.55rem;
}

.blog-card p {
  margin: 0;
  color: #4e626f;
}

.cta-box::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  right: -90px;
  top: -130px;
  background: radial-gradient(circle, rgba(49, 174, 183, 0.25), rgba(49, 174, 183, 0));
}

.cta-box h2,
.cta-box p {
  color: var(--white);
  position: relative;
  z-index: 1;
}

.cta-box .btn {
  position: relative;
  z-index: 1;
}

.footer {
  padding: 2rem 0;
  text-align: center;
  color: rgba(8, 47, 69, 0.82);
}

.floating-booking {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.85rem 1.12rem;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 14px 36px rgba(0, 100, 152, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.floating-booking:hover {
  transform: translateY(-2px);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-left {
  transform: translateX(-24px);
}

.reveal-right {
  transform: translateX(24px);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@keyframes orbFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes photoFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-14px) scale(1.025);
  }
}

@keyframes photoZoom {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.08);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.04);
  }
}

@keyframes lightSweep {
  0%,
  48%,
  100% {
    opacity: 0;
    transform: rotate(14deg) translateX(-180%);
  }
  58% {
    opacity: 1;
  }
  72% {
    opacity: 0;
    transform: rotate(14deg) translateX(430%);
  }
}

@keyframes tagFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(-1.2deg);
  }
}

@keyframes cardLift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes mediaSweep {
  0% {
    opacity: 0;
    transform: rotate(14deg) translateX(-170%);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(14deg) translateX(420%);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

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

@media (max-width: 980px) {
  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }

  .nav {
    gap: 1rem;
  }

  .nav-links {
    display: none;
  }

  .hero-grid,
  .quick-info,
  .about-split,
  .cards,
  .service-menu,
  .panel-layout,
  .method-grid,
  .tech-grid,
  .media-showcase,
  .location-grid,
  .blog-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .media-results {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 620px;
  }

  .hero-photo-wrap {
    inset: 0;
    width: auto;
  }

  .doctor-name-card {
    top: auto;
    bottom: 98px;
    left: 28px;
    right: 28px;
  }

  .hero-socials {
    left: 28px;
    right: 28px;
    bottom: 28px;
  }

  .orb {
    width: 130px;
    height: 130px;
    left: -38px;
  }

  .quick-info {
    margin-top: 1rem;
  }

  .service-group.featured {
    transform: none;
  }

  .media-feature,
  .media-tile,
  .media-side .media-tile,
  .media-results .media-tile {
    min-height: 360px;
  }

  .location-copy .btn {
    width: 100%;
  }

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

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

@media (max-width: 560px) {
  .nav {
    align-items: flex-start;
  }

  .btn {
    width: 100%;
    padding-inline: 1rem;
  }

  .nav .btn {
    width: auto;
    font-size: 0.82rem;
    padding: 0.62rem 0.9rem;
  }

  .hero-grid {
    padding-top: 2.4rem;
  }

  .insurance-card {
    padding: 0.85rem;
  }

  .insurance-logos {
    flex-wrap: wrap;
  }

  .insurance-logos img {
    max-width: 118px;
    max-height: 40px;
  }

  .about-panel {
    padding: 1rem;
  }

  .about-visual {
    min-height: 260px;
  }

  .endolifting-image img {
    min-height: 260px;
    max-height: none;
  }

  .hero-media {
    min-height: 540px;
    border-radius: 24px;
  }

  .hero-photo-wrap {
    inset: 0;
    width: auto;
    border-radius: 22px;
  }

  .doctor-name-card {
    top: auto;
    bottom: 88px;
    left: 18px;
    right: 18px;
    padding: 0.85rem;
  }

  .hero-socials {
    left: 18px;
    right: 18px;
    bottom: 18px;
    gap: 0.42rem;
    padding: 0.55rem;
  }

  .hero-socials a {
    flex: 1;
    justify-content: center;
    padding: 0.45rem 0.5rem;
    font-size: 0.74rem;
  }

  .social-icon {
    width: 24px;
    height: 24px;
    font-size: 0.62rem;
  }

  .doctor-photo {
    object-position: 50% 18%;
  }

  .orb {
    width: 96px;
    height: 96px;
    left: -18px;
    top: 72px;
  }

  .section {
    padding: 3.4rem 0;
  }

  .cta-box {
    padding: 1.7rem 1.1rem;
  }

  .service-list.two-columns {
    grid-template-columns: 1fr;
  }

  .service-list li {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .media-feature,
  .media-tile,
  .media-side .media-tile,
  .media-results .media-tile {
    min-height: 300px;
  }

  .media-caption,
  .media-tile > div {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    padding: 0.85rem;
  }

  .location-copy {
    padding: 1.35rem;
  }

  .map-card,
  .map-card iframe {
    min-height: 330px;
  }
}

/* Mobile navigation */
.menu-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  border: 1px solid rgba(0, 100, 152, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
}

.menu-toggle span {
  width: 1.2rem;
  height: 2px;
  border-radius: 999px;
  background: var(--deep);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-panel-link {
  color: var(--primary) !important;
  font-weight: 800 !important;
}

@media (max-width: 980px) {
  .nav {
    position: relative;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .nav > .btn {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.65rem);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0.55rem;
    border: 1px solid rgba(0, 100, 152, 0.12);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 18px 40px rgba(0, 67, 102, 0.16);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 0.8rem 0.9rem;
    border-radius: 12px;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible {
    background: rgba(49, 174, 183, 0.1);
  }

  .nav-links a::after {
    display: none;
  }
}

@media (max-width: 560px) {
  .menu-toggle {
    flex: 0 0 auto;
    margin-left: 0.5rem;
  }

  .nav-links {
    left: 0;
    right: 0;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Private login */
.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background:
    radial-gradient(circle at 9% 18%, rgba(49, 174, 183, 0.26), transparent 30%),
    radial-gradient(circle at 90% 86%, rgba(0, 100, 152, 0.22), transparent 34%),
    #edf9fb;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(390px, 0.8fr);
  width: min(980px, 100%);
  min-height: 600px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 34px 90px rgba(0, 67, 102, 0.2);
  backdrop-filter: blur(18px);
}

.auth-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(1.8rem, 5vw, 3.2rem);
  color: #ffffff;
  background:
    radial-gradient(circle at 85% 15%, rgba(49, 174, 183, 0.6), transparent 28%),
    linear-gradient(145deg, #082f45 0%, #006498 64%, #31aeb7 140%);
}

.auth-visual::before,
.auth-visual::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  pointer-events: none;
}

.auth-visual::before {
  width: 360px;
  height: 360px;
  right: -180px;
  bottom: -120px;
}

.auth-visual::after {
  width: 230px;
  height: 230px;
  left: -120px;
  top: 34%;
}

.auth-brand,
.auth-visual-copy,
.auth-visual-footer {
  position: relative;
  z-index: 1;
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.auth-brand small {
  display: block;
  margin-top: 0.18rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.7rem;
  font-weight: 400;
}

.auth-brand-mark {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
}

.auth-visual-copy {
  max-width: 31rem;
  margin-top: 4rem;
}

.auth-visual-copy .eyebrow {
  color: #8ce2df;
}

.auth-visual-copy h1 {
  margin: 0.75rem 0 1rem;
  color: #ffffff;
  font-size: clamp(2.15rem, 5vw, 3.8rem);
  letter-spacing: -0.055em;
}

.auth-visual-copy h1 em {
  color: #8ce2df;
  font-style: normal;
}

.auth-visual-copy p:last-child {
  max-width: 28rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1rem;
}

.auth-visual-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.auth-visual-footer span {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.42rem 0.72rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.74rem;
}

.auth-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.6rem, 5vw, 3.4rem);
  background: rgba(255, 255, 255, 0.9);
}

.auth-back {
  align-self: flex-start;
  margin-bottom: 3.5rem;
  color: rgba(8, 47, 69, 0.62);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.auth-back:hover {
  color: var(--primary);
}

.auth-card-heading {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.auth-lock {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  border-radius: 15px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 14px 28px rgba(0, 100, 152, 0.22);
}

.auth-card h2 {
  margin: 0.25rem 0 0;
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  letter-spacing: -0.04em;
}

.auth-description {
  margin: 1rem 0 1.8rem;
  color: rgba(8, 47, 69, 0.62);
  font-size: 0.92rem;
}

.auth-form {
  display: grid;
  gap: 1rem;
}

.auth-form label {
  display: grid;
  gap: 0.42rem;
  color: rgba(8, 47, 69, 0.82);
  font-size: 0.82rem;
  font-weight: 800;
}

.auth-form input {
  width: 100%;
  min-height: 3.25rem;
  border: 1px solid rgba(0, 100, 152, 0.15);
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
  color: var(--deep);
  background: #ffffff;
  box-shadow: 0 9px 24px rgba(0, 67, 102, 0.06);
  font: inherit;
  outline: none;
}

.auth-form input:focus {
  border-color: rgba(49, 174, 183, 0.72);
  box-shadow: 0 0 0 4px rgba(49, 174, 183, 0.13), 0 12px 26px rgba(0, 67, 102, 0.08);
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 4.5rem;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 0.55rem;
  border: 0;
  border-radius: 9px;
  padding: 0.4rem 0.55rem;
  color: var(--primary);
  background: rgba(49, 174, 183, 0.1);
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  transform: translateY(-50%);
}

.auth-form .btn {
  width: 100%;
  min-height: 3.3rem;
  margin-top: 0.5rem;
}

.auth-form .btn span {
  margin-left: 0.45rem;
  font-size: 1.15rem;
}

.auth-secure {
  margin: 1.7rem 0 0;
  color: rgba(8, 47, 69, 0.54);
  font-size: 0.72rem;
  text-align: center;
}

.auth-secure span {
  color: var(--accent);
  font-weight: 800;
}

@media (max-width: 760px) {
  .auth-page {
    padding: 0;
    place-items: stretch;
  }

  .auth-shell {
    grid-template-columns: 1fr;
    min-height: 100vh;
    border: 0;
    border-radius: 0;
  }

  .auth-visual {
    min-height: 310px;
    padding: 1.5rem;
  }

  .auth-visual-copy {
    margin-top: 2rem;
  }

  .auth-visual-copy h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .auth-card {
    justify-content: flex-start;
    padding: 2rem 1.5rem 2.5rem;
  }

  .auth-back {
    margin-bottom: 2rem;
  }
}

/* Private scheduling panel */
.panel-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 14%, rgba(49, 174, 183, 0.2), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(0, 100, 152, 0.18), transparent 32%),
    linear-gradient(135deg, #f6fdff 0%, #eaf8fb 46%, #ffffff 100%);
}

.panel-bg {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(1px);
}

.panel-bg-a {
  width: 360px;
  height: 360px;
  right: -120px;
  top: 90px;
  background: radial-gradient(circle, rgba(49, 174, 183, 0.28), transparent 68%);
}

.panel-bg-b {
  width: 300px;
  height: 300px;
  left: -110px;
  bottom: 8%;
  background: radial-gradient(circle, rgba(0, 100, 152, 0.18), transparent 70%);
}

.panel-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(0, 100, 152, 0.1);
  background: rgba(247, 253, 255, 0.82);
  backdrop-filter: blur(16px);
}

.panel-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.panel-logo {
  position: relative;
  padding-left: 3rem;
}

.panel-logo::before {
  content: "FA";
  position: absolute;
  left: 0;
  top: 50%;
  display: grid;
  width: 2.28rem;
  height: 2.28rem;
  place-items: center;
  border-radius: 14px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--deep), var(--accent));
  box-shadow: 0 12px 24px rgba(0, 100, 152, 0.2);
  transform: translateY(-50%);
}

.panel-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  padding-top: clamp(2.2rem, 5vw, 4.8rem);
  padding-bottom: 4rem;
}

.panel-intro {
  position: sticky;
  top: 6.5rem;
}

.panel-intro h1 {
  max-width: 9ch;
  margin-bottom: 1rem;
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  letter-spacing: -0.055em;
}

.panel-lead {
  max-width: 38rem;
  margin: 0;
  color: rgba(8, 47, 69, 0.76);
  font-size: 1.05rem;
}

.panel-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.62rem;
  margin-top: 1.4rem;
}

.panel-highlights span {
  border: 1px solid rgba(49, 174, 183, 0.24);
  border-radius: 999px;
  padding: 0.46rem 0.8rem;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(0, 67, 102, 0.06);
}

.btn-calendar {
  margin-top: 1rem;
  background: linear-gradient(135deg, var(--deep), var(--primary));
  box-shadow: 0 16px 34px rgba(8, 47, 69, 0.2);
}

.panel-summary-card {
  margin-top: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 26px;
  padding: 1.2rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(231, 249, 252, 0.82));
  box-shadow: 0 22px 48px rgba(0, 67, 102, 0.12);
}

.summary-kicker,
.panel-card-heading span {
  display: block;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  font-weight: 800;
}

.panel-summary-card strong {
  display: block;
  margin-top: 0.35rem;
  color: var(--deep);
  font-size: 1.02rem;
}

.panel-summary-card p {
  margin: 0.45rem 0 0;
  color: rgba(8, 47, 69, 0.68);
  font-size: 0.9rem;
  line-height: 1.5;
}

.panel-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 34px;
  padding: clamp(1.15rem, 3vw, 2rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 253, 255, 0.92)),
    radial-gradient(circle at 100% 0%, rgba(49, 174, 183, 0.15), transparent 36%);
  box-shadow: 0 30px 80px rgba(0, 67, 102, 0.16);
}

.calendar-card {
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 34px;
  padding: clamp(1.15rem, 3vw, 2rem);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 253, 255, 0.92));
  box-shadow: 0 30px 80px rgba(0, 67, 102, 0.14);
}

.calendar-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
}

.calendar-note {
  margin: -0.45rem 0 1rem;
  color: rgba(8, 47, 69, 0.66);
  font-size: 0.94rem;
}

.calendar-frame-wrap {
  overflow: hidden;
  border: 1px solid rgba(0, 100, 152, 0.12);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 16px 34px rgba(0, 67, 102, 0.08);
}

.calendar-frame-wrap iframe {
  display: block;
  width: 100%;
  height: 720px;
  border: 0;
}

.panel-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.panel-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.panel-card-heading h2 {
  margin: 0.25rem 0 0;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  letter-spacing: -0.03em;
}

.panel-card-heading small {
  border-radius: 999px;
  padding: 0.46rem 0.72rem;
  color: var(--primary);
  background: rgba(49, 174, 183, 0.1);
  font-weight: 700;
  white-space: nowrap;
}

.procedure-form {
  display: grid;
  gap: 1.15rem;
}

.form-section {
  border: 1px solid rgba(0, 100, 152, 0.1);
  border-radius: 24px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 14px 34px rgba(0, 67, 102, 0.06);
}

.form-section-title {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  margin-bottom: 0.9rem;
  color: var(--deep);
}

.form-section-title span {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(0, 100, 152, 0.2);
}

.form-section-title strong {
  font-size: 1rem;
}

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

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

.service-grid {
  grid-template-columns: 0.85fr 1.35fr 0.62fr;
}

.procedure-form label,
.availability-row label {
  display: grid;
  gap: 0.42rem;
  color: rgba(8, 47, 69, 0.84);
  font-size: 0.86rem;
  font-weight: 800;
}

.procedure-form input,
.procedure-form select,
.procedure-form textarea {
  width: 100%;
  min-height: 3.15rem;
  border: 1px solid rgba(0, 100, 152, 0.16);
  border-radius: 14px;
  padding: 0.82rem 0.95rem;
  color: var(--deep);
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(0, 67, 102, 0.055);
  font: inherit;
  font-size: 0.94rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.procedure-form textarea {
  min-height: 7rem;
  resize: vertical;
}

.procedure-form input:focus,
.procedure-form select:focus,
.procedure-form textarea:focus {
  border-color: rgba(49, 174, 183, 0.72);
  box-shadow: 0 0 0 4px rgba(49, 174, 183, 0.14), 0 14px 34px rgba(0, 67, 102, 0.08);
  transform: translateY(-1px);
}

.procedure-form input[readonly],
.procedure-form select:disabled {
  color: rgba(8, 47, 69, 0.52);
  background: rgba(239, 247, 250, 0.85);
  box-shadow: none;
}

.availability-row {
  display: grid;
  grid-template-columns: minmax(160px, 0.72fr) minmax(180px, auto) minmax(210px, 1fr);
  gap: 1rem;
  align-items: end;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
}

.availability-row .btn {
  min-height: 3.15rem;
  border-width: 1px;
  background: #ffffff;
  box-shadow: 0 14px 28px rgba(0, 67, 102, 0.08);
  white-space: nowrap;
}

.notes-section {
  padding-bottom: 0.85rem;
}

.availability-row .btn:hover {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.2rem;
}

.form-actions .btn {
  min-height: 3.25rem;
  padding-inline: 1.8rem;
}

.form-hint {
  margin: 0;
  color: rgba(8, 47, 69, 0.58);
  font-size: 0.82rem;
  line-height: 1.45;
}

.form-message {
  min-height: 1.6rem;
  margin: 0.35rem 0 0;
  border-radius: 16px;
  color: var(--primary);
  font-weight: 700;
}

@media (max-width: 980px) {
  .panel-intro {
    position: static;
  }

  .panel-intro h1 {
    max-width: 12ch;
  }
}

@media (max-width: 720px) {
  .panel-header-inner,
  .form-actions,
  .panel-card-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .panel-header-inner .btn,
  .form-actions .btn {
    width: 100%;
  }

  .panel-card {
    border-radius: 26px;
  }

  .calendar-card {
    border-radius: 26px;
  }

  .calendar-frame-wrap {
    overflow-x: auto;
  }

  .calendar-frame-wrap iframe {
    min-width: 760px;
    height: 640px;
  }

  .form-grid,
  .form-grid.two-columns,
  .service-grid,
  .availability-row {
    grid-template-columns: 1fr;
  }
}
