:root {
  --ink-900: #12273f;
  --ink-700: #304f68;
  --ink-500: #607f97;
  --bg-top: #f8fcff;
  --bg-bottom: #fffdf8;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --line: rgba(168, 198, 217, 0.45);
  --brand: #14a6c7;
  --brand-dark: #0d7a95;
  --brand-soft: #e6f8fc;
  --accent: #ffb870;
  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 10px;
  --shadow-soft: 0 14px 30px rgba(29, 58, 82, 0.1);
  --shadow-card: 0 10px 22px rgba(24, 54, 79, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Sora", sans-serif;
  color: var(--ink-700);
  line-height: 1.62;
  background:
    radial-gradient(80rem 40rem at -8% -4%, rgba(189, 236, 248, 0.55), transparent 56%),
    radial-gradient(70rem 40rem at 105% 0%, rgba(255, 225, 188, 0.42), transparent 53%),
    linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
  overflow-x: hidden;
}

.ambient-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.32;
  animation: orb-float 15s ease-in-out infinite;
}
.orb-a {
  width: 320px;
  height: 320px;
  top: -130px;
  right: -100px;
  background: radial-gradient(circle, #c8e4f4 0, transparent 70%);
}
.orb-b {
  width: 280px;
  height: 280px;
  left: -80px;
  bottom: 18%;
  background: radial-gradient(circle, #d8efe7 0, transparent 70%);
  animation-delay: 2.4s;
}
.orb-c {
  width: 260px;
  height: 260px;
  right: 24%;
  bottom: -130px;
  background: radial-gradient(circle, #e3eff7 0, transparent 70%);
  animation-delay: 4.8s;
}

img { max-width: 100%; display: block; border-radius: var(--radius-md); }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  margin: 0 0 .5rem;
  font-family: "Fredoka", sans-serif;
  color: var(--ink-900);
  line-height: 1.14;
  letter-spacing: .01em;
}
h1 { font-size: clamp(2.1rem, 5.4vw, 3.55rem); }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.35rem); }
h3 { font-size: clamp(1.08rem, 2.3vw, 1.34rem); }

