.site-header {
  position: relative;
  --header-logo-height: 60px;
  background-color: #6B85C4;
}

.site-header::after {
  content: "";
  display: none;
  width: min(600px, calc(100% - 24px));
  height: auto;
  aspect-ratio: 100 / 35;
  margin: 0 auto;
  background: url('/wp-content/uploads/2026/01/allcaremedicalclinic_cover.jpeg') no-repeat center;
  background-size: contain;
}

.site-footer {
  --footer-logo-height: 44px;
}

.site-header .header-inner {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.site-header .site-branding {
  flex: 0 0 auto;
}

.site-header .site-navigation {
  margin-left: auto;
}

.site-header .site-navigation .menu {
  display: flex;
  flex-wrap: nowrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 6px;
}

.site-header .site-navigation .menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  padding: 0 14px;
  height: var(--header-logo-height) !important;
  min-height: var(--header-logo-height) !important;
  white-space: nowrap;
  box-sizing: border-box;
  border-radius: 8px;
  color: #ffffff !important;
  background: #6B85C4 !important;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-header .site-navigation .menu a:hover,
.site-header .site-navigation .menu a:focus-visible {
  color: #ffffff !important;
  background: rgba(0,0,0,0.15) !important;
}

.site-header .site-navigation .current-menu-item > a,
.site-header .site-navigation .current_page_item > a {
  color: #ffffff !important;
  background: rgba(0,0,0,0.18) !important;
  border-radius: 8px;
}

/* Phone CTA item in desktop nav */
.site-header .site-navigation .menu li.menu-item-cta-phone > a {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  padding: 0 10px;
}

.site-header .site-navigation .menu li.menu-item-cta-phone > a:hover {
  color: #ffffff;
}


/* CTA items in mobile dropdown */
.site-header .site-navigation-dropdown .menu li.menu-item-cta-phone > a {
  font-weight: 700;
  color: #374151;
}


.site-header .site-navigation-toggle-holder {
  display: none;
}

.site-header .site-navigation-dropdown {
  display: none;
}

.site-header .site-navigation-toggle-holder.elementor-active + .site-navigation-dropdown {
  display: block;
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 10000;
  background: #fff;
}

.site-header .site-navigation-dropdown .menu {
  list-style: none;
  margin: 0;
  padding: 10px 0;
}

.site-header .site-navigation-dropdown .menu a {
  display: block;
  padding: 10px 16px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.site-header .site-branding .site-logo img.custom-logo {
  width: auto;
  height: var(--header-logo-height);
  max-width: none;
}

.site-main .page-header,
.site-main .page-header .entry-title {
  display: none;
}

/* =============================================
   Global Typography — inspired by hemlockclinic.com
   ============================================= */

body {
  font-size: 17px;
  line-height: 1.65;
  color: #1f2937;
}

h1, h2, h3, h4, h5, h6,
.wp-block-heading {
  color: #111827;
  font-weight: 700;
  line-height: 1.22;
  margin-top: 0;
}

h1 {
  font-size: clamp(26px, 4vw, 42px);
  margin-bottom: 0.5em;
}

h2,
.wp-block-heading:not(h3):not(h4) {
  font-size: clamp(22px, 3vw, 32px);
  margin-bottom: 0.6em;
}

h3,
.wp-block-heading.is-style-h3 {
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 600;
  margin-bottom: 0.5em;
}

h4 {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 600;
  margin-bottom: 0.4em;
}

p {
  margin-bottom: 1.15em;
  line-height: 1.7;
}

ul, ol {
  line-height: 1.65;
  padding-left: 1.4em;
  margin-bottom: 1em;
}

li {
  margin-bottom: 0.45em;
}

strong {
  font-weight: 700;
}

figcaption {
  font-size: 13px;
  color: #6b7280;
  margin-top: 6px;
  font-style: italic;
  line-height: 1.5;
}

/* Buttons */
.wp-block-button__link,
.wp-element-button {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 11px 24px;
  border-radius: 6px;
  line-height: 1.4;
}

/* Responsive typography */
@media (max-width: 767px) {
  body {
    font-size: 16px;
  }

  h2,
  .wp-block-heading:not(h3):not(h4) {
    font-size: 22px;
  }

  h3 {
    font-size: 18px;
  }

  h4 {
    font-size: 16px;
  }
}

.site-footer .site-branding .site-logo img.custom-logo {
  width: auto;
  height: var(--footer-logo-height);
  max-width: none;
}

.site-footer .site-navigation .menu {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-evenly;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
  width: 100%;
}

.site-footer .footer-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-footer .site-branding {
  flex: 0 0 auto;
}

.site-footer .site-navigation {
  margin-left: auto;
  flex: 1 1 auto;
}

.site-footer .site-navigation .menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  padding: 0 14px;
  height: var(--footer-logo-height);
  min-height: var(--footer-logo-height);
  white-space: nowrap;
  box-sizing: border-box;
  border-radius: 8px;
  color: #1f2937;
  background: transparent;
  transition: color 0.2s ease;
}

.site-footer .site-navigation .menu a:hover,
.site-footer .site-navigation .menu a:focus-visible {
  color: #111827;
}

.site-footer .site-navigation .current-menu-item > a,
.site-footer .site-navigation .current_page_item > a {
  color: #111827;
}

@media (max-width: 1200px) and (min-width: 768px) {
  .site-header {
    --header-logo-height: 53px;
  }

  .site-footer {
    --footer-logo-height: 40px;
  }

  .site-header .site-branding .site-logo img.custom-logo {
    max-width: 160px;
  }

  .site-header .site-navigation .menu {
    gap: 4px;
  }

  .site-header .site-navigation .menu a {
    font-size: 15px;
    padding: 7px 10px;
  }
}

@media (max-width: 767px) {
  .site-header.menu-dropdown-tablet:not(.menu-layout-dropdown) .site-navigation {
    display: none !important;
  }

  .site-header::after {
    display: none;
  }

  .site-header.menu-dropdown-tablet:not(.menu-layout-dropdown) .site-navigation-toggle-holder {
    display: flex !important;
    align-items: center;
    padding: 8px 15px;
  }
}

@media (max-width: 767px) {
  .site-header {
    --header-logo-height: 46px;
  }

  .site-footer {
    --footer-logo-height: 34px;
  }

  .site-header .site-branding .site-logo img.custom-logo {
    max-width: 140px;
  }

  .site-footer .site-navigation .menu {
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 8px;
    width: 100%;
  }

  .site-footer .footer-inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-footer .site-navigation {
    margin-left: 0;
  }

  .site-footer .site-navigation .menu a {
    font-size: 15px;
    padding: 7px 12px;
  }

  .site-header .site-navigation-dropdown .menu a {
    padding: 12px 16px;
    font-size: 17px;
  }
}

/* ============================================
   HOMEPAGE PROFESSIONAL REDESIGN
   ============================================ */

.allcare-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Hero --- */
.allcare-hero {
  position: relative;
  background: linear-gradient(135deg, #1e2d4d 0%, #4f6db8 100%);
  color: #fff;
  padding: 100px 24px 110px;
  text-align: center;
  overflow: hidden;
}

.allcare-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.22;
  z-index: 0;
}

.allcare-hero > .allcare-container,
.allcare-hero > * {
  position: relative;
  z-index: 1;
}

.allcare-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 16px;
}

