:root {
  --carebee-dark: #09090b;
  --carebee-ink: #151515;
  --carebee-yellow: #f7c948;
  --carebee-green: #18a85d;
  --carebee-red: #c52626;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
}

img {
  max-width: 100%;
}

.site-footer,
.floating-actions {
  font-family: Arial, Helvetica, sans-serif;
}

.site-footer {
  position: relative;
  z-index: 40;
  background: #080808;
  color: #f7f7f7;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 44px 20px 18px;
}

.footer-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(150px, 1fr));
  gap: 28px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 1.55rem;
  font-weight: 800;
  text-decoration: none;
}

.footer-logo-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--carebee-yellow);
  color: var(--carebee-ink);
  font-weight: 900;
}

.footer-about {
  max-width: 320px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.7;
}

.footer-heading {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-list a,
.footer-contact {
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
  line-height: 1.5;
}

.footer-list a:hover,
.footer-contact:hover {
  color: #ffffff;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.social-link,
.floating-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.social-link {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.social-link:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.16);
}

.footer-bottom {
  width: min(1120px, 100%);
  margin: 30px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  text-align: center;
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: grid;
  gap: 10px;
}

.floating-btn {
  min-height: 46px;
  gap: 8px;
  padding: 0 15px;
  border-radius: 999px;
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
  font-weight: 800;
  line-height: 1;
}

.floating-btn svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
  flex: 0 0 auto;
}

.floating-btn.whatsapp {
  background: var(--carebee-green);
}

.floating-btn.call {
  background: var(--carebee-red);
}

.form-status {
  min-height: 1.25rem;
  margin: 12px 0 0;
  color: #4b5563;
  font-size: 0.92rem;
  line-height: 1.4;
}

.form-status.success {
  color: #0f7a3b;
}

.form-status.error {
  color: #b42318;
}

.legal-page {
  position: relative;
  z-index: 10;
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 124px 0 56px;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
}

body.about-page-body,
body.services-page-body,
body.caregiver-page-body {
  height: auto;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
}

.about-page-body .background {
  position: fixed;
}

.about-page-body .about-hero {
  position: relative;
  top: auto;
  left: auto;
  width: min(92vw, 620px);
  margin: 6.5rem auto 3rem;
}

.services-page-body .services-hero {
  max-height: none;
  overflow: visible;
  padding-bottom: 2rem;
}

.caregiver-page-body .site-footer {
  margin-top: 24px;
}

.legal-card {
  background: rgba(255, 255, 255, 0.94);
  color: #171717;
  border-radius: 8px;
  padding: clamp(22px, 4vw, 40px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.legal-card h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 5vw, 3rem);
}

.legal-card h2 {
  margin: 28px 0 8px;
}

.legal-card p,
.legal-card li {
  line-height: 1.7;
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .site-footer {
    padding-bottom: 96px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .floating-actions {
    left: 12px;
    right: 12px;
    bottom: 12px;
    grid-template-columns: 1fr 1fr;
  }

  .floating-btn {
    min-height: 44px;
    padding: 0 12px;
    font-size: 0.9rem;
  }
}
