/*
Theme Name: ChristCare Wellness Complete
Theme URI: https://www.christcarewellnesscenter.com/
Description: Complete standalone WordPress theme for ChristCare Wellness Center with starter pages, editable header, logo, footer, and social link settings.
Author: ChristCare Wellness Center
Version: 1.0.3
Text Domain: christcare-wellness
*/

:root {
  --ccw-primary: #3da5e0;
  --ccw-dark-teal: #1e82be;
  --ccw-navy: #0e1c2e;
  --ccw-text: #1a2e3b;
  --ccw-muted: #4a6278;
  --ccw-sage: #ddeef8;
  --ccw-clay: #c97862;
  --ccw-soft-clay: #f5ddd5;
  --ccw-off-white: #f8fafc;
  --ccw-border: #d5e8f2;
  --ccw-white: #fff;
  --ccw-radius: 8px;
  --ccw-radius-lg: 16px;
  --ccw-max: 1200px;
  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ccw-muted);
  background: var(--ccw-white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.ccw-menu-open {
  overflow: hidden;
}

a {
  color: var(--ccw-primary);
  text-decoration: none;
}

a:hover {
  color: var(--ccw-dark-teal);
}

img,
svg {
  max-width: 100%;
  height: auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ccw-container {
  width: min(var(--ccw-max), calc(100% - 48px));
  margin: 0 auto;
}

.ccw-section {
  padding: 88px 0;
}

.ccw-section-off {
  background: var(--ccw-off-white);
}

.ccw-section-soft {
  background: var(--ccw-soft-clay);
}

.ccw-section-dark {
  color: rgba(221, 238, 248, 0.88);
  background: linear-gradient(150deg, var(--ccw-navy), var(--ccw-dark-teal));
}

.ccw-eyebrow {
  margin: 0 0 12px;
  color: var(--ccw-clay);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ccw-text);
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
}

h1 {
  font-size: clamp(38px, 5vw, 62px);
}

h2 {
  font-size: clamp(30px, 4vw, 44px);
}

h3 {
  font-size: clamp(22px, 2.6vw, 30px);
}

p {
  line-height: 1.75;
}

.ccw-lead {
  max-width: 680px;
  margin: 18px 0 0;
  font-size: 18px;
}

.ccw-text-center {
  text-align: center;
}

.ccw-text-center .ccw-lead {
  margin-left: auto;
  margin-right: auto;
}

.ccw-btn,
.ccw-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border: 2px solid transparent;
  border-radius: var(--ccw-radius);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.ccw-btn-primary {
  background: var(--ccw-primary);
  color: #fff;
}

.ccw-btn-primary:hover {
  background: var(--ccw-dark-teal);
  color: #fff;
}

.ccw-btn-clay {
  background: var(--ccw-clay);
  color: #fff;
}

.ccw-btn-clay:hover {
  background: #b36950;
  color: #fff;
}

.ccw-btn-outline {
  border-color: var(--ccw-primary);
  color: var(--ccw-primary);
}

.ccw-btn-outline:hover {
  background: var(--ccw-primary);
  color: #fff;
}

.ccw-btn svg,
.header-phone svg,
.footer-social svg {
  width: 16px;
  height: 16px;
  max-width: 16px;
  max-height: 16px;
  flex: 0 0 16px;
}

.site-header {
  position: relative;
  z-index: 20;
  background: #fff;
  box-shadow: 0 2px 20px rgba(26, 46, 59, 0.08);
}

.site-header-inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-branding {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 1 340px;
  min-width: 260px;
  max-width: 360px;
  color: var(--ccw-text);
}

.site-branding-logo {
  width: min(300px, 100%);
  height: 64px;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  flex: 0 1 300px;
}

.site-branding-logo img {
  width: auto;
  max-width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: left center;
}

.site-branding.has-brand-text {
  flex-basis: 360px;
  min-width: 320px;
}

.site-branding.has-brand-text .site-branding-logo {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--ccw-primary);
  flex: 0 0 54px;
}

.site-branding.has-brand-text .site-branding-logo img {
  width: 100%;
  max-width: 100%;
  object-position: center;
}

.site-branding-name {
  display: block;
  color: var(--ccw-text);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.05;
  white-space: nowrap;
}

.site-branding-subtitle {
  display: block;
  max-width: 270px;
  color: var(--ccw-muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.primary-nav {
  flex: 1 1 auto;
}

.primary-menu,
.footer-menu,
.mobile-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex-wrap: nowrap;
}

.primary-menu a {
  display: inline-flex;
  align-items: center;
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--ccw-text);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a {
  background: var(--ccw-sage);
  color: var(--ccw-primary);
}

.header-phone {
  min-width: 210px;
  padding: 12px 20px;
  border: 2px solid var(--ccw-primary);
  border-radius: var(--ccw-radius);
  color: var(--ccw-primary);
  font-weight: 800;
  white-space: nowrap;
}

.header-phone:hover {
  background: var(--ccw-primary);
  color: #fff;
}

.ccw-hamburger {
  display: none;
  width: 32px;
  height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.ccw-hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ccw-text);
  border-radius: 999px;
}

.ccw-push-menu {
  position: fixed;
  inset: 0 0 0 auto;
  width: 320px;
  max-width: 90vw;
  background: #fff;
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  box-shadow: -4px 0 32px rgba(26, 46, 59, 0.18);
  display: flex;
  flex-direction: column;
}

.ccw-push-menu.is-open {
  transform: translateX(0);
}

.ccw-push-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  color: #fff;
  background: var(--ccw-primary);
}

