/* Confianza Life Care Planner — site stylesheet
   Palette: deep navy + warm coral accent (matches Brenda's headshot tone) */

:root {
  --navy: #1b2a41;
  --navy-dark: #101a29;
  --coral: #e07856;
  --coral-dark: #c85f3e;
  --cream: #faf7f2;
  --grey-text: #4a5568;
  --border: #e2e0da;
  --white: #ffffff;
  --font-head: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--grey-text);
  background: var(--cream);
  line-height: 1.65;
}

img { max-width: 100%; display: block; }

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  font-weight: normal;
  line-height: 1.25;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top contact strip */
.topbar {
  background: var(--navy-dark);
  color: #cfd8e3;
  font-size: 0.85rem;
  padding: 8px 0;
}
.topbar .container {
  display: flex;
  justify-content: flex-end;
  gap: 28px;
  flex-wrap: wrap;
}
.topbar a { color: #f0d9cd; }

/* Header / nav */
header.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  flex-wrap: wrap;
  gap: 12px;
}
.brand-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-logo {
  height: 106px;
  width: auto;
}
.brand {
  display: flex;
  flex-direction: column;
}
.brand .name {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--navy);
  letter-spacing: 0.3px;
}
.brand .credentials {
  font-size: 0.8rem;
  color: var(--coral-dark);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.brand .llc {
  font-size: 0.78rem;
  color: var(--grey-text);
  margin-top: 2px;
}
nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}
nav.main-nav a {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
}
nav.main-nav a:hover { color: var(--coral-dark); text-decoration: none; }
nav.main-nav a.active { color: var(--coral-dark); border-bottom: 2px solid var(--coral); padding-bottom: 4px; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 70px 0;
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.hero-text { flex: 1 1 420px; }
.hero-photo { flex: 0 0 300px; text-align: center; }
.hero-photo img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid var(--coral);
  margin: 0 auto;
}
.hero h1 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 6px;
}
.hero .subtitle {
  color: var(--coral);
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}
.hero p.lead {
  font-size: 1.1rem;
  color: #dde4ec;
  max-width: 560px;
  margin-bottom: 26px;
}
.btn {
  display: inline-block;
  background: var(--coral);
  color: var(--white);
  padding: 13px 30px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  border: none;
  cursor: pointer;
}
.btn:hover { background: var(--coral-dark); text-decoration: none; }
.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--navy); }

/* Section spacing */
section { padding: 64px 0; }
section.alt { background: var(--white); }
.section-heading { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-heading .eyebrow {
  color: var(--coral-dark);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}
.section-heading h2 { font-size: 2rem; }

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--coral);
  border-radius: 6px;
  padding: 30px 26px;
}
.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card p { font-size: 0.95rem; }

/* Service area / landmark images */
.service-area {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.service-area figure { position: relative; overflow: hidden; height: 260px; margin: 0; }
.service-area img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-area figure:hover img { transform: scale(1.06); }
.service-area figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(16,26,41,0.85));
  color: var(--white);
  padding: 34px 16px 14px;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}

/* Why choose / stats */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  text-align: center;
}
.why-grid .icon-num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  color: var(--coral-dark);
  margin-bottom: 6px;
}

/* CTA band */
.cta-band {
  background: var(--coral);
  color: var(--white);
  text-align: center;
  padding: 50px 0;
}
.cta-band h2 { color: var(--white); margin-bottom: 14px; }
.cta-band .btn { background: var(--navy); }
.cta-band .btn:hover { background: var(--navy-dark); }

/* Bio page */
.bio-layout {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.bio-photo { flex: 0 0 260px; }
.bio-photo img { border-radius: 8px; border: 4px solid var(--white); box-shadow: 0 6px 18px rgba(0,0,0,0.12); }
.bio-content { flex: 1 1 480px; }
.bio-content h3 { margin-top: 30px; margin-bottom: 10px; font-size: 1.25rem; }
.bio-content ul { margin-left: 20px; margin-bottom: 10px; }
.credential-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.credential-badges span {
  background: var(--navy);
  color: var(--white);
  font-size: 0.78rem;
  padding: 6px 12px;
  border-radius: 20px;
  letter-spacing: 0.4px;
}

/* Timeline (experience) */
.timeline { border-left: 3px solid var(--coral); margin-top: 20px; padding-left: 26px; }
.timeline-item { margin-bottom: 26px; position: relative; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -33px; top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--coral);
  border: 2px solid var(--white);
}
.timeline-item .role { font-weight: 700; color: var(--navy); }
.timeline-item .dates { font-size: 0.85rem; color: var(--coral-dark); font-weight: 600; }

/* News / blog page */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.news-card .news-meta {
  font-size: 0.78rem;
  color: var(--coral-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 20px 22px 0;
}
.news-card h3 { padding: 6px 22px 0; font-size: 1.15rem; }
.news-card p { padding: 10px 22px 22px; font-size: 0.93rem; }
.news-card .read-more { padding: 0 22px 22px; display: block; font-weight: 600; }
.placeholder-note {
  background: #fff6ee;
  border: 1px dashed var(--coral);
  border-radius: 6px;
  padding: 20px 24px;
  font-size: 0.92rem;
  margin-bottom: 36px;
}
.placeholder-note strong { color: var(--coral-dark); }

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.contact-info-card {
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
  padding: 40px 34px;
}
.contact-info-card h3 { color: var(--white); margin-bottom: 22px; }
.contact-line { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; font-size: 1.05rem; }
.contact-line .dot {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--coral);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-line a { color: var(--white); font-weight: 600; }
.contact-form { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 36px; }
.contact-form label { display: block; font-weight: 600; color: var(--navy); font-size: 0.9rem; margin-bottom: 6px; margin-top: 16px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form .btn { margin-top: 22px; width: 100%; }
.form-note { font-size: 0.8rem; color: #8a8477; margin-top: 14px; }

/* Footer */
footer.site-footer {
  background: var(--navy-dark);
  color: #a9b4c2;
  padding: 40px 0 24px;
  font-size: 0.88rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}
.footer-inner a { color: #dde4ec; }
.footer-bottom { text-align: center; border-top: 1px solid #263850; padding-top: 18px; font-size: 0.8rem; }
.footer-logo-wrap {
  background: var(--cream);
  border-radius: 10px;
  padding: 8px 14px;
  display: inline-flex;
  margin-bottom: 12px;
}
.footer-logo-wrap img { height: 42px; width: auto; display: block; }

/* Favicon-safe: no rule needed, browser handles sizing */

/* Responsive */
@media (max-width: 800px) {
  .hero-inner { flex-direction: column-reverse; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  nav.main-nav ul { gap: 16px; flex-wrap: wrap; justify-content: center; }
  .header-inner { justify-content: center; text-align: center; }
  .service-area { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .bio-layout { flex-direction: column; align-items: center; text-align: center; }
  .timeline { text-align: left; }
}
