/* =============================================
   CA Caring Group – Stylesheet
   Aesthetic: Warm, organic, editorial trust
   ============================================= */

:root {
  --cream: #f9f5ef;
  --warm-white: #fdfaf6;
  --forest: #1e3a2f;
  --forest-mid: #2d5440;
  --moss: #4a7c59;
  --sage: #8ab89a;
  --sage-light: #c5deca;
  --amber: #e8a444;
  --amber-light: #f5c97a;
  --charcoal: #1a1a1a;
  --text: #2e2e2e;
  --text-light: #666;
  --border: #e0d8cc;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(30, 58, 47, 0.08);
  --shadow-lg: 0 12px 48px rgba(30, 58, 47, 0.14);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--warm-white);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---- UTILITIES ---- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
  background: var(--sage-light);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.section-tag.light {
  color: var(--sage-light);
  background: rgba(138, 184, 154, 0.15);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--forest);
  margin-bottom: 20px;
}
.section-title.light { color: var(--cream); }
.section-title em { font-style: italic; color: var(--amber); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-sub { color: var(--text-light); font-size: 1.05rem; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
}
.btn-primary {
  background: var(--forest);
  color: #fff;
  box-shadow: 0 4px 16px rgba(30, 58, 47, 0.25);
}
.btn-primary:hover {
  background: var(--forest-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 58, 47, 0.3);
}
.btn-ghost {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid var(--forest);
}
.btn-ghost:hover {
  background: var(--forest);
  color: #fff;
}
.full-width { width: 100%; justify-content: center; border-radius: var(--radius-sm); }

/* ---- NAV ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 40px;
  background: rgba(253, 250, 246, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
.nav.scrolled {
  border-bottom-color: var(--border);
  padding: 14px 40px;
  box-shadow: var(--shadow);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--forest);
  text-decoration: none;
}
.nav-links {
  display: flex; align-items: center; gap: 36px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 400;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--forest); }
.nav-links .nav-cta {
  background: var(--forest);
  color: #fff !important;
  padding: 9px 22px;
  border-radius: 100px;
  font-weight: 500;
  transition: all 0.2s;
}
.nav-links .nav-cta:hover {
  background: var(--forest-mid);
  transform: translateY(-1px);
}
.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--forest);
  transition: all 0.3s;
  border-radius: 2px;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
  background: var(--cream);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}
.blob-1 {
  width: 600px; height: 600px;
  background: var(--sage-light);
  top: -200px; right: -150px;
  animation: drift 12s ease-in-out infinite alternate;
}
.blob-2 {
  width: 400px; height: 400px;
  background: var(--amber-light);
  bottom: -100px; left: -100px;
  animation: drift 16s ease-in-out infinite alternate-reverse;
}
.blob-3 {
  width: 300px; height: 300px;
  background: var(--sage);
  top: 50%; left: 30%;
  animation: drift 10s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(30px, 20px) scale(1.05); }
}
.hero-content { position: relative; z-index: 1; max-width: 740px; }
.hero-tag {
  display: inline-block;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(74, 124, 89, 0.12);
  color: var(--moss);
  padding: 6px 16px; border-radius: 100px;
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--forest);
  margin-bottom: 24px;
}
.hero-title em {
  font-style: italic;
  color: var(--amber);
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 60px;
}
.hero-card {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 40px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 40px;
  box-shadow: var(--shadow);
  margin-top: 20px;
}
.hero-stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700;
  color: var(--forest);
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-light);
}
.hero-divider {
  width: 1px; height: 40px;
  background: var(--border);
}
.scroll-hint {
  position: absolute; bottom: 32px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-decoration: none;
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-light);
  animation: bob 2s ease-in-out infinite;
}
.scroll-arrow {
  width: 20px; height: 20px;
  border-right: 2px solid var(--sage);
  border-bottom: 2px solid var(--sage);
  transform: rotate(45deg);
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ---- ANIMATE ON SCROLL ---- */
.animate {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* ---- ABOUT ---- */
.about { background: var(--warm-white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-visual {
  position: relative;
  min-height: 380px;
}
.about-card-main {
  background: var(--forest);
  color: #fff;
  border-radius: var(--radius);
  padding: 40px;
  position: relative;
}
.about-icon { font-size: 2rem; margin-bottom: 16px; }
.about-card-main p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 20px;
}
.about-card-tag {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
}
.about-card-accent {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  display: flex; align-items: center; gap: 10px;
  font-size: 0.85rem; font-weight: 500;
  color: var(--forest);
  box-shadow: var(--shadow);
  white-space: nowrap;
}
.about-card-accent { bottom: -20px; right: -20px; }
.about-card-accent.accent-2 { bottom: 50px; left: -24px; top: auto; }
.accent-emoji { font-size: 1.2rem; }
.about-text p { color: var(--text-light); margin-bottom: 18px; }
.about-text strong { color: var(--forest); }

/* ---- SERVICES ---- */
.services { background: var(--forest); }
.services .section-header h2 { color: var(--cream); }
.services .section-sub { color: var(--sage-light); opacity: 0.85; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.service-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
  transition: all 0.3s ease;
  color: var(--cream);
}
.service-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}
.service-card.featured {
  border-color: var(--amber);
  background: rgba(232, 164, 68, 0.08);
}
.service-icon { font-size: 2rem; margin-bottom: 16px; }
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #fff;
}
.service-card p { font-size: 0.9rem; color: var(--sage-light); margin-bottom: 20px; line-height: 1.6; }
.service-list { list-style: none; }
.service-list li {
  font-size: 0.85rem;
  color: var(--sage-light);
  padding: 5px 0;
  padding-left: 16px;
  position: relative;
}
.service-list li::before {
  content: '→';
  position: absolute; left: 0;
  color: var(--amber);
}
.service-badge {
  position: absolute; top: 20px; right: 20px;
  background: var(--amber);
  color: var(--forest);
  font-size: 0.7rem; font-weight: 600;
  padding: 4px 12px; border-radius: 100px;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.pricing-note {
  text-align: center;
  color: var(--sage-light);
  font-size: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
}
.pricing-note strong { color: var(--amber-light); }

/* ---- WHY US ---- */
.why { background: var(--cream); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.why-text p { color: var(--text-light); margin-bottom: 32px; }
.why-list { display: flex; flex-direction: column; gap: 24px; }
.why-item {
  display: flex; gap: 16px; align-items: flex-start;
}
.why-check {
  min-width: 32px; height: 32px;
  background: var(--forest);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 600;
  margin-top: 2px;
}
.why-item strong { display: block; font-size: 1rem; color: var(--forest); margin-bottom: 4px; }
.why-item p { color: var(--text-light); font-size: 0.9rem; margin: 0; }
.who-card, .partner-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.who-card h4, .partner-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--forest);
  margin-bottom: 16px;
}
.who-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.who-tags span {
  background: var(--sage-light);
  color: var(--forest);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.82rem;
}
.partner-card ul { list-style: none; }
.partner-card li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text);
}
.partner-card li:last-child { border-bottom: none; }

