/* ================================================================
   Devoted Caregivers San Diego — Modern Brand Design System
   Brand Colors: Purple #9B6BB5 · Cyan #29B5D9
   Bootstrap 5.3 + Custom Components
   ================================================================ */

/* ── 1. CSS Custom Properties ─────────────────────────────── */
:root {
  --dc-purple:       #9B6BB5;
  --dc-purple-dark:  #7A4D9A;
  --dc-purple-deeper:#5C3578;
  --dc-purple-light: #EDE3F7;
  --dc-purple-xlight:#F7F3FD;
  --dc-cyan:         #29B5D9;
  --dc-cyan-dark:    #1A90B0;
  --dc-cyan-deeper:  #0E6680;
  --dc-cyan-light:   #D4F2FA;
  --dc-cyan-xlight:  #EBF8FD;
  --dc-dark:         #1a1a2e;
  --dc-text:         #3d3d4e;
  --dc-muted:        #6b7280;
  --dc-white:        #ffffff;
  --dc-bg-soft:      #F9F6FD;
  --grad-hero:       linear-gradient(135deg, #4A2775 0%, #7A4D9A 45%, #1A90B0 100%);
  --grad-cta:        linear-gradient(90deg, #7A4D9A 0%, #29B5D9 100%);
  --grad-soft:       linear-gradient(135deg, #F7F3FD 0%, #EBF8FD 100%);
  --font-main:       'Inter', 'Segoe UI', sans-serif;
  --radius-card:     12px;
  --shadow-card:     0 4px 24px rgba(123,77,154,.10);
  --shadow-hover:    0 8px 36px rgba(123,77,154,.20);
}

/* ── 2. Base Reset ────────────────────────────────────────── */
* { box-sizing: border-box; }

body {
  font-family: var(--font-main);
  color: var(--dc-text);
  font-size: 16px;
  line-height: 1.65;
  background: #fff;
}

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-main);
  font-weight: 700;
  color: var(--dc-dark);
  line-height: 1.25;
}

a { color: var(--dc-purple); transition: color .2s; }
a:hover { color: var(--dc-purple-dark); }
img { max-width: 100%; height: auto; }

/* ── 3. Utility Classes ───────────────────────────────────── */
.text-purple    { color: var(--dc-purple)  !important; }
.text-cyan      { color: var(--dc-cyan)    !important; }
.text-dark-dc   { color: var(--dc-dark)    !important; }
.bg-purple      { background: var(--dc-purple)      !important; }
.bg-purple-dark { background: var(--dc-purple-dark) !important; }
.bg-cyan        { background: var(--dc-cyan)        !important; }
.bg-soft        { background: var(--dc-bg-soft)     !important; }
.bg-grad-soft   { background: var(--grad-soft)      !important; }
.section-label  { text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; font-weight: 700; color: var(--dc-purple); display: block; margin-bottom: 8px; }
.section-h2     { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 16px; }
.lead-text      { font-size: 1.1rem; color: var(--dc-muted); max-width: 640px; margin: 0 auto; }

/* ── 4. Top Call Strip ────────────────────────────────────── */
.dc-top-strip {
  background: var(--dc-purple-deeper);
  color: #fff;
  padding: 9px 0;
  font-size: .9rem;
  position: sticky;
  top: 0;
  z-index: 1060;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.dc-top-strip .strip-phone {
  font-weight: 700;
  font-size: 1.05rem;
}
.dc-top-strip .btn-strip-call {
  background: var(--dc-cyan);
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  padding: 5px 18px;
  border-radius: 20px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s;
}
.dc-top-strip .btn-strip-call:hover { background: var(--dc-cyan-dark); color: #fff; }

/* ── 5. Main Navigation ───────────────────────────────────── */
.dc-navbar {
  background: #fff;
  box-shadow: 0 2px 16px rgba(123,77,154,.10);
  padding: 0;
}
.dc-navbar .navbar-brand img { max-height: 72px; }

.dc-navbar .nav-link {
  color: var(--dc-text) !important;
  font-weight: 600;
  font-size: .92rem;
  padding: 24px 14px !important;
  letter-spacing: .01em;
  border-bottom: 3px solid transparent;
  transition: all .2s;
}
.dc-navbar .nav-link:hover,
.dc-navbar .nav-link.active {
  color: var(--dc-purple) !important;
  border-bottom-color: var(--dc-purple);
}
.dc-navbar .btn-nav-cta {
  background: var(--grad-cta);
  color: #fff !important;
  border-radius: 24px;
  padding: 10px 22px !important;
  border-bottom: none !important;
  font-weight: 700;
  margin-left: 8px;
}
.dc-navbar .btn-nav-cta:hover { opacity: .88; }

/* ── 6. Hero Section ──────────────────────────────────────── */
.dc-hero {
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
  padding: 80px 0 70px;
  min-height: 540px;
  display: flex;
  align-items: center;
}
.dc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg-img, url('img/background/banner-dc.jpg'));
  background-size: cover;
  background-position: center;
  opacity: .12;
}
.dc-hero .hero-inner { position: relative; z-index: 2; }

.dc-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 900;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
  line-height: 1.15;
  margin-bottom: 18px;
}
.dc-hero p.hero-sub {
  color: rgba(255,255,255,.88);
  font-size: 1.15rem;
  margin-bottom: 28px;
}
.dc-hero .hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.dc-hero .hero-badge {
  background: rgba(255,255,255,.18);
  border: 1.5px solid rgba(255,255,255,.4);
  color: #fff;
  border-radius: 20px;
  padding: 5px 14px;
  font-size: .85rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}
