:root {
  --blue: #08a8d6;
  --blue-deep: #057fa8;
  --blue-soft: #eaf9fd;
  --blue-pale: #f5fcfe;
  --ink: #17313e;
  --ink-soft: #45616d;
  --gray: #6c7378;
  --line: #d9e9ee;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(22, 66, 83, 0.12);
  --shadow-soft: 0 14px 40px rgba(22, 66, 83, 0.08);
  --radius-lg: 36px;
  --radius-md: 24px;
  --radius-sm: 16px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

h1,
h2,
h3 {
  line-height: 1.1;
  letter-spacing: -0.035em;
}

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

.section-pad {
  padding-block: 112px;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 10px;
  padding: 12px 18px;
  color: var(--white);
  background: var(--ink);
  border-radius: 10px;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--blue-deep);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 28px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
}

.eyebrow-light {
  color: #9ee9fb;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.2;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.button svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.button:focus-visible,
.nav-cta:focus-visible,
.menu-toggle:focus-visible,
.card-link:focus-visible,
.floating-button:focus-visible,
.back-to-top:focus-visible,
.text-link:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(8, 168, 214, 0.35);
  outline-offset: 4px;
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), #08b9e6);
  box-shadow: 0 14px 26px rgba(8, 168, 214, 0.24);
}

.button-primary:hover {
  box-shadow: 0 18px 34px rgba(8, 168, 214, 0.32);
}

.button-secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.button-secondary:hover {
  color: var(--blue-deep);
  border-color: rgba(8, 168, 214, 0.45);
  box-shadow: var(--shadow-soft);
}

.button-white {
  color: var(--blue-deep);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(5, 64, 85, 0.18);
}

.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(211, 231, 237, 0.9);
  box-shadow: 0 8px 30px rgba(23, 49, 62, 0.06);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  height: 84px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(22, 66, 83, 0.1);
}

.brand > span {
  display: grid;
  line-height: 1.12;
}

.brand strong {
  font-size: 0.93rem;
}