.container { width: min(1140px, 92vw); margin: 0 auto; }
.narrow { width: min(780px, 92vw); margin: 0 auto; }
.section { padding: 3.2rem 0; }
.section.compact { padding: 2.1rem 0; }
.muted {
  background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.58));
  border-top: 1px solid rgba(255,255,255,.7);
  border-bottom: 1px solid rgba(255,255,255,.7);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #6486a2;
  font-size: .74rem;
  font-weight: 700;
  margin-bottom: .45rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: none;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  transition: padding .2s ease, box-shadow .2s ease;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .8rem;
  padding: .86rem 0;
  transition: padding .2s ease;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: var(--ink-900);
  font-size: .96rem;
  font-weight: 700;
  font-family: "Fredoka", sans-serif;
}
.site-logo {
  width: 138px;
  height: 138px;
  object-fit: contain;
  border-radius: 0;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: .3rem;
  flex-wrap: wrap;
}
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-700);
  border-radius: 999px;
  padding: .46rem .86rem;
  font-weight: 700;
  font-size: .94rem;
  font-family: inherit;
  cursor: pointer;
}
.main-nav > a,
.nav-drop-btn {
  color: var(--ink-700);
  font-weight: 600;
  font-size: 1.02rem;
  border-radius: 999px;
  padding: .38rem .68rem;
  border: 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, font-size .2s ease, padding .2s ease;
}
.main-nav > a:hover,
.nav-drop-btn:hover,
.nav-dropdown:focus-within .nav-drop-btn {
  text-decoration: none;
  background: var(--brand-soft);
  color: var(--brand-dark);
}
.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 14px 24px rgba(22, 52, 76, 0.14);
  padding: .35rem;
  display: none;
  z-index: 60;
}
.dropdown-menu a {
  display: block;
  padding: .5rem .6rem;
  border-radius: 8px;
  font-size: .86rem;
  color: var(--ink-700);
}
.dropdown-menu a:hover {
  text-decoration: none;
  background: var(--brand-soft);
  color: var(--brand-dark);
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu { display: block; }
.schedule-btn {
  margin-left: .15rem;
  font-size: .94rem !important;
  padding: .4rem .72rem !important;
  color: #fff !important;
  background: linear-gradient(120deg, #0f8ead, #14a6c7) !important;
}
.site-header.scrolled {
  box-shadow: 0 10px 20px rgba(18, 39, 63, 0.08);
}
.site-header.scrolled .nav-wrap {
  padding: .5rem 0;
}
.site-header.scrolled .main-nav > a,
.site-header.scrolled .nav-drop-btn {
  font-size: .9rem;
  padding: .3rem .54rem;
}
.site-header.scrolled .schedule-btn {
  font-size: .84rem !important;
  padding: .32rem .58rem !important;
}
.swing-logo-wrap {
  position: fixed;
  top: -28px;
  left: clamp(8px, 1.6vw, 22px);
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: auto;
  text-decoration: none;
}
.swing-logo {
  width: 185px;
  height: 185px;
  object-fit: contain;
  transform-origin: 50% -8px;
  animation: logo-swing 2.6s ease-in-out infinite;
}
.fixed-brand-badge {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 80;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(150, 188, 212, 0.6);
  border-radius: 12px;
  padding: .34rem .56rem;
  box-shadow: 0 8px 16px rgba(21, 47, 71, 0.12);
  pointer-events: auto;
  text-decoration: none;
}
.fixed-brand-badge strong {
  color: #153c59;
  font-family: "Fredoka", sans-serif;
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.05;
}
.fixed-brand-badge span {
  color: #37617f;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.1;
}

.hero { padding: 0; }
.home-hero {
  position: relative;
  margin-top: 0;
  padding: 0;
}
.home-revamp-hero {
  padding: .4rem 0 .6rem;
}
.home-revamp-hero .container.home-revamp-hero-grid {
  width: min(1320px, 96vw);
  max-width: min(1320px, 96vw);
  margin: 0 auto;
  padding: 0;
  border: 1px solid rgba(150, 188, 212, 0.5);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 30px rgba(28, 62, 90, 0.12);
}
.home-revamp-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  align-items: stretch;
  min-height: calc(100vh - 92px);
}
.home-revamp-copy {
  background: linear-gradient(145deg, #fff3c2, #ffe0eb 46%, #d8f3ff);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}
.home-revamp-copy h1 {
  max-width: 14ch;
}
.home-revamp-tags {
  margin-top: .9rem;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.home-revamp-tags span {
  background: #fff;
  border: 1px solid rgba(255, 185, 132, 0.7);
  color: #2f607f;
  border-radius: 999px;
  padding: .3rem .62rem;
  font-size: .78rem;
  font-weight: 600;
}
.home-revamp-photo-card {
  border-radius: 0;
  overflow: hidden;
  border: 0;
  box-shadow: none;
  min-height: calc(100vh - 92px);
}
.home-revamp-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #ffffff;
  object-position: center 5%;
}
.home-revamp-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
}
.home-revamp-metrics article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .75rem .65rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.home-revamp-metrics strong {
  display: block;
  color: var(--brand-dark);
  font-family: "Fredoka", sans-serif;
  font-size: 1.05rem;
}
.home-revamp-metrics span {
  font-size: .78rem;
  color: var(--ink-500);
}
.home-hero .container.hero-layout {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 4fr;
  gap: .2rem;
  align-items: stretch;
  min-height: calc(100vh - 78px);
}
.hero-box {
  background: linear-gradient(145deg, #fff2b6 0%, #ffd4e4 42%, #c8efff 100%);
  border: 1px solid rgba(255, 194, 142, 0.55);
  border-radius: 16px;
  box-shadow: 0 14px 24px rgba(38, 78, 108, 0.18);
  padding: 1.15rem 1rem;
  margin-top: .6rem;
  margin-bottom: .6rem;
  margin-left: .6rem;
  margin-right: .6rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
}
.hero-box h1,
.hero-box p,
.hero-box span,
.hero-box strong {
  color: #1d3f58;
}
.hero-box .eyebrow {
  color: #a44d86;
}
.hero-box .hero-pills span {
  background: #ffffff;
  border-color: rgba(245, 173, 119, 0.65);
  color: #2f607f;
}
.hero-box .hero-stats article {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(142, 206, 235, 0.58);
}
.hero-image-panel {
  min-height: calc(100vh - 78px);
  border-radius: 0;
  overflow: hidden;
  position: relative;
  background: #ffffff;
}
.hero-img-main {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.hero-img-main {
  object-fit: cover;
  object-position: 52% 0%;
  transform: scale(1.02) translateY(-2%);
  transform-origin: center;
  z-index: 1;
}
.hero-grid, .two-col {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 1rem;
  align-items: stretch;
}
.about-profile-grid {
  align-items: start;
}
.about-profile-photo {
  width: min(100%, 440px);
  max-height: 520px;
  object-fit: contain;
  justify-self: center;
}
.about-profile-copy {
  max-width: 640px;
}
.about-profile-copy p {
  font-size: 1rem;
  line-height: 1.64;
}
.hero-grid > div:first-child {
  background: linear-gradient(160deg, rgba(255,255,255,.96), rgba(255,255,255,.86));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.2rem, 2.7vw, 1.9rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-grid > div:first-child p { margin: 0; }
.hero-grid > div:first-child > p:nth-of-type(2) {
  color: var(--ink-500);
  font-size: 1rem;
}
.hero-box h1 { max-width: 15ch; }
.hero-art {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(245,251,255,.8));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: .7rem;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.hero-photo-wrap { min-height: 430px; }
.hero-art::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(144, 179, 202, .45);
  border-radius: 16px;
  pointer-events: none;
}
.hero-main-photo {
  width: 100%;
  aspect-ratio: 11/10;
  object-fit: cover;
  border-radius: 14px;
}
.hero-tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  padding: .35rem .7rem;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 700;
  color: #19516d;
  border: 1px solid rgba(135, 196, 219, .65);
  background: rgba(244, 253, 255, .9);
  box-shadow: 0 8px 16px rgba(20, 87, 114, .12);
}
.hero-tag-1 { top: 18px; left: 16px; }
.hero-tag-2 { bottom: 16px; right: 16px; }

.floaty {
  position: absolute;
  width: clamp(72px, 9vw, 102px);
  filter: drop-shadow(0 9px 12px rgba(31, 73, 104, .2));
}
.floaty.tooth { top: -10px; right: -8px; animation: float-soft 4.2s ease-in-out infinite; }
.floaty.brush { bottom: -14px; left: -14px; animation: float-soft 4.8s ease-in-out infinite reverse; }

.bubble {
  position: absolute;
  border-radius: 999px;
  animation: bubble-rise 6.8s linear infinite;
}
.bubble-1 { width: 22px; height: 22px; left: 70%; bottom: 8px; background: rgba(140, 193, 221, 0.35); }
.bubble-2 { width: 16px; height: 16px; left: 88%; bottom: 16px; background: rgba(255, 184, 112, 0.35); animation-delay: 1.4s; }
.bubble-3 { width: 26px; height: 26px; left: 62%; bottom: -8px; background: rgba(176, 208, 226, 0.36); animation-delay: 2.8s; }

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .42rem;
  margin-top: .95rem;
}
.hero-pills span {
  padding: .34rem .72rem;
  border-radius: 999px;
  border: 1px solid rgba(163, 203, 223, .72);
  background: #f4fcff;
  color: #1f6888;
  font-size: .8rem;
  font-weight: 600;
}
.hero-stats {
  margin-top: .95rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .55rem;
}
.hero-stats article {
  border: 1px solid rgba(171, 207, 226, .75);
  background: #fff;
  border-radius: 10px;
  padding: .5rem;
  text-align: center;
}
.hero-stats strong {
  display: block;
  font-size: 1.06rem;
  font-family: "Fredoka", sans-serif;
  color: var(--brand-dark);
}
.hero-stats span {
  display: block;
  font-size: .72rem;
  color: var(--ink-500);
}

.cta-row {
  display: flex;
  gap: .62rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.btn {
  border: 0;
  border-radius: 999px;
  padding: .66rem 1.05rem;
  display: inline-flex;
  align-items: center;
  font: inherit;
  font-size: .9rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(120deg, var(--brand), #4db8d1);
  box-shadow: 0 8px 18px rgba(20, 166, 199, .26);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(20, 166, 199, .3);
}
.btn-outline {
  color: var(--brand-dark);
  background: #f7fcff;
  border: 1px solid rgba(154, 194, 218, .8);
  box-shadow: 0 7px 15px rgba(43, 98, 132, .12);
}
.btn-small {
  font-size: .79rem;
  padding: .44rem .84rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .72rem;
}
.trust-strip p {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .68rem;
  text-align: center;
  font-size: .89rem;
  font-weight: 600;
  box-shadow: var(--shadow-card);
}
.fun-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
}
.mini-card {
  margin: 0;
  padding: .82rem;
  border-radius: 14px;
  background: linear-gradient(145deg, #ffffff, #f5fcff);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.mini-card h3 {
  font-size: 1rem;
  margin-bottom: .25rem;
}
.mini-card p {
  margin: 0;
  font-size: .86rem;
  color: var(--ink-500);
}

.card-grid,
.comfort-grid,
.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: .9rem;
}
.card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: linear-gradient(170deg, var(--surface-strong), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 1rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 26px rgba(23, 57, 84, .16);
}
.card p { margin-top: 0; }
.card a { margin-top: auto; font-weight: 600; }
.quote footer { margin-top: auto; font-weight: 700; color: var(--ink-500); }
.testimonial-avatar {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 999px;
  border: 2px solid rgba(157, 198, 220, .55);
  margin-bottom: .5rem;
}

.filters { display: flex; gap: .55rem; flex-wrap: wrap; margin-bottom: .95rem; }
.chip {
  border: 1px solid rgba(159, 196, 218, .82);
  background: #fff;
  border-radius: 999px;
  padding: .3rem .75rem;
}
.chip.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(120deg, #0f8ead, #4db8d1);
}

.search-row {
  display: grid;
  grid-template-columns: 1fr 220px auto;
  gap: .5rem;
  margin-bottom: .8rem;
}
.form-card { width: 100%; }
.book-appointment-visual {
  width: 100%;
  max-width: 380px;
  margin-top: .9rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.field-wrap { margin-bottom: .7rem; }
label {
  display: block;
  font-size: .84rem;
  font-weight: 600;
  margin-bottom: .2rem;
}
.input-control {
  width: 100%;
  font: inherit;
  border: 1px solid rgba(159, 195, 215, .9);
  border-radius: 10px;
  padding: .56rem .65rem;
  color: var(--ink-700);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.input-control:focus {
  outline: none;
  border-color: #71aecd;
  box-shadow: 0 0 0 3px rgba(182, 218, 236, .4);
}
.checkbox-input { margin-right: .5rem; }
.error { color: #b44a6d; margin: .14rem 0 0; font-size: .82rem; }

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .74rem;
  margin-bottom: .6rem;
}
.cta-panel {
  background: linear-gradient(145deg, #edf8fc, #fff5e8);
  border: 1px solid rgba(151, 199, 216, .75);
  border-radius: 16px;
  padding: .95rem;
  margin-top: .8rem;
}
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.emergency-page .container {
  width: min(1120px, 94vw);
}
.emergency-page h2 {
  margin-top: 1.35rem;
}
.emergency-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: .8rem 0 1rem;
}
.emergency-quick-links a {
  display: inline-block;
  border: 1px solid rgba(156, 198, 220, .82);
  background: #fff;
  border-radius: 999px;
  padding: .3rem .7rem;
  font-size: .82rem;
  font-weight: 700;
  color: #1d5d7f;
  text-decoration: none;
}
.emergency-quick-links a:hover {
  background: #eaf7fd;
}
.emergency-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: .9rem;
  margin: .8rem 0 1rem;
}
.emergency-photo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(160deg, #f2fbff, #fff6e8);
}
.emergency-photo-card img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
}
.emergency-alert-card {
  border-color: rgba(241, 139, 96, 0.7);
  background: linear-gradient(150deg, #fff7f1, #fffdfa);
  border-left: 4px solid rgba(232, 112, 63, 0.82);
}
.emergency-list {
  margin: .2rem 0 0;
  padding-left: 1.1rem;
}
.emergency-list li {
  margin-bottom: .24rem;
}
.emergency-table-card {
  overflow-x: auto;
}
.emergency-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}
.emergency-table th,
.emergency-table td {
  border: 1px solid rgba(157, 198, 220, .75);
  padding: .52rem .6rem;
  text-align: left;
}
.emergency-table th {
  background: #edf8fc;
  color: #1c516e;
  font-family: "Fredoka", sans-serif;
  font-size: .95rem;
}
.emergency-final-cta {
  margin-top: .9rem;
  text-align: left;
  border-color: rgba(123, 191, 219, 0.7);
  background: linear-gradient(145deg, #edf8fc, #fff5e8);
}
.clinic-logo {
  width: 84px;
  height: 84px;
  object-fit: contain;
  margin-bottom: .4rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(157, 198, 220, .55);
  padding: .22rem;
}
.primary-location-badge {
  display: inline-block;
  margin: .1rem 0 .4rem;
  padding: .18rem .5rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  color: #14506e;
  background: #e9f7fd;
  border: 1px solid rgba(120, 188, 220, .7);
}
.reviews-page {
  max-width: 860px;
}
.reviews-note {
  font-size: 1.02rem;
  color: var(--ink-500);
}
.reviews-stack {
  display: grid;
  gap: .75rem;
  margin-top: .9rem;
}
.review-card {
  padding: 1rem;
}
.review-quote {
  margin: 0 0 .55rem;
  font-size: 1.06rem;
  line-height: 1.75;
}
.review-meta {
  margin: 0;
  color: var(--ink-500);
  font-size: .92rem;
  font-weight: 600;
}
.reviews-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  margin-top: .95rem;
  flex-wrap: wrap;
}
.entity-logo {
  width: 74px;
  height: 74px;
  object-fit: contain;
  border: 1px solid rgba(157, 198, 220, .55);
  border-radius: 10px;
  background: #fff;
  padding: .2rem;
  margin-bottom: .45rem;
}

.admin-auth-section {
  min-height: 66vh;
  display: grid;
  align-items: center;
}
.admin-auth-card {
  border: 1px solid rgba(156, 192, 214, .75);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 30px rgba(25, 55, 78, .12);
  padding: 1.2rem;
}
.admin-auth-head p { margin: 0 0 .45rem; }
.admin-auth-head h1 { margin-bottom: .35rem; }
.admin-auth-links {
  display: flex;
  gap: .9rem;
  margin-top: .9rem;
  font-size: .9rem;
}
.admin-shell { padding-top: 1.6rem; }
.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: .9rem;
}
.admin-tab-btn {
  display: inline-block;
  border: 1px solid rgba(157, 198, 220, .75);
  background: #fff;
  color: var(--ink-700);
  border-radius: 999px;
  padding: .38rem .72rem;
  font: inherit;
  font-weight: 700;
  font-size: .86rem;
  cursor: pointer;
  text-decoration: none;
}
.admin-panel {
  display: block;
}
.admin-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}
.admin-sidebar {
  position: sticky;
  top: 104px;
  border: 1px solid rgba(156, 192, 214, .75);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(21, 50, 74, .1);
  padding: .8rem;
}
.admin-sidebar h2 {
  font-size: 1.05rem;
  margin: 0 0 .5rem;
}
.admin-sidebar a {
  display: block;
  margin-bottom: .25rem;
  padding: .46rem .5rem;
  border-radius: 10px;
  color: var(--ink-700);
  font-weight: 600;
}
.admin-sidebar a:hover {
  text-decoration: none;
  background: var(--brand-soft);
}
.admin-sidebar a.admin-link-active {
  background: linear-gradient(120deg, #0f8ead, #4db8d1);
  color: #fff;
}
.admin-logout-link {
  margin-top: .35rem;
  color: #8a2f4b !important;
}
.admin-main { min-width: 0; }
.dashboard-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .8rem;
  margin-bottom: .85rem;
}
.admin-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .65rem;
  margin-bottom: .9rem;
}
.admin-stats article {
  border: 1px solid rgba(157, 198, 220, .75);
  border-radius: 12px;
  background: #fff;
  padding: .65rem .6rem;
  text-align: center;
}
.admin-stats strong {
  display: block;
  color: var(--brand-dark);
  font-family: "Fredoka", sans-serif;
  font-size: 1.16rem;
}
.admin-stats span {
  color: var(--ink-500);
  font-size: .82rem;
}
.admin-card {
  margin-bottom: .9rem;
}
.admin-accordion {
  margin-bottom: .75rem;
}
.admin-accordion summary {
  cursor: pointer;
  list-style: none;
  font-family: "Fredoka", sans-serif;
  color: var(--ink-900);
  font-size: 1.06rem;
  background: #fff;
  border: 1px solid rgba(157, 198, 220, .75);
  border-radius: 12px;
  padding: .62rem .72rem;
}
.admin-accordion[open] summary {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.admin-accordion .admin-card {
  margin: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.admin-help-text {
  margin-top: -.1rem;
  color: var(--ink-500);
}
.admin-list-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .7rem;
  margin-bottom: .7rem;
}
.admin-list-head h2 {
  margin: 0;
}
.admin-list-stack {
  display: grid;
  gap: .65rem;
}
.admin-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .7rem;
  border: 1px solid rgba(157, 198, 220, .75);
  border-radius: 12px;
  padding: .65rem;
  background: #fff;
}
.admin-list-item h3 {
  margin-bottom: .2rem;
}
.admin-list-item p {
  margin: 0;
}
.admin-list-actions {
  display: flex;
  gap: .45rem;
  align-items: center;
}
.rte-wrap {
  border: 1px solid rgba(159, 195, 215, .9);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.rte-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  padding: .45rem;
  border-bottom: 1px solid rgba(159, 195, 215, .7);
  background: #f5fbff;
}
.rte-btn {
  border: 1px solid rgba(157, 198, 220, .9);
  background: #fff;
  color: var(--ink-700);
  border-radius: 8px;
  padding: .2rem .45rem;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
}
.rte-btn:hover {
  background: var(--brand-soft);
}
.rte-editor {
  min-height: 148px;
  padding: .65rem;
  color: var(--ink-700);
  line-height: 1.55;
  outline: none;
}
.rte-editor:focus {
  box-shadow: inset 0 0 0 2px rgba(182, 218, 236, .55);
}
.clinic-edit-block {
  border-top: 1px dashed rgba(162, 198, 218, .95);
  margin-top: .8rem;
  padding-top: .8rem;
}
.delete-wrap {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255, 245, 248, 0.9);
  border: 1px solid rgba(228, 173, 191, 0.65);
  border-radius: 10px;
  padding: .45rem .55rem;
}
.delete-wrap label {
  margin: 0;
  font-weight: 600;
}
.admin-note { margin: .7rem 0 0; font-size: .88rem; color: var(--ink-500); }
.admin-tools-links {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}
.admin-tools-links a {
  padding: .5rem .72rem;
  border: 1px solid rgba(157, 198, 220, .75);
  border-radius: 999px;
  background: #fff;
  font-weight: 600;
}

