/*
Theme Name: Zuri At-Home Senior Care
Theme URI: https://zuriseniorcare.com
Author: Optimum Solution
Description: Custom theme for Zuri At-Home Senior Care LLC — a family-owned home care agency. Warm, trustworthy design built around the brand's red/navy/blue mark.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zuri
*/

:root {
  --red: #E4272A;
  --red-dark: #C21E21;
  --navy: #16365C;
  --navy-dark: #0F2740;
  --black: #1A1A1A;
  --blue: #26AAEE;
  --off-white: #F7F8FA;
  --gray-text: #4B5563;
  --white: #FFFFFF;
  --radius: 10px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--black);
  line-height: 1.65;
  background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.5em;
  color: var(--black);
}

h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.4rem; }

p { margin: 0 0 1em; color: var(--gray-text); }

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }

img { max-width: 100%; display: block; border-radius: var(--radius); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section--tight { padding: 50px 0; }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3, .section--navy p { color: var(--white); }
.section--black { background: var(--black); color: var(--white); }
.section--black h2, .section--black p { color: var(--white); }
.section--offwhite { background: var(--off-white); }
.section--red { background: var(--red); color: var(--white); text-align: center; }
.section--red h2 { color: var(--white); }

.text-center { text-align: center; }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: var(--white) !important; }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { background: transparent; color: var(--white) !important; border-color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-white { background: var(--white); color: var(--navy) !important; }
.btn-white:hover { background: #eef1f4; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  border-bottom: 1px solid #EEF0F3;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; padding-bottom: 16px; gap: 24px;
}
.site-logo {
  flex-shrink: 0;
  display: flex; align-items: center;
}
.site-logo img { height: 58px; width: auto; border-radius: 0; }

.primary-nav ul {
  display: flex; gap: 32px; list-style: none; margin: 0; padding: 0;
}
.primary-nav a {
  color: var(--black); font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.2px;
  position: relative;
  padding: 6px 0;
}
.primary-nav a:after {
  content: "";
  position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--red); transition: width 0.2s ease;
}
.primary-nav a:hover:after, .primary-nav .current-menu-item a:after { width: 100%; }
.primary-nav a:hover, .primary-nav .current-menu-item a { color: var(--red); }

.header-right { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.header-phone { font-weight: 700; color: var(--navy); white-space: nowrap; font-family: 'Poppins', sans-serif; }
.header-right .btn { padding: 12px 24px; font-size: 0.9rem; }

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

.mobile-nav-extra { display: none; }

/* Hero */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 90px 0;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center;
}
.hero p { color: #EDEFF2; font-size: 1.15rem; }
.hero-buttons { display: flex; gap: 16px; margin-top: 22px; flex-wrap: wrap; }
.hero img { border-radius: 14px; }

.hero--simple { text-align: center; }
.hero--simple .narrow { margin: 0 auto; }

/* Cards / icon boxes */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 40px; }

.icon-card {
  background: var(--white);
  border: 1px solid #E7EAEE;
  border-radius: var(--radius);
  padding: 30px;
  text-align: left;
}
.icon-card .icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(228,39,42,0.1); color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 16px;
}
.icon-card h3 { margin-bottom: 10px; }
.icon-card p { margin-bottom: 0; }

/* Icon list */
.icon-list { list-style: none; margin: 20px 0; padding: 0; }
.icon-list li {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 12px; font-weight: 500;
}
.icon-list li:before {
  content: "\2713";
  color: var(--blue);
  font-weight: 900;
  flex-shrink: 0;
}
.section--black .icon-list li:before,
.section--navy .icon-list li:before { color: var(--blue); }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
.testimonial {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 28px;
  border-left: 4px solid var(--red);
}
.testimonial p { font-style: italic; color: var(--black); }
.testimonial .author { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--navy); margin-top: 12px; }

