/* ==========================================================================
   Sunshine Multispeciality Hospital — Tirupati
   Design system, components and responsive styles
   Palette: Medical Blue #1261A0 · Teal #16A6A0 · Navy #183153
            Sunshine Yellow #FFC857 · Soft Blue #EAF7FB · White #FFFFFF
   Type: Poppins (headings) · Open Sans (body)
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --blue: #1261a0;
  --blue-dark: #0e4c7e;
  --blue-deep: #0b3a62;
  --teal: #16a6a0;
  --teal-dark: #0c7a75;
  --navy: #183153;
  --navy-soft: #24456c;
  --yellow: #ffc857;
  --yellow-soft: #fff4d9;
  --soft: #eaf7fb;
  --soft-2: #f5fbfd;
  --white: #ffffff;
  --ink: #3c4c5e;
  --muted: #5f7285;
  --line: #dceaf2;
  --line-strong: #c6dbe8;
  --green: #1f9d55;

  --grad-brand: linear-gradient(120deg, #1261a0 0%, #1483a4 55%, #16a6a0 100%);
  --grad-soft: linear-gradient(150deg, #f2fbfe 0%, #eaf7fb 45%, #e8f7f6 100%);
  --grad-sun: linear-gradient(135deg, #ffd77a 0%, #ffc857 100%);

  --r-xs: 10px;
  --r-sm: 14px;
  --r: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --pill: 999px;

  --shadow-xs: 0 1px 2px rgba(24, 49, 83, 0.06);
  --shadow-sm: 0 6px 18px -8px rgba(24, 49, 83, 0.18);
  --shadow: 0 20px 45px -22px rgba(24, 49, 83, 0.28);
  --shadow-lg: 0 38px 80px -34px rgba(18, 97, 160, 0.42);
  --shadow-ring: 0 0 0 4px rgba(22, 166, 160, 0.18);

  --container: 1180px;
  --header-h: 78px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --font-head: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Open Sans", "Segoe UI", system-ui, sans-serif;
}

/* ---------- 2. Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

svg {
  display: block;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0 0 0.5em;
  font-family: var(--font-head);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.25rem, 4.6vw, 3.65rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.75rem, 3.1vw, 2.5rem);
  line-height: 1.18;
}

h3 {
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
}

h4 {
  font-size: 1.05rem;
}

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease);
}

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

ul,
ol {
  margin: 0 0 1.1em;
  padding-left: 1.2em;
}

li {
  margin-bottom: 0.4em;
}

strong {
  color: var(--navy);
  font-weight: 600;
}

::selection {
  background: rgba(22, 166, 160, 0.22);
  color: var(--navy);
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 3. Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.container--narrow {
  max-width: 900px;
}

.section {
  padding-block: clamp(56px, 7.5vw, 96px);
  position: relative;
}

.section--tight {
  padding-block: clamp(40px, 5vw, 64px);
}

.section--soft {
  background: var(--soft-2);
}

.section--blue {
  background: var(--soft);
}

.section--navy {
  background: var(--navy);
  color: #d7e6f2;
}

.section--navy h2,
.section--navy h3 {
  color: #fff;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2000;
  padding: 12px 20px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--r-xs);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

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

.text-gradient {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-teal {
  color: var(--teal-dark);
}

.icon {
  width: 24px;
  height: 24px;
  flex: none;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--sm {
  width: 18px;
  height: 18px;
}

.icon--lg {
  width: 30px;
  height: 30px;
}

/* ---------- 4. Buttons ---------- */
.btn {
  --btn-bg: var(--grad-brand);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-head);
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
    background-color 0.22s var(--ease), color 0.22s var(--ease),
    border-color 0.22s var(--ease);
}

.btn:hover {
  color: var(--btn-fg);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn .icon {
  transition: transform 0.22s var(--ease);
}

.btn:hover .icon--arrow {
  transform: translateX(3px);
}

.btn--primary {
  box-shadow: 0 14px 26px -14px rgba(18, 97, 160, 0.75);
}

.btn--primary:hover {
  box-shadow: 0 20px 34px -14px rgba(18, 97, 160, 0.65);
}

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--blue);
  border-color: rgba(18, 97, 160, 0.32);
}

.btn--outline:hover {
  --btn-bg: #ffffff;
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.btn--navy {
  --btn-bg: var(--navy);
}

.btn--navy:hover {
  background: var(--blue-deep);
}

.btn--white {
  --btn-bg: #fff;
  --btn-fg: var(--blue);
  box-shadow: 0 14px 30px -16px rgba(8, 32, 56, 0.5);
}

.btn--white:hover {
  --btn-fg: var(--teal-dark);
}

.btn--yellow {
  --btn-bg: var(--grad-sun);
  --btn-fg: #3a2a00;
}

.btn--yellow:hover {
  box-shadow: 0 16px 30px -14px rgba(255, 200, 87, 0.6);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--navy);
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  --btn-bg: var(--soft);
  border-color: var(--teal);
  color: var(--teal-dark);
}

.btn--on-dark {
  --btn-bg: rgba(255, 255, 255, 0.06);
  --btn-fg: #ffffff;
  border-color: rgba(255, 255, 255, 0.38);
}

.btn--on-dark:hover {
  --btn-bg: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.75);
  color: #ffffff;
}

.btn--sm {
  padding: 10px 18px;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 17px 30px;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

.btn[disabled],
.btn.is-loading {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn.is-loading::after {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

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

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding-block: 4px;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--blue);
  text-decoration: none;
}

.link-arrow .icon {
  transition: transform 0.25s var(--ease);
}

.link-arrow:hover {
  color: var(--teal-dark);
}

.link-arrow:hover .icon {
  transform: translateX(4px);
}

/* ---------- 5. Header ---------- */
.topbar {
  background: var(--navy);
  color: #cfe3f1;
  font-size: 0.8rem;
  letter-spacing: 0.01em;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
  padding-block: 6px;
}

.topbar__group {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-block: 7px;
  color: #cfe3f1;
  text-decoration: none;
}

.topbar__item:hover {
  color: var(--yellow);
}

.topbar__item .icon {
  color: var(--yellow);
}

.topbar__note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #a9c6dd;
}

