/* Men's Vitality Center — brand colours: Royal Blue, Gold Accent, White
   Type: Logo = Basetica Bold | Body/UI = Hanken Grotesk */

@font-face {
  font-family: "Basetica";
  src:
    local("Basetica Bold"),
    local("Basetica-Bold"),
    url("../assets/fonts/Basetica-Bold.woff2") format("woff2"),
    url("../assets/fonts/Basetica-Bold.woff") format("woff"),
    url("../assets/fonts/Basetica-Bold.otf") format("opentype"),
    url("../assets/fonts/Basetica-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #1665d1;
  --blue-deep: #0f4fa8;
  --blue-soft: #e8f1fb;
  --blue-mid: #a8c8ef;
  --gold: #c89b3c;
  --gold-deep: #a67e2a;
  --gold-soft: #f8f1e3;
  --gold-mid: #e8d4a8;
  --navy: #1665d1;
  --text: #4a5568;
  --text-dark: #1665d1;
  --muted: #6b7a8f;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --card: #eef4fb;
  --line: #dce6f2;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(22, 101, 209, 0.08);
  --shadow-soft: 0 8px 24px rgba(22, 101, 209, 0.18);
  --shadow-gold: 0 8px 24px rgba(200, 155, 60, 0.2);
  --container: 1120px;
  --font: "Hanken Grotesk", system-ui, sans-serif;
  --font-logo: "Basetica", "Hanken Grotesk", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open,
body.modal-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

h1,
h2,
h3 {
  color: #123a7a;
  line-height: 1.2;
  margin: 0 0 0.75rem;
  font-family: var(--font);
  font-weight: 800;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1rem;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

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

.eyebrow {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.section-head {
  margin-bottom: 2rem;
}

.section-head.center {
  text-align: center;
  max-width: 560px;
  margin-inline: auto  auto;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.68rem 1.2rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

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

.btn-navy {
  background: var(--gold);
  color: #fff;
  box-shadow: var(--shadow-gold);
}

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

.btn-outline {
  background: #fff;
  border-color: var(--blue-mid);
  color: var(--blue);
}

.btn-block {
  width: auto;
  max-width: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  color: var(--blue);
}

.text-link:hover {
  color: var(--gold);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 110;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
  position: relative;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--blue);
  flex-shrink: 0;
}

.logo-type {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: var(--font-logo);
  font-weight: 800;
  font-size: 0.68rem;
  line-height: 1.05;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  -webkit-text-stroke: 0.55px currentColor;
  paint-order: stroke fill;
}

.logo img {
  width: 40px;
  height: 44px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav--drawer {
  display: none;
}

.nav a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

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

.header-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  border-radius: 0;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  color: var(--blue);
  box-shadow: none;
  transition: color 0.28s ease, transform 0.2s ease;
}

.nav-toggle:hover {
  background: transparent;
  box-shadow: none;
  color: var(--blue-deep);
}

.nav-toggle:active {
  transform: scale(0.96);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 8px;
}

.nav-toggle-icon {
  width: 22px;
  height: 22px;
  display: block;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-toggle[aria-expanded="true"] {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--blue);
}

.nav-toggle[aria-expanded="true"]:hover {
  background: transparent;
  color: var(--blue-deep);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
  transform: rotate(180deg);
}

.nav-backdrop {
  display: none;
}

/* Hero */
.hero {
  padding: 1rem 0 2.5rem;
}

.hero-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
  gap: 1rem;
  min-height: 540px;
  padding: 3.25rem 1.5rem 0 3.5rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse 55% 80% at 78% 70%, rgba(255, 255, 255, 0.9) 0%, transparent 70%),
    linear-gradient(105deg, var(--gold-soft) 0%, var(--blue-soft) 48%, #ffffff 100%);
  overflow: hidden;
  position: relative;
}

.hero-copy {
  padding-bottom: 3.75rem;
  padding-top: 1.5rem;
  max-width: 34rem;
  align-self: center;
  animation: rise 0.7s ease both;
  z-index: 1;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 3.55rem);
  margin-bottom: 1rem;
}

.hero-copy > p {
  color: var(--text);
  font-size: 1.02rem;
  max-width: 32rem;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 480px;
  animation: rise 0.9s ease 0.1s both;
}

.hero-blob {
  position: absolute;
  width: min(92%, 420px);
  aspect-ratio: 1;
  border-radius: 42% 58% 48% 52% / 48% 42% 58% 52%;
  background: linear-gradient(160deg, var(--blue-mid) 0%, var(--gold-mid) 55%, var(--blue-soft) 100%);
  bottom: 8%;
  right: 6%;
  z-index: 0;
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  height: 100%;
  max-height: 520px;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 18px 36px rgba(26, 43, 72, 0.14));
}

/* Services */
.services {
  padding: 3.5rem 0 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
}

.services-intro h2 {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  margin-bottom: 1rem;
}

.service-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.service-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.35rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.service-card--link {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem 0.95rem;
  align-items: start;
  text-decoration: none;
  color: inherit;
  min-height: 100%;
}

.service-card--link .icon-circle {
  margin-bottom: 0;
  grid-row: 1 / span 2;
}

.service-card--link .service-card-copy {
  grid-column: 2;
}

.service-card--link .service-card-go {
  grid-column: 2;
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 700;
}

.service-card--link:hover .service-card-go,
.service-card--link:focus-visible .service-card-go {
  color: var(--gold-deep);
}

.service-card--link:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.service-card-copy {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.service-card-title {
  color: var(--text-dark);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}

.service-card-teaser {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.icon-circle--gold {
  background: var(--gold);
}

.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.service-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Dedicated service pages */
.service-page {
  padding: 7.5rem 0 4rem;
  background:
    radial-gradient(circle at top right, rgba(200, 155, 60, 0.12), transparent 42%),
    linear-gradient(180deg, var(--blue-soft) 0%, #fff 48%);
}

.service-page-inner {
  max-width: 760px;
}

.service-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
}

.service-back:hover {
  color: var(--gold-deep);
}

.service-page h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin: 0.35rem 0 0.75rem;
  color: var(--text-dark);
}

.service-page-lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0 0 1.75rem;
  max-width: 36rem;
}

.service-page-content {
  display: grid;
  gap: 0.9rem;
  padding: 1.5rem 1.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.service-page-content p,
.service-page-content li {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.service-page-content strong {
  color: var(--text-dark);
}

.service-page-content ul {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.4rem;
}

.service-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.service-page-actions .btn {
  width: auto;
}

/* Purpose / Why MVC */
.purpose,
.why {
  padding: 2.5rem 0 3rem;
}

.purpose-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.purpose-subhead {
  margin-bottom: 1.25rem;
}

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

.purpose-panel {
  min-height: 0;
}

.purpose-panel p:last-child {
  margin: 0;
}

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

.purpose-panel--gold {
  background: var(--gold-soft);
}

.purpose-panel .eyebrow {
  margin-bottom: 0.65rem;
}

.purpose-panel h3 {
  color: var(--text-dark);
}

.purpose-panel--gold h3 {
  color: var(--gold-deep);
}

.commitment-card {
  margin-top: 1.5rem;
  min-height: 0;
  padding: 2rem 2.25rem;
}

.commitment-card h2 {
  margin-bottom: 0.75rem;
}

.commitment-card p {
  margin-bottom: 1.35rem;
  max-width: 52rem;
}

/* Doctors */
.doctors {
  padding: 2.5rem 0 4.5rem;
}

.doctors-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.doctors-row--preview {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 980px;
}

.doctor-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(165deg, var(--bg-soft) 0%, #ffffff 70%);
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.doctor-item:hover,
.doctor-item:focus-visible {
  border-color: var(--blue-mid);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  outline: none;
}

.doctor-item img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
  box-shadow: var(--shadow);
  background: #fff;
}

.doctor-item h3,
.doctor-item-name {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  margin: 0 0 0.15rem;
  color: var(--text-dark);
}

.doctor-item p {
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.doctor-title {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold-deep);
  line-height: 1.35;
}

.doctor-summary {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.55;
}

.doctor-credentials {
  margin: 0 0 0.95rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.doctor-credentials li {
  position: relative;
  padding-left: 0.95rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

.doctor-credentials li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--gold);
}

.doctor-modal {
  width: min(920px, calc(100vw - 2rem));
  max-height: min(90vh, 820px);
  margin: auto;
  padding: 0;
  border: none;
  border-radius: var(--radius-xl);
  background: transparent;
  color: inherit;
}

.doctor-modal::backdrop {
  background: rgba(15, 35, 70, 0.55);
  backdrop-filter: blur(2px);
}

.doctor-modal-panel {
  position: relative;
  padding: 1.5rem 1.5rem 1.65rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(165deg, #ffffff 0%, var(--bg-soft) 55%, var(--gold-soft) 140%);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(15, 35, 70, 0.22);
  overflow: auto;
  max-height: min(90vh, 820px);
}

.doctor-modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.doctor-modal-close:hover,
.doctor-modal-close:focus-visible {
  background: var(--blue);
  color: #fff;
  outline: none;
}

.doctor-modal-layout {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 1.35rem;
  align-items: start;
  padding-right: 1.5rem;
}

.doctor-modal-layout img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  box-shadow: var(--shadow);
  background: #fff;
}

.doctor-modal-body h3 {
  margin: 0 0 0.2rem;
  font-size: 1.35rem;
  color: var(--text-dark);
  line-height: 1.25;
}

.pill {
  display: inline-flex;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

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

.pill-mint {
  background: var(--gold-soft);
  color: var(--gold-deep);
}

/* Feature */
.feature {
  padding: 2.5rem 0 3rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.feature-card {
  background: linear-gradient(160deg, var(--blue-soft) 0%, #d6e6f8 55%, var(--gold-soft) 100%);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 360px;
  animation: rise 0.6s ease both;
}

.feature-card h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.feature-card p {
  margin-bottom: 1.75rem;
}

.feature-card .btn {
  align-self: flex-start;
  width: auto;
}

.feature-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 360px;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}

/* Treatments */
.treatments {
  padding: 2rem 0 3.5rem;
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
}

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

.treatment-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
}

.treatment-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.treatment-card:nth-child(2) .treatment-icon {
  background: var(--gold-soft);
  color: var(--gold);
}

.treatment-icon svg {
  width: 22px;
  height: 22px;
}

.treatment-card h3 {
  font-size: 1.1rem;
}

.treatment-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Assessment flow */
.assessment {
  padding: 2rem 0 3.5rem;
}

.assessment--page {
  padding: 7.5rem 0 4rem;
  background:
    radial-gradient(circle at top left, rgba(22, 101, 209, 0.1), transparent 40%),
    linear-gradient(180deg, var(--blue-soft) 0%, #fff 55%);
}

.assessment--page .service-back {
  margin-bottom: 1.25rem;
}

.assessment--page .assessment-shell {
  margin-top: 0.25rem;
}

.assessment--page h1 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  color: var(--text-dark);
  margin: 0 0 0.75rem;
}

.assessment-shell {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.25rem 2rem 2.4rem;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.96) 0%, rgba(245, 248, 252, 0.98) 100%),
    linear-gradient(120deg, var(--blue-soft), var(--gold-soft));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 360px;
}

.assessment-progress {
  margin-bottom: 1.5rem;
}

.assessment-progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.55rem;
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.assessment-progress-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(22, 101, 209, 0.12);
  overflow: hidden;
}

.assessment-progress-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  transition: width 0.35s ease;
}