/* ---- CONTACT ---- */
.contact { background: var(--forest-mid); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}
.contact-text p { color: rgba(255,255,255,0.7); margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 12px; }
.contact-item {
  display: flex; align-items: center; gap: 12px;
  color: var(--sage-light);
  font-size: 0.95rem;
}
.contact-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group label { font-size: 0.82rem; font-weight: 500; color: var(--text); letter-spacing: 0.03em; }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--warm-white);
  transition: border-color 0.2s;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--forest);
  background: #fff;
}
.form-note { text-align: center; font-size: 0.8rem; color: var(--text-light); margin-top: 12px; }

/* ---- FOOTER ---- */
.footer {
  background: var(--forest);
  padding: 48px 0 24px;
  color: var(--sage-light);
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 40px;
  flex-wrap: wrap; gap: 24px;
}
.footer-logo {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}
.footer-brand p { font-size: 0.85rem; max-width: 300px; opacity: 0.75; }
.footer-links {
  display: flex; gap: 28px; flex-wrap: wrap;
}
.footer-links a {
  text-decoration: none;
  color: var(--sage-light);
  font-size: 0.9rem;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.footer-links a:hover { opacity: 1; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.5;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .about-grid, .why-grid, .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-card { flex-wrap: wrap; gap: 24px; padding: 24px; }
  .hero-divider { display: none; }
  .about-card-accent { display: none; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .nav { padding: 16px 20px; }
  .nav-links { display: none; flex-direction: column; position: fixed; inset: 0; top: 64px; background: var(--warm-white); padding: 40px; gap: 24px; z-index: 99; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .section { padding: 72px 0; }
  .hero-actions { flex-direction: column; align-items: center; }
  .contact-form { padding: 28px 20px; }
  .footer-inner { flex-direction: column; }
}
