/* Bridgeview Anesthesia Partners — premium medical group styles */

:root {
  --navy-950: #08111f;
  --navy-900: #0c1a2e;
  --navy-800: #142840;
  --navy-700: #1c3854;
  --charcoal: #1a2332;
  --teal-700: #0a6565;
  --teal-600: #0e7878;
  --teal-500: #1a9494;
  --teal-200: #c5e4e4;
  --teal-100: #e8f4f4;
  --cream: #f5f2eb;
  --cream-soft: #faf8f4;
  --ivory: #fffcf7;
  --slate-600: #4a5568;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --white: #ffffff;
  --border: rgba(26, 35, 50, 0.1);
  --border-strong: rgba(26, 35, 50, 0.16);
  --shadow-sm: 0 1px 2px rgba(8, 17, 31, 0.04);
  --shadow-md: 0 6px 24px rgba(8, 17, 31, 0.07);
  --shadow-lg: 0 16px 40px rgba(8, 17, 31, 0.1);
  --radius: 2px;
  --radius-md: 6px;
  --font: "Outfit", system-ui, -apple-system, sans-serif;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --max: 1120px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--cream-soft);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
  color: var(--navy-800);
}

:focus-visible {
  outline: 2px solid var(--teal-500);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1.1rem;
  background: var(--navy-900);
  color: var(--white);
  font-size: 0.9rem;
  text-decoration: none;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

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

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

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.05rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--navy-900);
  text-decoration: none;
}

.logo:hover {
  color: var(--navy-800);
}

.logo-mark {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  background: var(--navy-900);
  position: relative;
}

.logo-mark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--navy-800) 0%, var(--teal-600) 100%);
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-bottom: none;
  border-left: none;
  transform: rotate(45deg) translate(-0.5px, 0.5px);
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  line-height: 1.15;
}

.logo-name {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.logo-sub {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-500);
}

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

.nav a {
  color: var(--slate-600);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav a:hover {
  color: var(--navy-900);
}

.nav-cta {
  padding: 0.55rem 1.15rem;
  background: var(--navy-900);
  color: var(--cream-soft) !important;
  font-size: 0.8125rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase;
}

.nav-cta:hover {
  background: var(--navy-800);
  color: var(--white) !important;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background 0.22s var(--ease),
    color 0.22s var(--ease),
    border-color 0.22s var(--ease),
    box-shadow 0.22s var(--ease);
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--teal-700);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--teal-600);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-block {
  width: 100%;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  background: var(--navy-950);
  color: var(--white);
  padding: 6.5rem 0 5.75rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 85% 20%, rgba(14, 120, 120, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 10% 90%, rgba(28, 56, 84, 0.4) 0%, transparent 55%);
  pointer-events: none;
}

.hero-rule {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197, 228, 228, 0.25), transparent);
}

.hero-content {
  position: relative;
  max-width: 40rem;
}

.eyebrow {
  margin: 0 0 1.15rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-500);
}

.hero .eyebrow {
  color: var(--teal-200);
}

.hero h1 {
  margin: 0 0 1.35rem;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ivory);
}

.hero-lead {
  margin: 0 0 2.15rem;
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255, 252, 247, 0.72);
  max-width: 34rem;
}

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

/* ——— Trust bar ——— */
.trust-bar {
  background: var(--navy-900);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.1rem 0;
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem 1.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 252, 247, 0.55);
}

.trust-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--teal-500);
  opacity: 0.7;
}

/* ——— Sections ——— */
.section {
  padding: 5.5rem 0;
}

.section-intro {
  max-width: 38rem;
  margin-bottom: 3.25rem;
}

.section-intro h2,
.about-copy h2,
.contact-intro h2 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.2vw, 2.55rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--navy-950);
  line-height: 1.18;
}

.section-lead {
  margin: 0;
  color: var(--slate-600);
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 300;
}

.coverage {
  background: var(--ivory);
}

/* ——— Cards ——— */
.card-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.card {
  padding: 2rem 1.75rem 2.15rem;
  background: var(--cream-soft);
  border: 1px solid var(--border);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.card-num {
  display: block;
  margin-bottom: 1.35rem;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  font-style: italic;
  color: var(--teal-600);
  letter-spacing: 0.02em;
}

.card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--navy-900);
}

.card p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--slate-600);
  line-height: 1.7;
}

/* ——— About ——— */
.about {
  background: var(--cream);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-inner {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 3.5rem;
  align-items: start;
}

.about-copy p {
  margin: 0 0 1.15rem;
  color: var(--slate-600);
  font-weight: 300;
  font-size: 1.05rem;
  max-width: 34rem;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-panel {
  background: var(--navy-950);
  color: var(--white);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-lg);
}

.panel-block {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.panel-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-200);
}

.panel-value {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ivory);
  line-height: 1.2;
}

.panel-value--sm {
  font-size: 1.55rem;
}

.panel-detail {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255, 252, 247, 0.55);
  letter-spacing: 0.02em;
}

.panel-divider {
  height: 1px;
  margin: 1.65rem 0;
  background: rgba(255, 255, 255, 0.1);
}

/* ——— Contact ——— */
.contact {
  background: var(--ivory);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3rem;
  align-items: start;
}

.contact-intro p {
  margin: 0;
  color: var(--slate-600);
  font-weight: 300;
  font-size: 1.05rem;
  max-width: 26rem;
  line-height: 1.7;
}

.contact-card {
  padding: 2.15rem 2rem;
  background: var(--cream-soft);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.contact-details {
  margin: 0 0 1.75rem;
}

.contact-row {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-row:first-child {
  padding-top: 0;
}

.contact-row:last-of-type {
  border-bottom: none;
  padding-bottom: 0.35rem;
}

.contact-row dt {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-500);
  padding-top: 0.3rem;
}

.contact-row dd {
  margin: 0;
  color: var(--navy-900);
  font-weight: 400;
  font-size: 0.975rem;
  line-height: 1.65;
}

.contact-row a {
  color: var(--teal-700);
  font-weight: 500;
  text-decoration: none;
  word-break: break-word;
}

.contact-row a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ——— Footer ——— */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 252, 247, 0.55);
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(255, 252, 247, 0.8);
}

.footer-mark {
  width: 14px;
  height: 14px;
  background: linear-gradient(160deg, var(--navy-700), var(--teal-600));
  flex-shrink: 0;
}

.footer-meta,
.footer-domain {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 300;
}

.footer-meta a {
  color: var(--teal-200);
  text-decoration: none;
}

.footer-meta a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-domain {
  color: rgba(255, 252, 247, 0.3);
  letter-spacing: 0.04em;
}

/* ——— Responsive ——— */
@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .about-inner,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .about-panel {
    max-width: 28rem;
  }
}

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

  .nav a:not(.nav-cta) {
    display: none;
  }

  .logo-sub {
    display: none;
  }

  .hero {
    padding: 4.25rem 0 4rem;
  }

  .hero h1 {
    font-size: clamp(2.05rem, 8vw, 2.6rem);
  }

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

  .trust-inner {
    gap: 0.55rem 1rem;
    font-size: 0.65rem;
  }

  .section {
    padding: 3.75rem 0;
  }

  .section-intro {
    margin-bottom: 2.25rem;
  }

  .card {
    padding: 1.65rem 1.4rem 1.75rem;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .contact-card {
    padding: 1.65rem 1.4rem;
  }

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

  .header-inner {
    padding: 0.9rem 0;
  }
}

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

  .btn,
  .card,
  a {
    transition: none;
  }
}
