:root {
  --color-primary: #1f5f9c;
  --color-primary-dark: #123c67;
  --color-accent: #2f89c8;
  --color-accent-soft: #dbeaf7;
  --color-bg: #f2f7fc;
  --color-bg-soft: #e9f1f8;
  --color-white: #ffffff;
  --color-text: #1f2f3b;
  --color-muted: #5f7280;
  --color-border: rgba(31, 95, 156, 0.13);
  --shadow-soft: 0 14px 34px rgba(18, 60, 103, 0.09);
  --shadow-hover: 0 18px 40px rgba(18, 60, 103, 0.14);
  --radius-md: 18px;
  --radius-lg: 24px;
  --container: 1120px;
  --header-height: 78px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-text);
  background:
    radial-gradient(circle at top left, rgba(47, 137, 200, 0.12), transparent 28%),
    linear-gradient(180deg, #f7fbff 0%, #f1f6fb 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(47, 137, 200, 0.03), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(
      90deg,
      rgba(31, 95, 156, 0.025) 0,
      rgba(31, 95, 156, 0.025) 1px,
      transparent 1px,
      transparent 120px
    );
  opacity: 0.45;
  z-index: -1;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-white);
  color: var(--color-text);
  padding: 0.9rem 1rem;
  transition: border-color 280ms ease, box-shadow 280ms ease;
}

input:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: none;
  border-color: rgba(47, 137, 200, 0.5);
  box-shadow: 0 0 0 4px rgba(47, 137, 200, 0.14);
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(227, 238, 247, 0.78), rgba(245, 250, 255, 0.98));
}

.section-head {
  max-width: 640px;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.5vw, 24px);
  line-height: 1.2;
  color: var(--color-primary-dark);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 280ms ease, border-color 280ms ease, background-color 280ms ease;
}

.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(17, 48, 66, 0.08);
  border-color: rgba(31, 95, 156, 0.12);
  background: rgba(255, 255, 255, 0.96);
}

.header-bar {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-accent));
  box-shadow: 0 12px 22px rgba(31, 95, 156, 0.2);
}

.brand-mark i {
  font-size: 1.2rem;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-copy strong {
  font-size: 15px;
  color: var(--color-primary-dark);
}

.brand-copy small {
  font-size: 12px;
  color: var(--color-muted);
}

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

.nav-desktop a,
.mobile-nav a {
  font-size: 13px;
  color: var(--color-muted);
  transition: color 280ms ease;
}

.nav-desktop a:hover,
.mobile-nav a:hover {
  color: var(--color-primary);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 42px;
  padding: 0.75rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  transition:
    transform 280ms ease,
    box-shadow 280ms ease,
    background-color 280ms ease,
    color 280ms ease,
    border-color 280ms ease;
}

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

.btn-primary {
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  box-shadow: 0 14px 26px rgba(31, 95, 156, 0.2);
}

.btn-primary:hover {
  box-shadow: 0 18px 30px rgba(31, 95, 156, 0.26);
}

.btn-secondary {
  color: var(--color-primary-dark);
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(31, 95, 156, 0.18);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-white);
  color: var(--color-primary-dark);
}

.mobile-menu {
  display: none;
  padding-bottom: 1rem;
}

.mobile-menu.is-open {
  display: block;
}

.mobile-nav {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-soft);
}

.mobile-cta {
  margin-top: 0.35rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 72px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  pointer-events: none;
}

.hero::before {
  top: 56px;
  right: 10%;
  width: 280px;
  height: 280px;
  background: rgba(47, 137, 200, 0.14);
  animation: driftHalo 12s ease-in-out infinite;
}

.hero::after {
  left: -80px;
  bottom: 20px;
  width: 220px;
  height: 220px;
  background: rgba(31, 95, 156, 0.1);
  animation: driftHalo 14s ease-in-out infinite reverse;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 2rem;
}

.hero-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(24px, 3vw, 24px);
  line-height: 1.18;
  color: var(--color-primary-dark);
}

.hero-copy p {
  margin: 0;
  max-width: 560px;
  color: var(--color-muted);
}

.hero-actions,
.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-actions {
  margin-top: 22px;
}

.hero-notes {
  margin-top: 20px;
}

