/* ======================================================================
   AIM COMBO — prototype correction layer
   Built over the Claude scaffold to pull the site back toward the Figma
   prototype and the light-blue / white serenity homepage palette.
   ====================================================================== */

:root {
  --aim-blue: #042249;
  --aim-blue-950: #031a38;
  --aim-blue-900: #082b52;
  --aim-blue-800: #123e6d;
  --aim-blue-soft: rgba(79, 163, 217, 0.12);
  --aim-sky: #4fa3d9;
  --aim-sky-700: #2f7fb3;
  --aim-sky-500: #6fb2df;
  --aim-sky-300: #a9d5ee;
  --aim-sky-soft: #eaf5fb;
  --aim-sky-soft-2: #f3f9fc;
  --aim-olive: #6f7f58;
  --aim-olive-900: #4f5d3c;
  --aim-olive-800: #5d6d48;
  --aim-olive-700: #7f9166;
  --aim-olive-soft: rgba(111, 127, 88, 0.12);
  --aim-gold: #c6924b;
  --aim-gold-700: #a9772f;
  --aim-gold-soft: #ead8b8;
  --aim-off-white: #f7fbfd;
  --aim-off-white-2: #fbfdfe;
  --aim-sage: #eef6fa;
  --aim-sage-2: #e2f0f7;
  --aim-cream: #f3f1ea;
  --aim-paper: #ffffff;
  --aim-border: rgba(4, 34, 73, 0.11);
  --aim-border-strong: rgba(4, 34, 73, 0.18);
  --aim-text: #142033;
  --aim-text-soft: #4e5a67;
  --aim-muted: #6d7480;
  --aim-white-muted: rgba(255, 255, 255, 0.76);
  --aim-white-soft: rgba(255, 255, 255, 0.12);
  --font-heading: "Cormorant Garamond", "Libre Baskerville", "Playfair Display", Georgia, serif;
  --font-body: "Inter", "Source Sans 3", "Manrope", Arial, sans-serif;
  --shadow-xs: 0 2px 8px rgba(4, 34, 73, 0.06);
  --shadow-soft: 0 16px 40px rgba(4, 34, 73, 0.08);
  --shadow-card: 0 18px 45px rgba(4, 34, 73, 0.1);
  --shadow-hero: 0 30px 80px rgba(4, 34, 73, 0.18);
}

body {
  background:
    radial-gradient(circle at top left, rgba(234, 245, 251, 0.84), transparent 34rem),
    radial-gradient(circle at top right, rgba(169, 213, 238, 0.22), transparent 38rem),
    var(--aim-off-white) !important;
  color: var(--aim-text) !important;
}

.site-header {
  background: rgba(255, 255, 255, 0.93) !important;
  border-bottom: 1px solid rgba(4, 34, 73, 0.07) !important;
  box-shadow: 0 2px 24px rgba(4, 34, 73, 0.035);
}

.nav-container,
.header-inner {
  min-height: 78px !important;
}

.brand-logo,
.logo {
  width: 220px !important;
}

.nav-link,
.primary-nav a {
  color: var(--aim-blue) !important;
}

.nav-link::after,
.primary-nav a::after {
  background: var(--aim-olive) !important;
}

.btn,
.button,
.nav-cta,
.hero-cta,
.footer-cta {
  --btn-bg: var(--aim-olive-900) !important;
  --btn-border: var(--aim-olive-900) !important;
  --btn-fg: #ffffff !important;
  background: var(--btn-bg) !important;
  border-color: var(--btn-border) !important;
  color: var(--btn-fg) !important;
}

.btn-blue {
  --btn-bg: var(--aim-blue) !important;
  --btn-border: var(--aim-blue) !important;
}