.allcare-hero__heading {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 20px;
}

.allcare-hero__sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.9);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.allcare-hero__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.allcare-btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.allcare-btn--primary {
  background: #6B85C4;
  color: #fff;
  border: 2px solid #6B85C4;
}
.allcare-btn--primary:hover {
  background: #4f6db8;
  border-color: #4f6db8;
  color: #fff;
  text-decoration: none;
}

.allcare-btn--white {
  background: #fff;
  color: #4f6db8;
  border: 2px solid #fff;
}
.allcare-btn--white:hover {
  background: #6B85C4;
  color: #fff;
  border-color: #6B85C4;
  text-decoration: none;
}

.allcare-btn--outline {
  background: transparent;
  color: #4f6db8;
  border: 2px solid #6B85C4;
}
.allcare-btn--outline:hover {
  background: #6B85C4;
  color: #fff;
  border-color: #6B85C4;
  text-decoration: none;
}

.allcare-btn--outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
}
.allcare-btn--outline-white:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
  text-decoration: none;
}

/* --- Sections --- */
.allcare-section {
  padding: 72px 0;
}

.allcare-section--white {
  background: linear-gradient(180deg, #ffffff 0%, #f5f7fa 100%);
}

.allcare-section--gray {
  background: #eef1f8;
}

.allcare-section__title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  text-align: center;
  color: #1e2d4d;
  margin-bottom: 12px;
}

