/* ═══════════════════════════════════════════════════════════════
   HOME PAGE — NEW DESIGN  (node 219-985)
   Font: Inter via Google Fonts
   Colors: #e89882 coral | #f28b71 salmon | #99d1c1 mint
═══════════════════════════════════════════════════════════════ */

/* ── Base reset for this page ── */
body.hn-page {
  font-family: 'Inter', sans-serif;
  color: #111827;
  margin: 0;
  padding: 0;
  background: #fff;
}

/* ═══════════════════ NAVIGATION (transparent overlay on hero) ═══════════════════ */
.hn-nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 48px;
}
.hn-nav .navbar {
  padding: 0;
  background: transparent !important;
}
.hn-nav .navbar-brand img {
  height: 44px;
  filter: brightness(0) invert(1); /* white logo on dark hero */
}
.hn-nav .nav-link {
  color: rgba(255,255,255,0.95) !important;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.35px;
  padding: 0 0 !important;
  margin: 0 16px;
  transition: color 0.2s;
}
.hn-nav .nav-link:hover,
.hn-nav .nav-link.active { color: #e89882 !important; }
.hn-nav .nav-link.active { border-bottom: 2px solid #e89882; padding-bottom: 2px !important; }
.hn-nav .navbar-toggler { border-color: rgba(255,255,255,0.5); }
.hn-nav .navbar-toggler-icon {
  filter: brightness(0) invert(1);
}
.hn-nav .dropdown-menu {
  background: rgba(17,24,39,0.95);
  border: none;
  border-radius: 8px;
}
.hn-nav .dropdown-item { color: rgba(255,255,255,0.85); font-size: 14px; }
.hn-nav .dropdown-item:hover { background: rgba(255,255,255,0.1); color: #e89882; }
.hn-nav-login {
  background: #e89882;
  border: none;
  border-radius: 9999px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 28px;
  cursor: pointer;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
}
.hn-nav-login:hover { background: #d97b6a; color: #fff; text-decoration: none; }

/* ═══════════════════ HERO ═══════════════════ */
.hn-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0f172a;
}
.hn-hero-image {
  position: absolute;
  inset: 0;
  background-image: url('../img/home/hero-bg.png');
  background-size: cover;
  background-position: center top;
  opacity: 0.75;
}
.hn-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 48px 120px;
  max-width: 800px;
  padding-top: 160px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hn-hero-title {
  font-size: clamp(42px, 5.6vw, 72px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -1.44px;
  line-height: 1.05;
  margin: 0;
}
.hn-hero-sub {
  font-size: clamp(16px, 1.9vw, 24px);
  font-weight: 300;
  color: rgba(255,255,255,0.92);
  line-height: 1.4;
  margin: 0;
  max-width: 640px;
}
.hn-hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 16px;
}
.hn-btn-white {
  background: #fff;
  color: #e89882;
  font-weight: 700;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  padding: 16px 32px;
  cursor: pointer;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  text-decoration: none;
  transition: transform 0.2s;
  font-family: inherit;
}
.hn-btn-white:hover { transform: translateY(-2px); color: #d97b6a; text-decoration: none; }
.hn-btn-coral {
  background: #e89882;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  padding: 16px 32px;
  cursor: pointer;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  text-decoration: none;
  transition: background 0.2s;
  font-family: inherit;
}
.hn-btn-coral:hover { background: #d97b6a; color: #fff; text-decoration: none; }

/* Slider dots */
.hn-dots {
  position: absolute;
  bottom: 68px;
  right: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}
.hn-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
}
.hn-dot-active {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #e89882;
  box-shadow: 0 0 0 4px rgba(232,152,130,0.35);
}

/* ═══════════════════ SERVICES — Pillars of Care ═══════════════════ */
.hn-services {
  padding: 96px 48px;
  background: #fff;
}
.hn-section-label {
  font-size: 14px;
  font-weight: 700;
  color: #4b5563;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.hn-section-heading {
  font-size: clamp(32px, 3.75vw, 48px);
  font-weight: 700;
  color: #f28b71;
  margin: 0;
  line-height: 1;
}
.hn-section-heading-dark {
  color: #111827;
}
.hn-section-desc {
  font-size: 18px;
  color: #4b5563;
  line-height: 1.65;
  max-width: 420px;
  margin: 0;
}
.hn-service-card {
  position: relative;
  height: 450px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  display: block;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
}
.hn-service-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.18), 0 8px 10px -6px rgba(0,0,0,0.12);
  transform: translateY(-3px);
  text-decoration: none;
}
.hn-service-card img.hn-card-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hn-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
}
.hn-card-overlay-teal {
  position: absolute;
  inset: 0;
  background: rgba(19,78,74,0.6);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
}
.hn-service-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.33;
}
.hn-service-card p {
  font-size: 14px;
  color: #e5e7eb;
  margin: 0 0 16px;
  line-height: 1.625;
}
.hn-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}
.hn-card-link:hover { color: #99d1c1; text-decoration: none; }
.hn-card-link svg { width: 16px; height: 16px; }

/* ═══════════════════ MISSION SECTION ═══════════════════ */
.hn-mission {
  display: flex;
  min-height: 600px;
}
.hn-mission-left {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #f3f4f6;
}
.hn-mission-left img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hn-mission-stats {
  position: absolute;
  bottom: 40px;
  left: 32px;
  display: flex;
  align-items: center;
  gap: 0;
}
.hn-stat {
  text-align: center;
  padding: 16px 32px 16px 0;
}
.hn-stat-num {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  display: block;
}
.hn-stat-label {
  font-size: 18px;
  color: #fff;
  display: block;
  margin-top: 4px;
}
.hn-stat-divider {
  width: 1px;
  height: 64px;
  background: #9ca3af;
  margin: 0 32px;
}
.hn-mission-right {
  flex: 1;
  background: #99d1c1;
  padding: 96px;
  display: flex;
  align-items: center;
}
.hn-mission-right-inner {
  max-width: 512px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hn-mission-label {
  font-size: 14px;
  font-weight: 700;
  color: #1f2937;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.hn-mission-title {
  font-size: clamp(32px, 3.75vw, 48px);
  font-weight: 700;
  color: #111827;
  line-height: 1;
  margin: 0;
}
.hn-mission-body {
  font-size: 18px;
  color: #1f2937;
  line-height: 1.625;
  margin: 16px 0 0;
}
.hn-mission-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
}
.hn-mission-cta span {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
}
.hn-mission-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  background: #fff;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s;
  color: #111827;
}
.hn-mission-cta-btn:hover { transform: scale(1.1); color: #111827; text-decoration: none; }
.hn-mission-cta-btn svg { width: 24px; height: 24px; }

/* ═══════════════════ TESTIMONIALS ═══════════════════ */
.hn-testimonials {
  padding: 96px 48px;
  background: #fff;
}
.hn-story-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.1), 0px 4px 6px -4px rgba(0,0,0,0.1);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
}
.hn-story-card:hover {
  box-shadow: 0px 20px 25px -5px rgba(0,0,0,0.15), 0px 8px 10px -6px rgba(0,0,0,0.1);
  transform: translateY(-2px);
  text-decoration: none;
  color: inherit;
}
.hn-story-img {
  height: 300px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.hn-story-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hn-story-meta {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  flex: 1;
}
.hn-story-icon {
  background: #99d1c1;
  border-radius: 50%;
  width: 40px; height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}
.hn-story-icon svg { width: 16px; height: 16px; color: #fff; }
.hn-story-title {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.55;
  margin: 0;
}
.hn-btn-salmon {
  background: #f28b71;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 12px 32px;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  transition: background 0.2s;
}
.hn-btn-salmon:hover { background: #e07a5f; color: #fff; text-decoration: none; }

/* ═══════════════════ CTA SECTION ═══════════════════ */
.hn-cta-section {
  position: relative;
  background: #99d1c1;
  padding: 96px 256px;
  text-align: center;
  overflow: hidden;
}
/* Abstract wave decorations - semicircles at bottom */
.hn-cta-circle {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 9999px 9999px 0 0;
  background: #fff;
  pointer-events: none;
}
/* CTA inner content: flex col with 16px gap matching Figma */
.hn-cta-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 768px;
  margin: 0 auto;
}
.hn-cta-label {
  font-size: 14px;
  font-weight: 700;
  color: #1f2937;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin: 0;
}
.hn-cta-title {
  font-size: 60px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin: 0;
}
.hn-cta-body {
  font-size: 18px;
  color: #1f2937;
  line-height: calc(28/18);
  max-width: 672px;
  margin: 0;
  padding-top: 16px;
  text-align: center;
}
/* Contact button: stacked icon then label */
.hn-cta-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 32px;
  text-decoration: none;
}
.hn-cta-contact-icon {
  width: 48px;
  height: 48px;
  display: block;
  margin-bottom: 16px;
}
.hn-cta-contact-label {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  text-decoration: none;
}
.hn-cta-contact:hover .hn-cta-contact-label { color: #fff; text-decoration: none; }

/* ═══════════════════ FOOTER ═══════════════════ */
.hn-footer {
  background: #fff;
  padding: 64px 48px 32px;
}
.hn-footer-top {
  display: flex;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #f3f4f6;
  flex-wrap: wrap;
}
.hn-footer-col { flex: 1; min-width: 160px; }
.hn-footer-logo { height: 48px; margin-bottom: 20px; }
.hn-footer-desc {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.625;
  margin: 0 0 20px;
}
.hn-footer-socials {
  display: flex;
  gap: 12px;
  align-items: center;
}
.hn-footer-social-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #e6f5f1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #99d1c1;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s;
}
.hn-footer-social-btn:hover { background: #99d1c1; color: #fff; text-decoration: none; }
.hn-footer-heading {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 24px;
}
.hn-footer-links {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hn-footer-links a {
  font-size: 16px;
  color: #4b5563;
  text-decoration: none;
  transition: color 0.2s;
}
.hn-footer-links a:hover { color: #111827; }
.hn-footer-newsletter-input {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 15px 13px;
  font-size: 16px;
  color: #111827;
  font-family: 'Inter', sans-serif;
  outline: none;
  margin-bottom: 16px;
  transition: border-color 0.2s;
}
.hn-footer-newsletter-input:focus { border-color: #99d1c1; }
.hn-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  flex-wrap: wrap;
  gap: 12px;
}
.hn-footer-copy {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}
.hn-footer-legal {
  display: flex;
  gap: 24px;
}
.hn-footer-legal a {
  font-size: 14px;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s;
}
.hn-footer-legal a:hover { color: #111827; }

/* ═══════════════════ RESPONSIVE ═══════════════════ */
@media (max-width: 1280px) {
  .hn-cta-section { padding: 96px 96px; }
  .hn-cta-title { font-size: 48px; }
}
@media (max-width: 991px) {
  .hn-nav { padding: 16px 24px; }
  /* Mobile navigation - match other pages approach */
  .hn-nav .navbar-toggler {
    border: 2px solid #F1A501;
    padding: 5px;
    background: transparent;
  }
  .hn-nav .navbar-toggler-icon {
    filter: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23fff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
  .hn-nav .navbar-collapse {
    background: rgba(17,24,39,0.98);
    margin-top: 16px;
    border-radius: 12px;
    padding: 16px;
  }
  .hn-nav .navbar-nav {
    gap: 0;
  }
  .hn-nav .nav-link {
    margin: 0 !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .hn-nav .nav-item:last-child .nav-link {
    border-bottom: none;
  }
  .hn-nav .dropdown-menu {
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    margin: 8px 0;
    padding: 8px 0;
  }
  .hn-nav .dropdown-item {
    padding: 10px 16px;
  }
  .hn-nav-login {
    margin-top: 16px !important;
    margin-left: 0 !important;
    display: block;
    text-align: center;
  }
  .hn-hero-content { padding: 0 24px 80px; }
  .hn-services { padding: 64px 24px; }
  .hn-mission { flex-direction: column; }
  .hn-mission-left { min-height: 320px; }
  .hn-mission-right { padding: 48px 24px; }
  .hn-testimonials { padding: 64px 24px; }
  .hn-cta-section { padding: 64px 48px; }
  .hn-cta-title { font-size: 40px; }
  .hn-footer { padding: 48px 24px 24px; }
  .hn-footer-top { gap: 32px; }
}
@media (max-width: 767px) {
  .hn-hero-title { font-size: 36px; }
  .hn-hero-content { padding-bottom: 60px; }
  .hn-mission-stats { bottom: 20px; left: 16px; }
  .hn-stat-num { font-size: 36px; }
  .hn-stat-label { font-size: 14px; }
  .hn-cta-section { padding: 64px 24px; }
  .hn-cta-title { font-size: 36px; }
  .hn-cta-body { font-size: 16px; }
  .hn-footer-top { flex-direction: column; }
  .hn-footer-bottom { flex-direction: column; text-align: center; }
}