.topbar__link {
  color: var(--yellow);
  font-weight: 600;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(220, 234, 242, 0.9);
  transition: box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}

.site-header.is-stuck {
  box-shadow: 0 12px 30px -18px rgba(24, 49, 83, 0.35);
  background: rgba(255, 255, 255, 0.98);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
  transition: min-height 0.3s var(--ease);
}

.site-header.is-stuck .header-inner {
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: none;
}

.brand:hover {
  color: inherit;
}

.brand__mark {
  width: 48px;
  height: 48px;
  flex: none;
  filter: drop-shadow(0 6px 10px rgba(18, 97, 160, 0.22));
  transition: transform 0.4s var(--ease);
}

.brand:hover .brand__mark {
  transform: rotate(-8deg);
}

.brand__name {
  display: block;
  font-family: var(--font-head);
  font-size: 1.26rem;
  font-weight: 600;
  line-height: 1.05;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.brand__sub {
  display: block;
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-dark);
}

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

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 10px 13px;
  border-radius: var(--pill);
  font-family: var(--font-head);
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
  transform: translateX(-50%);
  transition: width 0.25s var(--ease);
}

.nav__link:hover {
  color: var(--blue);
  background: var(--soft);
}

.nav__link.is-active {
  color: var(--blue);
}

.nav__link.is-active::after {
  width: 18px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.header-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: var(--pill);
  border: 1px solid var(--line-strong);
  font-family: var(--font-head);
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.header-call .icon {
  color: var(--teal-dark);
}

.header-call:hover {
  border-color: var(--teal);
  background: var(--soft);
  color: var(--blue);
}

.hamburger {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 940;
  background: rgba(10, 28, 47, 0.5);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}

.drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 950;
  display: flex;
  flex-direction: column;
  width: min(88vw, 380px);
  padding: 22px 22px 30px;
  background: #fff;
  box-shadow: -30px 0 80px -40px rgba(8, 32, 56, 0.6);
  transform: translateX(105%);
  visibility: hidden;
  transition: transform 0.35s var(--ease), visibility 0s linear 0.35s;
  overflow-y: auto;
}

.mobile-menu.is-open {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.35s var(--ease), visibility 0s linear 0s;
}

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.mobile-menu__close {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  padding: 16px 0;
  margin: 0;
  list-style: none;
}

.mobile-menu__links li {
  margin: 0;
}

.mobile-menu__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 4px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--soft);
}

.mobile-menu__links a:hover,
.mobile-menu__links a.is-active {
  color: var(--blue);
}

.mobile-menu__links a .icon {
  color: var(--teal-dark);
}

.mobile-menu__foot {
  margin-top: auto;
  display: grid;
  gap: 10px;
  padding-top: 20px;
}

.mobile-menu__meta {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
  color: var(--muted);
}

.mobile-menu__meta a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
}

.mobile-menu__meta span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-menu__meta .icon {
  color: var(--teal-dark);
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(38px, 5vw, 72px) 0 clamp(64px, 7vw, 104px);
  background: var(--grad-soft);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
      circle at 12% 18%,
      rgba(22, 166, 160, 0.12),
      transparent 42%
    ),
    radial-gradient(circle at 88% 8%, rgba(255, 200, 87, 0.18), transparent 36%),
    radial-gradient(circle at 70% 90%, rgba(18, 97, 160, 0.1), transparent 45%);
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(18, 97, 160, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 97, 160, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(circle at 30% 35%, #000 0%, transparent 72%);
  mask-image: radial-gradient(circle at 30% 35%, #000 0%, transparent 72%);
  opacity: 0.55;
}

.hero__rays {
  position: absolute;
  top: -140px;
  right: -140px;
  width: 640px;
  height: 640px;
  opacity: 0.5;
  color: rgba(22, 166, 160, 0.25);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: clamp(32px, 5vw, 68px);
}

.hero__content {
  max-width: 610px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  padding: 7px 15px 7px 11px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(22, 166, 160, 0.26);
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-dark);
  box-shadow: 0 6px 18px -14px rgba(24, 49, 83, 0.5);
}

.eyebrow__dot {
  position: relative;
  width: 18px;
  height: 18px;
  flex: none;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow-soft);
  color: #b17800;
}

.eyebrow__dot .icon {
  width: 12px;
  height: 12px;
  stroke-width: 2.2;
}

.eyebrow--light {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  color: #eaf7fb;
}

.hero h1 {
  margin-bottom: 14px;
  font-size: clamp(2.4rem, 5vw, 3.9rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.hero h1 span {
  display: inline;
}

.hero__welcome {
  margin-bottom: 14px;
  font-family: var(--font-head);
  font-size: clamp(1.02rem, 1.4vw, 1.16rem);
  font-weight: 500;
  color: var(--teal-dark);
}

.hero__lead {
  max-width: 550px;
  margin-bottom: 28px;
  font-size: 1.02rem;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.hero__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
}

.hero__phone .icon {
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 50%;
  background: #fff;
  color: var(--teal-dark);
  box-shadow: var(--shadow-sm);
}

.hero__phone:hover {
  color: var(--teal-dark);
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.83rem;
  color: var(--navy-soft);
}

.hero__chips li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
}

.hero__chips .icon {
  width: 17px;
  height: 17px;
  padding: 3px;
  border-radius: 50%;
  background: rgba(22, 166, 160, 0.14);
  color: var(--teal-dark);
  stroke-width: 2.6;
}

/* Hero artwork */
.hero__media {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 520px;
  padding: 16px 0 24px 18px;
}

.hero__media::before {
  content: "";
  position: absolute;
  top: 0;
  right: -18px;
  width: 84%;
  height: 92%;
  border-radius: 200px 200px 34px 34px;
  border: 1px dashed rgba(18, 97, 160, 0.24);
  z-index: 0;
}

.hero__photo {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 190px 190px 30px 30px;
  background: var(--soft);
  box-shadow: var(--shadow-lg);
  border: 6px solid rgba(255, 255, 255, 0.75);
}

.hero__photo img {
  width: 100%;
  aspect-ratio: 0.9;
  object-fit: cover;
  transition: transform 8s var(--ease);
}

.hero:hover .hero__photo img {
  transform: scale(1.045);
}

.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(9, 38, 63, 0) 48%,
    rgba(9, 38, 63, 0.45) 100%
  );
  pointer-events: none;
}