.allcare-section__subtitle {
  text-align: center;
  color: #4b5563;
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* --- Feature Cards --- */
.allcare-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 28px;
}

.allcare-feature {
  background: #f7f8fc;
  border-radius: 10px;
  padding: 32px 28px;
  border: 1px solid #e5e9f5;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.allcare-feature:hover {
  box-shadow: 0 8px 24px rgba(107,133,196,0.15);
  transform: translateY(-3px);
}

.allcare-feature__check {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #6B85C4;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.allcare-feature__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e2d4d;
  margin-bottom: 8px;
}

.allcare-feature__text {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.65;
}

/* --- Service Cards --- */
.allcare-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.allcare-service-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px 28px;
  border: 1px solid #e8ecf4;
  border-top: 4px solid #6B85C4;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.allcare-service-card:hover {
  box-shadow: 0 8px 24px rgba(107,133,196,0.18);
  transform: translateY(-3px);
}

.allcare-service-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e2d4d;
  margin-bottom: 10px;
}

.allcare-service-card p {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.65;
}

/* --- Two-column layout --- */
.allcare-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* --- Info Cards --- */
.allcare-card {
  background: #fff;
  border-radius: 14px;
  padding: 40px 36px;
  border: 1px solid #e8ecf4;
  height: 100%;
  box-sizing: border-box;
}

.allcare-card__title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #1e2d4d;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid #6B85C4;
}

/* --- Insurance List --- */
.allcare-insurance-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}

.allcare-insurance-list li {
  font-size: 0.92rem;
  color: #374151;
  padding: 5px 0 5px 18px;
  position: relative;
  border-bottom: 1px solid #e5e9f5;
}

.allcare-insurance-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #6B85C4;
  font-weight: 700;
}

.allcare-payment-note {
  font-size: 0.9rem;
  color: #4b5563;
  background: #fff;
  border-left: 4px solid #6B85C4;
  padding: 12px 16px;
  border-radius: 0 6px 6px 0;
  line-height: 1.6;
}

/* --- Address --- */
.allcare-address {
  font-style: normal;
  margin-bottom: 20px;
  color: #374151;
  line-height: 1.7;
}

.allcare-address a {
  color: #4f6db8;
  text-decoration: none;
}

/* --- Hours Table --- */
.allcare-hours-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.95rem;
  margin-bottom: 8px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}

.allcare-hours-table td {
  padding: 12px 16px;
  color: #374151;
  border-bottom: 1px solid #f0f2f7;
  transition: background 0.15s;
}

.allcare-hours-table tr:last-child td {
  border-bottom: none;
}

.allcare-hours-table tr:nth-child(odd) {
  background: #f8fafc;
}

.allcare-hours-table tr:nth-child(even) {
  background: #fff;
}

.allcare-hours-table tr:hover td {
  background: #eef2ff;
}

.allcare-hours-table td:first-child {
  font-weight: 700;
  color: #1e2d4d;
  width: 130px;
}

.allcare-hours-table td:last-child {
  text-align: right;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.allcare-hours-table__closed td {
  color: #b0b8c9;
  font-style: italic;
}

.allcare-hours-table__today {
  background: #eef2ff !important;
}

.allcare-hours-table__today td:first-child::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}

.allcare-hours-note {
  font-size: 0.85rem;
  color: #9ca3af;
  margin-top: 6px;
}

/* --- CTA Banner --- */
.allcare-cta-banner {
  background: linear-gradient(135deg, #1e2d4d 0%, #2d4270 100%);
  color: #fff;
  padding: 80px 24px;
  text-align: center;
}

.allcare-cta-banner__heading {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}

.allcare-cta-banner__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .allcare-two-col {
    grid-template-columns: 1fr;
  }

  .allcare-features,
  .allcare-services {
    grid-template-columns: 1fr;
  }

  .allcare-insurance-list {
    grid-template-columns: 1fr;
  }

  .allcare-hero {
    padding: 60px 20px 70px;
  }

  .allcare-section {
    padding: 52px 0;
  }

  .allcare-card {
    padding: 28px 22px;
  }
}

