:root {
  --sbop-navy: #071f46;
  --sbop-navy-dark: #041835;
  --sbop-purple: #8f63d7;
  --sbop-purple-dark: #7250c8;
  --sbop-lilac: #f0eafa;
  --sbop-text: #0b234a;
  --sbop-muted: #5f6370;
  --sbop-border: #e8e7ee;
}

html { scroll-behavior: smooth; }

body {
  color: var(--sbop-text);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 1100;
  padding: .75rem 1rem;
  border-radius: .5rem;
  color: #fff;
  background: var(--sbop-navy);
}

.container { max-width: 1120px; }
.site-nav { max-width: 930px; }
.content-section .container,
.contact-section .container,
.site-footer .container { max-width: 860px; }

.site-header {
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid rgba(7, 31, 70, .08);
  box-shadow: 0 4px 22px rgba(7, 31, 70, .05);
  backdrop-filter: blur(10px);
}

.site-nav { min-height: 103px; }

.brand { margin-right: 20px; }
.brand-mark { width: 230px; height: 92px; object-fit: contain; }

.navbar-nav .nav-link {
  color: #101a34;
  font-size: 12px;
  font-weight: 500;
  padding: 12px 13px !important;
  white-space: nowrap;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus { color: var(--sbop-purple-dark); }

.nav-actions .btn {
  align-items: center;
  border: 0;
  border-radius: 7px;
  display: inline-flex;
  font-size: 11px;
  font-weight: 600;
  justify-content: center;
  line-height: 1.2;
  min-height: 44px;
  padding: 8px 14px;
}

.btn-doctor {
  color: #fff;
  background: linear-gradient(135deg, #9c70dc, #7953cb);
}
.btn-doctor:hover, .btn-doctor:focus { color: #fff; background: var(--sbop-purple-dark); }
.btn-member { color: #fff; background: var(--sbop-navy); }
.btn-member:hover, .btn-member:focus { color: #fff; background: #0d336d; }
.btn-member i { font-size: 17px; margin-right: 7px; }

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 9% 45%, rgba(170, 126, 237, .25), transparent 25%),
    linear-gradient(105deg, #f4edff 0%, #fbf9fe 56%, #f0eafa 100%);
}

.hero-container { max-width: 1120px; }
.hero-copy { position: relative; z-index: 2; min-height: 458px; padding: 48px 22px 40px clamp(3px, 7vw, 72px); }
.hero-pill {
  display: inline-block;
  min-width: 158px;
  padding: 7px 22px;
  border: 1px solid rgba(7, 31, 70, .11);
  border-radius: 999px;
  color: #8260c4;
  background: rgba(255,255,255,.85);
  box-shadow: 0 3px 9px rgba(7, 31, 70, .12);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.hero h1 {
  margin: 25px 0 24px;
  color: var(--sbop-navy);
  max-width: 475px;
  font-size: clamp(36px, 4vw, 41px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.08;
}

.hero h1 span { color: var(--sbop-purple); }
.btn-hero {
  min-width: 129px;
  padding: 11px 24px;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: linear-gradient(135deg, #9d70df, #7550ca);
  box-shadow: 0 7px 14px rgba(117, 80, 202, .25);
  font-size: 15px;
  font-weight: 600;
}
.btn-hero:hover, .btn-hero:focus { color: #fff; transform: translateY(-1px); }

.hero-shortcuts {
  grid-template-columns: repeat(4, max-content);
  gap: 12px;
  margin-top: 27px;
}

.shortcut {
  align-items: center;
  display: flex;
  gap: 10px;
  min-height: 51px;
  padding: 8px 14px;
  border: 1px solid rgba(7, 31, 70, .06);
  border-radius: 10px;
  color: var(--sbop-navy);
  background: rgba(255,255,255,.9);
  box-shadow: 0 5px 15px rgba(7, 31, 70, .09);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  transition: .2s ease;
}
.shortcut:hover { color: var(--sbop-purple-dark); transform: translateY(-2px); }
.shortcut i { color: var(--sbop-purple); font-size: 24px; }

.hero-visual { height: 458px; min-height: 458px; position: relative; z-index: 1; }
.hero-visual::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 70px;
  z-index: 1;
  content: "";
  background: linear-gradient(90deg, #faf7fe 5%, rgba(250,247,254,0));
  pointer-events: none;
}
.hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }

.content-section { padding: 18px 0 14px; }
.programs-section { padding-top: 12px; background: #fbfbfd; }
.section-heading { margin-bottom: 20px; }
.section-heading h2 {
  position: relative;
  margin: 0;
  padding-bottom: 9px;
  color: var(--sbop-navy);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.03em;
}
.section-heading h2::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  border-radius: 99px;
  content: "";
  background: var(--sbop-purple);
}
.all-link, .card-link { color: #7755bd; font-size: 11px; font-weight: 600; }
.all-link:hover, .card-link:hover { color: #52318f; }
.all-link i, .card-link i { margin-left: 6px; }

.news-card,
.program-card {
  overflow: hidden;
  border: 1px solid var(--sbop-border);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(7, 31, 70, .07);
  transition: transform .2s ease, box-shadow .2s ease;
}
.news-card:hover, .program-card:hover { transform: translateY(-3px); box-shadow: 0 11px 25px rgba(7,31,70,.11); }
.news-placeholder {
  align-items: center;
  display: flex;
  height: 107px;
  justify-content: center;
  margin: 8px;
  border-radius: 5px;
  color: #c2adea;
  background: linear-gradient(135deg, #e9e2f7, #f4effb);
}
.news-placeholder i { font-size: 53px; }
.news-content { display: flex; flex-direction: column; min-height: 145px; padding: 4px 12px 15px; }
.news-content time { margin-bottom: 7px; color: #7856bd; font-size: 10px; }
.news-content h3 { margin-bottom: 7px; color: var(--sbop-navy); font-size: 13px; font-weight: 700; line-height: 1.3; }
.news-content p { flex: 1; margin-bottom: 10px; color: #65636a; font-size: 10px; line-height: 1.45; }

.program-card { padding: 14px 13px 16px; text-align: center; }
.program-icon {
  align-items: center;
  display: inline-flex;
  width: 64px;
  height: 64px;
  justify-content: center;
  margin: 0 auto 9px;
  border-radius: 50%;
  color: #845dce;
  background: radial-gradient(circle, #fff 0 37%, #f1ebfb 39% 100%);
  font-size: 30px;
}
.program-card h3 { margin-bottom: 7px; color: var(--sbop-navy); font-size: 14px; font-weight: 700; }
.program-card p { min-height: 56px; margin-bottom: 8px; color: #65636a; font-size: 10px; line-height: 1.5; }

.contact-section { padding: 14px 0 17px; color: #fff; background: linear-gradient(135deg, #06224c, #071a3c); }
.section-heading-light h2 { color: #fff; }
.contact-card {
  align-items: center;
  display: flex;
  gap: 13px;
  min-height: 76px;
  padding: 13px 17px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 7px;
  color: #fff;
  transition: background .2s ease;
}
.contact-card:hover { color: #fff; background: rgba(255,255,255,.07); }
.contact-icon {
  align-items: center;
  display: flex;
  flex: 0 0 52px;
  height: 52px;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #aa76e6, #7048c7);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.3);
  font-size: 28px;
}
.contact-card small, .contact-card strong { display: block; }
.contact-card small { margin-bottom: 4px; font-size: 12px; font-weight: 600; }
.contact-card strong { font-size: 15px; }
.contact-card .address { font-size: 11px; line-height: 1.55; }

.site-footer { padding: 19px 0 20px; color: #fff; background: var(--sbop-navy-dark); }
.site-footer h2 { margin-bottom: 10px; font-size: 13px; font-weight: 700; }
.footer-about, .footer-links a { color: #fff; font-size: 10px; line-height: 1.7; }
.footer-about { max-width: 320px; margin: 0; }
.footer-links li { line-height: 1.65; }
.footer-links a:hover { color: #c4a8f2; }
.socials { display: flex; gap: 13px; padding-bottom: 17px; border-bottom: 1px solid rgba(255,255,255,.25); }
.socials a {
  align-items: center;
  display: flex;
  width: 31px;
  height: 31px;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 50%;
  color: #fff;
  font-size: 14px;
}
.socials a:hover { color: var(--sbop-navy); background: #fff; }
.copyright { padding-top: 15px; color: #ccd2df; font-size: 9px; }

@media (max-width: 991.98px) {
  .site-nav { min-height: 82px; }
  .navbar-collapse { padding: 12px 0 18px; }
  .navbar-nav .nav-link { padding-left: 0 !important; }
  .nav-actions .btn { max-width: 280px; }
  .hero-copy { min-height: auto; padding: 55px 12px 35px; }
  .hero-visual { height: 420px; min-height: 420px; }
  .hero-visual::before { inset: -1px 0 auto; width: auto; height: 70px; background: linear-gradient(180deg, #faf8fd, rgba(250,248,253,0)); }
  .hero-shortcuts { grid-template-columns: repeat(4, 1fr); }
  .shortcut { justify-content: center; }
}

@media (max-width: 767.98px) {
  .brand-mark { width: 180px; height: 72px; }
  .hero h1 { font-size: 39px; }
  .hero-shortcuts { grid-template-columns: repeat(2, 1fr); }
  .content-section { padding: 35px 0; }
  .all-link { padding-bottom: 10px; }
}

@media (max-width: 479.98px) {
  .brand-mark { width: 172px; height: 69px; }
  .hero-copy { padding-top: 42px; }
  .hero h1 { font-size: 34px; }
  .hero-visual { min-height: 345px; }
  .hero-shortcuts { gap: 9px; }
  .shortcut { padding-inline: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