.dc-hero .btn-hero-primary {
  background: var(--dc-cyan);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 8px;
  transition: all .2s;
  border: none;
}
.dc-hero .btn-hero-primary:hover {
  background: var(--dc-cyan-dark);
  transform: translateY(-2px);
  color: #fff;
}
.dc-hero .btn-hero-outline {
  background: transparent;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 13px 28px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  border: 2px solid rgba(255,255,255,.6);
  margin-bottom: 8px;
  transition: all .2s;
}
.dc-hero .btn-hero-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
  color: #fff;
}

/* Page Hero (interior pages) */
.dc-page-hero {
  background: var(--grad-hero);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.dc-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg-img, url('img/background/banner-dc.jpg'));
  background-size: cover;
  background-position: center;
  opacity: .1;
}
.dc-page-hero .hero-inner { position: relative; z-index: 2; }
.dc-page-hero h1 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
}
.dc-page-hero p { color: rgba(255,255,255,.85); font-size: 1.05rem; }

/* ── 7. Trust Bar ─────────────────────────────────────────── */
.dc-trust-bar {
  background: #fff;
  border-bottom: 1px solid #ede3f7;
  padding: 16px 0;
  box-shadow: 0 2px 12px rgba(123,77,154,.06);
}
.trust-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  padding: 8px 12px;
}
.trust-pill .t-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--dc-purple-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.trust-pill .t-text { font-size: .85rem; line-height: 1.3; }
.trust-pill .t-label { font-weight: 700; color: var(--dc-dark); display: block; }
.trust-pill .t-sub { color: var(--dc-muted); }

/* ── 8. Photo Service Cards ───────────────────────────────── */
.svc-photo-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow .25s, transform .25s;
  background: #fff;
  height: 100%;
}
.svc-photo-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.svc-photo-card .card-thumb {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.svc-photo-card .card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.svc-photo-card:hover .card-thumb img { transform: scale(1.05); }
.svc-photo-card .card-thumb .card-cat {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--dc-purple);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.svc-photo-card .card-body-dc {
  padding: 20px 22px 22px;
}
.svc-photo-card .card-body-dc h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dc-dark);
  margin-bottom: 8px;
}
.svc-photo-card .card-body-dc p {
  font-size: .9rem;
  color: var(--dc-muted);
  margin: 0;
}
.svc-photo-card .card-body-dc .card-tag {
  display: inline-block;
  margin-top: 12px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--dc-cyan-dark);
  text-decoration: none;
  letter-spacing: .02em;
}
.svc-photo-card .card-body-dc .card-tag::after { content: ' →'; }