/* --- Internal Page Hero --- */
.allcare-page-hero {
  position: relative;
  background: linear-gradient(135deg, #1e2d4d 0%, #4f6db8 100%);
  color: #fff;
  padding: 72px 24px;
  text-align: center;
  overflow: hidden;
}

.allcare-page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.18;
  z-index: 0;
}

.allcare-page-hero > * {
  position: relative;
  z-index: 1;
}
.allcare-page-hero__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}
.allcare-page-hero__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  max-width: 600px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

/* --- Timeline (About) --- */
.allcare-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 700px;
  margin: 0 auto;
}
.allcare-timeline-item {
  display: flex;
  gap: 24px;
  padding-bottom: 36px;
  position: relative;
}
.allcare-timeline-item::before {
  content: "";
  position: absolute;
  left: 38px;
  top: 52px;
  bottom: 0;
  width: 2px;
  background: #e5e9f5;
}
.allcare-timeline-item:last-child::before { display: none; }
.allcare-timeline__year {
  flex: 0 0 76px;
  height: 76px;
  border-radius: 50%;
  background: #6B85C4;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
  z-index: 1;
}
.allcare-timeline__content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1e2d4d;
  margin-bottom: 6px;
}
.allcare-timeline__content p {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.65;
}

/* --- Provider Card --- */
.allcare-provider-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e8ecf4;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  border-left: 5px solid #6B85C4;
  padding: 36px 32px;
  max-width: 1100px;
  margin: 0 auto;
}
.allcare-provider-card__name {
  font-size: 1.4rem;
  font-weight: 800;
  color: #1e2d4d;
  margin-bottom: 4px;
}
.allcare-provider-card__title {
  font-size: 0.95rem;
  color: #6B85C4;
  font-weight: 600;
  margin-bottom: 16px;
}
.allcare-provider-card p {
  font-size: 0.97rem;
  color: #374151;
  line-height: 1.75;
  margin-bottom: 14px;
}
.allcare-provider-card blockquote {
  border-left: 3px solid #6B85C4;
  padding: 12px 20px;
  margin: 20px 0;
  background: #fff;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #4b5563;
  font-size: 0.97rem;
  line-height: 1.7;
}

/* --- Steps / Checklist --- */
.allcare-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.allcare-step {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e5e9f5;
  border-top: 4px solid #6B85C4;
  padding: 28px 24px;
}
.allcare-step__num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #6B85C4;
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.allcare-step h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e2d4d;
  margin-bottom: 10px;
}
.allcare-step p, .allcare-step ul {
  font-size: 0.93rem;
  color: #4b5563;
  line-height: 1.65;
}
.allcare-step ul {
  padding-left: 1.2em;
}

/* --- Resource Cards --- */
.allcare-resources {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.allcare-resource-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e8ecf4;
  padding: 28px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.allcare-resource-card .allcare-btn {
  margin-top: auto;
}

.allcare-resource-card:hover {
  box-shadow: 0 6px 20px rgba(107,133,196,0.12);
  transform: translateY(-2px);
}
.allcare-resource-card__icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.allcare-resource-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e2d4d;
  margin-bottom: 8px;
}
.allcare-resource-card p {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* --- Contact Grid --- */
.allcare-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}
.allcare-map-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e9f5;
}
.allcare-map-wrap iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

@media (max-width: 768px) {
  .allcare-contact-grid,
  .allcare-steps {
    grid-template-columns: 1fr;
  }
  .allcare-resources {
    grid-template-columns: 1fr 1fr;
  }
  .allcare-timeline-item::before { display: none; }
}

/* ============================================
   GLOBAL QUALITY POLISH
   ============================================ */

html {
  scroll-behavior: smooth;
}

body {
  background-color: #f9fafb;
}

.site-main {
  min-height: 60vh;
}

/* Fix dark section headings (Why Choose) */
.wp-block-group[style*="background-color:#1f2937"] h2,
.wp-block-group[style*="background-color:#1f2937"] h3,
.wp-block-group[style*="background-color:#1f2937"] h4,
.wp-block-group[style*="background-color:#1f2937"] h5,
.wp-block-group[style*="background-color:#1f2937"] h6,
.wp-block-group[style*="background-color:#1f2937"] p {
  color: #ffffff;
}

