/* Shoreline Support & Wellness — shared stylesheet */
:root {
  --deep: #1c2b47;        /* navy — matches logo wordmark */
  --deep-2: #131f36;
  --mid: #6b7d52;         /* sage / olive green — matches portal buttons & logo mountain */
  --soft: #e8ecdf;        /* pale sage */
  --sand: #f6f1e7;        /* warm sand / cream — matches logo background */
  --ink: #2c3a3d;
  --muted: #5f7275;
  --white: #ffffff;
  --accent: #b8935a;      /* driftwood gold — matches logo lettering & sun */
  --radius: 14px;
  --shadow: 0 6px 24px rgba(28, 43, 71, 0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: 17px;
}
h1, h2, h3, .serif { font-family: 'Lora', Georgia, serif; color: var(--deep); font-weight: 500; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); line-height: 1.2; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .6em; }
h3 { font-size: 1.25rem; margin-bottom: .4em; }
p + p { margin-top: 1em; }
a { color: var(--mid); }
img { max-width: 100%; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }

/* Header */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid #e4ecec;
  backdrop-filter: blur(6px);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; max-width: 1180px; margin: 0 auto; position: relative; }
.brand { text-decoration: none; display: flex; align-items: center; gap: 10px; }
.logo-img { height: 68px; width: auto; display: block; }
@media (max-width: 480px) { .logo-img { height: 48px; } }
nav.main-nav { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
nav.main-nav a {
  text-decoration: none; color: var(--ink); font-size: .95rem;
  padding: 8px 11px; border-radius: 8px;
}
nav.main-nav a:hover { background: var(--soft); color: var(--deep); }
nav.main-nav a.active { color: var(--deep); font-weight: 600; }
nav.main-nav a.cta {
  background: var(--deep); color: #fff; margin-left: 8px; padding: 9px 16px;
}
nav.main-nav a.cta:hover { background: var(--deep-2); }
#nav-toggle { display: none; }
.hamburger { display: none; }

@media (max-width: 960px) {
  .hamburger {
    display: block; cursor: pointer; font-size: 1.6rem; color: var(--deep);
    user-select: none; padding: 4px 10px;
  }
  nav.main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    border-bottom: 1px solid #e4ecec; padding: 10px 16px 16px;
  }
  nav.main-nav a { padding: 12px; }
  #nav-toggle:checked ~ nav.main-nav { display: flex; }
}