.btn-secondary,
.button-secondary,
.hero-cta-secondary {
  --btn-bg: #ffffff !important;
  --btn-fg: var(--aim-blue) !important;
  --btn-border: rgba(4, 34, 73, 0.18) !important;
  background: #ffffff !important;
  color: var(--aim-blue) !important;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
.display-heading {
  color: var(--aim-blue) !important;
}

h1 em,
.h1 em,
h2 em,
.h2 em,
h3 em,
.h3 em,
.display-heading em,
.hero-title em,
.hero-title .accent {
  color: var(--aim-sky) !important;
}

.serif-italic,
em {
  color: var(--aim-sky) !important;
}

.eyebrow,
.kicker,
.section-eyebrow {
  color: var(--aim-blue) !important;
}

.eyebrow-olive {
  color: var(--aim-olive-900) !important;
}

.hero,
.home-hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(169, 213, 238, 0.38), transparent 30rem),
    radial-gradient(circle at 12% 0%, rgba(234, 245, 251, 0.95), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, #f7fbfd 48%, #eaf5fb 100%) !important;
}

.hero-title {
  line-height: 0.9 !important;
}

.hero-card {
  min-height: 560px !important;
  border: 1px solid rgba(79, 163, 217, 0.18) !important;
  background:
    radial-gradient(circle at 80% 10%, rgba(234, 245, 251, 0.95), transparent 22rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 251, 253, 0.94)),
    #ffffff !important;
}

.hero-card > img {
  width: min(92%, 660px) !important;
  max-height: 520px !important;
}

