/* ============================================
   Blue Gecko — Shared Design System
   William & Jennifer "Lucky" Whipple
   Coldwell Banker Realty · Space Coast, FL
   ============================================ */

/* --- Tokens --- */
:root {
  --navy:        #1B3A5C;
  --navy-mid:    #234870;
  --teal:        #2BBFAB;
  --teal-dark:   #0D8A7A;
  --teal-light:  #E6F8F5;
  --sand:        #F7F3EC;
  --sand-mid:    #EDE8DF;
  --warm-white:  #FDFAF6;
  --text-navy:   #1B3A5C;
  --text-body:   #3D4F5C;
  --text-muted:  #7A8A95;
  --text-teal:   #0D8A7A;
  --cb-blue:     #003399;
  --border:      rgba(27,58,92,0.1);
  --border-mid:  rgba(27,58,92,0.18);

  --r-sm:  10px;
  --r-md:  14px;
  --r-lg:  22px;
  --r-pill: 999px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  background: var(--sand);
  color: var(--text-navy);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

/* --- Navigation --- */
.nav {
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.nav-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}
.nav-brand-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-navy);
  line-height: 1.1;
}
.nav-brand-sub {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.nav-links {
  display: flex;
  gap: 26px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
  text-decoration: none;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--teal-dark); text-decoration: none; }
.nav-cta {
  background: var(--teal);
  color: white;
  border: none;
  border-radius: var(--r-pill);
  padding: 9px 22px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: background 0.15s;
}
.nav-cta:hover { background: var(--teal-dark); color: white; text-decoration: none; }
.nav-mobile-toggle { display: none; cursor: pointer; background: none; border: none; padding: 4px; }
.nav-mobile-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text-navy); border-radius: 2px; margin: 5px 0;
  transition: all 0.2s;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  border-radius: var(--r-pill);
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
  border: none;
  text-align: center;
}
.btn-primary {
  background: var(--teal);
  color: white;
}
.btn-primary:hover { background: var(--teal-dark); color: white; text-decoration: none; }

.btn-outline {
  background: transparent;
  color: var(--text-navy);
  border: 1.5px solid var(--border-mid);
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal-dark); text-decoration: none; }

.btn-outline-white {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-outline-white:hover { border-color: white; background: rgba(255,255,255,0.1); text-decoration: none; }

.btn-white {
  background: white;
  color: var(--teal-dark);
}
.btn-white:hover { background: var(--teal-light); text-decoration: none; }

.btn-sm {
  padding: 8px 18px;
  font-size: 12px;
}

/* --- Section labels & headings --- */
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--teal-dark);
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.eyebrow-light { color: var(--teal); }

.section-h2 {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-navy);
  line-height: 1.2;
  margin-bottom: 10px;
}
.section-h2-light { color: white; }

.section-lead {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 32px;
}
.section-lead-light { color: rgba(255,255,255,0.65); }

/* --- Section spacing --- */
.section { padding: 56px 28px; }
.section-sm { padding: 36px 28px; }
.section-flush { padding: 0; }

/* --- Footer --- */
.footer {
  background: var(--navy);
  padding: 36px 28px 0;
  color: rgba(255,255,255,0.5);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand-name {
  font-size: 14px;
  font-weight: 600;
  color: white;
  margin-bottom: 5px;
}
.footer-brand-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  line-height: 1.8;
}
.footer-badges {
  display: flex;
  gap: 8px;
  align-items: center;
}
.cb-badge {
  background: var(--cb-blue);
  color: white;
  border-radius: 4px;
  padding: 6px 11px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-align: center;
}
.eho-badge {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  border-radius: 4px;
  padding: 6px 9px;
  font-size: 9px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}
.footer-disclaimers {
  padding: 18px 0 20px;
}
.disc-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  margin-bottom: 14px;
  -webkit-overflow-scrolling: touch;
}
.disc-tab {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  cursor: pointer;
  background: none;
  border: none;
  border-bottom: 2px solid rgba(255,255,255,0.08);
  padding: 7px 16px;
  font-family: inherit;
  white-space: nowrap;
  transition: color 0.15s;
}
.disc-tab.active {
  color: var(--teal);
  border-bottom-color: var(--teal);
}
.disc-panel {
  display: none;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  line-height: 1.8;
}
.disc-panel.active { display: block; }
.disc-panel a { color: rgba(43,191,171,0.75); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 14px 0;
  font-size: 10px;
  color: rgba(255,255,255,0.25);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}

/* --- Forms --- */
.form-box {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
}
.form-box h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-navy);
  margin-bottom: 6px;
}
.form-box .form-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}
.field {
  margin-bottom: 14px;
}
.field label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 5px;
  letter-spacing: 0.02em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1.5px solid var(--border-mid);
  border-radius: var(--r-sm);
  padding: 11px 14px;
  font-size: 14px;
  color: var(--text-navy);
  background: white;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
  -webkit-appearance: none;
  appearance: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal);
}
.field textarea { resize: vertical; min-height: 90px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.tcpa-notice {
  background: var(--teal-light);
  border: 1px solid rgba(43,191,171,0.2);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}
.tcpa-notice a { color: var(--teal-dark); }
.form-submit {
  width: 100%;
  background: var(--teal);
  color: white;
  border: none;
  border-radius: var(--r-pill);
  padding: 14px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}
.form-submit:hover { background: var(--teal-dark); }
.form-ai-note {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 10px;
  line-height: 1.6;
}
.form-success {
  display: none;
  text-align: center;
  padding: 24px;
}
.form-success h3 { font-size: 20px; color: var(--teal-dark); margin-bottom: 8px; }
.form-success p { font-size: 14px; color: var(--text-body); }

/* --- Badges & pills --- */
.badge {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 11px;
  border-radius: var(--r-pill);
}
.badge-navy {
  background: rgba(27,58,92,0.1);
  color: var(--navy);
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-light { color: rgba(255,255,255,0.65); }
.mb-0 { margin-bottom: 0; }
.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 28px; }
.btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* --- FUB hidden fields --- */
.fub-hidden { display: none !important; }

/* --- Responsive --- */
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }
  .nav { padding: 0 18px; }

  .section { padding: 40px 18px; }
  .section-sm { padding: 28px 18px; }

  .section-h2 { font-size: 22px; }

  .field-row { grid-template-columns: 1fr; }

  .form-box { padding: 22px 18px; }

  .footer { padding: 28px 18px 0; }
  .footer-top { flex-direction: column; gap: 16px; }
  .footer-bottom { flex-direction: column; gap: 4px; }
}
