/* ============================================================
   HYPERLOCAL DESIGN SYSTEM — Bayside variant: Terracotta / Cream
   ============================================================ */

:root {
  --ink: #2B211C;
  --ink-soft: #3D2E24;
  --teal: #C1592E;
  --teal-deep: #9C4322;
  --teal-pale: #F5EAE0;
  --navy-teal: #4A342A;
  --paper: #FDF8F3;
  --white: #FFFFFF;
  --sand: #E8D9C8;
  --sand-line: #EDE1D3;
  --slate: #8A6A52;
  --slate-light: #B0967F;
  --danger-bg: #FBEAE7;
  --danger-border: #E3A79B;
  --danger-text: #8A3A2A;
  --success-bg: #E9F5EE;
  --success-border: #9FCFB4;
  --success-text: #1F5C3D;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-frame: 0 24px 60px -20px rgba(43, 33, 28, 0.35);
  --shadow-card: 0 2px 14px rgba(43, 33, 28, 0.06);
  --font-display: 'Source Serif 4', Georgia, serif;
  --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-deep); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0; }
p { margin: 0 0 1rem; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }

/* ---------- Nav ---------- */
nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 2.5rem;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sand-line);
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { width: 34px; height: 34px; border-radius: 9px; }
.nav-logo .logo-text { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.nav-links { list-style: none; display: flex; gap: 2.1rem; margin: 0; padding: 0; align-items: center; }
.nav-links a {
  text-decoration: none; color: var(--ink-soft); font-size: 0.92rem; font-weight: 500;
  padding-bottom: 3px; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--teal-deep); border-bottom-color: var(--teal); }
.nav-cta {
  background: var(--teal); color: var(--white) !important; padding: 0.6rem 1.3rem;
  border-radius: 100px; font-weight: 600; border: none;
}
.nav-cta:hover { background: var(--teal-deep); border-bottom-color: transparent !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; padding: 0.85rem 1.7rem;
  border-radius: 100px; font-family: var(--font-body); font-weight: 600; font-size: 0.96rem;
  text-decoration: none; border: none; cursor: pointer; transition: transform .15s, background .2s, box-shadow .2s;
}
.btn-primary { background: var(--teal); color: var(--white); box-shadow: 0 10px 24px -10px rgba(193,89,46,0.55); }
.btn-primary:hover { background: var(--teal-deep); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--sand-line); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal-deep); }
.btn-white { background: var(--white); color: var(--teal-deep); }
.btn-white:hover { background: var(--teal-pale); transform: translateY(-1px); }

/* ---------- Eyebrow / tags ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.76rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--teal-deep); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: var(--teal); display: inline-block; }

/* ---------- Full-bleed hero with floating card (Bayside structural variant) ---------- */
.hero-sub { font-size: 1.06rem; color: var(--slate); line-height: 1.7; max-width: 34rem; margin-bottom: 1.9rem; }
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }

/* ---------- Full-bleed hero with floating card (Bayside structural variant) ---------- */
.hero-fullbleed { position: relative; min-height: 78vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-fullbleed::before {
  content: ""; position: absolute; inset: 0;
  background: url('image.webp') center 28%/cover no-repeat;
}
.hero-fullbleed::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(43,33,28,0.88) 0%, rgba(43,33,28,0.32) 50%, rgba(43,33,28,0.02) 78%);
}
.hero-float-wrap { position: relative; z-index: 1; width: 100%; padding: 0 2.5rem; }
.hero-float-card {
  background: var(--white); border-radius: var(--radius-lg); margin: 0 auto; max-width: 880px;
  padding: clamp(1.8rem, 4vw, 3rem); box-shadow: var(--shadow-frame); transform: translateY(52%);
  text-align: center;
}
.hero-float-card h1 {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1.1; letter-spacing: -0.015em; font-weight: 500;
  margin-bottom: 1rem;
}
.hero-float-card h1 em { font-style: italic; color: var(--teal-deep); font-weight: 440; }
.hero-float-card .hero-sub { max-width: 42rem; margin: 0 auto 1.6rem; text-align: center; }
.hero-float-card .hero-actions { justify-content: center; }
.hero-fullbleed-spacer { height: clamp(90px, 12vw, 160px); background: var(--paper); }
@media (max-width: 860px) {
  .hero-fullbleed { min-height: 50vh; }
  .hero-float-card { transform: translateY(38%); padding: 1.6rem; }
  .hero-fullbleed-spacer { height: 90px; }
}