/* Ensure allcare section titles inside dark sections stay dark */
.allcare-section--white .allcare-section__title,
.allcare-section--gray .allcare-section__title {
  color: #1e2d4d;
}

/* Smooth link transitions */
a {
  transition: color 0.18s ease, opacity 0.18s ease;
}

/* ============================================
   PROFESSIONAL FOOTER
   ============================================ */

.allcare-footer {
  margin-top: 0;
}

.allcare-footer-main {
  background: #1e2d4d;
  color: #cbd5e1;
  padding: 64px 0 48px;
}

.allcare-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.allcare-footer-logo {
  max-width: 200px;
  height: auto;
  display: block;
  margin-bottom: 20px;
  background: #ffffff;
  padding: 8px 14px;
  border-radius: 6px;
}

.allcare-footer-address {
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.9;
  color: #94a3b8;
}

.allcare-footer-address a {
  color: #93c5fd;
  text-decoration: none;
}

.allcare-footer-address a:hover {
  color: #ffffff;
}

.allcare-footer-heading {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 16px;
}

.allcare-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.allcare-footer-links li {
  margin-bottom: 8px;
}

.allcare-footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.92rem;
}

.allcare-footer-links a:hover {
  color: #ffffff;
}

.allcare-footer-hours {
  list-style: none;
  padding: 0;
  margin: 0;
}

.allcare-footer-hours li {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: #94a3b8;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.allcare-footer-hours li.closed {
  color: #64748b;
}

.allcare-footer-social {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.allcare-footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.allcare-footer-social a:hover {
  background: #6B85C4;
}

.allcare-footer-bottom {
  background: #131f35;
  padding: 16px 0;
  text-align: center;
}

.allcare-footer-bottom p {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0;
}

.allcare-footer-bottom a {
  color: #64748b;
  text-decoration: none;
}

.allcare-footer-bottom a:hover {
  color: #94a3b8;
}

/* Override old footer styles */
.allcare-footer .footer-inner,
.allcare-footer .site-branding,
.allcare-footer .copyright {
  display: none !important;
}

.allcare-footer .site-navigation {
  display: none !important;
}

@media (max-width: 768px) {
  .allcare-footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .allcare-footer-main {
    padding: 48px 0 36px;
  }
}

/* ============================================
   FAQ ACCORDION
   ============================================ */

.allcare-faq-section {
  padding-top: 72px;
  padding-bottom: 72px;
}

.allcare-faq-list {
  margin-top: 40px;
  border-top: 1px solid #e5e7eb;
}

.allcare-faq-item {
  border-bottom: 1px solid #e5e7eb;
}

.allcare-faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 12px;
  border-radius: 8px;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: #1e2d4d;
  cursor: pointer;
  gap: 16px;
  line-height: 1.5;
  transition: background 0.18s ease, color 0.18s ease;
}

.allcare-faq-q:hover,
.allcare-faq-q:focus,
.allcare-faq-q:active {
  color: #2d4a8c;
  background: #dbe4ff;
}

.allcare-faq-icon {
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 300;
  color: #6B85C4;
  line-height: 1;
  transition: transform 0.2s ease;
}

.allcare-faq-q[aria-expanded="true"] .allcare-faq-icon {
  transform: rotate(45deg);
}

.allcare-faq-a {
  padding: 0 4px 20px;
}

.allcare-faq-a p {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.8;
  margin: 0;
}

/* ============================================
   MOBILE BREAKPOINTS – PAGE HERO / FAQ / CTA
   ============================================ */