.brand small {
  color: var(--blue-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav > a {
  position: relative;
  color: #405964;
  font-size: 0.88rem;
  font-weight: 650;
  transition: color 0.2s ease;
}

.main-nav > a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  content: "";
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.main-nav > a:hover,
.main-nav > a.active {
  color: var(--blue-deep);
}

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

.nav-cta {
  min-height: 44px;
  padding: 10px 18px;
  color: var(--white);
  background: var(--ink);
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 750;
  transition: background 0.25s ease, transform 0.25s ease;
}

.nav-cta:hover {
  background: var(--blue-deep);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  border-radius: 10px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

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

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

.hero {
  position: relative;
  display: flex;
  min-height: 800px;
  align-items: center;
  padding-top: 156px;
  background:
    radial-gradient(circle at 6% 12%, rgba(8, 168, 214, 0.12), transparent 25%),
    linear-gradient(135deg, #f4fbfd 0%, #ffffff 52%, #edfafd 100%);
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: 110px;
  left: 5%;
  width: 66%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(8, 168, 214, 0.2), transparent);
  content: "";
}

.hero-orb {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(8, 168, 214, 0.18);
  border-radius: 50%;
}

.hero-orb-one {
  top: 120px;
  right: -170px;
  width: 520px;
  height: 520px;
}

.hero-orb-two {
  right: 300px;
  bottom: 50px;
  width: 120px;
  height: 120px;
  background: rgba(8, 168, 214, 0.04);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
  align-items: center;
  gap: 70px;
}

.hero-copy h1 {
  max-width: 700px;
  margin-bottom: 28px;
  font-size: clamp(3.25rem, 6vw, 5.4rem);
  font-weight: 770;
}

.hero-copy h1 em {
  position: relative;
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.hero-copy h1 em::after {
  position: absolute;
  right: 2px;
  bottom: -4px;
  left: 2px;
  height: 6px;
  background: rgba(8, 168, 214, 0.17);
  border-radius: 50%;
  content: "";
}

.hero-lead {
  max-width: 630px;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: 1.12rem;
  line-height: 1.8;
}

.hero-actions,
.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-meta {
  display: flex;
  gap: 46px;
  margin-top: 48px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hero-meta > div {
  display: grid;
  gap: 3px;
}

.hero-meta strong {
  font-size: 0.94rem;
}

.hero-meta span {
  color: var(--gray);
  font-size: 0.82rem;
}

.hero-visual {
  position: relative;
}

.logo-stage {
  position: relative;
  padding: 28px 34px 26px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(206, 230, 237, 0.95);
  border-radius: 46px 46px 150px 46px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.logo-stage::before {
  position: absolute;
  z-index: -1;
  inset: -14px 16px 16px -14px;
  border: 1px solid rgba(8, 168, 214, 0.17);
  border-radius: 54px 54px 158px 54px;
  content: "";
}

.stage-label {
  display: inline-flex;
  padding: 7px 11px;
  color: var(--blue-deep);
  background: var(--blue-soft);
  border: 1px solid rgba(8, 168, 214, 0.14);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.logo-stage > img {
  width: min(100%, 385px);
  margin: 12px auto 0;
  mix-blend-mode: multiply;
}

.stage-footer {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 8px;
  padding: 17px 8px 0;
  border-top: 1px solid var(--line);
}

.stage-footer p {
  display: grid;
  margin: 0;
  color: var(--gray);
  font-size: 0.79rem;
  line-height: 1.4;
}

.stage-footer strong {
  color: var(--ink);
}

.status-dot {
  position: relative;
  width: 10px;
  height: 10px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(8, 168, 214, 0.12);
}

.mini-card {
  position: absolute;
  padding: 11px 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  font-size: 0.78rem;
  font-weight: 750;
  white-space: nowrap;
}

.mini-card-top {
  top: 70px;
  right: -36px;
}

.mini-card-bottom {
  bottom: 76px;
  left: -48px;
}

.quick-strip {
  background: var(--ink);
}

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

.quick-grid > div {
  display: flex;
  min-height: 130px;
  align-items: center;
  gap: 18px;
  padding: 28px 38px;
  color: var(--white);
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.quick-grid > div:last-child {
  border-right: 0;
}

.quick-grid > div > span {
  color: #76dff5;
  font-family: Georgia, serif;
  font-size: 1.55rem;
}

.quick-grid p {
  display: grid;
  margin: 0;
  color: #b9cbd2;
  font-size: 0.78rem;
}

.quick-grid strong {
  color: var(--white);
  font-size: 0.94rem;
}

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

.intro-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: end;
  gap: 100px;
}

.section-heading h2,
.location-copy h2,
.patients-copy h2,
.contact-copy h2 {
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 4.8vw, 4.25rem);
  font-weight: 740;
}

.section-heading > p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.section-heading.centered {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.intro-grid .section-heading h2 {
  margin-bottom: 0;
}

.intro-copy p {
  margin-bottom: 24px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.text-link,
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0;
  color: var(--blue-deep);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 800;
}

.text-link span,
.card-link span {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  background: var(--blue-soft);
  border-radius: 50%;
  transition: transform 0.25s ease, background 0.25s ease;
}

.text-link:hover span,
.card-link:hover span {
  color: var(--white);
  background: var(--blue);
  transform: translate(2px, -2px);
}

.services {
  background:
    linear-gradient(rgba(8, 168, 214, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 168, 214, 0.035) 1px, transparent 1px),
    var(--blue-pale);
  background-size: 42px 42px;
}

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

.service-card {
  position: relative;
  display: flex;
  min-height: 280px;
  flex-direction: column;
  padding: 30px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(22, 66, 83, 0.035);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card::after {
  position: absolute;
  right: -32px;
  bottom: -44px;
  width: 110px;
  height: 110px;
  background: var(--blue-soft);
  border-radius: 50%;
  content: "";
  transition: transform 0.4s ease;
}

.service-card:hover {
  border-color: rgba(8, 168, 214, 0.4);
  box-shadow: 0 22px 46px rgba(22, 66, 83, 0.1);
  transform: translateY(-7px);
}

.service-card:hover::after {
  transform: scale(1.3);
}

.service-number {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  color: var(--blue-deep);
  background: var(--blue-soft);
  border-radius: 13px;
  font-family: Georgia, serif;
  font-size: 1rem;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.32rem;
}

.service-card p {
  margin-bottom: 26px;
  color: var(--gray);
  font-size: 0.91rem;
}

.service-card .card-link {
  z-index: 1;
  margin-top: auto;
  align-self: flex-start;
}

.patients {
  position: relative;
  color: var(--white);
  background:
    radial-gradient(circle at 12% 20%, rgba(8, 168, 214, 0.24), transparent 31%),
    linear-gradient(125deg, #17313e, #102631);
  overflow: hidden;
}

.patients::after {
  position: absolute;
  top: -200px;
  right: -180px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(102, 221, 246, 0.16);
  border-radius: 50%;
  content: "";
}

.patients-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 110px;
}

.patients-copy p {
  max-width: 490px;
  margin-bottom: 32px;
  color: #c4d2d8;
  font-size: 1.03rem;
}

.age-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.age-list > div {
  min-height: 170px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  backdrop-filter: blur(8px);
  transition: background 0.25s ease, transform 0.25s ease;
}

.age-list > div:hover {
  background: rgba(8, 168, 214, 0.18);
  transform: translateY(-4px);
}

.age-list span {
  color: #7ce1f6;
  font-family: Georgia, serif;
  font-size: 0.9rem;
}

.age-list h3 {
  margin: 54px 0 0;
  font-size: 1.25rem;
}

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

.attention-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.attention-card {
  position: relative;
  display: flex;
  min-height: 430px;
  flex-direction: column;
  padding: 42px;
  background: var(--blue-pale);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.attention-card::after {
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(8, 168, 214, 0.16);
  border-radius: 50%;
  content: "";
}

.attention-primary {
  color: var(--white);
  background: linear-gradient(145deg, var(--blue), #078fb9);
  border-color: transparent;
  box-shadow: 0 25px 55px rgba(8, 168, 214, 0.18);
}

.attention-primary::after {
  border-color: rgba(255, 255, 255, 0.25);
}

.attention-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 100px;
}

.attention-top > span {
  font-family: Georgia, serif;
  font-size: 2rem;
}

.attention-top small {
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-weight: 700;
}

.attention-card:not(.attention-primary) .attention-top small {
  color: var(--blue-deep);
  background: var(--blue-soft);
}

.attention-card h3 {
  margin-bottom: 16px;
  font-size: clamp(1.85rem, 3vw, 2.7rem);
}

.attention-card p {
  max-width: 510px;
  margin-bottom: 30px;
  color: var(--ink-soft);
}

.attention-primary p {
  color: rgba(255, 255, 255, 0.88);
}

.attention-card .button {
  z-index: 1;
  margin-top: auto;
  align-self: flex-start;
}

.visit {
  background: var(--blue-pale);
}

.visit-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: 90px;
}

.schedule-card {
  position: relative;
  padding: 34px;
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.schedule-card::after {
  position: absolute;
  top: -110px;
  right: -90px;
  width: 260px;
  height: 260px;
  border: 40px solid rgba(8, 168, 214, 0.12);
  border-radius: 50%;
  content: "";
}

.schedule-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 58px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-pill {
  padding: 7px 10px;
  color: #9ee9fb;
  background: rgba(8, 168, 214, 0.13);
  border-radius: 999px;
  font-size: 0.65rem;
}

.schedule-time {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.schedule-time strong {
  font-family: Georgia, serif;
  font-size: clamp(4rem, 8vw, 6.4rem);
  font-weight: 400;
  letter-spacing: -0.07em;
}

.schedule-time span {
  color: #92ddec;
  font-size: 1rem;
}

.schedule-card > p {
  color: #b9cbd2;
}

.schedule-line {
  height: 1px;
  margin: 32px 0 24px;
  background: rgba(255, 255, 255, 0.14);
}

.schedule-card .text-link {
  position: relative;
  z-index: 1;
  color: #9ee9fb;
}

.schedule-card .text-link span {
  background: rgba(8, 168, 214, 0.16);
}

.location-copy address {
  max-width: 670px;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: 1.06rem;
  font-style: normal;
}

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

.faq-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 90px;
}

.accordion details {
  border-top: 1px solid var(--line);
}

.accordion details:last-child {
  border-bottom: 1px solid var(--line);
}

.accordion summary {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 750;
  list-style: none;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--blue-deep);
  background: var(--blue-soft);
  border-radius: 50%;
  font-size: 1.2rem;
  transition: transform 0.25s ease;
}

.accordion details[open] summary span {
  transform: rotate(45deg);
}

.accordion details p {
  max-width: 650px;
  padding: 0 56px 24px 0;
  color: var(--gray);
}

.contact {
  padding-top: 40px;
  background: var(--white);
}

.contact-card {
  position: relative;
  padding: 70px;
  color: var(--white);
  background:
    radial-gradient(circle at 100% 0%, rgba(110, 226, 249, 0.25), transparent 35%),
    linear-gradient(135deg, #078db8, #06acd7);
  border-radius: 44px;
  box-shadow: 0 28px 70px rgba(8, 139, 180, 0.22);
  overflow: hidden;
}

.contact-card::after {
  position: absolute;
  right: -120px;
  bottom: -240px;
  width: 470px;
  height: 470px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  content: "";
}

.contact-copy {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: end;
  gap: 60px;
}

.contact-copy h2 {
  margin-bottom: 0;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.02rem;
}

.contact-copy .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -28px;
}

.contact-options {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 46px;
}

.contact-options a {
  display: grid;
  gap: 7px;
  padding: 28px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-options a:hover {
  box-shadow: 0 18px 34px rgba(5, 64, 85, 0.16);
  transform: translateY(-4px);
}

.contact-options small {
  color: var(--blue-deep);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-options strong {
  font-size: clamp(1.45rem, 3vw, 2.05rem);
}

.contact-options span {
  color: var(--gray);
  font-size: 0.82rem;
  font-weight: 700;
}

.facebook-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  font-weight: 750;
}

.site-footer {
  padding-top: 80px;
  color: #c5d1d6;
  background: #102630;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 0.8fr 0.8fr 0.8fr;
  gap: 60px;
  padding-bottom: 60px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-brand img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.12);
}

.footer-brand p,
.footer-links {
  display: grid;
  gap: 7px;
  margin: 0;
  font-size: 0.83rem;
}

.footer-brand strong,
.footer-links strong {
  color: var(--white);
  font-size: 0.94rem;
}

.footer-brand span {
  max-width: 250px;
}

.footer-links a:hover {
  color: #9ee9fb;
}

.footer-bottom {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
}

.footer-bottom a {
  color: #9ee9fb;
  font-weight: 700;
}

.floating-contact {
  position: fixed;
  z-index: 1100;
  right: 24px;
  bottom: 24px;
}

.floating-button {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 10px;
  padding: 12px 20px 12px 14px;
  color: var(--white);
  background: #19b765;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(16, 111, 61, 0.28);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-button:hover {
  box-shadow: 0 18px 42px rgba(16, 111, 61, 0.36);
  transform: translateY(-3px);
}

.floating-button svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.contact-popover {
  position: absolute;
  right: 0;
  bottom: 72px;
  display: grid;
  width: min(330px, calc(100vw - 32px));
  gap: 11px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.96);
  transform-origin: bottom right;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.contact-popover.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.contact-popover small {
  color: var(--blue-deep);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-popover > strong {
  margin-bottom: 7px;
  font-size: 1rem;
  line-height: 1.4;
}

.contact-popover > a {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  background: #f2fbf6;
  border: 1px solid #d6f0e1;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 800;
}

.contact-popover > a span {
  color: #19a85f;
}

.popover-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--gray);
  background: #f4f8f9;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
}

.back-to-top {
  position: fixed;
  z-index: 1000;
  right: 30px;
  bottom: 94px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

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

.js .reveal.revealed {
  animation: reveal-in 0.7s ease both;
}

.js .reveal-delay.revealed {
  animation-delay: 0.12s;
}

@keyframes reveal-in {
  from {
    opacity: 0.45;
    transform: translateY(24px);
  }

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

@media (max-width: 1100px) {
  .main-nav {
    gap: 18px;
  }

  .main-nav > a {
    font-size: 0.82rem;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.88fr;
    gap: 44px;
  }

  .mini-card-top {
    right: -10px;
  }

  .mini-card-bottom {
    left: -18px;
  }

  .quick-grid > div {
    padding-inline: 24px;
  }

  .patients-grid,
  .visit-grid {
    gap: 60px;
  }

  .footer-grid {
    gap: 30px;
  }
}

@media (max-width: 920px) {
  .section-pad {
    padding-block: 88px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    z-index: 999;
    top: 84px;
    right: 18px;
    left: 18px;
    display: grid;
    gap: 0;
    padding: 16px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav > a {
    padding: 14px 10px;
    border-bottom: 1px solid #edf4f6;
    font-size: 0.92rem;
  }

  .main-nav > a::after {
    display: none;
  }

  .nav-cta {
    margin-top: 12px;
  }

  .hero {
    min-height: auto;
    padding-top: 130px;
  }

  .hero-grid,
  .intro-grid,
  .patients-grid,
  .visit-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 70px;
  }

  .hero-copy {
    max-width: 700px;
  }

  .hero-visual {
    width: min(100%, 560px);
    margin-inline: auto;
  }

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

  .quick-grid > div {
    min-height: 96px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .quick-grid > div:last-child {
    border-bottom: 0;
  }

  .intro-grid,
  .patients-grid,
  .visit-grid,
  .faq-grid {
    gap: 46px;
  }

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

  .contact-card {
    padding: 54px;
  }

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

  .contact-copy .eyebrow {
    grid-column: auto;
    margin-bottom: 0;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

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

  .section-pad {
    padding-block: 72px;
  }

  .header-inner {
    height: 74px;
  }

  .main-nav {
    top: 74px;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .hero {
    padding-top: 116px;
  }

  .hero-copy h1 {
    font-size: clamp(2.85rem, 13vw, 4.2rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions,
  .location-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button,
  .location-actions .button {
    width: 100%;
  }

  .hero-meta {
    gap: 24px;
  }

  .logo-stage {
    padding: 22px;
    border-radius: 34px 34px 100px 34px;
  }

  .mini-card {
    display: none;
  }

  .section-heading h2,
  .location-copy h2,
  .patients-copy h2,
  .contact-copy h2 {
    font-size: clamp(2.2rem, 11vw, 3.35rem);
  }

  .services-grid,
  .attention-grid,
  .contact-options {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 250px;
  }

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

  .age-list > div {
    min-height: 128px;
  }

  .age-list h3 {
    margin-top: 26px;
  }

  .attention-card {
    min-height: 390px;
    padding: 30px;
  }

  .attention-top {
    margin-bottom: 72px;
  }

  .schedule-card {
    padding: 28px;
  }

  .contact-card {
    width: min(calc(100% - 32px), var(--container));
    padding: 38px 24px;
    border-radius: 30px;
  }

  .contact-options a {
    padding: 22px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .floating-contact {
    right: 16px;
    bottom: 16px;
  }

  .floating-button {
    width: 56px;
    height: 56px;
    min-height: 0;
    justify-content: center;
    padding: 0;
  }

  .floating-button > span {
    display: none;
  }

  .back-to-top {
    right: 23px;
    bottom: 82px;
  }
}

@media (max-width: 480px) {
  .brand > span {
    display: none;
  }

  .hero-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .logo-stage > img {
    width: 100%;
  }

  .quick-grid > div {
    padding-inline: 18px;
  }

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

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .reveal.revealed {
    animation: none;
  }
}