.assessment-screen[hidden] {
  display: none;
}

.assessment-screen.is-active {
  animation: assessment-in 0.35s ease both;
}

@keyframes assessment-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.assessment-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 38rem;
}

.assessment-note {
  color: var(--text);
  max-width: 38rem;
}

.assessment-disclaimer {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  max-width: 34rem;
}

.assessment-q-number {
  margin: 0 0 0.75rem;
  color: var(--gold-deep);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.assessment-question {
  margin: 0 0 1.75rem;
  color: var(--text-dark);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.35;
  max-width: 28ch;
}

.assessment-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  max-width: 420px;
}

.assessment-choice {
  appearance: none;
  border: 1px solid var(--blue-mid);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--blue);
  font: inherit;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease,
    box-shadow 0.2s ease;
}

.assessment-choice:hover,
.assessment-choice:focus-visible {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  outline: none;
}

.assessment-choice--no:hover,
.assessment-choice--no:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.assessment-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 1rem;
}

.assessment-cta-row .btn {
  width: auto;
}

.assessment-restart {
  margin-top: 0.5rem;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: var(--blue);
  font: inherit;
  font-weight: 600;
}

.assessment-restart:hover {
  color: var(--gold-deep);
}

/* Appointment */
.appointment {
  padding: 2rem 0 4rem;
}