/* ---------- Horizontal stepper (Bayside structural variant, replaces vertical timeline) ---------- */
.stepper-h { display: flex; max-width: 1040px; margin: 0 auto; position: relative; gap: 0; }
.stepper-h::before { content: ""; position: absolute; top: 26px; left: 70px; right: 70px; height: 2px; background: var(--sand-line); }
.stepper-h-item { flex: 1; text-align: center; padding: 0 1.2rem; position: relative; }
.stepper-h-num {
  width: 52px; height: 52px; border-radius: 50%; background: var(--teal); color: var(--white);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1.3rem; position: relative; z-index: 1;
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 600;
  box-shadow: 0 8px 20px -6px rgba(156,67,34,0.5);
}
.stepper-h-item h3 { font-size: 1rem; font-weight: 600; color: var(--ink); margin-bottom: 0.55rem; }
.stepper-h-item p { font-size: 0.88rem; color: var(--slate); line-height: 1.6; margin: 0; }
@media (max-width: 860px) {
  .stepper-h { flex-direction: column; gap: 2.2rem; }
  .stepper-h::before { display: none; }
}

/* ---------- Featured testimonial (Bayside structural variant, replaces card grid) ---------- */
.testimonial-featured { max-width: 760px; margin: 0 auto 2.8rem; text-align: center; }
.testimonial-featured .quote-mark {
  font-family: var(--font-display); font-style: italic; font-size: 4.5rem; color: var(--teal);
  opacity: 0.28; line-height: 1; display: block; margin-bottom: -1.2rem;
}
.testimonial-featured p {
  font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.55rem); font-style: italic;
  color: var(--ink); line-height: 1.5; margin: 0 0 1.3rem; font-weight: 440;
}
.testimonial-featured .testimonial-stars { justify-content: center; display: flex; margin-bottom: 0.8rem; }
.testimonial-featured .testimonial-name { font-family: var(--font-body); font-size: 0.85rem; font-weight: 700; color: var(--ink-soft); font-style: normal; }
.testimonial-secondary-row { display: flex; gap: 2.4rem; max-width: 900px; margin: 0 auto; justify-content: center; flex-wrap: wrap; padding-top: 2rem; border-top: 1px solid var(--sand-line); }
.testimonial-secondary { flex: 1; min-width: 220px; max-width: 300px; text-align: center; }
.testimonial-secondary .testimonial-stars { justify-content: center; display: flex; margin-bottom: 0.6rem; font-size: 0.85rem; }
.testimonial-secondary p { font-size: 0.86rem; color: var(--slate); line-height: 1.6; margin-bottom: 0.5rem; }
.testimonial-secondary .testimonial-name { font-size: 0.8rem; font-weight: 700; color: var(--ink-soft); }
@media (max-width: 860px) { .testimonial-secondary-row { flex-direction: column; align-items: center; gap: 1.6rem; } }

.section, .page-hero, .facts-strip, .terms-layout, .booking-wrap, .about-wrap,
.terms-card, .hero-frame-wrap, .iframe-card, .value-rows, .timeline, .essentials-grid { position: relative; z-index: 0; }


