/* =========================================================================
   COLORS & THEME — EDIT ME
   Minimal modern palette: near-black + off-white, with one bold emerald
   accent. Change any hex value below to reskin the entire site — every
   rule in this file reads colors through these custom properties, never
   a raw hex, so this is the one place to touch.
   ========================================================================= */
:root {
  --color-forest: #131315;      /* primary brand color (buttons, header) — near-black */
  --color-forest-dark: #000000; /* hover / deepest black */
  --color-forest-light: #5a5b60; /* secondary/supporting text — neutral gray */
  --color-gold: #00b37a;        /* the one bold accent — vivid emerald */
  --color-gold-dark: #00875a;   /* accent hover/pressed */
  --color-gold-light: #e4f8f0;  /* light accent tint background */
  --color-cream: #fafaf9;       /* page background, off-white */
  --color-cream-alt: #f1f1ef;   /* soft neutral tint panels */
  --color-charcoal: #131315;    /* primary text, near-black */
  --color-white: #ffffff;
  /* Added for the Our Team page: a soft neutral panel tint and a hairline
     border color, extending the existing palette rather than replacing it */
  --color-sage: #f1f1ef;
  --color-line: #e7e7e4;

  /* Type */
  --font-heading: 'Space Grotesk', Arial, sans-serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shape */
  --radius-sm: 3px;
  --radius-md: 5px;
  --radius-lg: 6px;

  /* Layout */
  --container-width: 1140px;
}

/* =========================================================================
   RESET / BASE
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-cream);
  color: var(--color-charcoal);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--color-forest);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

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

a { color: inherit; text-decoration: none; }

ul, ol { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-align: center;
}

.section-subtitle {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 2.5rem;
  color: var(--color-forest-light);
}

section { padding: 4rem 0; }

/* =========================================================================
   BUTTONS
   ========================================================================= */
.btn {
  display: inline-block;
  padding: 0.8em 1.6em;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
  text-align: center;
}

.btn:hover { transform: translateY(-1px); }

.btn--gold {
  background: var(--color-gold);
  color: var(--color-white);
}
.btn--gold:hover { background: var(--color-gold-dark); }

.btn--forest {
  background: var(--color-forest);
  color: var(--color-white);
}
.btn--forest:hover { background: var(--color-forest-dark); }

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}
.btn--outline:hover { background: rgba(255, 255, 255, 0.12); }

.btn--block { display: block; width: 100%; }

/* =========================================================================
   TOP BAR
   ========================================================================= */
.topbar {
  background: var(--color-forest-dark);
  color: var(--color-cream);
  font-size: 0.85rem;
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  gap: 1rem;
}

.topbar__tagline {
  opacity: 0.9;
}

.topbar__phone {
  font-weight: 600;
  color: var(--color-gold);
  white-space: nowrap;
}

/* =========================================================================
   HEADER / NAV
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-cream);
  border-bottom: 1px solid var(--color-cream-alt);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--color-forest);
}

.logo-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.main-nav__list {
  display: flex;
  gap: 1.75rem;
}

.main-nav__list a {
  font-weight: 500;
  color: var(--color-charcoal);
}

.main-nav__list a:hover { color: var(--color-forest); }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-forest);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-cream-alt) 100%);
  padding: 3.5rem 0;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__content h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
}

.hero__subhead {
  font-size: 1.1rem;
  color: var(--color-forest-light);
  margin-bottom: 1.25rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}

.trust-badge__stars {
  color: var(--color-gold);
  letter-spacing: 2px;
}

.trust-badge__text {
  font-size: 0.9rem;
  color: var(--color-charcoal);
}

.hero__image {
  border-radius: var(--radius-lg);
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* =========================================================================
   LEAD FORMS
   ========================================================================= */
.lead-form {
  background: var(--color-white);
  border: 1px solid var(--color-cream-alt);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  max-width: 420px;
}

.lead-form--wide {
  max-width: 560px;
  margin: 0 auto;
}

.lead-form__title {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.lead-form__row { margin-bottom: 0.9rem; }

.lead-form__row--split {
  display: flex;
  gap: 0.75rem;
}

.lead-form__row--split > div { flex: 1; }

.lead-form input,
.lead-form textarea {
  width: 100%;
  padding: 0.75em 0.9em;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--color-cream);
  color: var(--color-charcoal);
}

