/* Jaarstin Surplus Solutions, Inc. — shared stylesheet */

:root {
  --teal-deep: #1b4b43;
  --teal-mid: #2c6b5f;
  --gold: #c99a3d;
  --gold-light: #e4c179;
  --cream: #faf6ef;
  --white: #ffffff;
  --ink: #2b2b28;
  --ink-soft: #5a5750;
  --border: #e5ddca;
  --success-bg: #eef6f1;
  --shadow: 0 8px 24px rgba(27, 75, 67, 0.08);
  --radius: 14px;
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--teal-deep);
  line-height: 1.25;
  margin: 0 0 0.6em;
}

h1 { font-size: 5rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: var(--teal-mid); }

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

/* Top banner */
.top-banner {
  background: var(--teal-deep);
  color: #f2ede0;
  font-size: 1.1rem;
  text-align: center;
  padding: 8px 16px;
}
.top-banner a { color: var(--gold-light); text-decoration: none; }

/* Header / Nav */
header.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 40px;
  max-width: 1580px;
  margin: 0 auto;
  position: relative;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.1;
}
.brand .brand-mark {
  font-family: Georgia, serif;
  font-size: 3.5rem;
  font-weight: bold;
  color: var(--teal-deep);
  letter-spacing: 0.5px;
}
.brand .brand-tag {
  font-size: 1.5rem;
  color: var(--ink-soft);
  letter-spacing: 0.5px;
}

nav.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: nowrap;
}
nav.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 1.35rem;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all 300ms ease;
}
nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--teal-deep);
  border-color: var(--gold);
}

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 300ms ease;
}
.btn-primary {
  background: var(--gold);
  color: var(--teal-deep);
  transition: all 300ms ease;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(201,154,61,0.4); }
.btn-outline {
  background: transparent;
  border-color: var(--teal-deep);
  color: var(--teal-deep);
}
.btn-outline:hover { background: var(--teal-deep); color: var(--white); }
.btn-light {
  background: var(--white);
  color: var(--teal-deep);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--teal-deep), var(--teal-mid));
  color: var(--white);
  padding: 72px 0;
}
.hero h1 { color: var(--white); }
.hero p.lead {
  color: #eaf3ef;
  font-size: 1.65rem;
  max-width: 850px;
}
.hero .cta-row { display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.hero .reassure {
  margin-top: 22px;
  font-size: 1.1rem;
  color: #cfe3db;
}

/* Page header (non-home) */
.page-hero {
  background: linear-gradient(135deg, var(--teal-deep), var(--teal-mid));
  color: var(--white);
  padding: 52px 0;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 6px; }
.page-hero p { color: #dcece5; max-width: 640px; margin: 0 auto; }

/* Sections */
section { padding: 64px 0; }
section.alt { background: var(--white); }
.section-intro { max-width: 900px; margin: 0 auto 40px; text-align: center; }
.section-intro p { font-size: 1.5rem; }
.section-intro h2 { font-size: 2.4rem; }

/* Cards / grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.card h3 { font-size: 1.8rem; }
.card p { font-size: 1.5rem; }
.card .icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.step-list {
  counter-reset: step;
  display: grid;
  gap: 20px;
}
.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.step h3 { font-size: 1.8rem; }
.step p { font-size: 1.5rem; }
.step-num {
  flex: 0 0 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--teal-deep);
  font-weight: bold;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Callout / reassurance box */
.callout {
  background: var(--success-bg);
  border: 1px solid #cfe3d5;
  border-radius: var(--radius);
  padding: 24px 28px;
}
.callout h3 { margin-bottom: 6px; }

.disclaimer-box {
  background: #fbf7ea;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-size: 1.1rem;
  color: var(--ink-soft);
}

/* FAQ accordion */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--teal-deep);
  font-size: 1.55rem;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "+";
  display: inline-block;
  width: 20px;
  color: var(--gold);
  font-weight: bold;
}
.faq-item[open] summary::before { content: "−"; }
.faq-item p { margin-top: 10px; padding-left: 20px; font-size: 1.5rem; }

/* Contact / forms */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}
.contact-info .item {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
}
.contact-info .item .icon {
  color: var(--gold);
  font-size: 1.3rem;
}
.contact-info .item h4 { margin: 0 0 4px; }
.contact-info .item p { margin: 0; }

form.styled-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--teal-deep);
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--cream);
}
.form-row textarea { min-height: 110px; resize: vertical; }
.form-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-note {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 14px;
}
.form-success {
  display: none;
  background: var(--success-bg);
  border: 1px solid #cfe3d5;
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 16px;
}

/* Footer */
footer.site-footer {
  background: var(--teal-deep);
  color: #d8e6e0;
  padding: 48px 0 24px;
  margin-top: 40px;
}
footer.site-footer h4 { color: var(--white); font-size: 1rem; }
footer.site-footer a { color: #d8e6e0; text-decoration: none; font-size: 0.9rem; }
footer.site-footer a:hover { color: var(--gold-light); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}
.footer-grid p, .footer-grid li { font-size: 0.9rem; color: #c3d6ce; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  font-size: 0.78rem;
  color: #a9c1b8;
}
.footer-legal p { color: #a9c1b8; margin-bottom: 10px; }

/* Utility */
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }

/* Mobile nav toggle */
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  h1 { font-size: 2.3rem; }
  h2 { font-size: 1.5rem; }
  .hero p.lead { font-size: 1.15rem; }
  .hero { padding: 44px 0; }
  .page-hero { padding: 36px 0; }

  nav.main-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav a { padding: 10px 0; width: 100%; }
  .nav-toggle {
    display: inline-flex;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--teal-deep);
    cursor: pointer;
  }
  .form-row.two-col { grid-template-columns: 1fr; }
}


.brand-mark-link { text-decoration: none; display: inline-block; }
.brand-title-line {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.bbb-seal-inline {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.bbb-seal-inline img {
  height: 56px;
  width: auto;
  display: block;
}
@media (max-width: 860px) {
  .brand-title-line { gap: 10px; }
  .bbb-seal-inline img { height: 49px; }
}
