/* ===========================================================
   TradeBoost Solutions — shared stylesheet
   =========================================================== */

:root{
  --rust: #b5533c;
  --rust-dark: #97402c;
  --charcoal: #2a241e;
  --charcoal-soft: #3a332b;
  --cream: #ede3d2;
  --cream-soft: #f5efe3;
  --offwhite: #fbf8f3;
  --sage: #6e7b5e;
  --text: #2a241e;
  --muted: #6b6459;
  --border: #e4dcc9;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 12px 30px -14px rgba(42, 36, 30, 0.25);
  --max: 1140px;
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--offwhite);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4{
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  color: var(--charcoal);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1{ font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2{ font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3{ font-size: 1.25rem; }

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

a{ color: var(--rust); text-decoration: none; }
a:hover{ text-decoration: underline; }

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

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

section{ padding: 72px 0; }
section.tight{ padding: 48px 0; }

.eyebrow{
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 14px;
}

.lede{
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 640px;
}

.center{ text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  text-decoration: none;
}
.btn:hover{ text-decoration: none; transform: translateY(-1px); }

.btn-primary{
  background: var(--rust);
  color: var(--white);
  box-shadow: var(--shadow);
}
.btn-primary:hover{ background: var(--rust-dark); }

.btn-dark{
  background: var(--charcoal);
  color: var(--white);
}
.btn-dark:hover{ background: #000; }

.btn-outline{
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}
.btn-outline:hover{ background: var(--charcoal); color: var(--white); }

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

.btn-row{ display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ---------- Header / Nav ---------- */
header.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 243, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo{ display: flex; align-items: center; gap: 10px; font-family: "Playfair Display", Georgia, serif; }
.logo .mark{
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--rust);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-size: 1.1rem;
  flex-shrink: 0;
}
.logo .word{ font-size: 1.28rem; font-weight: 700; color: var(--charcoal); letter-spacing: 0.01em; }
.logo .word span{ color: var(--rust); }
.logo .tag{ display:block; font-family:"Source Sans 3",sans-serif; font-size: 0.62rem; letter-spacing: 0.18em; color: var(--muted); font-weight:700; margin-top:-2px;}

nav.main-nav{ display: flex; align-items: center; gap: 32px; }
nav.main-nav a{
  color: var(--charcoal);
  font-weight: 600;
  font-size: 0.96rem;
}
nav.main-nav a:hover{ color: var(--rust); text-decoration: none; }
nav.main-nav a.current{ color: var(--rust); }

.nav-cta{ display:flex; align-items:center; gap: 20px; }
.nav-cta .btn{ padding: 10px 22px; font-size: 0.92rem; }

.nav-toggle{
  display: none;
  background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content: ""; display: block; width: 22px; height: 2px; background: var(--charcoal); position: relative; transition: 0.2s;
}
.nav-toggle span::before{ position: absolute; top: -7px; }
.nav-toggle span::after{ position: absolute; top: 7px; }

/* ---------- Hero ---------- */
.hero{
  position: relative;
  overflow: hidden;
  padding: 84px 0 96px;
  background: var(--white);
}
.hero .blob{
  position: absolute;
  border-radius: 50%;
  background: var(--cream);
  z-index: 0;
}
.hero .blob.b1{ width: 480px; height: 480px; top: -180px; right: -160px; }
.hero .blob.b2{ width: 360px; height: 360px; bottom: -220px; right: 8%; background: var(--cream-soft); }
.hero .container{ position: relative; z-index: 1; }
.hero-grid{ display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }

.hero-badge{
  display:inline-flex; align-items:center; gap:8px;
  background: var(--cream-soft); color: var(--rust-dark);
  font-weight:700; font-size:0.82rem; padding:8px 16px; border-radius:999px; margin-bottom:18px;
}

.stat-row{ display:flex; gap: 32px; margin-top: 36px; flex-wrap: wrap; }
.stat .num{ font-family:"Playfair Display",serif; font-size: 2rem; color: var(--rust); font-weight:700; }
.stat .label{ font-size: 0.86rem; color: var(--muted); }

/* mock ad card used on hero + work page */
.ad-mock{
  background: var(--charcoal);
  border-radius: 22px;
  padding: 18px;
  max-width: 340px;
  margin: 0 auto;
  box-shadow: var(--shadow);
  color: var(--white);
}
.ad-mock .ad-card{ background: var(--white); border-radius: 14px; overflow:hidden; color: var(--text); }
.ad-mock .ad-head{ display:flex; align-items:center; gap:10px; padding: 12px 14px 4px; }
.ad-mock .ad-avatar{ width:34px; height:34px; border-radius:50%; background:var(--rust); color:var(--white); display:flex; align-items:center; justify-content:center; font-weight:700; }
.ad-mock .ad-biz{ font-weight:700; font-size:0.92rem; line-height:1.2; }
.ad-mock .ad-sponsored{ font-size:0.72rem; color:var(--muted); }
.ad-mock .ad-photo{
  margin: 10px 14px 0;
  background: var(--cream);
  border: 1px dashed #c9bb9e;
  border-radius: 10px;
  height: 150px;
  display:flex; align-items:center; justify-content:center;
  text-align:center; font-size:0.74rem; font-weight:700; letter-spacing:0.06em; color:#8a7c5f;
  padding: 8px;
}
.ad-mock .ad-copy{ padding: 12px 14px 4px; font-size:0.88rem; }
.ad-mock .ad-copy strong{ display:block; margin-bottom:2px; font-size:0.95rem; }
.ad-mock .ad-buttons{ padding: 8px 14px 14px; display:flex; flex-direction:column; gap:8px; }
.ad-mock .ad-buttons .call{ background: var(--rust); color:var(--white); text-align:center; padding:10px; border-radius:8px; font-weight:700; font-size:0.85rem; }
.ad-mock .ad-buttons .msg{ border:1px solid var(--border); text-align:center; padding:10px; border-radius:8px; font-weight:700; font-size:0.85rem; color: var(--charcoal); }
.ad-mock .ad-stats{ padding: 0 14px 14px; font-size:0.76rem; color: var(--muted); }
.ad-mock .ad-caption{ text-align:center; font-size:0.8rem; color: rgba(255,255,255,0.75); margin-top:12px; }

/* ---------- Cards / grids ---------- */
.grid{ display: grid; gap: 24px; }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }

.card{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.icon-badge{
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--rust);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-bottom: 16px;
}
.icon-badge.sage{ background: var(--sage); }
.icon-badge svg{ width: 22px; height: 22px; stroke: currentColor; }

.numbered-card{ position: relative; }
.numbered-card .num-badge{
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--rust); color: var(--white);
  display:flex; align-items:center; justify-content:center;
  font-weight: 700; margin-bottom: 14px;
}

.section-alt{ background: var(--cream-soft); }
.section-dark{ background: var(--charcoal); color: var(--white); }
.section-dark h2, .section-dark h3{ color: var(--white); }
.section-dark p{ color: rgba(255,255,255,0.78); }

/* ---------- Service menu ---------- */
.service-card{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex; align-items: center; gap: 14px;
}
.service-card .icon-badge{ margin-bottom: 0; width: 42px; height: 42px; }
.service-card span{ font-weight: 700; font-size: 0.98rem; }

/* ---------- Pricing ---------- */
.pricing-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card{
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex; flex-direction: column;
}
.price-card.featured{
  background: var(--charcoal);
  color: var(--white);
  transform: translateY(-10px);
  box-shadow: var(--shadow);
  border-color: var(--charcoal);
}
.price-card.featured h3{ color: var(--white); }
.price-card .badge-pop{
  display:inline-block; align-self:flex-start;
  background: var(--rust); color:var(--white);
  font-size:0.72rem; font-weight:700; letter-spacing:0.06em; text-transform:uppercase;
  padding: 6px 12px; border-radius: 999px; margin-bottom: 14px;
}
.price-card .price{ font-family:"Playfair Display",serif; font-size: 2.6rem; color: var(--rust); font-weight:700; margin: 6px 0 2px; }
.price-card.featured .price{ color: #e7a894; }
.price-card .period{ font-size: 0.85rem; color: var(--muted); margin-bottom: 20px; display:block; }
.price-card.featured .period{ color: rgba(255,255,255,0.65); }
.price-card ul{ list-style:none; margin: 0 0 24px; padding: 0; flex-grow: 1; }
.price-card ul li{ display:flex; gap:10px; margin-bottom: 12px; font-size: 0.94rem; align-items:flex-start; }
.price-card ul li svg{ flex-shrink:0; width:18px; height:18px; margin-top:2px; stroke: var(--sage); }
.price-card.featured ul li svg{ stroke: #9fd18a; }

/* ---------- Add-ons table ---------- */
.addon-table{ width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow:hidden; border: 1px solid var(--border);}
.addon-table th, .addon-table td{ padding: 16px 20px; text-align:left; border-bottom: 1px solid var(--border); font-size: 0.94rem;}
.addon-table th{ background: var(--charcoal); color: var(--white); font-weight:700; font-size:0.82rem; letter-spacing:0.04em; text-transform:uppercase;}
.addon-table tr:last-child td{ border-bottom: none; }
.addon-table tr:nth-child(even) td{ background: var(--cream-soft); }
.addon-table td.price-col{ font-weight:700; color: var(--rust-dark); white-space:nowrap;}

/* ---------- Steps ---------- */
.steps{ display:flex; flex-direction:column; gap:16px; }
.step{ display:flex; gap:20px; align-items:flex-start; background: var(--white); border:1px solid var(--border); border-radius: var(--radius); padding: 22px 26px;}
.step .icon-badge{ margin-bottom:0; }

/* ---------- Timeline (case walkthrough) ---------- */
.timeline{ position: relative; padding-left: 28px; border-left: 3px solid var(--cream); margin-top: 12px;}
.timeline-item{ position: relative; padding-bottom: 34px; }
.timeline-item:last-child{ padding-bottom: 0; }
.timeline-item::before{
  content:""; position:absolute; left:-37px; top:2px;
  width: 16px; height:16px; border-radius:50%; background: var(--rust); border: 3px solid var(--offwhite);
}
.timeline-item .tag{ font-size:0.72rem; font-weight:700; letter-spacing:0.08em; text-transform:uppercase; color: var(--rust); }

/* ---------- Disclaimer note ---------- */
.disclaimer{
  font-size: 0.82rem;
  color: var(--muted);
  background: var(--cream-soft);
  border: 1px dashed var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  margin-top: 18px;
}

/* ---------- Articles / accordion ---------- */
.article-card{ background: var(--white); border:1px solid var(--border); border-radius: var(--radius); overflow:hidden; }
.article-card summary{
  list-style: none; cursor: pointer;
  padding: 24px 28px; display:flex; justify-content:space-between; align-items:center; gap: 16px;
}
.article-card summary::-webkit-details-marker{ display:none; }
.article-card summary .plus{
  width: 30px; height:30px; border-radius:50%; border:2px solid var(--rust); color: var(--rust);
  display:flex; align-items:center; justify-content:center; flex-shrink:0; font-weight:700; font-size:1.2rem; transition: transform 0.2s;
}
.article-card[open] summary .plus{ transform: rotate(45deg); }
.article-card .article-meta{ font-size:0.78rem; color: var(--muted); text-transform:uppercase; letter-spacing:0.05em; font-weight:700; margin-bottom:6px;}
.article-body{ padding: 0 28px 28px; color: var(--muted); }
.article-body p{ color: var(--muted); }

/* ---------- Testimonials ---------- */
.testimonial-card{ background: var(--white); border:1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.testimonial-card .stars{ color: var(--rust); font-size: 1rem; margin-bottom: 10px; letter-spacing: 2px;}
.testimonial-card .who{ font-weight:700; margin-top: 12px; }
.testimonial-card .where{ font-size:0.85rem; color: var(--muted); }

.empty-state{
  text-align:center; padding: 48px 24px; border: 2px dashed var(--border); border-radius: var(--radius); background: var(--white);
}

/* ---------- Forms ---------- */
.form-card{ background: var(--white); border:1px solid var(--border); border-radius: var(--radius); padding: 36px; }
.form-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field{ display:flex; flex-direction:column; gap: 6px; margin-bottom: 18px; }
.field.full{ grid-column: 1 / -1; }
.field label{ font-weight:700; font-size:0.88rem; color: var(--charcoal); }
.field .req{ color: var(--rust); }
.field input, .field select, .field textarea{
  padding: 12px 14px; border-radius: 8px; border: 1.5px solid var(--border);
  font-family: inherit; font-size: 0.96rem; background: var(--offwhite); color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus{ outline: none; border-color: var(--rust); background: var(--white); }
.field textarea{ resize: vertical; min-height: 110px; }
.honeypot{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.star-select{ display:flex; gap:8px; flex-wrap: wrap; }
.star-select label{ display:flex; align-items:center; gap:6px; font-weight:400; font-size:0.9rem; cursor:pointer; border:1.5px solid var(--border); padding:8px 12px; border-radius:8px; background: var(--offwhite); }
.form-note{ font-size:0.82rem; color:var(--muted); margin-top: -4px; }

/* ---------- CTA banner ---------- */
.cta-banner{
  background: var(--charcoal);
  border-radius: 22px;
  padding: 56px 48px;
  text-align:center;
  color: var(--white);
}
.cta-banner h2{ color: var(--white); }
.cta-banner p{ color: rgba(255,255,255,0.78); }
.cta-banner .btn-row{ justify-content: center; }

/* ---------- Footer ---------- */
footer.site-footer{ background: var(--charcoal); color: rgba(255,255,255,0.75); padding: 56px 0 28px; }
footer.site-footer h4{ color: var(--white); font-family:"Source Sans 3",sans-serif; font-size: 0.92rem; letter-spacing:0.05em; text-transform:uppercase; margin-bottom:16px;}
.footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 36px;}
.footer-grid a{ color: rgba(255,255,255,0.75); display:block; margin-bottom: 10px; }
.footer-grid a:hover{ color: var(--white); }
.footer-bottom{ border-top: 1px solid rgba(255,255,255,0.14); padding-top: 22px; font-size: 0.85rem; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; }
.footer-logo{ display:flex; align-items:center; gap:10px; margin-bottom: 14px; }
.footer-logo .mark{ width:36px;height:36px;border-radius:9px;background:var(--rust);display:flex;align-items:center;justify-content:center;color:var(--white);font-weight:700;font-family:"Playfair Display",serif;}
.footer-logo .word{ font-family:"Playfair Display",serif; font-size:1.15rem; color:var(--white); font-weight:700;}
.footer-desc{ color: rgba(255,255,255,0.65); font-size: 0.92rem; max-width: 320px; }

/* ---------- Page hero (secondary pages) ---------- */
.page-hero{ background: var(--cream-soft); padding: 64px 0 56px; text-align:center; }
.page-hero .lede{ margin-left:auto; margin-right:auto; }

/* ---------- Utilities ---------- */
.mt-0{ margin-top:0; } .mb-0{ margin-bottom:0; }
.text-center{ text-align:center; }
.section-head{ max-width: 680px; margin: 0 auto 44px; text-align:center; }

/* ---------- Responsive ---------- */
@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4{ grid-template-columns: 1fr 1fr; }
  .pricing-grid{ grid-template-columns: 1fr; }
  .price-card.featured{ transform:none; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .form-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 680px){
  nav.main-nav{
    position: absolute; top: 100%; left:0; right:0;
    background: var(--offwhite);
    flex-direction: column; align-items: flex-start;
    padding: 20px 24px; gap: 18px;
    border-bottom: 1px solid var(--border);
    display: none;
  }
  nav.main-nav.open{ display: flex; }
  .nav-toggle{ display: flex; }
  .nav-cta .btn.hide-mobile{ display:none; }
  .grid-2, .grid-3, .grid-4{ grid-template-columns: 1fr; }
  section{ padding: 52px 0; }
  .cta-banner{ padding: 40px 24px; }
  .footer-grid{ grid-template-columns: 1fr; }
  .footer-bottom{ flex-direction:column; }
}
