/* ===========================================
   BiteAdvocates — Stylesheet
   =========================================== */

:root {
  --blue: #4d8dff;
  --blue-dark: #2e6ce0;
  --coral: #ff8a65;
  --coral-dark: #f4703f;
  --yellow: #ffcb47;
  --mint: #4fd6b0;
  --purple: #a78bfa;
  --ink: #2b2d42;
  --ink-soft: #5c5f77;
  --bg: #fffaf3;
  --card: #ffffff;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow: 0 10px 30px rgba(43, 45, 66, 0.08);
  --shadow-hover: 0 16px 40px rgba(43, 45, 66, 0.14);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
}

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 138, 101, 0.35);
}
.btn-primary:hover { background: var(--coral-dark); }

.btn-outline {
  background: #fff;
  color: var(--ink);
  border: 2px solid #ffd9c2;
}
.btn-outline:hover { border-color: var(--coral); }

.btn-small { padding: 10px 20px; font-size: 0.9rem; }
.btn-block { width: 100%; }

.btn-discord {
  background: #5865F2;
  color: #fff;
  box-shadow: 0 8px 20px rgba(88, 101, 242, 0.35);
  white-space: normal;
  text-align: center;
  max-width: 380px;
  border-radius: var(--radius-md);
  line-height: 1.3;
}
.btn-discord:hover { background: #4752c4; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 250, 243, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(43, 45, 66, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-badge {
  font-size: 1.6rem;
  background: #fff;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.logo-text {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--ink);
}
.logo-text span { color: var(--coral); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 700;
  font-size: 0.95rem;
}
.site-nav a:not(.btn) {
  color: var(--ink-soft);
  transition: color 0.15s ease;
}
.site-nav a:not(.btn):hover { color: var(--coral-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 96px;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.35;
  z-index: 0;
}
.blob-1 { width: 340px; height: 340px; background: var(--yellow); top: -80px; right: -60px; }
.blob-2 { width: 260px; height: 260px; background: var(--mint); bottom: -60px; left: -60px; }
.blob-3 { width: 180px; height: 180px; background: var(--purple); bottom: 40px; right: 12%; opacity: 0.25; }

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  background: #fff2e2;
  color: var(--coral-dark);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.eyebrow-center { display: block; margin: 0 auto 14px; width: fit-content; }

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  margin-bottom: 20px;
}
.hero h1 .highlight { color: var(--coral); }

.hero-sub {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.hero-trust {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.hero-art { display: flex; justify-content: center; }
.hero-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px;
  max-width: 300px;
  text-align: center;
  transform: rotate(-2deg);
}
.hero-card-icon { font-size: 2.4rem; margin-bottom: 12px; }
.hero-card p { font-style: italic; color: var(--ink); font-weight: 600; margin-bottom: 14px; }
.hero-card-name { font-size: 0.85rem; color: var(--ink-soft); font-weight: 700; }

/* ---------- Section shared ---------- */
.section { padding: 88px 0; }
.section-alt { background: #fff3e6; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 12px; }
.section-sub { color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 40px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-top: 6px solid transparent;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.card-blue { border-top-color: var(--blue); }
.card-coral { border-top-color: var(--coral); }

.service-icon {
  font-size: 2.2rem;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff3e6;
  border-radius: 18px;
  margin-bottom: 18px;
}
.service-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.service-card > p { color: var(--ink-soft); margin-bottom: 18px; }

.service-list { margin-bottom: 26px; }
.service-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}
.service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--mint);
  font-weight: 800;
}

/* ---------- How it works ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
}
.step-num {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--coral);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 4px 10px rgba(255,138,101,0.4);
}
.step-icon { font-size: 2rem; margin: 14px 0 10px; }
.step h4 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- Booking ---------- */
.booking-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}
.tab-btn {
  background: #fff;
  border: 2px solid #ffe3cf;
  color: var(--ink-soft);
  font-weight: 800;
  padding: 12px 26px;
  border-radius: 100px;
  cursor: pointer;
  font-size: 0.98rem;
  font-family: 'Nunito', sans-serif;
  transition: all 0.15s ease;
}
.tab-btn.active,
.tab-btn:hover {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}

.booking-panel { display: none; }
.booking-panel.active { display: block; animation: fadeIn 0.25s ease; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.booking-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
  align-items: start;
}

.booking-calendar {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 12px;
  overflow: hidden;
}

.pay-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px;
  position: sticky;
  top: 100px;
}
.pay-card h4 { font-size: 1.2rem; margin-bottom: 6px; }
.pay-price { font-size: 1.6rem; font-weight: 800; color: var(--coral-dark); margin-bottom: 14px; }
.pay-price span { font-size: 0.9rem; color: var(--ink-soft); font-weight: 700; }
.pay-desc { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 20px; }
.pay-note { color: var(--ink-soft); font-size: 0.8rem; margin-top: 12px; text-align: center; }

.booking-fineprint {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-top: 28px;
}
.booking-fineprint a { color: var(--coral-dark); font-weight: 700; }