.lead-form textarea {
  resize: vertical;
  min-height: 100px;
}

.lead-form input:focus,
.lead-form textarea:focus {
  outline: 2px solid var(--color-forest-light);
  outline-offset: 1px;
}

.lead-form__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 0.35rem;
}

.lead-form__help {
  font-size: 0.78rem;
  color: var(--color-forest-light);
  margin: 0.35rem 0 0;
}

.lead-form__disclaimer {
  font-size: 0.78rem;
  color: var(--color-forest-light);
  text-align: center;
  margin: 0.75rem 0 0;
}

.form-success {
  margin-top: 0.9rem;
  padding: 0.75em 1em;
  border-radius: var(--radius-sm);
  background: var(--color-gold-light);
  color: var(--color-gold-dark);
  font-size: 0.9rem;
  text-align: center;
}

.form-success.is-error {
  background: #fdecea;
  color: #b3261e;
}

/* Call-consent checkbox — deliberately plain and visible, never hidden
   or pre-checked. Kept as its own control, separate from any general
   Terms-of-Service agreement. */
.lead-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.lead-form__consent input[type="checkbox"] {
  width: auto;
  margin-top: 0.2em;
  padding: 0;
  border: none;
  background: none;
  flex-shrink: 0;
}

.lead-form__consent label {
  font-size: 0.82rem;
  color: var(--color-forest-light);
  text-align: left;
}

/* =========================================================================
   TRUST STRIP
   ========================================================================= */
.trust-strip {
  background: var(--color-forest);
  padding: 1.1rem 0;
}

.trust-strip__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2.5rem;
}

.trust-strip__item {
  color: var(--color-cream);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* =========================================================================
   PROCESS (3 STEPS)
   ========================================================================= */
.process__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.process__step {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
}

.process__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.process__step h3 { font-size: 1.15rem; }
.process__step p { color: var(--color-forest-light); margin: 0; }

/* =========================================================================
   REASONS TO SELL (CHIP GRID)
   ========================================================================= */
.reasons { background: var(--color-cream-alt); }

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.chip {
  background: var(--color-white);
  border: 1px solid var(--color-gold-light);
  border-radius: 999px;
  padding: 0.6em 1.3em;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-forest-dark);
}

/* =========================================================================
   COMPARISON
   ========================================================================= */
.compare__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.compare__card {
  background: var(--color-white);
  border: 1px solid var(--color-cream-alt);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.compare__card--highlight {
  border-color: var(--color-gold);
  background: var(--color-gold-light);
}

.compare__card h3 { margin-bottom: 1rem; }

.compare__card li {
  position: relative;
  padding-left: 1.4em;
  margin-bottom: 0.65em;
  color: var(--color-charcoal);
}

.compare__card li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--color-gold-dark);
  font-weight: 700;
}

/* Highlight the "our side" checkmarks with the accent color, not the brand color */
.compare__card--highlight li::before { color: var(--color-gold); }

/* =========================================================================
   CTA BAND
   ========================================================================= */
.cta-band {
  background: var(--color-forest);
  color: var(--color-white);
  text-align: center;
}

.cta-band h2 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.cta-band__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* =========================================================================
   FINAL FORM
   ========================================================================= */
