/* ================================================================
   HOMECARE DIGITALGROW — Modern Healthcare Growth Theme
   Source: Uploaded frontend stylesheet
   Integrated for WordPress & Hostinger Production
   ================================================================ */

:root {
  --navy: #0b2341;
  --blue: #1769e0;
  --sky: #eaf4ff;
  --mint: #eafbf4;
  --ink: #132238;
  --muted: #607086;
  --white: #fff;
  --line: #dce7f2;
  --shadow: 0 20px 55px rgba(19,54,91,.12);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
.container { width: min(1180px, 92%); margin: auto; }

/* ── Topbar ─────────────────────────────────────────── */
.topbar {
  background: var(--navy);
  color: #dce9f8;
  font-size: 13px;
  padding: 9px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

/* ── Header & Navigation ────────────────────────────── */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid #edf2f7;
}

/* Handle WordPress Admin Bar offset when logged in */
body.admin-bar header.site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar header.site-header {
    top: 46px;
  }
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -.7px;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.logo span.logo-brand-blue {
  color: var(--blue);
}
.logo-icon-thumb {
  height: 38px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  border-radius: 6px;
}

.navlinks {
  display: flex;
  gap: 27px;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: #45566d;
}
.navlinks a {
  transition: color 0.15s ease;
}
.navlinks a:hover {
  color: var(--blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  padding: 13px 19px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--blue);
  color: white !important;
  box-shadow: 0 10px 25px rgba(23,105,224,.22);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: #0e59c5;
  box-shadow: 0 14px 28px rgba(23,105,224,.32);
}
.btn-light {
  background: white;
  color: var(--navy) !important;
  border: 1px solid var(--line);
}
.btn-light:hover {
  transform: translateY(-2px);
  background: #f8fbff;
  border-color: #bed5ee;
}

.menu {
  display: none;
  background: none;
  border: 0;
  font-size: 26px;
  cursor: pointer;
  color: var(--navy);
  line-height: 1;
  padding: 6px;
}

/* ── Hero Section ───────────────────────────────────── */
.hero {
  background: radial-gradient(circle at 80% 15%, #dff1ff 0, #eef7ff 32%, #fff 72%);
  padding: 78px 0 65px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 58px;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e8f7ef;
  color: #16724a;
  padding: 8px 14px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 20px;
}
h1 {
  font-size: clamp(42px, 5.2vw, 68px);
  line-height: 1.02;
  letter-spacing: -3.2px;
  margin: 0 0 22px;
  color: var(--navy);
}
.hero h1 span {
  color: var(--blue);
}
.hero p {
  font-size: 19px;
  color: var(--muted);
  max-width: 650px;
  margin: 0 0 28px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.micro {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 24px;
  color: #5b6c80;
  font-size: 13px;
  font-weight: 700;
}

/* ── Growth Audit Form Card ─────────────────────────── */
.form-card {
  background: white;
  border: 1px solid #dce8f4;
  border-radius: 26px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.form-card h3 {
  font-size: 25px;
  line-height: 1.2;
  margin: 0 0 7px;
  color: var(--navy);
}
.form-card > p {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 20px;
}
.form {
  display: grid;
  gap: 11px;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid #d6e1ec;
  border-radius: 11px;
  padding: 13px 14px;
  font: inherit;
  font-size: 14px;
  outline: none;
  background: #fbfdff;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form textarea {
  min-height: 82px;
  resize: vertical;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(23,105,224,.1);
}
.form .btn {
  width: 100%;
  margin-top: 4px;
}
.fine {
  font-size: 11px;
  color: #8391a1;
  text-align: center;
  margin: 9px 0 0;
}

/* Form submission alerts */
.form-status-msg {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  display: none;
  margin-top: 8px;
  line-height: 1.4;
  text-align: center;
}
.form-status-msg.is-success {
  display: block;
  background: #e8f7ef;
  color: #12633f;
  border: 1px solid #b7e8d0;
}
.form-status-msg.is-error {
  display: block;
  background: #fdf2f2;
  color: #9b1c1c;
  border: 1px solid #f8b4b4;
}
.form-status-msg.is-loading {
  display: block;
  background: #eff6ff;
  color: #1e429f;
  border: 1px solid #bfdbfe;
}

/* ── Trust Bar ──────────────────────────────────────── */
.trust {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  background: white;
}
.trust-row {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  color: #506278;
  font-size: 13px;
  font-weight: 800;
}

/* ── Section Headings ───────────────────────────────── */
section {
  padding: 86px 0;
}
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 42px;
}
.eyebrow {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}
.section-head h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -2px;
  color: var(--navy);
  margin: 9px 0 13px;
}
.section-head p {
  color: var(--muted);
  margin: 0;
  font-size: 16px;
}

/* ── Problem & Solution ─────────────────────────────── */
.problem {
  background: #f7fafc;
}
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.pain, .solution {
  padding: 30px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #fff;
}
.pain {
  border-left: 5px solid #e86d6d;
}
.solution {
  border-left: 5px solid #2aa876;
}
.pain h3, .solution h3 {
  margin-top: 0;
  color: var(--navy);
  font-size: 22px;
}
.checklist {
  display: grid;
  gap: 11px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}
.checklist li {
  position: relative;
  padding-left: 24px;
  color: #37475b;
  font-size: 15px;
}
.checklist li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1a9a67;
  font-weight: 900;
}

/* ── Services Grid ──────────────────────────────────── */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}
.service:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--sky);
  font-size: 22px;
}
.service h3 {
  margin: 16px 0 7px;
  color: var(--navy);
  font-size: 20px;
}
.service p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  flex-grow: 1;
}
.service a {
  display: inline-block;
  margin-top: 15px;
  color: var(--blue);
  font-weight: 800;
  font-size: 13px;
  transition: color 0.15s ease;
}
.service a:hover {
  color: #0e59c5;
}