/* Hero */
.hero {
  background:
    linear-gradient(175deg, rgba(232,236,223,.90) 0%, rgba(246,241,231,.93) 55%, rgba(255,255,255,.97) 100%),
    url('images/shoreline-illustration.jpg');
  background-size: cover;
  background-position: center 65%;
  padding: 84px 0 60px;
  text-align: center;
}
.hero-icon { height: 96px; width: auto; margin: 0 auto 18px; display: block; }
.hero .kicker { letter-spacing: .18em; text-transform: uppercase; font-size: 1.05rem; color: var(--mid); font-weight: 700; }
.hero h1 { margin: 12px auto 18px; max-width: 800px; font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.hero .sub { max-width: 680px; margin: 0 auto 30px; color: var(--muted); font-size: 1.12rem; }
.btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; text-decoration: none; border-radius: 999px;
  padding: 13px 28px; font-weight: 600; font-size: 1rem;
  transition: all .18s ease;
}
.btn-primary { background: var(--deep); color: #fff; }
.btn-primary:hover { background: var(--deep-2); transform: translateY(-1px); }
.btn-outline { border: 2px solid var(--deep); color: var(--deep); }
.btn-outline:hover { background: var(--deep); color: #fff; }

/* Page hero (interior pages) */
.page-hero { background: linear-gradient(175deg, var(--soft), #f4faf9); padding: 56px 0 44px; text-align: center; }
.page-hero p { color: var(--muted); max-width: 640px; margin: 10px auto 0; }

/* Sections */
section { padding: 56px 0; }
section.tint { background: var(--sand); }
section.tint-blue { background: #f0f7f6; }
.section-label { letter-spacing: .16em; text-transform: uppercase; font-size: .78rem; color: var(--accent); font-weight: 700; margin-bottom: 6px; }
.center { text-align: center; }

/* Cards */
.grid { display: grid; gap: 22px; margin-top: 30px; }
.grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.card {
  background: #fff; border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow); border-top: 3px solid var(--mid);
}
.card h3 { color: var(--deep); }
.card ul { margin: 10px 0 0 20px; }
.card li { margin-bottom: 6px; }
.chip-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }
.chip {
  background: #fff; border: 1px solid var(--soft); border-radius: 999px;
  padding: 9px 18px; font-size: .95rem; color: var(--deep);
  box-shadow: 0 2px 8px rgba(28,43,71,.06);
}

/* Two-column feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.portrait-placeholder {
  aspect-ratio: 4/5; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--soft), var(--mid));
  display: grid; place-items: center; color: #fff;
  font-family: 'Lora', serif; font-size: 1.1rem; text-align: center; padding: 20px;
}
.portrait-photo {
  aspect-ratio: 4/5; width: 100%; object-fit: cover; object-position: top center;
  border-radius: var(--radius); box-shadow: var(--shadow); display: block;
}

/* Steps */
.steps { counter-reset: step; margin-top: 26px; display: grid; gap: 16px; }
.step {
  background: #fff; border-radius: var(--radius); padding: 20px 22px 20px 66px;
  position: relative; box-shadow: var(--shadow);
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 18px; top: 18px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--mid); color: #fff; display: grid; place-items: center;
  font-weight: 700; font-family: 'Lora', serif;
}

/* FAQ */
details {
  background: #fff; border-radius: 12px; margin-bottom: 12px;
  box-shadow: var(--shadow); overflow: hidden;
}
summary {
  cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--deep);
  font-size: 1.05rem; list-style: none; position: relative; padding-right: 46px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; color: var(--mid);
}
details[open] summary::after { content: "–"; }
details .answer { padding: 0 22px 20px; color: var(--ink); }

/* Notice / callout */
.callout {
  background: var(--soft); border-left: 4px solid var(--mid);
  border-radius: 0 12px 12px 0; padding: 18px 22px; margin: 24px 0;
}
.callout.warn { background: #fdf3e7; border-color: var(--accent); }
.crisis-box {
  background: #fff; border: 2px solid var(--deep); border-radius: var(--radius);
  padding: 26px; margin: 18px 0; text-align: center;
}
.crisis-box .big { font-size: 2rem; font-family: 'Lora', serif; color: var(--deep); }

/* CTA band */
.cta-band {
  background: linear-gradient(160deg, var(--deep), var(--deep-2));
  color: #fff; text-align: center; padding: 64px 24px;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #ccd4bf; max-width: 620px; margin: 0 auto 26px; }
.cta-band .btn-primary { background: #fff; color: var(--deep); }
.cta-band .btn-primary:hover { background: var(--sand); }

/* Footer */
footer { background: var(--deep-2); color: #c3ceb8; padding: 48px 0 28px; font-size: .93rem; }
footer h4 { color: #fff; font-family: 'Lora', serif; margin-bottom: 10px; font-size: 1.05rem; }
footer a { color: #b9d2d0; text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 30px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
footer ul { list-style: none; }
footer li { margin-bottom: 7px; }
.footer-bottom { border-top: 1px solid #2a3a5a; margin-top: 34px; padding-top: 18px; text-align: center; color: #9aa78e; font-size: .85rem; }
.footer-crisis { background: #0f1a2e; border-radius: 10px; padding: 14px 16px; margin-top: 10px; font-size: .88rem; }

/* Utility */
.tagline { font-family: 'Lora', serif; font-style: italic; color: var(--mid); font-size: 1.25rem; }
.tbd { background: #fdf3e7; border-radius: 6px; padding: 1px 8px; color: #8a6320; font-size: .9em; }
table.fees { width: 100%; border-collapse: collapse; margin-top: 18px; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
table.fees th, table.fees td { padding: 14px 18px; text-align: left; border-bottom: 1px solid #eef3f3; }
table.fees th { background: var(--soft); color: var(--deep); font-family: 'Lora', serif; }