/* ---------- Financial Assistance ---------- */
.assistance-section { padding: 0 0 88px; }
.assistance-card {
  background: linear-gradient(135deg, #fff3e0, #ffe9d6);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: var(--shadow);
  border: 2px dashed #ffbf8f;
}
.assistance-icon { font-size: 2.6rem; margin-bottom: 14px; }
.assistance-card h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 16px; }
.assistance-card p { color: var(--ink-soft); max-width: 54ch; margin: 0 auto 26px; }
.assistance-note { font-size: 0.85rem; margin-top: 18px; }
.assistance-card-success {
  border-style: solid;
  border-color: #bfe8d8;
  background: linear-gradient(135deg, #eafff5, #e3faf0);
}

/* ---------- Calendly embed sizing ---------- */
.calendly-inline-widget {
  min-width: 280px;
  height: 650px;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 48px;
  align-items: center;
}
.about-grid + .about-grid {
  margin-top: 64px;
  padding-top: 64px;
  border-top: 1px solid rgba(43, 45, 66, 0.08);
}
.about-grid-reverse { grid-template-columns: 1.3fr 0.7fr; }
.about-grid-reverse .about-photo { order: 2; }
.about-grid-reverse .about-photo-frame { background: linear-gradient(135deg, var(--coral), var(--mint)); }
.about-photo-frame {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  margin: 0 auto;
  box-shadow: var(--shadow);
  border: 6px solid #fff;
  overflow: hidden;
}
.about-photo-frame .about-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.about-text h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 10px 0 18px; }
.about-text > p { color: var(--ink-soft); margin-bottom: 22px; }
.about-creds li {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 0.98rem;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 18px 24px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 800;
  font-family: 'Baloo 2', sans-serif;
  list-style: none;
  position: relative;
  padding-right: 24px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.3rem;
  color: var(--coral);
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--ink-soft); margin-top: 12px; font-size: 0.95rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #fff;
  padding: 48px 0 24px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand .logo-badge { background: rgba(255,255,255,0.1); box-shadow: none; }
.footer-brand .logo-text { color: #fff; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; font-weight: 700; }
.footer-links a { opacity: 0.85; }
.footer-links a:hover { opacity: 1; color: var(--coral); }
.footer-contact a { font-weight: 700; color: var(--yellow); }
.footer-disclaimer {
  max-width: 700px;
  margin: 20px auto 8px;
  padding: 0 24px;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.6;
}
.footer-copy {
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.5;
  margin-top: 6px;
}

/* ---------- Waiver Gate (on booking section) ---------- */
.waiver-gate {
  max-width: 560px;
  margin: 0 auto 40px;
  background: #fff7ec;
  border: 2px dashed #ffcf9e;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
}
.waiver-gate-icon { font-size: 2.2rem; margin-bottom: 10px; }
.waiver-gate h3 { font-size: 1.3rem; margin-bottom: 10px; }
.waiver-gate p { color: var(--ink-soft); margin-bottom: 22px; }
.waiver-gate .btn { margin-bottom: 14px; }
.link-btn {
  display: block;
  margin: 0 auto;
  background: none;
  border: none;
  color: var(--ink-soft);
  text-decoration: underline;
  font-family: 'Nunito', sans-serif;
  font-size: 0.88rem;
  cursor: pointer;
}
.link-btn:hover { color: var(--coral-dark); }

.booking-gated-content.is-hidden { display: none; }

/* ---------- Waiver page ---------- */
.waiver-container { max-width: 800px; }
.waiver-doc {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 40px;
  margin-bottom: 40px;
  max-height: 480px;
  overflow-y: auto;
}
.waiver-doc h4 {
  font-size: 1.05rem;
  margin: 22px 0 8px;
}
.waiver-doc h4:first-child { margin-top: 0; }
.waiver-doc p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 10px;
}
.waiver-doc p strong { color: var(--ink); font-size: 1.1rem; }

.waiver-form {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 40px;
}
.waiver-form h3 { margin-bottom: 22px; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 22px;
}
.waiver-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
}
.waiver-form input[type="text"],
.waiver-form input[type="email"],
.waiver-form input[type="tel"],
.waiver-form input[type="date"] {
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  padding: 12px 14px;
  border-radius: 10px;
  border: 2px solid #eee0d0;
  background: #fffdfa;
  color: var(--ink);
}
.waiver-form input:focus {
  outline: none;
  border-color: var(--coral);
}
.signature-input { font-family: 'Baloo 2', cursive; font-size: 1.2rem !important; }

.checkbox-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 22px;
  font-weight: 600 !important;
}
.checkbox-row input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; }

.waiver-fineprint {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin: -10px 0 22px;
}

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .waiver-doc, .waiver-form { padding: 26px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .services-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .booking-grid { grid-template-columns: 1fr; }
  .pay-card { position: static; }
  .about-grid { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 16px;
    box-shadow: var(--shadow);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a.btn { text-align: center; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}

/* ---------- Honeypot spam trap (hidden from real visitors, catches bots) ---------- */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