/* ── Results & Stats ────────────────────────────────── */
.results {
  background: var(--navy);
  color: white;
}
.results .section-head h2 {
  color: white;
}
.results .section-head p {
  color: #b9cbe0;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
.stat {
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  border-radius: 18px;
  padding: 25px;
  text-align: center;
}
.stat strong {
  display: block;
  font-size: 34px;
  color: #8ec5ff;
  letter-spacing: -0.5px;
}
.stat span {
  font-size: 13px;
  color: #c5d4e4;
}

/* ── Case Studies Style ─────────────────────────────── */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.case {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 25px;
  background: #fff;
  transition: transform .2s ease;
}
.case:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.tag {
  font-size: 11px;
  font-weight: 900;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.case h3 {
  margin: 9px 0;
  color: var(--navy);
  font-size: 20px;
}
.metric {
  font-size: 32px;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: -0.5px;
}
.case p {
  color: var(--muted);
  font-size: 14px;
  margin: 5px 0 0;
}

/* ── Process ────────────────────────────────────────── */
.process {
  background: #f7fafc;
}
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.step {
  position: relative;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}
.num {
  font-size: 13px;
  font-weight: 900;
  color: var(--blue);
}
.step h3 {
  font-size: 17px;
  margin: 10px 0 7px;
  color: var(--navy);
}
.step p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

/* ── Who We Help / Audience ─────────────────────────── */
.audience {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.aud {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 21px;
  background: #fff;
}
.aud h3 {
  margin: 7px 0;
  color: var(--navy);
  font-size: 18px;
}
.aud p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

/* ── Testimonials ───────────────────────────────────── */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.quote {
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 25px;
  display: flex;
  flex-direction: column;
}
.stars {
  color: #f5a623;
  letter-spacing: 2px;
  font-size: 14px;
}
.quote p {
  color: #475a70;
  font-size: 14px;
  margin: 12px 0 16px;
  flex-grow: 1;
}
.person {
  font-weight: 900;
  color: var(--navy);
  font-size: 14px;
}
.role {
  font-size: 12px;
  color: #77889a;
}

/* ── FAQ Accordion ──────────────────────────────────── */
.faq {
  max-width: 850px;
  margin: auto;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 19px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--navy);
  font-size: 17px;
  user-select: none;
}
.faq summary::-webkit-details-marker {
  color: var(--blue);
}
.faq p {
  color: var(--muted);
  font-size: 14px;
  margin: 12px 0 0;
  line-height: 1.6;
}

/* ── CTA Banner ─────────────────────────────────────── */
.cta {
  padding: 75px 0;
}
.cta-box {
  background: linear-gradient(135deg, #0b2341, #1557aa);
  color: white;
  border-radius: 28px;
  padding: 55px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.cta-box h2 {
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: -1.7px;
  margin: 0 0 10px;
  color: white;
}
.cta-box p {
  color: #c9d9eb;
  margin: 0;
  font-size: 17px;
}
.cta-box .btn {
  background: white;
  color: var(--navy) !important;
  white-space: nowrap;
}
.cta-box .btn:hover {
  background: #f1f6fd;
}

/* ── Global Footer ──────────────────────────────────── */
footer.site-footer {
  background: #071a30;
  color: #c2d0df;
  padding: 48px 0 25px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 35px;
}
.footer-title {
  font-weight: 900;
  color: white;
  margin-bottom: 12px;
  font-size: 15px;
}
.footer-brand p {
  font-size: 13px;
  color: #9fb0c3;
  margin: 12px 0 0;
  max-width: 320px;
}
.footer p, .footer a {
  font-size: 13px;
  color: #9fb0c3;
}
.footer a {
  display: block;
  margin: 7px 0;
  transition: color 0.15s ease;
}
.footer a:hover {
  color: #ffffff;
}
.copyright {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 30px;
  padding-top: 20px;
  font-size: 12px;
  color: #8295a9;
  text-align: center;
}

/* ── Responsive Queries ─────────────────────────────── */
@media (max-width: 991px) {
  header.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  .navlinks {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 18px 24px 24px;
    border-bottom: 2px solid var(--blue);
    box-shadow: 0 20px 40px rgba(11,35,65,0.15);
    z-index: 99999;
    gap: 10px;
    align-items: stretch;
  }
  .navlinks.show {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .navlinks a {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 600;
    color: #1b2e4b;
    border-radius: 8px;
    text-decoration: none;
    background: #ffffff;
    transition: background 0.15s ease, color 0.15s ease;
  }
  .navlinks a:hover,
  .navlinks a:focus,
  .navlinks a:active {
    background: #f0f6ff;
    color: var(--blue);
  }
  .navlinks .btn {
    width: 100%;
    text-align: center;
    margin-top: 6px;
  }
  .menu {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 30px;
    line-height: 1;
    color: var(--navy);
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  .menu:focus,
  .menu:active {
    background: rgba(0, 102, 204, 0.08);
  }
  .hero-grid,
  .problem-grid {
    grid-template-columns: 1fr;
  }
  .services,
  .case-grid,
  .testimonials,
  .audience {
    grid-template-columns: 1fr 1fr;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .topbar {
    display: none;
  }
  .nav {
    height: 66px;
  }
  .hero {
    padding: 52px 0;
  }
  .hero p {
    font-size: 16px;
  }
  h1 {
    letter-spacing: -2px;
  }
  .services,
  .case-grid,
  .testimonials,
  .audience,
  .stats,
  .steps,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  section {
    padding: 62px 0;
  }
  .cta-box {
    padding: 32px;
    display: block;
  }
  .cta-box h2 {
    font-size: 32px;
  }
  .cta-box .btn {
    margin-top: 22px;
    display: block;
    text-align: center;
  }
}