/* Team */
.team-bio { display: grid; grid-template-columns: 320px 1fr; gap: 50px; align-items: flex-start; }
.team-bio img { border-radius: 14px; }
.team-title { color: var(--red); font-family: 'Poppins', sans-serif; font-weight: 600; margin-bottom: 16px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: flex-start; }
.contact-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 30px;
}
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form label { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.9rem; }
.contact-form input, .contact-form textarea {
  padding: 12px 14px; border: 1px solid #D5DAE1; border-radius: 6px;
  font-family: 'Inter', sans-serif; font-size: 1rem; width: 100%;
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.form-success { background: #E5F6EA; color: #216B36; padding: 14px 18px; border-radius: 6px; margin-bottom: 18px; }
.form-error { background: #FCE8E8; color: var(--red-dark); padding: 14px 18px; border-radius: 6px; margin-bottom: 18px; }

/* Footer */
.site-footer { background: linear-gradient(135deg, var(--navy) 0%, #0F2740 100%); color: #C9D3DE; }
.footer-logo {
  height: 90px; width: auto; margin-bottom: 18px;
}
.footer-top { padding: 70px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 40px; }
.footer-grid h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 16px; }
.footer-grid p, .footer-grid a { color: #C9D3DE; }
.footer-grid a:hover { color: var(--white); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-bottom {
  background: #0A1D30;
  text-align: center;
  padding: 18px 0;
  font-size: 0.85rem;
  color: #8FA0B5;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .team-bio, .contact-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-2, .testimonial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
    padding: 10px 24px 24px;
    z-index: 999;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .primary-nav ul li {
    border-bottom: 1px solid #EEF0F3;
    width: 100%;
  }
  .primary-nav ul li a {
    display: block;
    padding: 14px 4px;
    color: var(--black) !important;
    font-size: 1rem;
  }
  .primary-nav ul ul {
    padding-left: 16px;
  }
  .mobile-nav-extra {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
    align-items: center;
  }
  .mobile-nav-extra .btn { width: 100%; text-align: center; }
  .mobile-nav-phone {
    font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--navy);
  }

  .header-right .header-phone,
  .header-right .btn-primary { display: none; }
  .menu-toggle { display: block; }

  .footer-grid { grid-template-columns: 1fr; }
  .site-header .container {
    flex-wrap: nowrap;
    position: relative;
  }
  .site-logo img { height: 46px; }
}

/* ============================================================
   V2 HOMEPAGE DESIGN — transparent overlay header, hero with
   overlapping numbered cards, image collage, stat counters
   ============================================================ */

/* Transparent header that goes solid on scroll */
.site-header--overlay {
  position: fixed; top: 0; left: 0; right: 0;
  background: transparent;
  box-shadow: none;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.site-header--overlay .site-logo img {
  background: var(--white);
  padding: 6px 10px;
  border-radius: 8px;
  height: 46px;
}
.site-header--overlay .primary-nav a,
.site-header--overlay .header-phone { color: var(--white); }
.site-header--overlay .btn-primary { background: var(--red); }
.site-header--overlay.is-scrolled {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.site-header--overlay.is-scrolled .primary-nav a,
.site-header--overlay.is-scrolled .header-phone { color: var(--black); }
.site-header--overlay.is-scrolled .primary-nav .current-menu-item a { color: var(--red); }

/* Hero V2 — full bleed image, dark overlay, overlapping cards */
.hero-v2 {
  position: relative;
  min-height: 640px;
  display: flex; align-items: center;
  background-size: cover; background-position: center;
  color: var(--white);
  padding-top: 120px;
}
.hero-v2::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,39,64,0.75) 0%, rgba(22,54,92,0.92) 100%);
}
.hero-v2 .container { position: relative; z-index: 2; }
.hero-v2 .hero-eyebrow {
  text-transform: uppercase; letter-spacing: 2px; font-weight: 700;
  color: var(--blue); font-size: 0.85rem; margin-bottom: 14px; display: block;
}
.hero-v2 h1 { color: var(--white); max-width: 720px; }
.hero-v2 p { color: #E4E9EF; max-width: 560px; font-size: 1.15rem; }

.hero-cards {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 60px;
  transform: translateY(70px);
}
.hero-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.14);
}
.hero-card .num { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.6rem; color: var(--red); }
.hero-card h4 { margin: 8px 0 8px; color: var(--black); font-size: 1.05rem; }
.hero-card p { color: var(--gray-text); font-size: 0.92rem; margin-bottom: 10px; }
.hero-card a { font-weight: 700; font-size: 0.9rem; }

.hero-spacer { height: 110px; }

/* Eyebrow label used across v2 sections */
.eyebrow {
  text-transform: uppercase; letter-spacing: 2px; font-weight: 700;
  color: var(--red); font-size: 0.85rem; display: block; margin-bottom: 10px;
}

/* About collage */
.about-v2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-v2 .lead-line { font-weight: 700; color: var(--navy); font-size: 1.05rem; margin: 18px 0; }
.collage { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.collage img:first-child { grid-column: 1 / span 2; border-radius: 14px; }
.collage img { border-radius: 14px; }

/* Stats */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: 40px; text-align: center;
}
.stat .stat-num {
  font-family: 'Poppins', sans-serif; font-weight: 800;
  font-size: 2.4rem; color: var(--red);
}
.stat .stat-label { color: var(--gray-text); font-weight: 600; font-size: 0.95rem; }

/* Secondary CTA banner (overlapping style) */
.cta-banner {
  background: var(--navy);
  border-radius: 18px;
  padding: 50px 50px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  flex-wrap: wrap;
  margin-top: 60px;
}
.cta-banner h3 { color: var(--white); margin: 0; max-width: 520px; }

/* Story cards */
.story-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-top: 40px; }
.story-card { border-radius: var(--radius); overflow: hidden; border: 1px solid #E7EAEE; }
.story-card img { border-radius: 0; aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.story-card .story-body { padding: 26px; }
.story-card h4 { margin-bottom: 10px; }
.story-card p { font-size: 0.95rem; }

@media (max-width: 900px) {
  .hero-cards { grid-template-columns: 1fr; transform: translateY(40px); }
  .hero-spacer { height: 60px; }
  .about-v2, .stats-row, .story-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .cta-banner { flex-direction: column; text-align: center; }
}

/* ============================================================
   V3 HOMEPAGE — Junk All Mighty-style layout, Zuri brand colors
   ============================================================ */

/* Top bar */
.top-bar {
  background: var(--black);
  color: #cfd3d8;
  font-size: 0.85rem;
}
.top-bar .container {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; gap: 8px;
}
.top-bar a { color: #cfd3d8; }
.top-bar a:hover { color: var(--white); }
.top-bar .top-bar-contact { display: flex; gap: 20px; }

/* Hero v3 with inline lead form */
.hero-v3 {
  position: relative;
  background: var(--navy);
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 70px 0 90px;
  overflow: hidden;
}
.hero-v3::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(22,54,92,0.90) 0%, rgba(38,170,238,0.80) 140%);
  z-index: 1;
}
.hero-v3 .container { position: relative; z-index: 2; }
.hero-v3 .hero-eyebrow {
  text-transform: uppercase; letter-spacing: 2px; font-weight: 700;
  color: var(--white); font-size: 0.85rem; margin-bottom: 14px; display: block;
  opacity: 0.9;
}
.hero-v3-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 50px; align-items: center; }
.hero-v3 h1 { color: var(--white); }
.hero-v3 p { color: #E4E9EF; font-size: 1.1rem; }
.hero-v3-buttons { display: flex; align-items: center; gap: 20px; margin-top: 22px; flex-wrap: wrap; }
.hero-v3-phone { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--white); font-size: 1.15rem; }

.lead-form-card {
  background: var(--white);
  border-radius: 14px;
  padding: 30px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}
.lead-form-card h3 { color: var(--black); text-align: center; margin-bottom: 18px; }
.lead-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lead-form-card input,
.lead-form-card textarea {
  padding: 12px 14px; border: 1px solid #D5DAE1; border-radius: 6px;
  font-family: 'Inter', sans-serif; font-size: 0.95rem; width: 100%; margin-bottom: 12px;
}
.lead-form-card textarea { min-height: 90px; resize: vertical; }
.lead-form-card button { width: 100%; }

/* Trust badges row */
.badge-row {
  background: var(--white);
  border-bottom: 1px solid #ECEFF3;
  padding: 26px 0;
}
.badge-row .container { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; }
.badge-item {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Poppins', sans-serif; font-weight: 600; color: var(--navy); font-size: 0.95rem;
}
.badge-item .badge-icon { color: var(--red); font-size: 1.2rem; }

/* Process steps */
.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.step-item { text-align: left; }
.step-item .step-num {
  font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 2.2rem;
  color: var(--blue); display: block; margin-bottom: 8px;
}
.step-item h4 { margin-bottom: 8px; }

/* Urgency banner */
.urgency-banner {
  background: var(--black);
  color: var(--white);
  border-radius: 16px;
  padding: 50px;
}
.urgency-banner h2, .urgency-banner p { color: var(--white); }
.urgency-items { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin: 26px 0; }
.urgency-item { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.95rem; }
.urgency-item .num-dot { color: var(--red); margin-right: 6px; }

/* Big phone CTA */
.phone-cta {
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 60px 0;
}
.phone-cta .eyebrow { color: var(--white); opacity: 0.85; }
.phone-cta .phone-big {
  font-family: 'Poppins', sans-serif; font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--white); display: block; margin: 10px 0 16px;
}
.phone-cta p { color: #FFE4E4; }

/* Testimonial stars */
.stars { color: #F5B301; letter-spacing: 2px; margin-bottom: 10px; display: block; }

@media (max-width: 900px) {
  .hero-v3-grid { grid-template-columns: 1fr; }
  .lead-form-row { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr; }
  .urgency-items { flex-direction: column; gap: 10px; }
  .top-bar .container { justify-content: center; text-align: center; }
}
