/* =============================================
   CARING HEART ADULT SERVICES — STYLESHEET
   Palette: Cream / Deep Burgundy / Warm Gold
   Fonts: Playfair Display + DM Sans
============================================= */

:root {
  --burgundy: #8B1A1A;
  --burgundy-dark: #5C0F0F;
  --burgundy-light: #B5312C;
  --cream: #F8F3E8;
  --cream-dark: #EDE4D0;
  --gold: #C49A3C;
  --gold-light: #E8C96A;
  --charcoal: #1C1C1C;
  --warm-gray: #6B6056;
  --white: #FFFFFF;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --font-accent: 'Cormorant Garamond', Georgia, serif;

  --radius: 4px;
  --radius-lg: 12px;
  --shadow: 0 4px 24px rgba(139,26,26,0.08);
  --shadow-lg: 0 12px 48px rgba(139,26,26,0.14);
  --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background-color: var(--white);
  color: var(--charcoal);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---- UTILITIES ---- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.section-eyebrow.light { color: var(--gold-light); }

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--burgundy-dark);
  margin-bottom: 1.25rem;
}
.section-headline.light { color: var(--white); }

.section-sub {
  font-size: 1.05rem;
  color: var(--warm-gray);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.75;
}
.section-sub.light { color: rgba(255,255,255,0.75); }

.section-header { text-align: center; margin-bottom: 4rem; }

.body-copy {
  font-size: 1rem;
  color: var(--warm-gray);
  line-height: 1.8;
}
.body-copy.light { color: rgba(255,255,255,0.78); }

.divider-line {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 2rem 0;
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-block;
  background: var(--burgundy);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  border-radius: var(--radius);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.btn-primary:hover {
  background: var(--burgundy-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139,26,26,0.3);
}
.btn-primary.light { background: var(--white); color: var(--burgundy); }
.btn-primary.light:hover { background: var(--cream); }
.btn-primary.full-width { width: 100%; text-align: center; }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--burgundy);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  border-radius: var(--radius);
  text-decoration: none;
  border: 2px solid var(--burgundy);
  transition: var(--transition);
}
.btn-ghost:hover {
  background: var(--burgundy);
  color: var(--white);
  transform: translateY(-2px);
}

/* ---- ANIMATIONS ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.delay-1 { animation-delay: 0.18s; }
.delay-2 { animation-delay: 0.36s; }
.delay-3 { animation-delay: 0.54s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.scroll-reveal.delay-1 { transition-delay: 0.15s; }
.scroll-reveal.delay-2 { transition-delay: 0.3s; }

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(248,243,232,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(139,26,26,0.1);
  transition: var(--transition);
}
.nav.scrolled {
  box-shadow: 0 2px 20px rgba(139,26,26,0.1);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.site-logo {
  width: 150px;
  height: auto;
  object-fit: contain;
}
.logo-chas {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--burgundy);
  letter-spacing: 0.06em;
}
.logo-full {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-gray);
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--charcoal);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--burgundy); }
.nav-cta {
  background: var(--burgundy) !important;
  color: var(--white) !important;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius);
  transition: var(--transition) !important;
}
.nav-cta:hover { background: var(--burgundy-dark) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--burgundy);
  border-radius: 2px;
  transition: var(--transition);
}

/* MOBILE MENU */
.mobile-menu {
  display: none;
  position: fixed;
  top: 65px; left: 0; right: 0;
  background: var(--cream);
  border-bottom: 2px solid var(--burgundy);
  z-index: 999;
  padding: 1.5rem 2rem;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu ul { list-style: none; }
.mobile-menu li { border-bottom: 1px solid var(--cream-dark); }
.mobile-menu a {
  display: block;
  padding: 1rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--charcoal);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  background: var(--cream);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 8rem 2rem 5rem;
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
}
.hero-bg-texture {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%238B1A1A' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}
.hero-content { position: relative; z-index: 1; }
.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--burgundy-dark);
  margin-bottom: 1.5rem;
}
.hero-headline em {
  font-style: italic;
  color: var(--burgundy-light);
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--warm-gray);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-image-wrap {
  position: relative;
  z-index: 1;
}
.hero-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
}
.hero-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--burgundy);
  color: var(--white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.badge-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}