/* ── 9. Feature Strip Cards (highlight cards without image) ── */
.feature-card {
  border-left: 4px solid var(--dc-purple);
  background: #fff;
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  padding: 22px 22px 22px 20px;
  box-shadow: var(--shadow-card);
  height: 100%;
}
.feature-card h5 { font-size: 1rem; font-weight: 700; color: var(--dc-dark); margin-bottom: 8px; }
.feature-card p  { font-size: .88rem; color: var(--dc-muted); margin: 0; }

/* ── 10. Testimonial Cards ────────────────────────────────── */
.dc-testimonial {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
  border-top: 4px solid var(--dc-cyan);
  height: 100%;
  transition: box-shadow .2s;
}
.dc-testimonial:hover { box-shadow: var(--shadow-hover); }
.dc-testimonial .stars { color: #f59e0b; font-size: 1.05rem; margin-bottom: 12px; letter-spacing: .1em; }
.dc-testimonial blockquote {
  font-size: .95rem;
  line-height: 1.7;
  color: var(--dc-text);
  font-style: italic;
  margin: 0 0 16px;
  position: relative;
}
.dc-testimonial blockquote::before {
  content: '\201C';
  font-size: 3rem;
  color: var(--dc-purple-light);
  line-height: 0;
  vertical-align: -0.65em;
  margin-right: 4px;
  font-style: normal;
}
.dc-testimonial .reviewer-name {
  font-weight: 700;
  color: var(--dc-purple-dark);
  font-size: .88rem;
}
.dc-testimonial .reviewer-loc {
  font-size: .82rem;
  color: var(--dc-muted);
}

/* ── 11. Steps (3-step process) ───────────────────────────── */
.step-block {
  text-align: center;
  padding: 20px;
  position: relative;
}
.step-num {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--grad-cta);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 4px 16px rgba(123,77,154,.3);
}
.step-block h5 { font-weight: 700; color: var(--dc-dark); margin-bottom: 8px; }
.step-block p  { font-size: .9rem; color: var(--dc-muted); }

/* ── 12. Section Backgrounds ──────────────────────────────── */
.dc-section { padding: 72px 0; }
.dc-section-sm { padding: 48px 0; }
.dc-bg-soft   { background: var(--dc-bg-soft); }
.dc-bg-grad   { background: var(--grad-soft); }
.dc-bg-dark   { background: var(--dc-dark); }
.dc-bg-purple { background: var(--dc-purple-deeper); }