.appointment-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: center;
}

.appointment-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 520px;
}

.appointment-image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.appointment-form-wrap h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.form-lead {
  color: var(--muted);
  margin-top: -0.25rem;
}

.category-icons {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin: 1.25rem 0 1.5rem;
}

.cat-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cat-btn svg {
  width: 22px;
  height: 22px;
}

.cat-btn:hover,
.cat-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.cat-btn:nth-child(even).active,
.cat-btn:nth-child(even):hover {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.appointment-form {
  display: grid;
  gap: 0.85rem;
  justify-items: stretch;
}

.appointment-form .field {
  width: 100%;
}

.appointment-form .btn {
  width: auto;
  justify-self: start;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  width: 100%;
}

.field input,
.field select {
  width: 100%;
  padding: 1rem 1.15rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: #123a7a;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field select {
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%231665D1' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.15rem center;
  background-size: 12px 8px;
}

.field-picker {
  position: relative;
}

.field-picker .field-placeholder {
  position: absolute;
  left: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.field-picker input[type="date"],
.field-picker input[type="time"] {
  min-height: 3.15rem;
  color-scheme: light;
}

/* Hide native empty date/time text so the custom placeholder stays readable */
.field-picker:not(.has-value):not(:focus-within) input[type="date"],
.field-picker:not(.has-value):not(:focus-within) input[type="time"] {
  color: transparent;
}

.field-picker:not(.has-value):not(:focus-within) input[type="date"]::-webkit-datetime-edit,
.field-picker:not(.has-value):not(:focus-within) input[type="time"]::-webkit-datetime-edit {
  color: transparent;
}

.field-picker:focus-within .field-placeholder,
.field-picker.has-value .field-placeholder {
  opacity: 0;
}

.field-picker input[type="date"]::-webkit-calendar-picker-indicator,
.field-picker input[type="time"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.55;
}

.field input::placeholder {
  color: var(--muted);
  opacity: 0.85;
}

.field input:focus,
.field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(22, 101, 209, 0.15);
}

.form-note {
  min-height: 1.25rem;
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue-deep);
}