@media (max-width: 860px) {
  nav { padding: 1rem 1.3rem; }
  .nav-links { position: fixed; top: 64px; left: 0; right: 0; background: var(--paper); flex-direction: column;
    align-items: flex-start; gap: 0; padding: 0.5rem 1.5rem 1.2rem; border-bottom: 1px solid var(--sand-line);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links li { width: 100%; padding: 0.65rem 0; border-bottom: 1px solid var(--sand-line); }
  .nav-links li:last-child { border-bottom: none; }
  .hamburger { display: flex; }
}

/* ---------- Inline hero stats (replaces old full-width facts strip) ---------- */
.hero-stats { display: flex; flex-wrap: wrap; gap: 1.8rem; margin-top: 2rem; }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-value { font-family: var(--font-display); font-size: 1.2rem; color: var(--teal-deep); font-weight: 600; }
.hero-stat-label { font-size: 0.76rem; color: var(--slate); margin-top: 1px; }

/* ---------- Sections ---------- */
.section { padding: 5rem 2.5rem; }
.section-tint { background: var(--teal-pale); }
.section-title { font-size: clamp(1.6rem, 2.6vw, 2.15rem); font-weight: 500; letter-spacing: -0.01em; line-height: 1.18; }
.section-lead { font-size: 1rem; color: var(--slate); max-width: 40rem; margin: 0.85rem 0 0; line-height: 1.7; }
.section-head { text-align: center; margin: 0 auto 3rem; max-width: 640px; }
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::before { display: none; }

/* ---------- Program essentials (replaces old pill-row) ---------- */
.essentials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.2rem; align-items: center; max-width: 1160px; margin: 0 auto; }
.essentials-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.1rem; }
.essentials-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem; color: var(--ink-soft); line-height: 1.5; }
.essentials-check {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--teal);
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.essentials-check svg { width: 13px; height: 13px; stroke: var(--white); stroke-width: 3; }
@media (max-width: 860px) { .essentials-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- FAQ (editorial, always-visible — replaces old accordion) ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--sand-line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 1.35rem 0; font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-q svg { flex-shrink: 0; width: 18px; height: 18px; stroke: var(--teal-deep); transition: transform .25s; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; font-size: 0.94rem; color: var(--slate); line-height: 1.75; }
.faq-item.open .faq-a { max-height: 600px; padding-bottom: 1.4rem; }
.faq-a a { color: var(--teal-deep); }

/* ---------- Hyper-local guide cards ---------- */
.guide-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.3rem; }
.guide-card { background: var(--white); border: 1px solid var(--sand-line); border-radius: var(--radius-lg); padding: 1.7rem 2rem; box-shadow: var(--shadow-card); }
.guide-card h3 { font-size: 1rem; margin-bottom: 0.65rem; color: var(--teal-deep); }
.guide-card p { font-size: 0.92rem; color: var(--slate); line-height: 1.72; margin: 0; }
@media (max-width: 860px) { .guide-card { padding: 1.4rem 1.5rem; } }

/* ---------- Closing image band (new — bookends the framed hero photo) ---------- */
.closing-band {
  position: relative; min-height: 360px; display: flex; align-items: center; justify-content: center;
  overflow: hidden; text-align: center;
}
.closing-band::before {
  content: ""; position: absolute; inset: 0;
  background: url('image.webp') center 35%/cover no-repeat;
  filter: saturate(0.82) contrast(1.08);
  transform: scale(1.06);
}
.closing-band-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(74,52,42,0.90), rgba(193,89,46,0.74));
}
.closing-band-content { position: relative; z-index: 1; max-width: 600px; padding: 3rem 2rem; }
.closing-band-content h2 { color: var(--white); font-size: clamp(1.6rem, 2.8vw, 2.25rem); margin-bottom: 0.9rem; }
.closing-band-content p { color: rgba(250,250,247,0.82); font-size: 0.98rem; margin-bottom: 1.7rem; line-height: 1.6; }

/* ---------- About page value rows (replaces old 3-column value-card grid) ---------- */
.value-rows { display: flex; flex-direction: column; gap: 0; margin: 1.8rem 0; }
.value-row {
  display: grid; grid-template-columns: 52px 1fr; gap: 1.2rem; align-items: flex-start;
  padding: 1.5rem 0; border-bottom: 1px solid var(--sand-line);
}
.value-row:first-child { padding-top: 0; }
.value-row:last-child { border-bottom: none; padding-bottom: 0; }
.value-row-icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--teal-pale);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.value-row-icon svg { width: 21px; height: 21px; stroke: var(--teal-deep); }
.value-row h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 0.4rem; }
.value-row p { font-size: 0.9rem; color: var(--slate); margin: 0; line-height: 1.6; }

