/* ============================================================
   Manatee Marketing Co. — shared stylesheet
   Warm hometown design system: cream / deep teal / coral
   ============================================================ */

:root {
  --cream: #FAF6EF;
  --cream-deep: #F3ECDD;
  --teal: #0E5E5B;
  --teal-dark: #093F3D;
  --teal-soft: #DCEAE6;
  --coral: #E8785A;
  --coral-dark: #C95B3F;
  --coral-soft: #F9E2D9;
  --ink: #27302E;
  --ink-soft: #4E5A57;
  --white: #FFFFFF;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(14, 94, 91, 0.10);
  --shadow-soft: 0 4px 14px rgba(14, 94, 91, 0.08);
  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--teal-dark);
  line-height: 1.18;
  font-weight: 600;
}

h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }

p { margin-bottom: 1.1rem; color: var(--ink-soft); }
p:last-child { margin-bottom: 0; }

a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--coral-dark); }

ul, ol { margin: 0 0 1.1rem 1.3rem; color: var(--ink-soft); }
li { margin-bottom: 0.45rem; }

strong { color: var(--ink); }

.container { max-width: 1060px; margin: 0 auto; padding: 0 1.25rem; }
.container-narrow { max-width: 780px; margin: 0 auto; padding: 0 1.25rem; }

.section { padding: 3.5rem 0; }
.section-alt { background: var(--white); }
.section-teal { background: var(--teal); }
.section-teal h2, .section-teal h3 { color: var(--cream); }
.section-teal p, .section-teal li { color: var(--teal-soft); }
.section-teal a { color: var(--coral-soft); }

.center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-dark);
  background: var(--coral-soft);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.section-teal .eyebrow { background: rgba(250, 246, 239, 0.12); color: var(--coral-soft); }

.lede { font-size: 1.18rem; max-width: 46em; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary { background: var(--coral); color: var(--white); }
.btn-primary:hover { background: var(--coral-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: var(--cream); }
.btn-light { background: var(--cream); color: var(--teal-dark); }
.btn-light:hover { background: var(--white); color: var(--teal-dark); }
.btn-row { display: flex; gap: 0.9rem; flex-wrap: wrap; justify-content: center; margin-top: 1.6rem; }

/* ---------- Header ---------- */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--cream-deep);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  gap: 1rem;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--teal-dark);
  text-decoration: none;
  line-height: 1.1;
}
.brand:hover { color: var(--teal); }
.brand svg { flex-shrink: 0; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--teal-dark);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--cream-deep);
  box-shadow: var(--shadow);
  padding: 1rem 1.25rem 1.4rem;
  flex-direction: column;
  gap: 0.35rem;
}
.site-nav.open { display: flex; }
.site-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--ink);
  padding: 0.45rem 0.2rem;
  border-radius: 8px;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--teal); }
.site-nav a[aria-current="page"] { font-weight: 700; }
.site-nav .nav-cta {
  background: var(--coral);
  color: var(--white);
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  text-align: center;
  font-weight: 600;
  margin-top: 0.4rem;
}
.site-nav .nav-cta:hover { background: var(--coral-dark); color: var(--white); }

@media (min-width: 880px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex !important;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.3rem;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
  }
  .site-nav .nav-cta { margin-top: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 5rem;
  text-align: center;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.hero::before {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(232,120,90,0.16), transparent 68%);
  top: -140px; right: -120px;
}
.hero::after {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(14,94,91,0.12), transparent 68%);
  bottom: -220px; left: -160px;
}
.hero .container-narrow { position: relative; z-index: 1; }
.hero h1 { margin-bottom: 1.1rem; }
.hero .lede { font-size: 1.22rem; }

/* ---------- Wave divider ---------- */
.wave { display: block; width: 100%; height: 56px; }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  gap: 1.4rem;
  margin-top: 2.2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) {
  .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
  .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(14, 94, 91, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: var(--teal-soft);
  border-radius: 14px;
  margin-bottom: 1rem;
}
.card .icon.coral { background: var(--coral-soft); }
.card h3 a { text-decoration: none; color: inherit; }
.card h3 a:hover { color: var(--coral-dark); }
.card p { font-size: 0.98rem; }
.card-link { font-weight: 600; font-size: 0.95rem; }

.section-alt .card { background: var(--cream); border-color: var(--cream-deep); }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; display: grid; gap: 1.6rem; margin-top: 2.6rem; grid-template-columns: 1fr; }
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps.cols-3 { grid-template-columns: repeat(3, 1fr); }
}
.step { position: relative; background: var(--white); border-radius: var(--radius); padding: 2.4rem 1.4rem 1.5rem; box-shadow: var(--shadow-soft); }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -18px; left: 1.3rem;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--coral);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  border-radius: 50%;
  box-shadow: var(--shadow-soft);
}
.step h3 { font-size: 1.1rem; }
.step p { font-size: 0.95rem; }