.form-note.error {
  color: #c0392b;
}

/* Journey */
.journey {
  padding: 1rem 0 3.5rem;
}

.journey-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.journey-steps li {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
}

.journey-steps span {
  display: inline-block;
  color: var(--gold);
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.journey-steps h3 {
  font-size: 1.05rem;
}

.journey-steps p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* FAQ */
.faq {
  padding: 2rem 0 4rem;
  background: var(--bg-soft);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
}

.faq-item {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 0 1.25rem;
  margin-bottom: 0.75rem;
  border: 1px solid var(--line);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: #123a7a;
  padding: 1.1rem 0;
  position: relative;
  padding-right: 1.75rem;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blue);
  font-size: 1.25rem;
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0;
  padding-bottom: 1.15rem;
  color: var(--text);
  font-size: 0.95rem;
}

/* Contact */
.contact {
  padding: 2rem 0 4rem;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  background: linear-gradient(120deg, var(--blue-soft), var(--gold-soft));
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.contact-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.contact-list li {
  display: grid;
  gap: 0.2rem;
}

.contact-list strong {
  color: #123a7a;
  font-size: 0.85rem;
}

.contact-list a {
  color: var(--blue);
  font-weight: 600;
}

.contact-list a:hover {
  color: var(--gold);
}

.contact-address {
  line-height: 1.45;
  text-decoration: none;
}

.contact-address:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.contact-actions .btn {
  width: auto;
}

.contact-social {
  gap: 0.65rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.social-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.7rem 0.3rem 0.3rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(22, 101, 209, 0.1);
  border-radius: 999px;
  box-shadow: none;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease, border-color 0.2s ease;
  max-width: 100%;
}

.social-chip:hover {
  transform: none;
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(22, 101, 209, 0.22);
  box-shadow: none;
  color: inherit;
}

.social-chip:nth-child(2):hover {
  border-color: rgba(200, 155, 60, 0.35);
  box-shadow: none;
}

.social-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(22, 101, 209, 0.08);
  color: var(--blue);
}