.home-services,
.services-overview {
  background: linear-gradient(180deg, #eaf5fb 0%, #f7fbfd 100%) !important;
  border-top: 1px solid rgba(79, 163, 217, 0.14) !important;
}

.service-card,
.feature-card,
.resource-card,
.patient-card,
.article-card,
.philosophy-card,
.selector-card,
.form-card,
.contact-form,
.appointment-form,
.accordion-item {
  border: 1px solid rgba(79, 163, 217, 0.14) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 10px 28px rgba(4, 34, 73, 0.05) !important;
}

.service-card:hover,
.feature-card:hover,
.resource-card:hover,
.patient-card:hover,
.article-card:hover,
.selector-card:hover {
  border-color: rgba(79, 163, 217, 0.34) !important;
  box-shadow: 0 22px 45px rgba(4, 34, 73, 0.09) !important;
}

.card-icon,
.service-icon,
.feature-icon,
.trust-strip-icon,
.trust-icon,
.credential-icon {
  border-color: rgba(79, 163, 217, 0.3) !important;
  background: var(--aim-sky-soft) !important;
  color: var(--aim-sky) !important;
}

.trust-panel,
.credential-panel,
.trust-strip,
.site-footer {
  background:
    radial-gradient(circle at top right, rgba(79, 163, 217, 0.14), transparent 26rem),
    var(--aim-blue) !important;
}

.trust-panel .trust-icon,
.credential-panel .credential-icon,
.trust-strip .trust-strip-icon {
  background: rgba(234, 245, 251, 0.10) !important;
  color: var(--aim-sky-300) !important;
}

.footer-column h3,
.footer-icon {
  color: var(--aim-sky-300) !important;
}

.pre-footer-cta,
.cta-band {
  background: linear-gradient(180deg, #ffffff 0%, var(--aim-sky-soft) 100%) !important;
}

.cta-leaf,
.pre-footer-mark,
.leaf-mark {
  color: var(--aim-sky) !important;
}

.page-hero {
  background:
    radial-gradient(circle at 84% 14%, rgba(169, 213, 238, 0.32), transparent 32rem),
    radial-gradient(circle at 10% 0%, rgba(234, 245, 251, 0.9), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, var(--aim-off-white) 100%) !important;
}

.page-hero-image,
.rounded-media,
.article-image,
.map-card {
  background: linear-gradient(180deg, var(--aim-sky-soft), #ffffff) !important;
  border-color: rgba(79, 163, 217, 0.14) !important;
}

.decor-line,
.soft-divider,
.section-header .decor-line {
  background: var(--aim-olive) !important;
}

.text-link::after,
.arrow-link::after {
  color: var(--aim-sky) !important;
}

/* Fix Claude's inline-heavy grids so the design breathes more like the prototype. */
main section > .container > div[style*="grid-template-columns:repeat(4"],
main section > .container > div[style*="grid-template-columns: repeat(4"] {
  gap: 18px !important;
}

main section > .container > div[style*="grid-template-columns:repeat(3"],
main section > .container > div[style*="grid-template-columns: repeat(3"] {
  gap: 24px !important;
}

main section a[style*="border:1px solid"],
main section div[style*="border:1px solid"] {
  border-color: rgba(79, 163, 217, 0.14) !important;
}

main section a[style*="box-shadow"],
main section div[style*="box-shadow"] {
  box-shadow: 0 10px 28px rgba(4, 34, 73, 0.05) !important;
}

main section span[style*="color:var(--aim-olive)"] {
  color: var(--aim-sky) !important;
}

/* Keep page hero images from becoming overly tall and generic-looking. */
.page-hero img,
.rounded-media img,
.article-image img {
  object-fit: cover !important;
}

@media (max-width: 980px) {
  .brand-logo,
  .logo {
    width: 190px !important;
  }

  main section > .container > div[style*="grid-template-columns:1fr 1fr"],
  main section > .container > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  main section > .container > div[style*="grid-template-columns:repeat(4"],
  main section > .container > div[style*="grid-template-columns: repeat(4"],
  main section > .container > div[style*="grid-template-columns:repeat(3"],
  main section > .container > div[style*="grid-template-columns: repeat(3"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  .brand-logo,
  .logo {
    width: 164px !important;
  }

  main section > .container > div[style*="grid-template-columns:repeat"],
  main section > .container > div[style*="grid-template-columns: repeat"] {
    grid-template-columns: 1fr !important;
  }
}


/* Homepage hero logo refinement: ultra-thin metallic silver bezel with subtle animated sheen */
.home-hero.hero-wave .hero-logo-card {
  filter: drop-shadow(0 18px 36px rgba(4, 34, 73, 0.10)) !important;
}

.home-hero.hero-wave .hero-logo-card .hero-card {
  position: relative !important;
  min-height: 0 !important;
  padding: 3px !important;
  background:
    linear-gradient(135deg,
      rgba(246, 248, 250, 0.98) 0%,
      rgba(206, 212, 218, 0.98) 16%,
      rgba(252, 253, 254, 0.98) 31%,
      rgba(181, 187, 193, 0.98) 49%,
      rgba(247, 249, 251, 0.98) 67%,
      rgba(162, 169, 177, 0.98) 83%,
      rgba(249, 250, 251, 0.98) 100%) !important;
  background-size: 220% 220% !important;
  border: 1px solid rgba(148, 156, 165, 0.30) !important;
  border-radius: 32px !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    inset 0 -4px 10px rgba(60, 73, 89, 0.10),
    0 16px 34px rgba(4, 34, 73, 0.10) !important;
  overflow: visible !important;
  animation: aimMetalSheen 11s ease-in-out infinite !important;
}

.home-hero.hero-wave .hero-logo-card .hero-card::before {
  content: "" !important;
  position: absolute !important;
  inset: 1px !important;
  border-radius: 29px !important;
  border: 1px solid rgba(255, 255, 255, 0.44) !important;
  pointer-events: none !important;
}

.home-hero.hero-wave .hero-logo-card .hero-card::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: 32px !important;
  background:
    linear-gradient(115deg,
      rgba(255, 255, 255, 0) 8%,
      rgba(255, 255, 255, 0.18) 22%,
      rgba(255, 255, 255, 0.55) 30%,
      rgba(255, 255, 255, 0.14) 38%,
      rgba(255, 255, 255, 0) 54%) !important;
  background-size: 220% 100% !important;
  mix-blend-mode: screen !important;
  opacity: 0.72 !important;
  pointer-events: none !important;
  animation: aimMetalGlint 9s linear infinite !important;
}

.home-hero.hero-wave .hero-logo-card .hero-card img,
.home-hero.hero-wave .hero-logo-card .hero-card > img {
  display: block !important;
  width: min(100%, 690px) !important;
  max-height: none !important;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 28px !important;
  border: 0 !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.30),
    0 8px 20px rgba(4, 34, 73, 0.08) !important;
  background: #ffffff !important;
}

@keyframes aimMetalSheen {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 52%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes aimMetalGlint {
  0% {
    background-position: -140% 0;
    opacity: 0.18;
  }
  20% {
    opacity: 0.62;
  }
  45% {
    background-position: 140% 0;
    opacity: 0.18;
  }
  100% {
    background-position: 140% 0;
    opacity: 0.18;
  }
}

@media (max-width: 980px) {
  .home-hero.hero-wave .hero-logo-card .hero-card {
    padding: 3px !important;
    border-radius: 24px !important;
  }

  .home-hero.hero-wave .hero-logo-card .hero-card::before {
    inset: 1px !important;
    border-radius: 21px !important;
  }

  .home-hero.hero-wave .hero-logo-card .hero-card::after {
    border-radius: 24px !important;
  }

  .home-hero.hero-wave .hero-logo-card .hero-card img,
  .home-hero.hero-wave .hero-logo-card .hero-card > img {
    border-radius: 20px !important;
  }
}



/* ==========================================================================
   Metallic bezel treatment for content images + fake insurance plan cards
   Applies a thin silver frame to site imagery while preserving logo/header assets.
   ========================================================================== */
main img:not(.brand-logo):not(.footer-logo) {
  box-sizing: border-box !important;
  border: 2px solid transparent !important;
  border-radius: 24px !important;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg,
      rgba(247, 248, 250, 1) 0%,
      rgba(195, 201, 207, 1) 18%,
      rgba(255, 255, 255, 1) 32%,
      rgba(171, 177, 184, 1) 48%,
      rgba(248, 249, 250, 1) 64%,
      rgba(151, 158, 166, 1) 82%,
      rgba(249, 250, 251, 1) 100%) border-box !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.38),
    0 14px 30px rgba(4, 34, 73, 0.10) !important;
}

.insurance-logo-card {
  border-radius: 24px !important;
  padding: 3px !important;
  background:
    linear-gradient(135deg,
      rgba(247, 248, 250, 1) 0%,
      rgba(195, 201, 207, 1) 18%,
      rgba(255, 255, 255, 1) 32%,
      rgba(171, 177, 184, 1) 48%,
      rgba(248, 249, 250, 1) 64%,
      rgba(151, 158, 166, 1) 82%,
      rgba(249, 250, 251, 1) 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 14px 28px rgba(4, 34, 73, 0.10) !important;
}

.insurance-logo-card .fake-logo {
  border: 0 !important;
  border-radius: 21px !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.36),
    0 8px 16px rgba(4, 34, 73, 0.08) !important;
}

@media (max-width: 980px) {
  main img:not(.brand-logo):not(.footer-logo) {
    border-radius: 18px !important;
  }

  .insurance-logo-card {
    border-radius: 18px !important;
  }

  .insurance-logo-card .fake-logo {
    border-radius: 15px !important;
  }
}



/* Homepage testimonial five-star asset */
.home-testimonial-stars {
  display: block;
  width: 108px;
  height: auto;
  margin: 0 0 14px;
}



/* Star rating asset reset — keep uploaded transparent PNG clean */
main img.home-testimonial-stars:not(.brand-logo):not(.footer-logo),
main img.review-stars:not(.brand-logo):not(.footer-logo),
main img.review-chip-stars:not(.brand-logo):not(.footer-logo) {
  box-sizing: content-box !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: 0 !important;
  filter: none !important;
  padding: 0 !important;
}

main img.home-testimonial-stars:not(.brand-logo):not(.footer-logo) {
  width: 108px !important;
  max-width: 108px !important;
  margin: 0 0 14px !important;
}

main img.review-stars:not(.brand-logo):not(.footer-logo) {
  width: 116px !important;
  max-width: 116px !important;
  margin: 0 0 16px !important;
}

main img.review-chip-stars:not(.brand-logo):not(.footer-logo) {
  width: 72px !important;
  max-width: 72px !important;
  margin: 0 0 8px !important;
}