.hero-notes span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 13px;
  color: var(--color-primary-dark);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 24px;
}

.metric-card {
  position: relative;
  padding: 1rem 1rem 0.95rem;
  border: 1px solid rgba(31, 95, 156, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 24px rgba(18, 60, 103, 0.08);
  transition: transform 320ms ease, box-shadow 320ms ease, border-color 320ms ease;
}

.metric-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(90deg, rgba(31, 95, 156, 0.9), rgba(47, 137, 200, 0.55));
}

.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(18, 60, 103, 0.11);
  border-color: rgba(47, 137, 200, 0.22);
}

.metric-card strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 14px;
  color: var(--color-primary-dark);
}

.metric-card span {
  display: block;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.55;
}

.hero-visual {
  position: relative;
  min-height: 360px;
}

.medical-panel {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(31, 95, 156, 0.16);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(240, 247, 253, 0.99));
  box-shadow: 0 24px 50px rgba(18, 60, 103, 0.16);
  transition: transform 320ms ease, box-shadow 320ms ease;
}

.panel-top {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 18px;
}

.panel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(31, 95, 156, 0.22);
}

.panel-body {
  display: grid;
  gap: 1rem;
}

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

.panel-card {
  padding: 18px;
  border-radius: 18px;
  background: var(--color-white);
  border: 1px solid rgba(31, 95, 156, 0.11);
}

.panel-card-image {
  padding: 0;
  overflow: hidden;
}

.panel-card-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.panel-overlay {
  padding: 18px;
}

.panel-card i {
  font-size: 1.2rem;
  color: #3189c7;
}

.panel-card strong {
  display: block;
  margin-top: 0.45rem;
  font-size: 15px;
  color: var(--color-primary-dark);
}

.panel-card small,
.panel-kicker {
  color: var(--color-muted);
}

.panel-card-main strong {
  margin-bottom: 0.75rem;
  font-size: 18px;
}

.panel-lines {
  display: grid;
  gap: 0.55rem;
}

.panel-lines span {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(31, 95, 156, 0.12), rgba(47, 137, 200, 0.24));
}

.panel-lines span:nth-child(2) {
  width: 82%;
}

.panel-lines span:nth-child(3) {
  width: 64%;
}

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

.panel-stats div {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(222, 236, 248, 0.72);
  border: 1px solid rgba(31, 95, 156, 0.08);
}

.panel-stats strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 13px;
  color: var(--color-primary-dark);
}

.panel-stats span {
  color: var(--color-muted);
  font-size: 12px;
}

.hero-badge {
  position: absolute;
  padding: 0.75rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(31, 95, 156, 0.13);
  box-shadow: 0 14px 34px rgba(18, 60, 103, 0.12);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-primary-dark);
  animation: floatSoft 5.5s ease-in-out infinite;
}

.badge-one {
  top: 18px;
  right: -6px;
}

.badge-two {
  bottom: 78px;
  left: -12px;
  animation-delay: 0.8s;
}

.badge-three {
  bottom: 14px;
  right: 22px;
  animation-delay: 1.6s;
}

.trust-strip {
  padding: 0 0 24px;
}

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

.trust-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0.95rem;
  align-items: start;
  padding: 1.2rem;
  border: 1px solid rgba(31, 95, 156, 0.11);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
  transition: transform 320ms ease, box-shadow 320ms ease, border-color 320ms ease;
}

.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(47, 137, 200, 0.22);
}

.trust-card i {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--color-primary);
  background: linear-gradient(180deg, #e1edf8, #eff6fc);
  font-size: 1.15rem;
}

.trust-card strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 15px;
  color: var(--color-primary-dark);
}

.trust-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 13px;
}

.card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
  transition:
    transform 300ms ease,
    box-shadow 300ms ease,
    border-color 300ms ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(47, 137, 200, 0.24);
}

.services-grid,
.schedule-grid,
.contact-grid {
  display: grid;
  gap: 1rem;
}

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

.service-card {
  padding: 1.35rem;
}

.service-thumb {
  width: 100%;
  height: 156px;
  margin-bottom: 1rem;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid rgba(31, 95, 156, 0.08);
  transition: transform 420ms ease, filter 420ms ease;
}