.hero__photo-tag {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 0.78rem;
  line-height: 1.45;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}

.hero__photo-tag .icon {
  width: 30px;
  height: 30px;
  padding: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 44px -22px rgba(9, 38, 63, 0.45);
  backdrop-filter: blur(10px);
  animation: floaty 7s ease-in-out infinite;
}

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

.float-card__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 12px;
  background: var(--soft);
  color: var(--teal-dark);
}

.float-card__icon--yellow {
  background: var(--yellow-soft);
  color: #b17800;
}

.float-card strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.83rem;
  line-height: 1.3;
  color: var(--navy);
}

.float-card small {
  display: block;
  margin-top: 2px;
  font-size: 0.7rem;
  line-height: 1.4;
  color: var(--muted);
}

.float-card--care {
  top: 46px;
  left: -26px;
  animation-delay: -1.5s;
}

.float-card--appt {
  right: -14px;
  bottom: 64px;
  animation-delay: -3.4s;
}

.sun-badge {
  position: absolute;
  z-index: 4;
  right: 8px;
  top: 10px;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad-sun);
  color: #6b4d00;
  box-shadow: 0 16px 30px -12px rgba(255, 200, 87, 0.8);
  transform: rotate(-8deg);
}

.sun-badge .icon {
  width: 34px;
  height: 34px;
  stroke-width: 1.5;
}

/* ---------- 7. Quick access bar ---------- */
.quickbar-wrap {
  position: relative;
  z-index: 5;
  margin-top: -44px;
}

.quickbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid rgba(220, 234, 242, 0.9);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.quickbar__item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 20px 22px;
  text-decoration: none;
  border-right: 1px solid var(--line);
  transition: background-color 0.25s var(--ease);
}

.quickbar__item:last-child {
  border-right: 0;
}

.quickbar__item:hover {
  background: var(--soft-2);
}

.quickbar__item:hover .quickbar__icon {
  background: var(--grad-brand);
  color: #fff;
  transform: translateY(-2px);
}

.quickbar__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 13px;
  background: var(--soft);
  color: var(--blue);
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.quickbar__icon .icon {
  width: 21px;
  height: 21px;
}

.quickbar__text strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.3;
}

.quickbar__text small {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.4;
  margin-top: 2px;
}

/* ---------- 8. Section headings ---------- */
.section-head {
  max-width: 680px;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  margin-bottom: 14px;
}

.section-head h2 {
  margin-bottom: 12px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

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

.section-head--row .section-head__text {
  max-width: 640px;
}

.section-head--row > .link-arrow {
  margin-bottom: 6px;
  flex: none;
}

.eyebrow--plain {
  background: none;
  border: 0;
  box-shadow: none;
  padding: 0;
  margin-bottom: 12px;
  color: var(--teal-dark);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

/* ---------- 9. Intro / welcome ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.intro-media {
  position: relative;
  padding: 0 22px 26px 0;
}

.intro-media::before {
  content: "";
  position: absolute;
  inset: 26px 0 0 26px;
  border-radius: var(--r-xl);
  background: linear-gradient(150deg, rgba(22, 166, 160, 0.18), rgba(18, 97, 160, 0.1));
  z-index: 0;
}

.intro-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow);
}

.intro-media__badge {
  position: absolute;
  z-index: 2;
  left: -18px;
  bottom: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 260px;
  padding: 14px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.intro-media__badge .icon {
  width: 36px;
  height: 36px;
  padding: 9px;
  border-radius: 50%;
  background: var(--yellow-soft);
  color: #b17800;
}

.intro-media__badge strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  line-height: 1.3;
}

.intro-media__badge small {
  font-size: 0.7rem;
  color: var(--muted);
}

.intro-body > p {
  color: var(--muted);
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 22px;
  margin: 26px 0 28px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--navy);
}

.feature-list .icon {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  padding: 3px;
  border-radius: 50%;
  background: rgba(22, 166, 160, 0.14);
  color: var(--teal-dark);
  stroke-width: 2.8;
}

.intro-sign {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.intro-sign__mark {
  width: 42px;
  height: 42px;
}

.intro-sign strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.86rem;
}

.intro-sign small {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
}

/* ---------- 10. Department cards ---------- */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.dept-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 22px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-xs);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
  overflow: hidden;
}

.dept-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.dept-card:hover {
  transform: translateY(-6px);
  border-color: rgba(22, 166, 160, 0.4);
  box-shadow: var(--shadow);
}

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

.dept-card__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 16px;
  background: var(--soft);
  color: var(--blue);
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.dept-card__icon .icon {
  width: 27px;
  height: 27px;
}

.dept-card:hover .dept-card__icon {
  background: var(--grad-brand);
  color: #fff;
  transform: rotate(-4deg) scale(1.03);
}

.dept-card h3 {
  margin-bottom: 7px;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.dept-card h3 a {
  color: inherit;
  text-decoration: none;
}

.dept-card:hover h3 a {
  color: var(--blue);
}

.dept-card p {
  margin-bottom: 18px;
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--muted);
}

.dept-card .link-arrow {
  margin-top: auto;
  font-size: 0.8rem;
}

.dept-card .link-arrow .icon {
  width: 16px;
  height: 16px;
}

/* Department toolbar */
.dept-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--shadow-xs);
}

.search-field {
  position: relative;
  flex: 1 1 260px;
  max-width: 360px;
}

.search-field .icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
}

.search-field input {
  width: 100%;
  height: 46px;
  padding: 0 16px 0 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  background: var(--soft-2);
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--navy);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease),
    background-color 0.2s var(--ease);
}

.search-field input::placeholder {
  color: #8296a8;
}

.search-field input:focus {
  outline: none;
  background: #fff;
  border-color: var(--teal);
  box-shadow: var(--shadow-ring);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  background: #fff;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--navy-soft);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.chip:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
  background: var(--soft-2);
}

.chip.is-active {
  background: var(--grad-brand);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 16px -10px rgba(18, 97, 160, 0.8);
}

.dept-count {
  margin: 0 0 18px;
  font-size: 0.8rem;
  color: var(--muted);
}