.flash-wrap { padding-top: .75rem; }
.flash {
  margin: 0;
  border-radius: 10px;
  padding: .58rem .82rem;
  border: 1px solid rgba(151, 205, 186, .85);
  background: #ecf9f3;
}

.site-footer {
  margin-top: 1.2rem;
  padding: 2.2rem 0;
  color: #e9f4fb;
  background: linear-gradient(140deg, #10324c, #18435f 55%, #10324c);
  border-top: 1px solid rgba(174, 206, 224, .35);
}
.site-footer h3,
.site-footer h4 {
  color: #ffffff;
  margin-bottom: .55rem;
}
.site-footer p {
  margin: .2rem 0 .7rem;
  color: rgba(233, 244, 251, .9);
}
.site-footer a {
  display: inline-block;
  color: #c9e5f4;
  margin-bottom: .3rem;
}
.site-footer a:hover {
  color: #ffffff;
  text-decoration: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 1rem;
}

.reveal-up {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal-up.in-view {
  opacity: 1;
  transform: translateY(0);
}
.card.reveal-up:nth-child(2), .trust-strip p.reveal-up:nth-child(2) { transition-delay: .06s; }
.card.reveal-up:nth-child(3), .trust-strip p.reveal-up:nth-child(3) { transition-delay: .11s; }
.card.reveal-up:nth-child(4), .trust-strip p.reveal-up:nth-child(4) { transition-delay: .16s; }
.card.reveal-up:nth-child(5) { transition-delay: .21s; }
.card.reveal-up:nth-child(6) { transition-delay: .26s; }

@keyframes float-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes bubble-rise {
  0% { transform: translateY(0) scale(1); opacity: .78; }
  100% { transform: translateY(-132px) scale(1.3); opacity: 0; }
}
@keyframes orb-float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-12px) translateX(6px); }
}
@keyframes logo-swing {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(8deg); }
  50% { transform: rotate(0deg); }
  75% { transform: rotate(-8deg); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal-up { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .home-revamp-hero-grid,
  .home-revamp-metrics,
  .hero-layout,
  .hero-grid,
  .two-col,
  .card-grid,
  .comfort-grid,
  .journey-grid,
  .fun-strip,
  .footer-grid,
  .trust-strip,
  .search-row,
  .ba-grid,
  .emergency-hero-grid,
  .dashboard-grid,
  .admin-layout,
  .admin-stats {
    grid-template-columns: 1fr;
  }
  .site-header {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 90;
  }
  .nav-wrap {
    justify-content: flex-end;
    padding: .56rem 0;
  }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .main-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: .35rem;
    margin-top: .5rem;
    padding: .5rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 18px rgba(20, 40, 60, 0.1);
  }
  .main-nav.is-open { display: flex; }
  .main-nav > a,
  .nav-drop-btn,
  .schedule-btn {
    width: 100%;
    text-align: left;
    justify-content: flex-start;
  }
  .home-revamp-hero .container.home-revamp-hero-grid {
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
  .home-revamp-copy {
    order: 2;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
  .home-revamp-photo-card {
    order: 1;
    min-height: 54vh;
  }
  .home-revamp-copy h1 { max-width: none; }
  .hero-image-panel {
    order: -1;
    min-height: 56vh;
    border-radius: 0;
  }
  .hero-img-main {
    transform: scale(1.04) translateY(-1%);
    object-position: center;
  }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-box h1 { max-width: none; }
  .swing-logo-wrap { display: none; }
  .fixed-brand-badge {
    display: flex;
    top: 6px;
    left: 8px;
    padding: .28rem .45rem;
    border-radius: 10px;
    z-index: 92;
  }
  .fixed-brand-badge strong { font-size: .86rem; }
  .fixed-brand-badge span { font-size: .65rem; }
  .hero-layout {
    min-height: auto;
    gap: 0;
  }
  .hero-image-panel {
    min-height: 50vh;
  }
  .hero-img-main {
    transform: scale(1.02) translateY(-1%);
  }
  .hero-box { margin: 0 .8rem .8rem; }
  .dropdown-menu {
    position: static;
    display: none;
    min-width: 100%;
    box-shadow: inset 0 0 0 1px rgba(141, 180, 202, 0.4);
    margin-top: .2rem;
    background: #f8fdff;
    border: 0;
    padding: .3rem;
    border-radius: 10px;
  }
  .nav-dropdown { width: 100%; }
  .nav-dropdown.is-open .dropdown-menu { display: block; }
  .dropdown-menu a {
    padding: .5rem .52rem;
    font-size: .9rem;
  }
  .about-profile-photo {
    width: min(86vw, 360px);
    max-height: none;
  }
  .admin-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: .25rem;
  }
  .admin-tab-btn {
    white-space: nowrap;
  }
  .emergency-page .container {
    width: 100%;
  }
  .emergency-page h2 {
    margin-top: 1.05rem;
  }
  .emergency-quick-links {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: .25rem;
    margin-bottom: .8rem;
  }
  .emergency-quick-links a {
    white-space: nowrap;
    font-size: .78rem;
  }
  .review-quote {
    font-size: 1rem;
    line-height: 1.65;
  }
  .entity-logo {
    width: 64px;
    height: 64px;
  }
  .testimonial-avatar {
    width: 48px;
    height: 48px;
  }
  .clinic-logo {
    width: 72px;
    height: 72px;
  }
  .emergency-table {
    min-width: 0;
  }
  .admin-sidebar {
    position: static;
    top: auto;
  }
  .admin-auth-links {
    flex-direction: column;
    gap: .35rem;
  }
  .admin-list-item {
    flex-direction: column;
    align-items: flex-start;
  }
}