/* ── 13. CTA Banner ───────────────────────────────────────── */
.dc-cta-banner {
  background: var(--grad-cta);
  padding: 56px 0;
  text-align: center;
}
.dc-cta-banner h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; margin-bottom: 12px; }
.dc-cta-banner p  { color: rgba(255,255,255,.88); font-size: 1.05rem; margin-bottom: 28px; }
.btn-dc-white {
  background: #fff;
  color: var(--dc-purple-dark);
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  margin: 5px;
  display: inline-block;
  transition: all .2s;
}
.btn-dc-white:hover { background: var(--dc-purple-xlight); color: var(--dc-purple-dark); }
.btn-dc-cyan {
  background: var(--dc-cyan);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  margin: 5px;
  display: inline-block;
  transition: all .2s;
  border: none;
}
.btn-dc-cyan:hover { background: var(--dc-cyan-dark); color: #fff; }
.btn-dc-purple {
  background: var(--dc-purple);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: all .2s;
  border: none;
}
.btn-dc-purple:hover { background: var(--dc-purple-dark); color: #fff; }
.btn-dc-outline {
  background: transparent;
  color: var(--dc-purple);
  font-weight: 700;
  font-size: 1rem;
  padding: 11px 26px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  border: 2px solid var(--dc-purple);
  transition: all .2s;
}
.btn-dc-outline:hover { background: var(--dc-purple); color: #fff; }

/* ── 14. Service Area Badges ──────────────────────────────── */
.dc-area-badge {
  display: inline-block;
  background: var(--dc-purple-light);
  color: var(--dc-purple-dark);
  font-size: .85rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  margin: 4px;
  border: 1px solid var(--dc-purple);
}

/* ── 15. Modern Footer ────────────────────────────────────── */
.dc-footer {
  background: var(--dc-dark);
  color: #9ca3af;
  padding: 60px 0 0;
}
.dc-footer h5 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.dc-footer a { color: #9ca3af; text-decoration: none; transition: color .2s; }
.dc-footer a:hover { color: var(--dc-cyan); }
.dc-footer .footer-logo { max-height: 60px; margin-bottom: 16px; }
.dc-footer .footer-desc { font-size: .88rem; line-height: 1.65; max-width: 280px; }
.dc-footer .footer-link-list { list-style: none; padding: 0; margin: 0; }
.dc-footer .footer-link-list li { padding: 4px 0; font-size: .9rem; }
.dc-footer .footer-contact-item { display: flex; gap: 10px; margin-bottom: 10px; font-size: .9rem; align-items: flex-start; }
.dc-footer .fc-label { color: var(--dc-cyan); font-weight: 700; flex-shrink: 0; min-width: 60px; }
.dc-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 40px;
  padding: 16px 0;
  font-size: .82rem;
  text-align: center;
}
.dc-footer .social-link {
  display: inline-flex;
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin: 0 4px;
  color: #9ca3af;
  font-size: .9rem;
  text-decoration: none;
  transition: all .2s;
}
.dc-footer .social-link:hover { background: var(--dc-purple); color: #fff; }

/* ── 16. About page specifics ─────────────────────────────── */
.owner-card {
  background: var(--grad-soft);
  border-radius: var(--radius-card);
  padding: 36px;
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}
.owner-card img { border-radius: var(--radius-card); max-width: 280px; box-shadow: var(--shadow-hover); }
.owner-card .owner-info h3 { color: var(--dc-purple-dark); font-weight: 800; margin-bottom: 4px; }
.owner-card .owner-info .owner-title { color: var(--dc-cyan-dark); font-weight: 600; margin-bottom: 16px; font-size: .95rem; }

/* ── 17. Stats row ────────────────────────────────────────── */
.stat-item { text-align: center; padding: 16px; }
.stat-num { font-size: 2.4rem; font-weight: 900; color: var(--dc-purple); line-height: 1; display: block; }
.stat-label { font-size: .85rem; color: var(--dc-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }

/* ── 18. Checklist ────────────────────────────────────────── */
.dc-checklist { list-style: none; padding: 0; margin: 0; }
.dc-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #ede3f7;
  font-size: .97rem;
}
.dc-checklist li:last-child { border-bottom: none; }
.dc-checklist .chk {
  width: 22px; height: 22px;
  background: var(--dc-purple);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── 19. Responsive ───────────────────────────────────────── */
@media (max-width: 992px) {
  .dc-navbar .nav-link { padding: 10px 14px !important; border-bottom: none; }
  .dc-navbar .btn-nav-cta { margin-left: 0; margin-top: 6px; }
  .owner-card { flex-direction: column; }
  .owner-card img { max-width: 100%; }
}
@media (max-width: 768px) {
  .dc-hero   { padding: 50px 0 40px; min-height: auto; }
  .dc-section { padding: 48px 0; }
  .dc-hero h1 { font-size: 1.8rem; }
  .svc-photo-card .card-thumb { height: 170px; }
  .dc-cta-banner { padding: 40px 0; }
}

/* ── 20. Override old template remnants ───────────────────── */
.as-mainwrapper { overflow: hidden; }
.header-logo-menu,
.mobile-menu-area { display: none !important; }