.dept-empty {
  display: none;
  padding: 46px 24px;
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r);
  color: var(--muted);
  background: #fff;
}

.dept-empty.is-visible {
  display: block;
}

.dept-card[hidden] {
  display: none;
}

/* Availability note */
.availability-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 26px;
  padding: 15px 18px;
  border: 1px solid rgba(255, 200, 87, 0.55);
  border-left: 4px solid var(--yellow);
  border-radius: 14px;
  background: #fffaf0;
  font-size: 0.83rem;
  line-height: 1.6;
  color: #6a5520;
}

.availability-note .icon {
  width: 20px;
  height: 20px;
  flex: none;
  color: #b17800;
  margin-top: 1px;
}

.availability-note p {
  margin: 0;
}

/* ---------- 11. Why cards ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.why-card {
  position: relative;
  padding: 30px 26px;
  background: #fff;
  border: 1px solid rgba(220, 234, 242, 0.9);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.why-card::after {
  content: attr(data-number);
  position: absolute;
  right: 16px;
  top: 4px;
  font-family: var(--font-head);
  font-size: 3.6rem;
  font-weight: 600;
  line-height: 1;
  color: rgba(18, 97, 160, 0.06);
  letter-spacing: -0.05em;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.why-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(22, 166, 160, 0.14), rgba(18, 97, 160, 0.1));
  color: var(--blue);
}

.why-card__icon .icon {
  width: 26px;
  height: 26px;
}

.why-card h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.why-card p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ---------- 12. Journey steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 31px;
  left: 8%;
  right: 8%;
  height: 1px;
  border-top: 1px dashed rgba(18, 97, 160, 0.25);
}

.step {
  position: relative;
  text-align: center;
  padding: 0 8px;
}

.step__num {
  position: relative;
  z-index: 1;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--blue);
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.step:hover .step__num {
  background: var(--grad-brand);
  color: #fff;
  border-color: transparent;
}

.step h3 {
  margin-bottom: 6px;
  font-size: 0.98rem;
}

.step p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- 13. CTA band ---------- */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: linear-gradient(118deg, #0d3f6b 0%, #1261a0 52%, #128c8c 100%);
  color: #dbeeff;
  padding: clamp(32px, 5vw, 58px);
  box-shadow: var(--shadow-lg);
}

.cta-band::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -120px;
  top: -160px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 200, 87, 0.28), transparent 65%);
}

.cta-band::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -60px;
  bottom: -190px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.cta-band__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  align-items: center;
  gap: 32px;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 10px;
}

.cta-band p {
  margin: 0;
  max-width: 560px;
  color: #c3def2;
  font-size: 0.95rem;
}

.cta-band__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}

.cta-band__note {
  margin-top: 4px;
  font-size: 0.74rem;
  color: #a9cdea;
  text-align: center;
  line-height: 1.5;
}

.cta-band__note a {
  color: #ffe1a0;
}

.cta-sun {
  position: absolute;
  right: 26px;
  bottom: 22px;
  width: 74px;
  height: 74px;
  color: rgba(255, 200, 87, 0.5);
  z-index: -1;
}

/* ---------- 14. FAQ ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 60px);
  align-items: start;
}

.faq-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.faq-aside h2 {
  margin-bottom: 12px;
}

.faq-aside p {
  color: var(--muted);
  font-size: 0.92rem;
}

.faq-help {
  margin-top: 24px;
  padding: 22px;
  border-radius: var(--r);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}

.faq-help__row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 0;
  font-size: 0.86rem;
  color: var(--navy);
  text-decoration: none;
}

.faq-help__row + .faq-help__row {
  border-top: 1px solid var(--soft);
}

.faq-help__row .icon {
  width: 32px;
  height: 32px;
  padding: 8px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--teal-dark);
  flex: none;
}

.faq-help__row strong {
  display: block;
  font-size: 0.84rem;
  font-family: var(--font-head);
}

.faq-help__row small {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.4;
}

.faq {
  display: grid;
  gap: 10px;
}

.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.faq__item.is-open {
  border-color: rgba(22, 166, 160, 0.45);
  box-shadow: var(--shadow-sm);
}

.faq__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 0;
  background: none;
  text-align: left;
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--navy);
  cursor: pointer;
}

.faq__btn:hover {
  color: var(--blue);
}

.faq__icon {
  position: relative;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: var(--soft);
  color: var(--teal-dark);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease);
}

.faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq__item.is-open .faq__icon {
  background: var(--grad-brand);
  color: #fff;
}

.faq__item.is-open .faq__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s var(--ease);
}

.faq__item.is-open .faq__panel {
  grid-template-rows: 1fr;
}

.faq__panel > div {
  overflow: hidden;
}

.faq__panel p {
  margin: 0;
  padding: 0 20px 20px;
  font-size: 0.87rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 15. Inner page hero ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(38px, 5vw, 64px) 0 clamp(40px, 5vw, 60px);
  background: var(--grad-soft);
  border-bottom: 1px solid rgba(220, 234, 242, 0.8);
}

.page-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -80px;
  top: -160px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 166, 160, 0.16), transparent 65%);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px;
}

.page-hero__content {
  max-width: 760px;
}

.page-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 3.8vw, 3.1rem);
}

.page-hero__lead {
  margin: 0;
  max-width: 660px;
  color: var(--muted);
  font-size: 1rem;
}

.page-hero__media {
  width: 210px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 4px solid #fff;
  transform: rotate(2deg);
  align-self: center;
}

.page-hero__media img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.crumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-size: 0.76rem;
  color: var(--muted);
}

.crumbs li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
}

.crumbs .icon {
  width: 12px;
  height: 12px;
  color: #9fb4c6;
}

.crumbs a {
  color: var(--muted);
  text-decoration: none;
  padding-block: 2px;
}

.crumbs a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.crumbs [aria-current="page"] {
  color: var(--navy);
  font-weight: 600;
}

/* ---------- 16. Page intro split ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.split--media-right {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.media-frame {
  position: relative;
}

.media-frame img {
  width: 100%;
  border-radius: var(--r-lg);
  object-fit: cover;
  aspect-ratio: 4 / 3.4;
  box-shadow: var(--shadow);
}

.media-frame--tall img {
  aspect-ratio: 4 / 4.6;
}

.media-frame__float {
  position: absolute;
  right: -14px;
  bottom: -18px;
  max-width: 250px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.media-frame__float .icon {
  width: 30px;
  height: 30px;
  padding: 7px;
  border-radius: 9px;
  background: var(--soft);
  color: var(--teal-dark);
  margin-bottom: 8px;
}

.media-frame__float strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.83rem;
  line-height: 1.35;
}

.media-frame__float small {
  display: block;
  margin-top: 3px;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.45;
}

/* ---------- 17. Value cards ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.value-card {
  display: flex;
  gap: 14px;
  padding: 22px;
  border-radius: var(--r);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

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

.value-card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 12px;
  background: var(--soft);
  color: var(--blue);
}

.value-card__icon .icon {
  width: 22px;
  height: 22px;
}

.value-card h3 {
  margin-bottom: 4px;
  font-size: 0.97rem;
}

.value-card p {
  margin: 0;
  font-size: 0.81rem;
  line-height: 1.6;
  color: var(--muted);
}

/* Mission / vision */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.mv-card {
  position: relative;
  padding: clamp(26px, 3vw, 38px);
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}