.ccw-push-menu-header .site-branding,
.site-footer .site-branding {
  flex: 1 1 auto;
  min-width: 0;
}

.ccw-push-menu-header .site-branding-logo,
.site-footer .site-branding-logo {
  width: min(240px, 100%);
  height: 58px;
  border-radius: 0;
}

.ccw-push-menu-header .site-branding.has-brand-text .site-branding-logo,
.site-footer .site-branding.has-brand-text .site-branding-logo {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  flex: 0 0 40px;
}

.ccw-push-menu-header .site-branding-name,
.ccw-push-menu-header .site-branding-subtitle,
.site-footer .site-branding-name,
.site-footer .site-branding-subtitle {
  color: #fff;
}

.ccw-push-menu-header .site-branding-name,
.site-footer .site-branding-name {
  font-size: 18px;
}

.ccw-push-menu-header .site-branding-subtitle,
.site-footer .site-branding-subtitle {
  font-size: 11px;
  opacity: 0.8;
}

.ccw-menu-close {
  border: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  font-size: 24px;
  line-height: 1;
  padding: 4px 10px;
  cursor: pointer;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  padding: 15px 22px;
  border-bottom: 1px solid var(--ccw-border);
  color: var(--ccw-text);
  font-weight: 700;
}

.ccw-push-cta {
  margin-top: auto;
  padding: 20px;
  background: var(--ccw-soft-clay);
  border-top: 2px solid var(--ccw-clay);
}

.ccw-push-cta a {
  width: 100%;
}

.ccw-push-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(26, 46, 59, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.ccw-push-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.ccw-hero {
  min-height: 76vh;
  display: flex;
  align-items: center;
  padding: 96px 0;
  color: rgba(221, 238, 248, 0.92);
  background: linear-gradient(160deg, var(--ccw-navy), var(--ccw-dark-teal) 55%, var(--ccw-primary));
}

.ccw-hero h1,
.ccw-section-dark h2,
.ccw-section-dark h3 {
  color: #fff;
}

.ccw-hero-content {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.ccw-new-patient {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  padding: 8px 16px;
  border: 1px solid rgba(201, 120, 98, 0.38);
  border-radius: 999px;
  color: var(--ccw-soft-clay);
  background: rgba(201, 120, 98, 0.16);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: ccwPulse 2.8s ease-in-out infinite;
}

@keyframes ccwPulse {
  0%, 100% { transform: translateY(0); box-shadow: 0 0 0 0 rgba(201, 120, 98, 0.2); }
  50% { transform: translateY(-2px); box-shadow: 0 0 0 10px rgba(201, 120, 98, 0); }
}

.ccw-hero .ccw-lead {
  color: rgba(221, 238, 248, 0.92);
}

.ccw-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

.ccw-trust-bar {
  padding: 28px 0;
  background: var(--ccw-soft-clay);
}

.ccw-trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px 40px;
  color: var(--ccw-text);
  font-weight: 700;
}

.ccw-grid-2,
.ccw-grid-3 {
  display: grid;
  gap: 32px;
}

.ccw-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

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

.ccw-card {
  height: 100%;
  padding: 30px;
  border: 1px solid var(--ccw-border);
  border-radius: var(--ccw-radius-lg);
  background: #fff;
  box-shadow: 0 4px 20px rgba(26, 46, 59, 0.06);
}

.ccw-card h3 {
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 800;
}

.ccw-card-dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.ccw-card-dark h3 {
  color: #fff;
}

.ccw-info-box {
  padding: 32px;
  border-radius: var(--ccw-radius-lg);
  background: var(--ccw-sage);
  border: 1px solid rgba(61, 165, 224, 0.18);
}

.ccw-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.ccw-list li {
  position: relative;
  padding: 8px 0 8px 24px;
  border-bottom: 1px solid rgba(61, 165, 224, 0.12);
  color: var(--ccw-text);
}

.ccw-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ccw-primary);
}

.ccw-form-shell {
  padding: 32px;
  border-radius: var(--ccw-radius-lg);
  border: 1px solid var(--ccw-border);
  background: #fff;
}

.site-footer {
  color: rgba(221, 238, 248, 0.86);
  background: var(--ccw-dark-teal);
}

.site-footer a {
  color: rgba(221, 238, 248, 0.92);
}

.footer-top {
  padding: 64px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 40px;
}

.footer-title {
  margin: 0 0 16px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-menu a {
  display: inline-flex;
  padding: 4px 0;
}

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

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
  color: #fff;
  background: var(--ccw-clay);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

@media (max-width: 1080px) {
  .primary-nav,
  .header-phone {
    display: none;
  }

  .ccw-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 0 0 auto;
  }
}

@media (max-width: 760px) {
  .ccw-container {
    width: min(100% - 40px, var(--ccw-max));
  }

  .site-header-inner {
    min-height: 76px;
  }

  .site-branding {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100vw - 96px);
  }

  .site-branding-logo {
    width: min(250px, 100%);
    height: 50px;
  }

  .site-branding.has-brand-text .site-branding-logo {
    width: 42px;
    height: 42px;
    border-radius: 9px;
    flex: 0 0 42px;
  }

  .site-branding-name,
  .site-branding-subtitle {
    max-width: 190px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .site-branding-name {
    font-size: 18px;
  }

  .site-branding-subtitle {
    font-size: 11px;
  }

  .ccw-section,
  .ccw-hero {
    padding: 68px 0;
  }

  .ccw-grid-2,
  .ccw-grid-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .ccw-new-patient {
    font-size: 13px;
    letter-spacing: 0.04em;
  }
}

@media (max-width: 640px) {
  .ccw-push-menu {
    width: 100%;
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
