/* ============================================
   CARE REACH MARKETING AGENCY — Stylesheet
   ============================================ */

:root {
  --navy: #0b2545;
  --navy-soft: #132f5c;
  --blue: #2f6fff;
  --blue-deep: #1b4fd6;
  --white: #ffffff;
  --sky: #eaf1ff;
  --steel: #5b6b85;
  --line: rgba(11, 37, 69, 0.12);
  --line-on-navy: rgba(255, 255, 255, 0.18);

  --display: 'Space Grotesk', sans-serif;
  --body: 'Source Sans 3', sans-serif;

  --max: 1200px;
  --gutter: clamp(1.5rem, 5vw, 4rem);
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.05;
  margin: 0;
}

p { margin: 0; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.96rem;
  padding: 0.95rem 1.8rem;
  border-radius: 3px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-deep); }

.btn-outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--sky); }

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}

.logo {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo .mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: conic-gradient(from 220deg, var(--blue), var(--navy), var(--blue));
  flex-shrink: 0;
}

.logo b { color: var(--blue); font-weight: 700; }

.nav-links {
  display: flex;
  gap: 2.3rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 600;
  font-size: 0.96rem;
}

.nav-links a {
  position: relative;
  padding: 0.3rem 0;
  color: var(--navy);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-links a.active { color: var(--blue); }

.nav-cta { display: flex; align-items: center; gap: 1.5rem; }

.nav-phone {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 200;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem);
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-eyebrow {
  color: var(--blue);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  color: var(--navy);
  letter-spacing: -0.01em;
}

.hero h1 .accent { color: var(--blue); }

.hero-sub {
  max-width: 48ch;
  margin-top: 1.5rem;
  color: var(--steel);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.2rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
}

/* ---------- Stats strip (full bleed navy) ---------- */

.stats-strip {
  background: var(--navy);
  color: var(--white);
  padding: clamp(2.2rem, 5vw, 3rem) 0;
}

.stats-strip .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat b {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: var(--white);
  line-height: 1;
}

.stat span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  margin-top: 0.4rem;
  display: block;
}

/* ---------- Sections generic ---------- */

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-sky { background: var(--sky); }
.section-navy { background: var(--navy); color: var(--white); }

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2.2rem, 5vw, 3.5rem);
}

.section-head .eyebrow {
  color: var(--blue);
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 0.8rem;
  display: block;
}

.section-head h2 { font-size: clamp(2.1rem, 4.6vw, 3.1rem); }

.section-head p {
  margin-top: 1rem;
  color: var(--steel);
  font-size: 1.05rem;
}

.section-navy .section-head p { color: rgba(255,255,255,0.72); }

/* ---------- Service rows (alternating, with photos) ---------- */

.service-row {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(2.6rem, 5vw, 4rem) 0;
  border-top: 1px solid var(--line);
}

.service-row:last-child { border-bottom: 1px solid var(--line); }

.service-row.reverse { direction: rtl; }
.service-row.reverse > * { direction: ltr; }

.service-photo {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--sky);
}

.service-photo img { width: 100%; height: 100%; object-fit: cover; }

.service-copy .tag {
  color: var(--blue);
  font-weight: 700;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.8rem;
}

.service-copy h3 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-bottom: 1rem; }

.service-copy p { color: var(--steel); max-width: 48ch; }

.service-copy .deliverables {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1.2rem;
  font-size: 0.94rem;
}

.service-copy .deliverables li {
  padding-left: 1.15rem;
  position: relative;
  color: var(--navy);
}

.service-copy .deliverables li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

/* ---------- Process (horizontal steps) ---------- */

.process-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.process-step {
  padding: 2rem 1.7rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-step .num {
  font-family: var(--display);
  font-size: 1.4rem;
  color: var(--blue);
  margin-bottom: 1rem;
  display: block;
}

.process-step h4 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.process-step p { color: var(--steel); font-size: 0.94rem; }

/* ---------- Testimonials (two-column bordered) ---------- */

.testi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line-on-navy);
}

.testi {
  padding: 2.4rem 2rem;
  border-bottom: 1px solid var(--line-on-navy);
}