.service-card:hover .service-thumb {
  transform: scale(1.04);
  filter: saturate(1.05);
}

.service-card i {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 0.95rem;
  border-radius: 14px;
  color: var(--color-primary);
  background: linear-gradient(180deg, #e0edf9, #eef5fb);
  font-size: 1.1rem;
}

.service-card h3,
.specialist-card h3,
.schedule-card h3,
.contact-card h3 {
  margin: 0 0 0.45rem;
  font-size: 16px;
  color: var(--color-primary-dark);
}

.service-card p,
.specialist-card p,
.schedule-card p,
.contact-card p,
.location-card p,
.contact-form p {
  margin: 0;
  color: var(--color-muted);
}

.specialist-layout {
  display: grid;
  gap: 1.5rem;
}

.specialist-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  padding: 1.4rem;
}

.specialist-avatar {
  width: 88px;
  height: 88px;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(180deg, #deebf8, #f1f7fd);
}

.specialist-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.specialist-role {
  display: inline-block;
  margin-bottom: 0.4rem;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.specialist-points {
  display: grid;
  gap: 0.45rem;
  padding-left: 1rem;
  margin: 1rem 0 0;
  color: var(--color-muted);
}

.specialist-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.specialist-highlights span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(223, 236, 247, 0.8);
  border: 1px solid rgba(31, 95, 156, 0.08);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-primary-dark);
}

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

.schedule-card,
.contact-card {
  padding: 1.4rem;
}

.schedule-card p {
  font-weight: 700;
  color: var(--color-primary);
}

.schedule-card small {
  display: block;
  margin-top: 0.45rem;
  color: var(--color-muted);
  font-size: 13px;
}

.location-card {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 1.2rem;
  padding: 1.5rem;
}

.location-media {
  overflow: hidden;
  border-radius: 18px;
  min-height: 150px;
}

.location-media img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  transition: transform 420ms ease;
}

.location-card:hover .location-media img {
  transform: scale(1.04);
}

.location-copy {
  margin-top: 0.7rem;
  max-width: 520px;
}

.contact-layout,
.footer-inner {
  display: grid;
  gap: 1.3rem;
}

.contact-grid {
  grid-template-columns: 0.9fr 1.1fr;
}

.contact-form {
  padding: 1.4rem;
}

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

.contact-points li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary-dark);
  font-size: 13px;
}

.contact-points i {
  color: var(--color-accent);
}

.form-field + .form-field {
  margin-top: 0.95rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.contact-form-note {
  margin: 1rem 0 1.1rem;
  font-size: 13px;
  color: var(--color-muted);
}

.site-footer {
  padding: 24px 0 36px;
  border-top: 1px solid rgba(31, 95, 156, 0.12);
  background: rgba(255, 255, 255, 0.74);
}

.footer-inner {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  color: var(--color-muted);
}

.footer-inner p {
  margin: 0;
}

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

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

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

@keyframes driftHalo {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(10px, -10px, 0) scale(1.06);
  }
}

@media (max-width: 1023px) {
  .hero-layout,
  .contact-grid,
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .hero-metrics,
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-copy,
  .section-head {
    max-width: none;
  }
}

@media (max-width: 767px) {
  :root {
    --header-height: 72px;
  }

  .section {
    padding: 56px 0;
  }

  .nav-desktop,
  .header-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .hero {
    padding: 28px 0 56px;
  }

  .hero-copy h1 {
    font-size: 24px;
  }

  .services-grid,
  .schedule-grid,
  .contact-grid,
  .footer-inner,
  .specialist-card,
  .location-card,
  .hero-metrics,
  .panel-stats,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .location-card {
    display: grid;
    align-items: flex-start;
  }

  .hero-visual {
    min-height: 300px;
  }

  .badge-one {
    top: 10px;
    right: 8px;
  }

  .badge-two {
    left: 6px;
    bottom: 68px;
  }

  .badge-three {
    right: 10px;
  }
}

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

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-notes {
    flex-direction: column;
    gap: 0.55rem;
  }

  .hero-badge {
    font-size: 11px;
  }

  .trust-strip {
    padding-bottom: 16px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

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