.mv-card::before {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--soft);
}

.mv-card--accent {
  background: linear-gradient(140deg, #0d3f6b, #1261a0 60%, #128c8c);
  border-color: transparent;
  color: #cfe6f5;
}

.mv-card--accent h3 {
  color: #fff;
}

.mv-card--accent p {
  color: #c6e0f2;
}

.mv-card--accent::before {
  background: rgba(255, 255, 255, 0.06);
}

.mv-card__icon {
  position: relative;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--soft);
  color: var(--blue);
}

.mv-card--accent .mv-card__icon {
  background: rgba(255, 200, 87, 0.16);
  color: var(--yellow);
}

.mv-card h3 {
  position: relative;
  margin-bottom: 8px;
}

.mv-card p {
  position: relative;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 18. Forms ---------- */
.form-section {
  background: var(--soft-2);
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(28px, 4vw, 52px);
}

.form-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.form-aside h2 {
  margin-bottom: 12px;
}

.form-aside > p {
  color: var(--muted);
  font-size: 0.94rem;
}

.aside-list {
  display: grid;
  gap: 14px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.aside-list li {
  display: flex;
  gap: 12px;
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--muted);
}

.aside-list .icon {
  width: 34px;
  height: 34px;
  flex: none;
  padding: 8px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--teal-dark);
}

.aside-list strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.86rem;
  color: var(--navy);
  margin-bottom: 2px;
}

.aside-contact {
  padding: 20px;
  border-radius: var(--r);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}

.aside-contact__label {
  margin: 0 0 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--teal-dark);
}

.aside-contact a.aside-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}

.aside-contact a.aside-phone:hover {
  color: var(--blue);
}

.aside-contact p {
  margin: 4px 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.form-card {
  padding: clamp(24px, 3.4vw, 38px);
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form-card__head {
  padding-bottom: 22px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--soft);
}

.form-card__head h2,
.form-card__head h3 {
  margin-bottom: 5px;
  font-size: 1.35rem;
}

.form-card__head p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

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

.field--full {
  grid-column: 1 / -1;
}

.field > label,
.field-label {
  font-family: var(--font-head);
  font-size: 0.79rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.005em;
}

.req {
  color: #c0392b;
  margin-left: 2px;
}

.optional {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--muted);
  font-size: 0.72rem;
}

.input,
.select,
.textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--navy);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.input,
.select {
  height: 48px;
}

.textarea {
  min-height: 118px;
  resize: vertical;
  line-height: 1.6;
}

.input::placeholder,
.textarea::placeholder {
  color: #93a6b7;
}

.input:hover,
.select:hover,
.textarea:hover {
  border-color: #a9c8da;
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: var(--shadow-ring);
}

.select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235f7285' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 42px;
}

.field .hint {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.5;
}

.field.has-error .input,
.field.has-error .select,
.field.has-error .textarea {
  border-color: #d64545;
  background: #fffafa;
}

.field.has-error .input:focus,
.field.has-error .select:focus,
.field.has-error .textarea:focus {
  box-shadow: 0 0 0 4px rgba(214, 69, 69, 0.13);
}

.error {
  display: none;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.45;
  color: #c0392b;
}

.field.has-error .error {
  display: flex;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 4px;
}

.consent input {
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  flex: none;
  accent-color: var(--teal);
  cursor: pointer;
}

.consent label {
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--muted);
  cursor: pointer;
}

.consent a {
  color: var(--blue);
}

.field.has-error .consent input {
  outline: 2px solid #d64545;
  outline-offset: 2px;
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.form-foot .btn {
  flex: 1 1 200px;
}

.form-privacy {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.72rem;
  line-height: 1.55;
  color: var(--muted);
}

.form-privacy .icon {
  width: 15px;
  height: 15px;
  flex: none;
  margin-top: 2px;
  color: var(--teal-dark);
}

.form-status {
  display: none;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.55;
}

.form-status.is-visible {
  display: block;
}

.form-status--error {
  background: #fdf1f1;
  border: 1px solid #f0c9c9;
  color: #a12f2f;
}

.prototype-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 22px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #f0dfa8;
  background: #fffaeb;
  color: #6b5417;
  font-size: 0.78rem;
  line-height: 1.6;
  text-align: left;
}

.prototype-note[hidden] {
  display: none;
}

.prototype-note p,
.prototype-note span {
  margin: 0;
  max-width: none;
  font-size: inherit;
  color: inherit;
}

.prototype-note .icon {
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: #b07d0a;
}

.prototype-note a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
}

.prototype-note--inline {
  max-width: 440px;
  margin: 4px auto 0;
  padding: 10px 12px;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.success-panel {
  text-align: center;
  padding: clamp(20px, 4vw, 34px) 10px;
}

.success-panel__icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(22, 166, 160, 0.12);
  color: var(--teal-dark);
  box-shadow: 0 0 0 10px rgba(22, 166, 160, 0.06);
}

.success-panel__icon .icon {
  width: 36px;
  height: 36px;
  stroke-width: 2.2;
}

.success-panel h3 {
  margin-bottom: 8px;
  font-size: 1.4rem;
}