.social-chip:nth-child(2) .social-icon {
  background: rgba(200, 155, 60, 0.12);
  color: var(--gold);
}

.social-icon svg {
  width: 15px;
  height: 15px;
}

.social-chip[aria-label*="Instagram"] .social-icon svg,
.social-chip[aria-label*="Facebook"] .social-icon svg {
  width: 17px;
  height: 17px;
}

.social-handle {
  font-size: 0.78rem;
  font-weight: 500;
  color: #3d5a80;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.social-chip:hover .social-handle {
  color: var(--blue);
}

.social-chip:nth-child(2):hover .social-handle {
  color: var(--gold-deep);
}

.contact-cta {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  box-shadow: var(--shadow);
}

.contact-cta .btn {
  width: auto;
}

.contact-cta h3 {
  font-size: 1.35rem;
}

.contact-map {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-map iframe {
  flex: 1;
  width: 100%;
  min-height: 280px;
  border: 0;
  display: block;
}

.contact-map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  background: #fff;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border-top: 1px solid var(--line);
}

.contact-map-link:hover {
  color: var(--gold-deep);
  background: var(--bg-soft);
}

/* Footer */
.site-footer {
  border-top: none;
  padding: 0 0 2.5rem;
  position: relative;
}

.site-footer::before {
  content: "";
  display: block;
  height: 3px;
  width: min(100% - 2.5rem, var(--container));
  margin: 0 auto 2rem;
  background: linear-gradient(to right, var(--gold) 32%, var(--blue) 32%);
  border-radius: 2px;
}

.footer-inner {
  text-align: center;
}

.footer-inner .logo {
  justify-content: center;
  margin-bottom: 0.75rem;
}

.footer-inner .logo-type {
  text-align: left;
  font-size: 0.62rem;
}