.final-form { text-align: center; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
  background: var(--color-forest-dark);
  color: var(--color-cream);
  padding: 3rem 0 1.5rem;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer .logo--footer { color: var(--color-cream); }

.site-footer__blurb {
  color: #a9aaa7;
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.site-footer__nav a { color: #c7c8c5; font-size: 0.9rem; }
.site-footer__nav a:hover { color: var(--color-gold); }

.site-footer__contact a {
  display: block;
  font-weight: 600;
  color: var(--color-gold);
  margin-bottom: 0.6rem;
}

.site-footer__copyright {
  font-size: 0.8rem;
  color: #8c8d8a;
  margin: 0;
}

/* =========================================================================
   PAGE HEADER (e.g. Our Team, Privacy Policy)
   ========================================================================= */
.page-header {
  background: var(--color-sage);
  text-align: center;
  padding-bottom: 3rem;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--color-forest-light);
  margin-bottom: 1rem;
}

.breadcrumb a { color: var(--color-forest-light); }
.breadcrumb a:hover { color: var(--color-forest); }

.page-header__subhead {
  max-width: 560px;
  margin: 0 auto;
  color: var(--color-forest-light);
}

/* =========================================================================
   LEGAL CONTENT (e.g. Privacy Policy) — plain readable prose, reusing
   the site's existing type scale and colors rather than new styling.
   ========================================================================= */
.legal-content {
  max-width: 760px;
}

.legal-content h2 {
  font-size: 1.3rem;
  margin-top: 2rem;
}

.legal-content h3 {
  font-size: 1.05rem;
  margin-top: 1.5rem;
}

.legal-content p { margin-bottom: 1em; }

.legal-content ul {
  list-style: disc;
  padding-left: 1.4em;
  margin-bottom: 1em;
}

.legal-content li { margin-bottom: 0.5em; }

.legal-content a {
  color: var(--color-gold-dark);
  text-decoration: underline;
}

.legal-content a:hover { color: var(--color-forest); }

/* =========================================================================
   TEAM GRID
   ========================================================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.team-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
}

.team-card__photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: var(--color-sage);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card__initials {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 2.5rem;
  color: var(--color-forest);
}

.team-card__name { font-size: 1.15rem; margin-bottom: 0.15em; }

.team-card__role {
  color: var(--color-gold-dark);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.75em;
}

.team-card__bio {
  color: var(--color-forest-light);
  font-size: 0.92rem;
  margin: 0;
}

/* =========================================================================
   SPLIT SECTION — a generic content-+-photo layout, reused across the
   dedicated pages (How It Works, Why Sell, Compare, Contact) instead of
   inventing new layout per page.
   ========================================================================= */
.split-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split-section__media img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: auto;
  object-fit: cover;
}

.split-section__media--reverse { order: -1; }

/* =========================================================================
   REASON CARDS (Why Sell to Us page)
   ========================================================================= */
.reason-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.reason-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.reason-card h3 { font-size: 1.05rem; margin-bottom: 0.4em; }

.reason-card p {
  color: var(--color-forest-light);
  font-size: 0.9rem;
  margin: 0;
}

/* =========================================================================
   FAQ ACCORDION
   ========================================================================= */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  margin-bottom: 0.9rem;
  padding: 0 1.5rem;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 0;
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--color-forest);
  position: relative;
  padding-right: 1.8rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 1.05rem;
  color: var(--color-gold);
  font-size: 1.3rem;
  line-height: 1;
}

.faq-item[open] summary::after { content: '\2212'; }

.faq-item p {
  color: var(--color-forest-light);
  margin: 0 0 1.1rem;
}

/* =========================================================================
   HOME PAGE TEASERS — condensed versions of the dedicated pages, each
   linking out to the full page.
   ========================================================================= */
.teaser-link {
  display: inline-block;
  margin-top: 1.5rem;
  font-weight: 600;
  color: var(--color-gold-dark);
}

.teaser-link:hover { color: var(--color-forest); }

.teaser-link::after { content: ' \2192'; }

.teaser-footer {
  text-align: center;
  margin-top: 2.5rem;
}

.teaser-heading { text-align: left; }

.teaser-text {
  color: var(--color-forest-light);
  margin-bottom: 1.5rem;
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 820px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-cream);
    border-bottom: 1px solid var(--color-cream-alt);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .main-nav.is-open { max-height: 320px; }

  .main-nav__list {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 20px 1rem;
  }

  .main-nav__list a {
    display: block;
    padding: 0.75rem 0;
  }

  .site-header__actions .btn { display: none; }

  .nav-toggle { display: flex; }

  .nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-active span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__media { order: -1; }

  .process__list,
  .compare__grid,
  .team-grid,
  .split-section__inner {
    grid-template-columns: 1fr;
  }

  .reason-grid { grid-template-columns: repeat(2, 1fr); }

  .split-section__media,
  .split-section__media--reverse { order: -1; }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .topbar__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}

@media (max-width: 480px) {
  section { padding: 2.75rem 0; }
  .lead-form { padding: 1.25rem; }
  .lead-form__row--split { flex-direction: column; gap: 0.9rem; }
  .reason-grid { grid-template-columns: 1fr; }
}
