/* EverCare Companion — senior-friendly, high contrast, easy to read */

:root{
  --bg: #ffffff;
  --text: #12202b;
  --muted: #465a6a;
  --brand: #0f6b4f;
  --brand-2: #0b3e2f;
  --card: #f6f8fa;
  --alt: #eef6f3;
  --border: #d7e1e7;
  --focus: #ffbf47;

  --radius: 18px;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --max: 1100px;
}

/* ===== Base / Reset ===== */
*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 18px; /* larger for 60+ */
}

/* Important: do NOT force images full width; only prevent overflow */
img{
  max-width: 100%;
  height: auto;
  display: block;
}

a{
  color: var(--brand);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
a:hover{ text-decoration-thickness: 3px; }

.container{
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

h1,h2,h3{ line-height: 1.2; letter-spacing: -0.01em; }
h1{ font-size: clamp(34px, 3.2vw, 52px); margin: 0 0 12px; }
h2{ font-size: clamp(26px, 2.2vw, 34px); margin: 0 0 10px; }
h3{ font-size: 22px; margin: 0 0 8px; }

p{ margin: 0 0 12px; }
.lead{ font-size: 1.15em; color: var(--muted); max-width: 60ch; }
.small{ font-size: 0.95em; }
.muted{ color: var(--muted); }

.section{ padding: 56px 0; }
.section.alt{ background: var(--alt); }
.section-intro{
  max-width: 70ch;
  color: var(--muted);
  margin-bottom: 22px;
}

.note{
  margin-top: 24px;
  padding: 16px 18px;
  border: 2px solid var(--border);
  background: #fff;
  border-radius: var(--radius);
}

/* ===== Skip link ===== */
.skip-link{
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--focus);
  color: #000;
  padding: 10px 14px;
  border-radius: 12px;
  z-index: 9999;
}
.skip-link:focus{ left: 10px; }

/* ===== Header (BIG LOGO FIX) ===== */
.site-header{
  position: sticky;
  top: 0;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 50;
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;   /* taller header */
  gap: 18px;
}

/* Logo container */
.brand{
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

/* Make logo LARGE and clear (not full-width) */
.brand-logo{
  height: 140px;   /* BIG */
  width: auto;
  max-width: 420px; /* prevents taking over header width */
  object-fit: contain;
}

/* Nav */
.nav{ display: flex; align-items: center; gap: 12px; }

.nav-toggle{
  display: none;
  font-size: 18px;
  border: 2px solid var(--border);
  background: #fff;
  padding: 10px 12px;
  border-radius: 14px;
}

.nav-menu{
  list-style: none;
  display: flex;
  gap: 22px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-menu a{
  font-weight: 650;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--text);
}
.nav-menu a:hover{ background: var(--alt); }

/* Button */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--brand);
  color: #fff;
  border: 2px solid var(--brand);
  padding: 14px 18px;
  border-radius: 16px;
  font-weight: 750;
  text-decoration: none;
  box-shadow: var(--shadow);
}
.btn:hover{ background: var(--brand-2); border-color: var(--brand-2); }
.btn-full{ width: 100%; }

.btn:focus, button:focus, input:focus, textarea:focus, summary:focus{
  outline: 4px solid var(--focus);
  outline-offset: 2px;
}

.btn-ghost{
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
  box-shadow: none;
}
.btn-ghost:hover{
  background: var(--alt);
  color: var(--brand-2);
  border-color: var(--brand-2);
}

/* ===== Hero ===== */
.hero{
  padding: 56px 0 28px;
  background: linear-gradient(180deg, #f3fbf7, #ffffff);
}

.hero-grid{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 26px;
  align-items: start;
}

.hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 12px;
}

.hero-points{
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 650;
}

.hero-card{
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.card-title{ margin: 0 0 6px; }
.card-text{ color: var(--muted); }

.contact-box{
  margin: 14px 0 10px;
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 12px;
  background: var(--card);
}

.contact-row{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.contact-row:last-child{ border-bottom: none; }
.contact-label{ font-weight: 750; }
.contact-value{ font-weight: 700; }

/* ===== Trust strip ===== */
.trust{ padding: 18px 0 50px; }

.trust-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.trust-item{
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.trust-title{ font-weight: 800; margin-bottom: 4px; }
.trust-text{ color: var(--muted); }

/* ===== Cards ===== */
.cards{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.card{
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 8px 22px rgba(0,0,0,.05);
}

.bullets{
  margin: 10px 0 0;
  padding-left: 20px;
}
.bullets li{ margin: 6px 0; }

/* ===== Steps ===== */
.steps{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.step{
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}

.step-number{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
  margin-bottom: 10px;
}

.callout{
  margin-top: 18px;
  padding: 18px;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  background: #fff;
}

/* ===== Two Col + FAQ ===== */
.two-col{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.checklist{
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 10px;
  font-weight: 650;
}
.checklist li::before{ content: "✅ "; }

.faq details{
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 12px;
}
.faq summary{ font-weight: 850; cursor: pointer; }
.faq p{ color: var(--muted); margin-top: 8px; }

/* ===== Pricing ===== */
.pricing-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.price-card{
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 8px 22px rgba(0,0,0,.05);
}

.price{ font-size: 22px; margin: 10px 0 6px; }

.featured{
  border-color: var(--brand);
  box-shadow: 0 14px 34px rgba(15,107,79,.15);
}

/* ===== Form ===== */
.form{
  margin-top: 18px;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
}

.form-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field{ display: flex; flex-direction: column; gap: 6px; }
.field label{ font-weight: 800; }

.field input, .field textarea{
  font-size: 18px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 2px solid var(--border);
}
.field input:focus, .field textarea:focus{ border-color: var(--brand); }

.field.full{ grid-column: 1 / -1; }

.form-actions{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.hidden{ display: none; }

/* ===== Footer contact cards ===== */
.footer-contact{
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.footer-card{
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
}
.footer-card h3{ margin-bottom: 6px; }

/* ===== Site footer ===== */
.site-footer{
  border-top: 1px solid var(--border);
  padding: 26px 0 40px;
  background: #fff;
}

.footer-inner{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ===== Mobile ===== */
@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
  .trust-grid{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .two-col{ grid-template-columns: 1fr; }
  .pricing-grid{ grid-template-columns: 1fr; }
  .footer-contact{ grid-template-columns: 1fr; }

  /* Keep logo big on mobile, but not too tall */
  .brand-logo{
    height: 95px;
    max-width: 300px;
  }

  .nav-toggle{ display: inline-flex; }

  .nav-menu{
    display: none;
    position: absolute;
    right: 16px;
    top: 120px;
    background: #fff;
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 10px;
    flex-direction: column;
    gap: 6px;
    width: min(260px, calc(100vw - 32px));
    box-shadow: var(--shadow);
  }
  .nav-menu.open{ display: flex; }
  .nav-menu a{ width: 100%; }
}