.footer-inner p {
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.copyright {
  font-size: 0.85rem;
}

/* Motion */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

/* Responsive */
@media (max-width: 1100px) {
  .nav {
    gap: 1rem;
  }

  .nav a {
    font-size: 0.85rem;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: grid;
  }

  .nav--desktop {
    display: none;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 95;
    background: rgba(15, 35, 70, 0.45);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .nav-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
  }

  .nav--drawer {
    display: flex;
    position: fixed;
    top: calc(76px + 0.35rem);
    left: 0.75rem;
    right: 0.75rem;
    bottom: auto;
    width: auto;
    max-height: min(70vh, calc(100vh - 76px - 1.5rem));
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.15rem;
    background: linear-gradient(165deg, #ffffff 0%, var(--bg-soft) 72%, var(--gold-soft) 160%);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    padding: 1rem 1rem 1.15rem;
    box-shadow: var(--shadow);
    z-index: 100;
    transform: translateY(-1.25rem);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.28s ease,
      visibility 0.28s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav--drawer.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-drawer-label {
    margin: 0 0 0.75rem;
    padding: 0 0.85rem;
  }

  .nav--drawer a:not(.btn) {
    display: block;
    padding: 0.85rem 1rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .nav--drawer a:not(.btn):hover,
  .nav--drawer a:not(.btn).is-active {
    background: var(--blue-soft);
    color: var(--blue);
  }

  .nav-drawer-cta {
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
    color: #fff !important;
  }

  .nav-drawer-cta:hover,
  .nav-drawer-cta.is-active {
    color: #fff !important;
  }

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

  .hero-panel,
  .services-grid,
  .feature-grid,
  .appointment-grid,
  .faq-layout,
  .contact-panel,
  .purpose-split {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    padding: 2rem 1.5rem 0;
    min-height: auto;
    gap: 0.5rem;
  }

  .hero-copy {
    padding: 0.5rem 0 0.5rem;
    max-width: none;
  }

  .hero-ctas {
    margin-bottom: 0.25rem;
  }

  .hero-copy h1 {
    font-size: clamp(1.9rem, 7vw, 2.6rem);
  }

  .hero-visual {
    min-height: 320px;
    order: 2;
    margin-top: 1.25rem;
    padding-top: 0.75rem;
  }

  .hero-blob {
    width: min(88%, 340px);
    right: 50%;
    transform: translateX(50%);
    bottom: 2%;
  }

  .hero-visual img {
    max-height: 360px;
  }

  .services {
    padding: 2.5rem 0 1.5rem;
  }

  .services-grid {
    gap: 1.5rem;
  }

  .doctors-row,
  .treatment-cards,
  .journey-steps {
    grid-template-columns: 1fr 1fr;
  }

  .doctors-row--preview {
    grid-template-columns: 1fr 1fr;
    max-width: none;
  }

  .doctor-modal-layout {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 1rem;
  }

  .doctor-modal-layout img {
    width: 120px;
    height: 120px;
  }

  .appointment-image {
    min-height: 280px;
    max-height: 320px;
  }

  .appointment-image img {
    min-height: 280px;
    max-height: 320px;
  }

  .feature-card,
  .feature-image,
  .feature-image img {
    min-height: 280px;
  }

  .section-head.center {
    margin-bottom: 1.75rem;
  }

  .site-footer::before {
    width: min(100% - 1.5rem, var(--container));
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.25rem, var(--container));
  }

  .nav--drawer {
    top: calc(64px + 0.35rem);
    max-height: min(70vh, calc(100vh - 64px - 1.5rem));
  }

  .header-inner {
    min-height: 64px;
    gap: 0.65rem;
  }

  .logo {
    gap: 0.45rem;
  }

  .logo img {
    width: 34px;
    height: 38px;
  }

  .logo-type {
    font-size: 0.58rem;
    -webkit-text-stroke: 0.4px currentColor;
  }

  .header-actions .btn-navy {
    padding: 0.5rem 0.85rem;
    font-size: 0.78rem;
  }

  .hero {
    padding: 0.75rem 0 1.75rem;
  }

  .hero-panel {
    border-radius: 22px;
    padding: 1.5rem 1.15rem 0;
  }

  .hero-ctas {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.85rem;
  }

  .hero-ctas .btn {
    flex: 0 0 auto;
    padding: 0.65rem 1rem;
    font-size: 0.84rem;
    white-space: nowrap;
  }

  .hero-ctas .text-link {
    flex: 0 1 auto;
    min-width: 0;
    white-space: nowrap;
    font-size: 0.9rem;
  }

  .hero-visual {
    min-height: 260px;
    margin-top: 1.5rem;
    padding-top: 1rem;
  }

  .hero-visual img {
    max-height: 290px;
  }

  .hero-blob {
    bottom: 0;
  }

  .services,
  .doctors,
  .feature,
  .purpose,
  .why,
  .treatments,
  .appointment,
  .journey,
  .faq,
  .contact {
    padding-top: 1.75rem;
    padding-bottom: 2rem;
  }

  .purpose-split {
    margin-bottom: 2rem;
  }

  .commitment-card {
    padding: 1.5rem 1.25rem;
  }

  .doctors {
    padding-bottom: 2.5rem;
  }

  .feature {
    padding-top: 1.25rem;
  }

  .service-cards,
  .doctors-row,
  .treatment-cards,
  .journey-steps {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

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

  .doctor-modal {
    width: min(100vw - 1rem, 920px);
  }

  .doctor-modal-panel {
    padding: 1.25rem 1.1rem 1.35rem;
    border-radius: 22px;
  }

  .doctor-modal-layout {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding-right: 0;
    padding-top: 0.5rem;
  }

  .doctor-modal-layout img {
    width: 120px;
    height: 120px;
  }

  .doctor-modal-body h3 {
    font-size: 1.15rem;
  }

  .doctor-credentials {
    text-align: left;
  }

  .service-card,
  .treatment-card,
  .journey-steps li {
    padding: 1.15rem 1.1rem;
  }

  .service-page {
    padding-top: 6.5rem;
  }

  .service-page-content {
    padding: 1.25rem 1.15rem;
  }

  .service-page-actions .btn {
    width: 100%;
    justify-content: center;
  }

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

  .feature-card,
  .contact-panel {
    padding: 1.35rem;
    border-radius: 22px;
  }

  .feature-card,
  .feature-image,
  .feature-image img {
    min-height: 0;
  }

  .feature-image img {
    min-height: 220px;
    aspect-ratio: 4 / 3;
  }

  .appointment-image {
    display: none;
  }

  .appointment-grid {
    gap: 0;
  }

  .doctor-item {
    background: var(--card);
    border-radius: var(--radius-md);
    padding: 0.85rem;
  }

  .category-icons {
    gap: 0.45rem;
    margin: 1rem 0 1.15rem;
  }

  .cat-btn {
    width: 42px;
    height: 42px;
  }

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

  .social-chip {
    width: 100%;
  }

  .faq-layout {
    gap: 1.25rem;
  }

  .contact-cta {
    padding: 1.35rem;
    width: 100%;
  }

  .contact-map {
    min-height: 260px;
    width: 100%;
  }

  .contact-map iframe {
    min-height: 240px;
  }

  .contact-actions {
    margin-top: 1.25rem;
  }

  .contact-actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .assessment-shell {
    padding: 1.5rem 1.2rem 1.75rem;
    border-radius: 22px;
    min-height: 0;
  }

  .assessment-choices {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .assessment-question {
    max-width: none;
    margin-bottom: 1.35rem;
  }

  .assessment-cta-row .btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .site-footer {
    padding-bottom: 1.75rem;
  }

  .site-footer::before {
    margin-bottom: 1.35rem;
  }
}

@media (max-width: 400px) {
  .header-actions .btn-navy {
    display: none;
  }

  .logo-type {
    font-size: 0.54rem;
  }

  .hero-ctas {
    gap: 0.7rem;
  }

  .hero-ctas .btn {
    padding: 0.6rem 0.85rem;
    font-size: 0.8rem;
  }

  .hero-ctas .text-link {
    font-size: 0.84rem;
  }
}

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

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

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