/* ==========================================================
   First Response Wellness — site styles
   Colors are set once here. Change a color below and it
   updates everywhere on the site.
   ========================================================== */
:root {
  --navy: #132f57;        /* headings, dark buttons */
  --teal: #25a0c3;        /* main accent / buttons */
  --teal-dark: #1c86a5;
  --ink: #192730;         /* body text */
  --muted: #4a5a66;
  --light: #f6f6f8;       /* light section background */
  --footer: #1a3446;
  --white: #ffffff;
  --radius: 6px;
  --max: 1180px;
  --head: "Manrope", Arial, Helvetica, sans-serif;
  --body: "Inter", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--navy); line-height: 1.2; margin: 0 0 .6em; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section.light { background: var(--light); }
.center { text-align: center; }
.narrow { max-width: 800px; margin-left: auto; margin-right: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--teal-dark); font-size: .9rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--radius);
  background: var(--teal);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--teal);
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: var(--white); }
.btn.white { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn.white:hover { background: var(--light); color: var(--navy); }
.btn.outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn.outline:hover { background: var(--white); color: var(--navy); }
.btn.navy { background: var(--navy); border-color: var(--navy); }
.btn.navy:hover { background: #0c2140; }

/* ---------- Header ---------- */
.site-header { background: var(--white); border-bottom: 1px solid #e6e8ec; position: sticky; top: 0; z-index: 50; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.logo img { width: 210px; }
.nav { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav > li { position: relative; }
.nav a { display: block; white-space: nowrap; padding: 10px 12px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; }
.nav a:hover, .nav a.active { color: var(--teal-dark); }
.nav .sub { display: none; position: absolute; top: 100%; left: 0; background: var(--white); list-style: none; margin: 0; padding: 8px 0; min-width: 200px; box-shadow: 0 10px 30px rgba(0,0,0,.12); border-radius: var(--radius); }
.nav li:hover > .sub, .nav li:focus-within > .sub { display: block; }
.nav .nav-cta a { background: var(--teal); color: var(--white); border-radius: var(--radius); padding: 10px 18px; margin-left: 8px; }
.nav .nav-cta a:hover { background: var(--teal-dark); color: var(--white); }
.menu-toggle { display: none; background: var(--teal); color: var(--white); border: 0; border-radius: var(--radius); width: 46px; height: 42px; font-size: 1.4rem; cursor: pointer; }

@media (max-width: 1100px) {
  .menu-toggle { display: block; margin-left: auto; }
  .nav { display: none; position: absolute; top: 84px; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; padding: 10px 20px 20px; box-shadow: 0 12px 24px rgba(0,0,0,.1); }
  .nav.open { display: flex; }
  .nav .sub { display: block; position: static; box-shadow: none; padding: 0 0 0 16px; }
  .nav .nav-cta a { margin: 8px 0 0; text-align: center; }
  .logo img { width: 170px; }
}

/* ---------- Hero banners ---------- */
.hero {
  position: relative;
  color: var(--white);
  background-size: cover;
  background-position: center;
  padding: 110px 0;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(19,47,87,.92) 0%, rgba(19,47,87,.7) 55%, rgba(19,47,87,.45) 100%); }
.hero .container { position: relative; }
.hero h1, .hero h2 { color: var(--white); }
.hero p { font-size: 1.1rem; max-width: 620px; }
.hero.small { padding: 80px 0; }
.hero.small h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin: 0; }

.home-hero .container { display: grid; grid-template-columns: 1.2fr .9fr; gap: 48px; align-items: center; }
.contact-card { background: var(--white); color: var(--ink); border-radius: 10px; padding: 34px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.hero .contact-card h2, .contact-card h2 { font-size: 2rem; color: var(--navy); }
.contact-list { list-style: none; padding: 0; margin: 0 0 22px; }
.contact-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #eceef2; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .ico { flex: 0 0 38px; height: 38px; border-radius: 50%; background: var(--light); color: var(--teal-dark); display: grid; place-items: center; }
.contact-list a { color: var(--navy); font-weight: 600; text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--teal-dark); }
.contact-list small { display: block; color: var(--muted); font-size: .8rem; }
.contact-card .btn { width: 100%; text-align: center; }
@media (max-width: 900px) { .home-hero .container { grid-template-columns: 1fr; } .hero { padding: 72px 0; } }

/* ---------- Service photo cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.photo-card {
  position: relative; min-height: 340px; border-radius: 10px; overflow: hidden;
  background-size: cover; background-position: center; color: var(--white);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 28px;
}
.photo-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19,47,87,.15) 0%, rgba(19,47,87,.9) 75%); }
.photo-card > * { position: relative; }
.photo-card h3 { color: var(--white); font-size: 1.5rem; }
.photo-card .btn { align-self: flex-start; }
@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr; } }

/* ---------- Icon tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 36px; }
.tile { background: var(--white); border-radius: 10px; padding: 24px 12px; text-align: center; box-shadow: 0 4px 16px rgba(19,47,87,.06); }
.tile svg { width: 38px; height: 38px; color: var(--teal); margin: 0 auto 10px; }
.tile span { font-family: var(--head); font-weight: 700; color: var(--navy); font-size: .98rem; line-height: 1.3; display: block; }
@media (max-width: 960px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .tiles { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Feature cards (image on top) ---------- */
.feature { background: var(--white); border-radius: 10px; overflow: hidden; box-shadow: 0 6px 24px rgba(19,47,87,.08); display: flex; flex-direction: column; }
.feature img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.feature .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.feature .body p { flex: 1; }
.feature .body .btn { align-self: flex-start; }

/* ---------- Banner / notice ---------- */
.notice { background: var(--navy); color: var(--white); border-radius: 10px; padding: 36px 40px; border-left: 6px solid var(--teal); }
.notice h2, .notice h3 { color: var(--white); }
.notice p:last-child { margin: 0; }

/* ---------- Two column layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.top { align-items: start; }
.split img.rounded, .rounded { border-radius: 10px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Accordions (FAQ / steps) ---------- */
details { background: var(--white); border: 1px solid #e3e6eb; border-radius: var(--radius); margin-bottom: 10px; }
details summary { cursor: pointer; padding: 16px 20px; font-weight: 700; color: var(--navy); list-style: none; position: relative; padding-right: 48px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--teal); }
details[open] summary::after { content: "–"; }
details .answer { padding: 0 20px 18px; }
details .answer p:last-child { margin: 0; }

/* ---------- Price / check lists ---------- */
.checks { list-style: none; padding: 0; margin: 0 0 20px; }
.checks li { position: relative; padding: 6px 0 6px 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 11px; width: 18px; height: 18px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat; }
.prices { background: var(--light); border-radius: 10px; padding: 20px 24px; margin: 0 0 24px; }
.prices .row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed #cfd5dc; }
.prices .row:last-child { border-bottom: 0; }
.prices .row strong { color: var(--navy); white-space: nowrap; }

.options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.option { background: var(--white); border-radius: 10px; padding: 30px; box-shadow: 0 6px 24px rgba(19,47,87,.08); border-top: 4px solid var(--teal); display: flex; flex-direction: column; }
.option .checks { flex: 1; }
.option .btn { align-self: flex-start; }
@media (max-width: 900px) { .options { grid-template-columns: 1fr; } }

.menu-item { background: var(--white); border-radius: 10px; padding: 22px 24px; margin-bottom: 14px; box-shadow: 0 4px 16px rgba(19,47,87,.06); }
.menu-item .top { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.menu-item h3 { margin: 0 0 6px; font-size: 1.15rem; }
.menu-item .price { font-family: var(--head); font-weight: 800; color: var(--teal-dark); white-space: nowrap; }
.menu-item p { margin: 0; color: var(--muted); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }

/* ---------- Partners ---------- */
.partners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: center; }
.partners img { background: var(--white); border-radius: 10px; padding: 10px; box-shadow: 0 4px 16px rgba(19,47,87,.06); }
@media (max-width: 700px) { .partners { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Video ---------- */
.video { position: relative; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Call to action band ---------- */
.cta {
  position: relative; color: var(--white); text-align: center;
  background-size: cover; background-position: center; padding: 90px 0;
}
.cta::before { content: ""; position: absolute; inset: 0; background: rgba(19,47,87,.82); }
.cta .container { position: relative; }
.cta h2 { color: var(--white); }
.cta p { max-width: 640px; margin: 0 auto 26px; font-size: 1.1rem; }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 900px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { background: var(--white); border-radius: 10px; overflow: hidden; box-shadow: 0 6px 24px rgba(19,47,87,.08); display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.post-card:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(19,47,87,.14); }
.post-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.post-card .ph { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--navy), var(--teal)); display: grid; place-items: center; }
.post-card .ph img { width: 64px; aspect-ratio: auto; filter: brightness(0) invert(1); opacity: .85; }
.post-card .body { padding: 20px 22px 24px; }
.post-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.post-card .date { font-size: .85rem; color: var(--muted); display: block; margin-bottom: 8px; }
.post-card p { font-size: .95rem; color: var(--muted); margin: 0; }

.article { max-width: 780px; margin: 0 auto; }
.article .date { color: var(--muted); display: block; margin-bottom: 26px; }
.article img { border-radius: 10px; margin: 24px auto; }
.article h2 { font-size: 1.7rem; margin-top: 1.6em; }
.article h3 { margin-top: 1.4em; }
.article ul, .article ol { padding-left: 1.3em; }
.article li { margin-bottom: .4em; }
.article table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.article th, .article td { border: 1px solid #dfe3e8; padding: 10px; text-align: left; }
.article blockquote { border-left: 4px solid var(--teal); margin: 20px 0; padding: 4px 20px; background: var(--light); }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: #c9d6e0; padding: 56px 0 28px; }
.site-footer .grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer img.flogo { width: 200px; background: var(--white); padding: 10px 14px; border-radius: 8px; margin-bottom: 16px; }
.site-footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 4px 0; }
.site-footer a { color: #c9d6e0; text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer .bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; font-size: .85rem; }
@media (max-width: 800px) { .site-footer .grid { grid-template-columns: 1fr; } }

/* ==========================================================
   PINK OCTOBER — Breast Cancer Awareness Month
   Turns on automatically Oct 1 and off Nov 1 each year
   (see the small script at the top of every page).
   ========================================================== */
.awareness-bar, .logo-ribbon { display: none; }
.ribbon { width: 16px; height: 26px; flex: 0 0 auto; }

html.pink-october {
  --teal: #e0457b;       /* buttons and accents become pink */
  --teal-dark: #c2185b;
  --light: #fdf2f6;      /* soft pink section backgrounds */
}
html.pink-october .awareness-bar {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #e0457b; color: #fff; font-size: .92rem; padding: 8px 16px; text-align: center;
}
html.pink-october .awareness-bar .ribbon { color: #fff; }
html.pink-october .logo { display: flex; align-items: center; gap: 10px; }
html.pink-october .logo-ribbon { display: block; color: #e0457b; width: 20px; height: 32px; }
html.pink-october .hero::before { background: linear-gradient(90deg, rgba(19,47,87,.9) 0%, rgba(122,30,78,.7) 60%, rgba(224,69,123,.45) 100%); }
html.pink-october .photo-card::before { background: linear-gradient(180deg, rgba(122,30,78,.15) 0%, rgba(19,47,87,.9) 75%); }
html.pink-october .cta::before { background: linear-gradient(135deg, rgba(19,47,87,.85), rgba(194,24,91,.8)); }
html.pink-october .notice { border-left-color: #e0457b; }
html.pink-october .site-footer { border-top: 5px solid #e0457b; }
html.pink-october .post-card .ph { background: linear-gradient(135deg, var(--navy), #e0457b); }
@media (max-width: 960px) { html.pink-october .nav { top: 84px; } }
@media (max-width: 420px) { .contact-list a { font-size: .88rem; } .contact-card { padding: 26px 20px; } }