.success-panel p {
  max-width: 430px;
  margin: 0 auto 10px;
  font-size: 0.9rem;
  color: var(--muted);
}

.success-panel__ref {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 20px;
  padding: 8px 16px;
  border-radius: var(--pill);
  background: var(--soft);
  border: 1px dashed rgba(22, 166, 160, 0.4);
  font-family: var(--font-head);
  font-size: 0.8rem;
  color: var(--navy);
}

.success-panel__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.success-note {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--soft);
  font-size: 0.76rem;
  color: var(--muted);
}

/* ---------- 19. Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.contact-card {
  padding: 28px 24px;
  border-radius: var(--r);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

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

.contact-card__icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--soft);
  color: var(--blue);
}

.contact-card__icon .icon {
  width: 24px;
  height: 24px;
}

.contact-card h2,
.contact-card h3 {
  margin-bottom: 5px;
  font-size: 1rem;
}

.contact-card p {
  margin: 0 0 4px;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

.contact-card a.contact-value {
  display: inline-block;
  margin-top: 4px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}

.contact-card a.contact-value:hover {
  color: var(--blue);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.map-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--soft);
  min-height: 300px;
  display: grid;
  place-items: center;
  padding: 30px;
  text-align: center;
}

.map-card__pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(18, 97, 160, 0.16) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.6;
}

.map-card__inner {
  position: relative;
  max-width: 360px;
  padding: 24px;
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #fff;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(6px);
}

.map-card__inner .icon {
  width: 38px;
  height: 38px;
  margin: 0 auto 12px;
  padding: 8px;
  border-radius: 50%;
  background: var(--yellow-soft);
  color: #b17800;
}

.map-card__inner h3 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.map-card__inner p {
  margin: 0 0 12px;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--muted);
}

.notice {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(22, 166, 160, 0.28);
  background: rgba(22, 166, 160, 0.06);
  font-size: 0.83rem;
  line-height: 1.65;
  color: #335a5a;
}

.notice .icon {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--teal-dark);
  margin-top: 1px;
}

.notice p {
  margin: 0;
}

.notice--blue {
  border-color: rgba(18, 97, 160, 0.22);
  background: rgba(18, 97, 160, 0.05);
  color: #33506a;
}

/* ---------- 20. Department detail ---------- */
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(30px, 4.5vw, 54px);
  align-items: start;
}

.detail-main > section + section {
  margin-top: 42px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.detail-main h2 {
  margin-bottom: 16px;
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
}

.detail-main h3 {
  font-size: 1.02rem;
  margin-bottom: 6px;
}

.detail-main p {
  color: var(--ink);
  font-size: 0.94rem;
}

.lead-text {
  font-size: 1.04rem !important;
  line-height: 1.75;
  color: var(--navy-soft) !important;
}

.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-grid li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0;
  padding: 9px 0;
  font-size: 0.87rem;
  line-height: 1.55;
  color: var(--ink);
  border-bottom: 1px dashed rgba(220, 234, 242, 0.9);
}

.check-grid .icon {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
  padding: 2px;
  border-radius: 50%;
  background: rgba(22, 166, 160, 0.14);
  color: var(--teal-dark);
  stroke-width: 3;
}

.care-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.care-card {
  padding: 20px;
  border-radius: var(--r-sm);
  background: var(--soft-2);
  border: 1px solid var(--line);
}

.care-card__icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  border-radius: 10px;
  background: #fff;
  color: var(--teal-dark);
  box-shadow: var(--shadow-xs);
}

.care-card__icon .icon {
  width: 19px;
  height: 19px;
}

.care-card h3 {
  font-size: 0.9rem;
}

.care-card p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--muted);
}

.urgent-box {
  display: flex;
  gap: 14px;
  margin-top: 8px;
  padding: 20px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(18, 97, 160, 0.2);
  border-left: 4px solid var(--blue);
  background: rgba(18, 97, 160, 0.04);
}

.urgent-box .icon {
  width: 24px;
  height: 24px;
  flex: none;
  color: var(--blue);
  margin-top: 2px;
}

.urgent-box h3 {
  margin-bottom: 4px;
  font-size: 0.92rem;
}

.urgent-box p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--muted);
}

.side-stack {
  display: grid;
  gap: 18px;
  position: sticky;
  top: calc(var(--header-h) + 22px);
}

.side-card {
  padding: 24px;
  border-radius: var(--r);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}

.side-card--cta {
  background: linear-gradient(150deg, #0d3f6b, #1261a0 60%, #128c8c);
  border-color: transparent;
  color: #d3e8f7;
}

.side-card--cta h2,
.side-card--cta h3 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.side-card--cta p {
  margin: 0 0 16px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #bcd9ee;
}

.side-card--cta .btn {
  margin-bottom: 8px;
}

.side-card__label {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-dark);
}

.side-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.side-links li {
  margin: 0;
  border-bottom: 1px solid var(--soft);
}

.side-links li:last-child {
  border-bottom: 0;
}

.side-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  font-size: 0.82rem;
  color: var(--navy-soft);
  text-decoration: none;
}

.side-links a .icon {
  width: 14px;
  height: 14px;
  color: #9db4c6;
  transition: transform 0.2s var(--ease), color 0.2s var(--ease);
}

.side-links a:hover {
  color: var(--blue);
}

.side-links a:hover .icon {
  color: var(--teal-dark);
  transform: translateX(3px);
}

.side-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 500;
}

.side-phone .icon {
  width: 30px;
  height: 30px;
  padding: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.side-phone:hover {
  color: var(--yellow);
}

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

.related-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border-radius: var(--r-sm);
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.related-card:hover {
  transform: translateY(-4px);
  border-color: rgba(22, 166, 160, 0.4);
  box-shadow: var(--shadow-sm);
}

.related-card__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--soft);
  color: var(--blue);
}

.related-card__icon .icon {
  width: 20px;
  height: 20px;
}

.related-card strong {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.4;
}

.related-card small {
  font-size: 0.72rem;
  color: var(--muted);
}

/* ---------- 21. Privacy / prose ---------- */
.prose {
  max-width: 800px;
}

.prose h2 {
  margin-top: 38px;
  font-size: 1.5rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: 24px;
  font-size: 1.05rem;
}