/* ---------- Fact ticker (local + newsworthy cannabis context) ---------- */
.fact-ticker { display: flex; flex-wrap: wrap; border-top: 1px solid var(--sand-line); border-bottom: 1px solid var(--sand-line); }
.fact-ticker-item { flex: 1; min-width: 260px; padding: 1.8rem 2.2rem; border-left: 1px solid var(--sand-line); }
.fact-ticker-item:first-child { border-left: none; }
.fact-ticker-label {
  font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--teal-deep);
  font-weight: 700; margin-bottom: 0.6rem; display: block;
}
.fact-ticker-item p { font-size: 0.9rem; color: var(--slate); margin: 0; line-height: 1.65; }
@media (max-width: 860px) {
  .fact-ticker-item { border-left: none; border-top: 1px solid var(--sand-line); flex: 1 1 100%; }
  .fact-ticker-item:first-child { border-top: none; }
}

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; max-width: 1160px; margin: 0 auto; }
.testimonial-card {
  background: var(--white); border: 1px solid var(--sand-line); border-radius: var(--radius);
  padding: 1.7rem; box-shadow: var(--shadow-card);
}
.testimonial-stars { color: var(--teal); font-size: 0.95rem; letter-spacing: 2px; margin-bottom: 0.9rem; }
.testimonial-card p { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.65; margin-bottom: 1.1rem; font-style: italic; }
.testimonial-name { font-size: 0.85rem; font-weight: 700; color: var(--ink); }
@media (max-width: 860px) { .testimonial-grid { grid-template-columns: 1fr; } }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--navy-teal); border-radius: var(--radius-lg); padding: 3.2rem 2.5rem;
  text-align: center; max-width: 1160px; margin: 0 auto; color: var(--white);
}
.cta-banner h2 { color: var(--white); font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 0.8rem; }
.cta-banner p { color: rgba(250,250,247,0.78); max-width: 34rem; margin: 0 auto 1.6rem; font-size: 0.98rem; }

/* ---------- SEO / resources section ---------- */
.seo-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; max-width: 1160px; margin: 0 auto; }
.seo-grid h3 { font-size: 1.1rem; font-weight: 600; margin: 1.6rem 0 0.6rem; }
.seo-grid h3:first-child { margin-top: 0; }
.seo-grid p { font-size: 0.94rem; color: var(--slate); line-height: 1.75; }
.res-card { background: var(--white); border: 1px solid var(--sand-line); border-radius: var(--radius); padding: 1.4rem; }
.res-card h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate); margin-bottom: 1rem; }
.res-link {
  display: flex; align-items: center; gap: 10px; padding: 0.75rem 0; text-decoration: none;
  border-bottom: 1px solid var(--sand-line);
}
.res-link:last-of-type { border-bottom: none; }
.res-link .res-icon {
  width: 32px; height: 32px; border-radius: 9px; background: var(--teal-pale); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.res-link .res-icon svg { width: 16px; height: 16px; stroke: var(--teal-deep); }
.res-link-title { font-size: 0.88rem; font-weight: 600; color: var(--ink); display: block; }
.res-link-sub { font-size: 0.78rem; color: var(--slate); }
.res-disclaimer { font-size: 0.78rem; color: var(--slate-light); margin-top: 1rem; line-height: 1.6; }
@media (max-width: 860px) { .seo-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
footer { background: var(--navy-teal); color: rgba(250,250,247,0.85); padding: 3.5rem 2.5rem 1.8rem; }
.footer-inner { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; }
.footer-brand .nav-logo .logo-text { color: var(--white); }
.footer-brand p { font-size: 0.86rem; color: rgba(250,250,247,0.62); line-height: 1.7; margin-top: 0.9rem; max-width: 24rem; }
footer h4 { font-family: var(--font-body); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(250,250,247,0.55); margin-bottom: 0.9rem; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin-bottom: 0.6rem; }
footer a { color: rgba(250,250,247,0.82); text-decoration: none; font-size: 0.88rem; }
footer a:hover { color: var(--teal); }
.footer-bottom {
  max-width: 1160px; margin: 2.6rem auto 0; padding-top: 1.6rem; border-top: 1px solid rgba(250,250,247,0.14);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; font-size: 0.78rem; color: rgba(250,250,247,0.55);
}
.footer-bottom a { color: rgba(250,250,247,0.72); }
@media (max-width: 860px) { .footer-inner { grid-template-columns: 1fr; } .section { padding: 3.5rem 1.3rem; } }

/* ---------- Reveal animation ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease-out, transform .7s ease-out; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.hero-tag, .hero-float-card h1, .hero-sub, .hero-actions { animation: fadeUp .8s ease-out backwards; }
.hero-tag { animation-delay: .05s; } .hero-float-card h1 { animation-delay: .15s; }
.hero-sub { animation-delay: .3s; } .hero-actions { animation-delay: .45s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.visible { opacity: 1; transform: none; transition: none; }
  .hero-tag, .hero-float-card h1, .hero-sub, .hero-actions { animation: none; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 3.2rem 2.5rem 3rem; text-align: center; }
.page-hero .eyebrow { justify-content: center; }
.page-hero .eyebrow::before { display: none; }
.page-hero h1 { font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 500; }
.page-hero p { color: var(--slate); margin-top: 0.7rem; font-size: 1rem; }