.testi:nth-child(odd) { border-right: 1px solid var(--line-on-navy); }

.testi .mark {
  font-family: var(--display);
  font-size: 2.6rem;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 0.6rem;
}

.testi p.quote {
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--white);
}

.testi .who {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.testi .who img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.testi .who .name { font-weight: 700; font-size: 0.92rem; color: var(--white); }
.testi .who .role { font-size: 0.85rem; color: rgba(255,255,255,0.6); }

/* ---------- CTA band ---------- */

.cta-band { background: var(--blue); color: var(--white); padding: clamp(3rem, 7vw, 5rem) 0; }

.cta-band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-band h2 { font-size: clamp(2rem, 5vw, 2.8rem); max-width: 16ch; }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 3.2rem 0 2rem; font-size: 0.92rem; }

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid var(--line-on-navy);
}

.footer-brand .logo { color: var(--white); margin-bottom: 0.9rem; }
.footer-brand p { max-width: 32ch; color: rgba(255,255,255,0.6); }

.footer-cols { display: flex; gap: 3.5rem; flex-wrap: wrap; }

.footer-col h5 {
  font-family: var(--body);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 0.9rem;
  font-size: 0.94rem;
}

.footer-col a, .footer-col p {
  display: block;
  color: rgba(255,255,255,0.65);
  padding: 0.28rem 0;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ---------- Page intro ---------- */

.page-hero {
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
}

.page-hero .hero-eyebrow { margin-bottom: 1rem; }
.page-hero h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); max-width: 18ch; }
.page-hero p { margin-top: 1.3rem; color: var(--steel); max-width: 58ch; font-size: 1.05rem; }

/* ---------- About page ---------- */

.about-lede {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  font-weight: 600;
  line-height: 1.3;
  max-width: 34ch;
  color: var(--navy);
}

.about-lede .accent { color: var(--blue); }

.split-photo {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.split-photo img {
  width: 100%;
  border-radius: 4px;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.value-item {
  padding: 2.2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.value-item h4 { font-size: 1.25rem; margin-bottom: 0.7rem; color: var(--navy); }
.value-item p { color: var(--steel); font-size: 0.95rem; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}

.team-card img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 4px;
  object-fit: cover;
  margin-bottom: 0.9rem;
}

.team-card .name { font-weight: 700; font-size: 1rem; color: var(--navy); }
.team-card .role { font-size: 0.88rem; color: var(--steel); }

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

.contact-info .info-line { padding: 1.3rem 0; border-top: 1px solid var(--line); }
.contact-info .info-line:first-child { border-top: none; }

.contact-info .info-line span {
  display: block;
  color: var(--steel);
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.contact-info .info-line a, .contact-info .info-line p {
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--navy);
  font-weight: 600;
}

.contact-info .info-line a:hover { color: var(--blue); }

.contact-form {
  background: var(--sky);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  border-radius: 4px;
}

.field { margin-bottom: 1.3rem; }

.field label {
  display: block;
  font-size: 0.88rem;
  color: var(--steel);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.field input, .field textarea, .field select {
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--line);
  color: var(--navy);
  font-family: var(--body);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 3px;
}

.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }

.contact-form .btn-primary { width: 100%; justify-content: center; margin-top: 0.4rem; }

.map-note {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  color: var(--steel);
  font-size: 0.95rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 420px; margin: 0 auto; }
  .stats-strip .wrap { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .service-row, .service-row.reverse { grid-template-columns: 1fr; direction: ltr; }
  .process-row { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .testi:nth-child(odd) { border-right: none; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .split-photo { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .hamburger { display: flex; }
  .nav-links, .nav-cta .nav-phone, .nav-cta .btn-outline { display: none; }

  .nav-links {
    position: fixed;
    inset: 0;
    top: 0;
    height: 100dvh;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 var(--gutter);
    gap: 1.8rem;
    font-family: var(--display);
    font-size: 2.2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 150;
  }

  .nav-links.is-open { display: flex; transform: translateX(0); }
  .nav-cta .btn-primary { display: none; }
  .footer-top { flex-direction: column; }
  .process-row { grid-template-columns: 1fr; }
  .service-copy .deliverables { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