.prose p,
.prose li {
  font-size: 0.92rem;
  color: var(--ink);
}

.prose ul {
  padding-left: 18px;
}

.prose li::marker {
  color: var(--teal);
}

.prose a {
  color: var(--blue);
}

.toc {
  padding: 22px 24px;
  border-radius: var(--r);
  background: var(--soft-2);
  border: 1px solid var(--line);
  margin-bottom: 34px;
}

.toc h2 {
  margin: 0 0 10px;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-dark);
  font-family: var(--font-body);
  font-weight: 700;
}

.toc ol {
  columns: 2;
  margin: 0;
  padding-left: 18px;
  font-size: 0.84rem;
}

.toc li {
  margin-bottom: 6px;
}

.toc a {
  color: var(--navy-soft);
  text-decoration: none;
}

.toc a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.updated {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: var(--pill);
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.73rem;
  color: var(--muted);
}

.updated .icon {
  width: 14px;
  height: 14px;
  color: var(--teal-dark);
}

/* ---------- 22. Footer ---------- */
.footer {
  position: relative;
  background: #0e2740;
  color: #a9c2d6;
  font-size: 0.84rem;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -140px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 166, 160, 0.16), transparent 65%);
  pointer-events: none;
}

.footer__top {
  padding: clamp(44px, 6vw, 72px) 0 40px;
  position: relative;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr 1.1fr;
  gap: clamp(28px, 4vw, 52px);
}

.footer .brand__name {
  color: #fff;
}

.footer .brand__sub {
  color: #6fd6cf;
}

.footer .brand__mark {
  width: 44px;
  height: 44px;
}

.footer__about {
  margin: 18px 0 18px;
  max-width: 310px;
  font-size: 0.82rem;
  line-height: 1.75;
  color: #9fbad0;
}

.footer__tagline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: var(--pill);
  background: rgba(255, 200, 87, 0.1);
  border: 1px solid rgba(255, 200, 87, 0.24);
  font-family: var(--font-head);
  font-size: 0.72rem;
  color: #ffd98a;
}

.footer__tagline .icon {
  width: 14px;
  height: 14px;
}

.footer h3 {
  margin: 4px 0 18px;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #fff;
}

.footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__links li {
  margin: 0 0 9px;
}

.footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  color: #a9c2d6;
  text-decoration: none;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer__links a::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 200, 87, 0.7);
  flex: none;
}

.footer__links a:hover {
  color: #fff;
  transform: translateX(2px);
}

.footer__contact {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__contact li {
  display: flex;
  gap: 10px;
  margin: 0;
  line-height: 1.6;
}

.footer__contact .icon {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 2px;
  color: #6fd6cf;
}

.footer__contact a {
  color: #d9e8f3;
  text-decoration: none;
}

.footer__contact a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  font-size: 0.7rem;
  color: #8fabc2;
  line-height: 1.5;
}

.footer__badge .icon {
  width: 15px;
  height: 15px;
  flex: none;
  color: #6fd6cf;
}

.footer__bottom {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.75rem;
  color: #8aa6bd;
}

.footer__legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.footer__legal a {
  color: #a9c2d6;
  text-decoration: none;
}

.footer__legal a:hover {
  color: #fff;
}

.footer__disclaimer {
  padding: 0 0 20px;
  font-size: 0.7rem;
  line-height: 1.6;
  color: #7f9bb2;
  max-width: 900px;
}

/* ---------- 23. Floating actions ---------- */
.float-actions {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 800;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.fab {
  position: relative;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  box-shadow: 0 14px 26px -12px rgba(9, 38, 63, 0.55);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.fab:hover {
  transform: translateY(-4px) scale(1.04);
  color: #fff;
}

.fab--call {
  background: var(--grad-brand);
}

.fab--wa {
  background: linear-gradient(135deg, #16a6a0, #128c6b);
}

.fab--top {
  width: 44px;
  height: 44px;
  background: #fff;
  color: var(--blue);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

.fab--top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fab--top:hover {
  color: var(--teal-dark);
  background: var(--soft);
}

.fab__tip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  padding: 7px 12px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-size: 0.72rem;
  font-family: var(--font-head);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.2s var(--ease);
}

.fab__tip::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--navy);
}

.fab:hover .fab__tip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.mobile-dock {
  display: none;
}

/* ---------- 24. Reveal animations ---------- */
/* Only hide content when JavaScript is available to reveal it again. */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}

html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

html.js [data-reveal="left"] {
  transform: translateX(-30px);
}

html.js [data-reveal="right"] {
  transform: translateX(30px);
}

html.js [data-reveal="zoom"] {
  transform: scale(0.96);
}

/* ---------- 25. Responsive ---------- */
@media (max-width: 1120px) {
  .nav__link {
    padding: 10px 9px;
    font-size: 0.82rem;
  }

  .header-call {
    display: none;
  }

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

  .footer__grid {
    grid-template-columns: 1.4fr 0.8fr 1fr 1.1fr;
    gap: 30px;
  }
}

