/* Here2Help shared styles — warm, trustworthy, family-Irish */

:root {
  --primary: #2c7873;          /* deep teal — trust, healthcare */
  --primary-dark: #1f5854;
  --primary-light: #6fb3ad;
  --accent: #f5836b;           /* warm coral — humanity */
  --accent-dark: #d96450;
  --cream: #faf8f5;            /* page background */
  --paper: #ffffff;            /* card background */
  --ink: #1a2e3a;              /* primary text */
  --ink-soft: #4a5b66;         /* secondary text */
  --line: #e8e3dc;             /* borders */
  --success: #4a8b3a;
  --shadow: 0 2px 8px rgba(26, 46, 58, 0.06);
  --shadow-lg: 0 8px 24px rgba(26, 46, 58, 0.1);
  --radius: 12px;
  --radius-sm: 6px;
  --maxwidth: 1100px;
  --font-body: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter", "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

/* Header */
header.site {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
header.site .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 24px;
}
header.site .logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.01em;
}
header.site nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
header.site nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.15s;
}
header.site nav a:hover { color: var(--primary); }
header.site .nav-cta {
  background: var(--accent);
  color: white !important;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
header.site .nav-cta:hover {
  background: var(--accent-dark);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.hero p.tagline {
  font-size: clamp(18px, 2.5vw, 22px);
  max-width: 720px;
  margin: 0 auto 32px;
  opacity: 0.92;
}
.hero .cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.15s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: white;
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}
.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}
.btn-secondary:hover {
  background: white;
  color: var(--primary);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: white;
}

/* Sections */
section.block {
  padding: 72px 0;
}
section.block.alt {
  background: var(--paper);
}
section h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
section h2.center { text-align: center; }
section p.lead {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
section h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--primary-dark);
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.15s;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.card .icon {
  font-size: 32px;
  margin-bottom: 12px;
  display: block;
}
.card.alt {
  background: var(--cream);
}

/* Two-column */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 720px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
}
.two-col img { width: 100%; border-radius: var(--radius); }

/* Lists */
.checklist {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}
.checklist li {
  padding: 10px 0 10px 32px;
  position: relative;
  border-bottom: 1px dashed var(--line);
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--success);
  font-weight: 800;
  font-size: 18px;
}

/* Testimonial */
.testimonial {
  background: var(--cream);
  border-left: 4px solid var(--accent);
  padding: 24px 28px;
  border-radius: var(--radius-sm);
  margin: 24px 0;
  font-style: italic;
  color: var(--ink-soft);
}
.testimonial cite {
  display: block;
  margin-top: 12px;
  font-weight: 600;
  font-style: normal;
  color: var(--ink);
  font-size: 15px;
}

/* CTA banner */
.cta-banner {
  background: var(--primary);
  color: white;
  padding: 56px 0;
  text-align: center;
}
.cta-banner h2 {
  color: white;
  margin-bottom: 12px;
}
.cta-banner p {
  font-size: 19px;
  opacity: 0.92;
  margin: 0 auto 24px;
  max-width: 600px;
}

/* Pricing */
.price-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
@media (max-width: 720px) {
  .price-row { grid-template-columns: 1fr; }
}
.price {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  position: relative;
}
.price.featured {
  border: 2px solid var(--accent);
  transform: scale(1.03);
}
.price.featured .badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  padding: 4px 14px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.price h3 { font-size: 18px; color: var(--ink); margin-bottom: 4px; }
.price .amount {
  font-size: 44px;
  font-weight: 800;
  color: var(--primary);
  margin: 12px 0 4px;
}
.price .desc { color: var(--ink-soft); font-size: 14px; margin-bottom: 20px; }

/* FAQ */
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 12px;
}
.faq summary {
  font-weight: 600;
  cursor: pointer;
  font-size: 17px;
}
.faq details[open] summary { color: var(--primary); margin-bottom: 12px; }

/* Footer */
footer.site {
  background: var(--ink);
  color: #b8c2c9;
  padding: 56px 0 24px;
}
footer.site .grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
@media (max-width: 720px) {
  footer.site .grid { grid-template-columns: 1fr 1fr; }
}
footer.site h4 {
  color: white;
  font-size: 15px;
  margin: 0 0 12px;
  font-weight: 700;
}
footer.site a {
  color: #b8c2c9;
  text-decoration: none;
  display: block;
  padding: 4px 0;
  font-size: 14px;
}
footer.site a:hover { color: white; }
footer.site .logo {
  font-family: var(--font-display);
  color: white;
  font-weight: 800;
  font-size: 22px;
  margin-bottom: 8px;
}
footer.site .copy {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #8a949b;
}

/* Breadcrumb */
.breadcrumb {
  padding: 16px 0;
  font-size: 14px;
  color: var(--ink-soft);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.breadcrumb a { color: var(--primary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { margin: 0 8px; color: var(--line); }

/* Trust badges */
.trust-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 32px 0 0;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  padding: 8px 16px;
  border-radius: 24px;
  font-size: 14px;
  color: white;
}

/* Utilities */
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.large { font-size: 19px; }