/* ---------- Trust / results ---------- */
.trust-grid { display: grid; gap: 1.4rem; margin-top: 2.2rem; grid-template-columns: 1fr; }
@media (min-width: 860px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }
.trust-card {
  background: rgba(250, 246, 239, 0.07);
  border: 1px solid rgba(250, 246, 239, 0.16);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
}
.trust-card .result {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--coral-soft);
  display: block;
  margin-bottom: 0.5rem;
  line-height: 1.15;
}
.trust-card p { font-size: 0.97rem; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; margin-left: 0; }
.checklist li {
  padding-left: 2rem;
  position: relative;
  margin-bottom: 0.7rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.32em;
  width: 1.1em; height: 1.1em;
  border-radius: 50%;
  background: var(--coral-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23C95B3F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center/70% no-repeat;
}

/* ---------- Two column ---------- */
.two-col { display: grid; gap: 2.2rem; align-items: start; grid-template-columns: 1fr; }
@media (min-width: 860px) { .two-col { grid-template-columns: 1fr 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 2rem auto 0; }
.faq details {
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  margin-bottom: 0.9rem;
  padding: 1.1rem 1.4rem;
  border: 1px solid rgba(14, 94, 91, 0.06);
}
.section-alt .faq details { background: var(--cream); border-color: var(--cream-deep); }
.faq summary {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--teal-dark);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--coral);
  font-family: var(--font-body);
  font-weight: 400;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin-top: 0.8rem; font-size: 0.99rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--teal);
  border-radius: var(--radius);
  padding: 3rem 1.75rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,120,90,0.28), transparent 70%);
  top: -120px; right: -80px;
}
.cta-band h2 { color: var(--cream); position: relative; }
.cta-band p { color: var(--teal-soft); position: relative; max-width: 40em; margin-left: auto; margin-right: auto; }
.cta-band .btn-row { position: relative; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.6rem;
  border: 1px solid rgba(14, 94, 91, 0.06);
}
.form-field { margin-bottom: 1.2rem; }
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--teal-dark);
  margin-bottom: 0.35rem;
}
.form-field input,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 0.95rem;
  border: 1.5px solid var(--cream-deep);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.15s ease;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--white);
}
.form-hint { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.3rem; }
.hidden-field { display: none; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--teal-dark);
  color: var(--teal-soft);
  margin-top: 3rem;
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  padding-bottom: 2rem;
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.7rem;
}
.site-footer p { color: rgba(220, 234, 230, 0.85); font-size: 0.95rem; }
.site-footer h4 {
  color: var(--cream);
  font-size: 0.85rem;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.8rem;
}
.site-footer ul { list-style: none; margin: 0; }
.site-footer li { margin-bottom: 0.45rem; }
.site-footer a { color: rgba(250, 246, 239, 0.88); text-decoration: none; font-size: 0.95rem; }
.site-footer a:hover { color: var(--coral-soft); text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(250, 246, 239, 0.15);
  padding-top: 1.4rem;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(220, 234, 230, 0.7);
}
.footer-bottom span { display: block; margin-top: 0.3rem; }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding: 3.5rem 0 3rem; text-align: center; position: relative; overflow: hidden; }
.page-hero::before {
  content: "";
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,120,90,0.13), transparent 68%);
  top: -150px; right: -110px;
  pointer-events: none;
}
.page-hero h1 { margin-bottom: 1rem; }

/* ---------- Prose ---------- */
.prose h2 { margin-top: 2.4rem; }
.prose h3 { margin-top: 1.6rem; }
.prose > :first-child { margin-top: 0; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 5rem 0; }
.notfound .big {
  font-family: var(--font-head);
  font-size: clamp(4rem, 14vw, 7rem);
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
}

/* ---------- Utility ---------- */
.mt-2 { margin-top: 2rem; }
.badge-row { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-top: 1.4rem; }
.badge {
  background: var(--white);
  border: 1px solid var(--cream-deep);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--teal-dark);
  box-shadow: var(--shadow-soft);
}

/* mobile fixes */
img { max-width: 100%; height: auto; }
.card-grid > *, .two-col > *, .footer-grid > *, .steps > *, .trust-grid > * { min-width: 0; }
.site-footer p, .site-footer a, .footer-bottom { overflow-wrap: break-word; }
@media (max-width: 879px) {
  .nav-toggle { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
  .site-nav { max-height: calc(100vh - 72px); overflow-y: auto; }
  .site-nav a { min-height: 44px; display: flex; align-items: center; padding: 0.55rem 0.4rem; }
  .site-nav .nav-cta { justify-content: center; }
}
@media (max-width: 640px) {
  .site-footer li { margin-bottom: 0; }
  .site-footer ul a { display: inline-block; padding: 0.4rem 0; }
}

/* form select (match text inputs) */
.form-field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 0.95rem;
  border: 1.5px solid var(--cream-deep);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.15s ease;
}
.form-field select:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--white);
}