@media (max-width: 1000px) {
  :root {
    --header-h: 72px;
  }

  .nav,
  .topbar__note {
    display: none;
  }

  .hamburger {
    display: inline-flex;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero__content {
    max-width: 680px;
  }

  .hero__media {
    justify-self: center;
    max-width: 560px;
    padding-left: 12px;
  }

  .hero__photo img {
    aspect-ratio: 1.15;
  }

  .hero__photo {
    border-radius: 160px 160px 28px 28px;
  }

  .intro-grid,
  .split,
  .split--media-right {
    grid-template-columns: 1fr;
  }

  .intro-media {
    order: 2;
    max-width: 560px;
    margin-inline: auto;
  }

  .intro-media img {
    aspect-ratio: 4 / 3.3;
  }

  .intro-body {
    order: 1;
  }

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

  .faq-aside,
  .form-aside {
    position: static;
  }

  .form-aside .aside-contact {
    max-width: 420px;
  }

  .detail-layout {
    grid-template-columns: 1fr;
  }

  .side-stack {
    position: static;
    grid-template-columns: 1fr 1fr;
  }

  .detail-main > section + section {
    margin-top: 34px;
    padding-top: 30px;
  }

  .page-hero__grid {
    grid-template-columns: 1fr;
  }

  .page-hero__media {
    display: none;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 30px 22px;
  }

  .steps::before {
    display: none;
  }

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

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

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

  .cta-band__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cta-band__actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .cta-band__note {
    text-align: left;
    width: 100%;
  }

  .footer__grid {
    grid-template-columns: 1.3fr 1fr;
    gap: 34px;
  }

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

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

  .quickbar__item:nth-child(1),
  .quickbar__item:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

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

@media (max-width: 760px) {
  .container {
    padding-inline: 18px;
  }

  .topbar {
    font-size: 0.72rem;
  }

  .topbar__group {
    gap: 12px;
  }

  .topbar__item--city {
    display: none;
  }

  .topbar__inner {
    justify-content: center;
  }

  .brand__mark {
    width: 42px;
    height: 42px;
  }

  .brand__name {
    font-size: 1.06rem;
  }

  .brand__sub {
    font-size: 0.6rem;
    letter-spacing: 0.11em;
  }

  .header-actions .btn {
    display: none;
  }

  .hero {
    padding-top: 30px;
  }

  .hero__actions .btn {
    flex: 1 1 auto;
  }

  .hero__actions {
    gap: 10px;
  }

  .hero__chips {
    gap: 8px 14px;
    font-size: 0.78rem;
  }

  .float-card--care {
    left: -4px;
    top: 18px;
  }

  .float-card--appt {
    right: -4px;
    bottom: 30px;
  }

  .float-card {
    padding: 10px 12px;
    gap: 8px;
  }

  .float-card__icon {
    width: 32px;
    height: 32px;
  }

  .float-card strong {
    font-size: 0.74rem;
  }

  .float-card small {
    font-size: 0.64rem;
  }

  .sun-badge {
    width: 56px;
    height: 56px;
    right: 0;
    top: -2px;
  }

  .sun-badge .icon {
    width: 26px;
    height: 26px;
  }

  .quickbar-wrap {
    margin-top: -28px;
  }

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

  .quickbar__item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 15px 18px;
  }

  .quickbar__item:last-child {
    border-bottom: 0;
  }

  .quickbar__icon {
    width: 36px;
    height: 36px;
  }

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

  .dept-card {
    padding: 20px 17px 18px;
  }

  .dept-card__icon {
    width: 46px;
    height: 46px;
    margin-bottom: 14px;
  }

  .dept-card__icon .icon {
    width: 23px;
    height: 23px;
  }

  .dept-card h3 {
    font-size: 0.94rem;
  }

  .dept-card p {
    font-size: 0.79rem;
    margin-bottom: 14px;
  }

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

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

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

  .value-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .check-grid,
  .care-cards {
    grid-template-columns: 1fr;
  }

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

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

  .field--full {
    grid-column: auto;
  }

  .cta-band {
    border-radius: var(--r-lg);
    padding: 28px 22px;
  }

  .cta-band__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-sun {
    width: 52px;
    height: 52px;
    opacity: 0.5;
  }

  .side-stack {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer__about {
    max-width: none;
  }

  .footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .float-actions {
    display: none;
  }

  .mobile-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 850;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 30px -18px rgba(24, 49, 83, 0.4);
    backdrop-filter: blur(10px);
  }

  .mobile-dock__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 7px 4px;
    border-radius: 10px;
    font-family: var(--font-head);
    font-size: 0.66rem;
    font-weight: 500;
    color: var(--navy);
    text-decoration: none;
    line-height: 1.2;
  }

  .mobile-dock__item .icon {
    width: 19px;
    height: 19px;
    color: var(--blue);
  }

  .mobile-dock__item--primary {
    background: var(--grad-brand);
    color: #fff;
  }

  .mobile-dock__item--primary .icon {
    color: #fff;
  }

  .mobile-dock__item:hover {
    color: var(--navy);
  }

  .mobile-dock__item--primary:hover {
    color: #fff;
  }

  body {
    padding-bottom: 66px;
  }

  .toast {
    bottom: 78px;
  }

  .page-hero {
    padding-top: 28px;
  }

  .intro-media::before {
    inset: 18px 0 0 18px;
  }

  .intro-media__badge {
    left: 0;
    bottom: 26px;
    padding: 11px 14px;
  }

  .media-frame__float {
    right: 8px;
    bottom: -14px;
    padding: 13px 15px;
  }

  .toc ol {
    columns: 1;
  }

  .section {
    padding-block: 48px;
  }

  .availability-note {
    font-size: 0.78rem;
  }

  .detail-main p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2.05rem;
  }

  .hero h1 {
    font-size: 2.15rem;
  }

  .hero__lead {
    font-size: 0.94rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__phone {
    font-size: 0.84rem;
  }

  .hero__media {
    padding-left: 0;
    padding-right: 6px;
  }

  .hero__media::before {
    display: none;
  }

  .hero__photo {
    border-radius: 120px 120px 24px 24px;
    border-width: 4px;
  }

  .float-card--care {
    top: 10px;
    left: 4px;
  }

  .float-card--appt {
    bottom: 18px;
    right: 4px;
  }

  .float-card small {
    display: none;
  }

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

  .dept-card {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 14px;
    padding: 18px;
  }

  .dept-card__icon {
    margin-bottom: 0;
    width: 44px;
    height: 44px;
  }

  .dept-card h3 {
    flex: 1;
    margin: 0;
    font-size: 0.96rem;
  }

  .dept-card p {
    flex: 1 0 100%;
    margin: 10px 0 12px;
  }

  .dept-card .link-arrow {
    margin-top: 0;
  }

  .form-card {
    padding: 22px 18px;
  }

  .success-panel__actions {
    flex-direction: column;
  }

  .success-panel__actions .btn {
    width: 100%;
  }

  .footer__legal {
    gap: 12px;
  }

  .breadcrumb {
    font-size: 0.7rem;
  }
}

/* ---------- 26. Motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .topbar,
  .float-actions,
  .mobile-dock,
  .drawer-backdrop,
  .mobile-menu,
  .footer,
  .cta-band {
    display: none !important;
  }

  body {
    color: #000;
    padding-bottom: 0;
  }

  .page-hero {
    background: none;
    padding-bottom: 10px;
  }

  a {
    color: #000;
  }
}