@media (max-width: 768px) {
  .allcare-page-hero {
    padding: 48px 18px;
  }

  .allcare-page-hero__title {
    font-size: 1.5rem;
  }

  .allcare-page-hero__sub {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .allcare-faq-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .allcare-faq-q {
    font-size: 0.92rem;
    padding: 16px 2px;
    gap: 12px;
  }

  .allcare-faq-a p {
    font-size: 0.88rem;
  }

  .allcare-cta-banner {
    padding: 52px 18px;
  }

  .allcare-cta-banner__heading {
    font-size: 1.35rem;
  }

  .allcare-resources {
    grid-template-columns: 1fr;
  }

  .allcare-section__title {
    font-size: 1.35rem;
  }

  .allcare-section__subtitle {
    font-size: 0.92rem;
  }

  .allcare-provider-card {
    padding: 24px 18px;
  }
}

@media (max-width: 480px) {
  .allcare-hero {
    padding: 48px 16px 56px;
  }

  .allcare-hero__heading {
    font-size: 1.6rem;
  }

  .allcare-hero__sub {
    font-size: 0.95rem;
  }

  .allcare-hero__ctas {
    flex-direction: column;
    align-items: center;
  }

  .allcare-page-hero {
    padding: 36px 16px;
  }

  .allcare-container {
    padding: 0 16px;
  }
}

/* ============================================
   STICKY MOBILE CTA BAR
   ============================================ */

.allcare-mobile-cta {
  display: none;
}

@media (max-width: 768px) {
  .allcare-mobile-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #1e2d4d;
    padding: 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
  }

  .allcare-mobile-cta__btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 8px;
    color: #fff;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-align: center;
    transition: background 0.18s ease;
  }

  .allcare-mobile-cta__btn:first-child {
    background: #4f6db8;
  }

  .allcare-mobile-cta__btn:last-child {
    background: #2d8f5e;
  }

  .allcare-mobile-cta__btn:active {
    opacity: 0.85;
  }

  .allcare-mobile-cta__icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
  }

  /* Add bottom padding to body so footer isn't hidden behind sticky bar */
  body {
    padding-bottom: 56px;
  }

  .allcare-footer {
    margin-bottom: 0;
  }
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.allcare-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.allcare-testimonial {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #f1f5f9;
  border-top: 4px solid #6B85C4;
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.allcare-testimonial__stars {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.allcare-testimonial__text {
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}

.allcare-testimonial__author {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1e2d4d;
}

.allcare-testimonial__detail {
  font-size: 0.8rem;
  color: #9ca3af;
}

@media (max-width: 768px) {
  .allcare-testimonials {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ============================================
   AUTHOR ATTRIBUTION
   ============================================ */

.allcare-author-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #6b7280;
  padding: 12px 0;
  border-top: 1px solid #e5e7eb;
  margin-top: 24px;
}

.allcare-author-line a {
  color: #4f6db8;
  text-decoration: none;
  font-weight: 600;
}

.allcare-author-line a:hover {
  text-decoration: underline;
}

/* ============================================
   QR CODE BOOKING CARD
   ============================================ */

.allcare-qr-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: 14px;
  padding: 28px 32px 22px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  margin-top: 28px;
  max-width: 260px;
}

.allcare-qr-card img {
  width: 180px;
  height: 180px;
  border-radius: 8px;
}

.allcare-qr-card__label {
  margin-top: 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e2d4d;
  text-align: center;
  line-height: 1.4;
}

.allcare-qr-card__hint {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 4px;
}

.allcare-qr-card--dark {
  background: rgba(255,255,255,0.12);
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}

.allcare-qr-card--dark .allcare-qr-card__label {
  color: #fff;
}

.allcare-qr-card--dark .allcare-qr-card__hint {
  color: rgba(255,255,255,0.6);
}

.allcare-qr-card--inline {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  margin: 24px auto 0;
  max-width: 240px;
}

@media (max-width: 768px) {
  .allcare-qr-card {
    padding: 22px 24px 18px;
    max-width: 220px;
  }

  .allcare-qr-card img {
    width: 150px;
    height: 150px;
  }
}

/* ============================================
   INSURANCE LOGO GRID
   ============================================ */

.allcare-insurance-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.allcare-insurance-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f9fafb;
  border: 1px solid #e8ecf4;
  border-radius: 10px;
  padding: 18px 12px 14px;
  text-align: center;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.allcare-insurance-logo-item:hover {
  box-shadow: 0 4px 16px rgba(107,133,196,0.12);
  transform: translateY(-2px);
}

.allcare-insurance-logo-item img {
  max-width: 120px;
  max-height: 48px;
  object-fit: contain;
  margin-bottom: 10px;
}

.allcare-insurance-logo-item span {
  font-size: 0.82rem;
  font-weight: 600;
  color: #374151;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .allcare-insurance-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .allcare-insurance-logos {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .allcare-insurance-logo-item {
    padding: 14px 8px 10px;
  }
  .allcare-insurance-logo-item img {
    max-width: 100px;
    max-height: 40px;
  }
}