.badge-label {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* ---- MARQUEE ---- */
.marquee-strip {
  background: var(--burgundy);
  color: var(--white);
  padding: 0.9rem 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.marquee-track {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.marquee-track span {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.marquee-track .dot { color: var(--gold-light); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---- MISSION ---- */
.mission {
  padding: 7rem 0;
  background: var(--white);
}
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}
.mission-image-col { position: relative; }
.mission-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
}
.mission-quote-card {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  background: var(--cream);
  border-left: 4px solid var(--gold);
  padding: 1.5rem 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 260px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--burgundy-dark);
}

/* ---- SERVICES ---- */
.services {
  padding: 7rem 0;
  background: var(--cream);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  border-top: 3px solid transparent;
  transition: var(--transition);
}
.service-card:hover {
  border-top-color: var(--burgundy);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-icon { font-size: 2rem; margin-bottom: 1rem; }
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--burgundy-dark);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.service-card p {
  font-size: 0.92rem;
  color: var(--warm-gray);
  line-height: 1.7;
}
.service-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--burgundy);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: var(--transition);
}
.service-link:hover { color: var(--gold); }

/* ---- CDS SECTION ---- */
.cds-section {
  padding: 7rem 0;
  background: var(--burgundy-dark);
  position: relative;
  overflow: hidden;
}
.cds-bg-texture {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.cds-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-bottom: 4rem;
}
.cds-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.6;
  line-height: 1;
  flex-shrink: 0;
  min-width: 60px;
}
.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.step-content p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
}
.cds-callout {
  text-align: center;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 3rem;
}
.cds-callout p {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.cds-callout strong { color: var(--gold-light); }

/* ---- ELIGIBILITY ---- */
.eligibility {
  padding: 7rem 0;
  background: var(--cream);
}
.eligibility-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.eligibility-list {
  list-style: none;
  margin: 1.5rem 0;
}
.eligibility-list li {
  padding: 0.75rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.97rem;
  color: var(--charcoal);
  border-bottom: 1px solid var(--cream-dark);
}
.eligibility-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--burgundy);
  font-weight: 700;
}
.eligibility-image-col { position: relative; }
.eligibility-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
}
.cert-card {
  margin-top: 2rem;
  background: var(--white);
  border-left: 4px solid var(--gold);
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.cert-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--burgundy);
  margin-bottom: 0.5rem;
}
.cert-body {
  font-size: 0.9rem;
  color: var(--warm-gray);
  line-height: 1.65;
}

/* ---- ADC DETAIL ---- */
.adc-detail {
  padding: 7rem 0;
  background: var(--white);
}
.adc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.adc-item {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--cream);
  transition: var(--transition);
}
.adc-item:hover {
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.adc-icon { font-size: 2rem; margin-bottom: 1rem; display: block; }
.adc-item h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--burgundy-dark);
  margin-bottom: 0.6rem;
}
.adc-item p {
  font-size: 0.9rem;
  color: var(--warm-gray);
  line-height: 1.7;
}

/* ---- CONTACT ---- */
.contact {
  padding: 7rem 0;
  background: var(--burgundy-dark);
  position: relative;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}
.contact-details { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.contact-item strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.25rem;
}
.contact-item p, .contact-item a {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  line-height: 1.5;
}
.contact-item a:hover { color: var(--white); }

/* FORM */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}
.contact-form h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--burgundy-dark);
  margin-bottom: 2rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--cream);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--burgundy);
  background: var(--white);
}
.form-group textarea { resize: vertical; }
.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--warm-gray);
  margin-top: 0.75rem;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.6);
  padding: 4rem 0 2rem;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.footer-brand .logo-chas {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--burgundy-light);
}
.footer-logo {
  width: 190px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin-bottom: 0.5rem;
}
.footer-tagline {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.75rem;
}
.footer-brand p {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--gold);
  margin-top: 0.5rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.05em;
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.8;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 7rem 1.5rem 4rem; gap: 3rem; }
  .hero-image-wrap { display: none; }
  .mission-grid,
  .eligibility-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .services-grid,
  .adc-grid { grid-template-columns: 1fr 1fr; }
  .cds-steps { grid-template-columns: 1fr; }
  .mission-quote-card { right: 0; bottom: -1.5rem; }
  .hero-badge { left: 0; bottom: -1rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
}

@media (max-width: 580px) {
  .services-grid,
  .adc-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-ghost { text-align: center; }
  .contact-form-wrap { padding: 2rem 1.5rem; }
  .cds-callout { padding: 2rem 1.5rem; }
}
