@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600;700&display=swap');
/* ============================================================
   Threadify Expansion — Forest & Cream Service Page Styles (brand-matched to main site)
   ============================================================ */

/* ── RESET & BASE ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root, body.tse-body {
  --bg:       #F5F0E8;
  --surface:  #EDE8DC;
  --surface2: #ffffff;
  --gold:     #2E4A35;
  --gold-lt:  #B8922A;
  --text:     #1A1A18;
  --muted:    #6B6B60;
  --border:   rgba(26,26,24,0.14);
  --radius:   6px;
  --max-w:    1100px;
}

html { scroll-behavior: smooth; }

body.tse-body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ── NAVIGATION ───────────────────────────────── */
.tse-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(245,240,232,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}

.tse-nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.tse-nav__brand {
  font-size: 1.35rem;
  font-weight: 700;
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #2E4A35;
  text-decoration: none;
}
.tse-nav__brand span { color: #B8922A; }

.tse-nav__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.tse-nav__list > li {
  position: relative;
}

.tse-nav__list > li > a {
  display: block;
  padding: 8px 14px;
  color: var(--text);
  font-size: .875rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.tse-nav__list > li > a:hover,
.tse-nav__list > li.tse-active > a {
  color: var(--gold);
  background: rgba(46,74,53,.08);
  text-decoration: none;
}

/* Dropdown — flush to 100% so no gap for mouse to cross */
.tse-nav__list > li > ul {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 210px;
  list-style: none;
  padding: 10px 0 6px;
  box-shadow: 0 8px 24px rgba(26,26,24,.12);
  transition: opacity .18s, visibility .18s;
}

.tse-nav__list > li.tse-dd-open > ul {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.tse-nav__list > li > ul > li > a {
  display: block;
  padding: 8px 18px;
  color: var(--text);
  font-size: .85rem;
  transition: color .12s, background .12s;
}
.tse-nav__list > li > ul > li > a:hover {
  color: var(--gold);
  background: rgba(46,74,53,.07);
  text-decoration: none;
}

/* Hamburger */
.tse-nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
}

/* ── HERO ─────────────────────────────────────── */
.tse-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 72px 24px 64px;
  text-align: center;
}

.tse-hero h1 {
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 400;
  color: #1A1A18;
  letter-spacing: -.01em;
  line-height: 1.2;
  margin-bottom: 20px;
}

.tse-hero h1 em {
  color: var(--gold);
  font-style: normal;
}

.tse-hero p {
  max-width: 680px;
  margin: 0 auto 32px;
  color: var(--muted);
  font-size: 1.05rem;
}

/* ── SECTIONS ─────────────────────────────────── */
.tse-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px 24px;
}

.tse-section.tse-full {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.tse-alt {
  background: var(--surface);
  max-width: 100%;
  padding: 56px 24px;
}
.tse-alt > * { max-width: var(--max-w); margin-left: auto; margin-right: auto; }

.tse-section h2, .tse-alt h2 {
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #1A1A18;
  margin-bottom: 16px;
}

.tse-section h2 + p, .tse-alt h2 + p { color: var(--muted); }

.tse-section p, .tse-alt p { margin-bottom: 16px; }
.tse-section p:last-child, .tse-alt p:last-child { margin-bottom: 0; }

/* ── ICON GRID ────────────────────────────────── */
.tse-icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.tse-icon-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: border-color .2s, transform .2s;
}
.tse-icon-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.tse-icon-card .tse-icon { font-size: 2rem; margin-bottom: 10px; }
.tse-icon-card h3 {
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 6px;
}
.tse-icon-card p {
  font-size: .85rem;
  color: var(--muted);
  margin: 0;
}

/* ── PROCESS STEPS ────────────────────────────── */
.tse-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.tse-step {
  background: var(--surface2);
  border-left: 3px solid var(--gold-lt);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 20px;
}

.tse-step__num {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 6px;
}

.tse-step h3 {
  font-size: 1rem;
  color: #1A1A18;
  margin-bottom: 6px;
}

.tse-step p {
  font-size: .85rem;
  color: var(--muted);
  margin: 0;
}

/* ── BUTTONS ──────────────────────────────────── */
.tse-btn {
  display: inline-block;
  background: var(--gold);
  color: #F5F0E8 !important;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 13px 30px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: background .2s, transform .15s;
  text-decoration: none !important;
  cursor: pointer;
}
.tse-btn:hover {
  background: var(--gold-lt);
  color: #1A1A18 !important;
  transform: translateY(-1px);
}
.tse-btn--outline {
  background: transparent;
  color: var(--gold) !important;
  border-color: var(--gold);
}
.tse-btn--outline:hover {
  background: rgba(46,74,53,.1);
}
.tse-btn--lg {
  font-size: 1rem;
  padding: 16px 40px;
}

/* ── LISTS ────────────────────────────────────── */
.tse-list {
  list-style: none;
  margin: 16px 0;
  padding: 0;
}

.tse-list li {
  padding: 8px 0 8px 24px;
  position: relative;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: .95rem;
}
.tse-list li:last-child { border-bottom: none; }

.tse-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--gold-lt);
}

.tse-list li strong { color: var(--text); }

/* ── TABLE ────────────────────────────────────── */
.tse-table-wrap { overflow-x: auto; margin-top: 24px; }

.tse-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}

.tse-table th {
  background: var(--surface2);
  color: var(--gold);
  font-weight: 700;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid var(--gold);
}

.tse-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.tse-table tr:last-child td { border-bottom: none; }
.tse-table tr:nth-child(even) td { background: var(--surface2); }

/* ── FAQ ──────────────────────────────────────── */
.tse-faq { margin-top: 24px; }

.tse-faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}

.tse-faq__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--surface2);
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  user-select: none;
  gap: 12px;
  transition: background .15s;
}
.tse-faq__q:hover { background: var(--surface); }

.tse-faq__q .tse-faq__icon {
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--gold-lt);
  transition: transform .25s;
}

.tse-faq__item.tse-open .tse-faq__icon { transform: rotate(45deg); }

.tse-faq__a {
  display: none;
  padding: 16px 20px;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.7;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.tse-faq__item.tse-open .tse-faq__a { display: block; }

/* ── RELATED LINKS ────────────────────────────── */
.tse-related { margin-top: 24px; }

.tse-related > h2 { margin-bottom: 16px; }

.tse-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.tse-related-card {
  display: block;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  color: var(--text);
  font-size: .9rem;
  font-weight: 500;
  transition: border-color .15s, color .15s, transform .15s;
}
.tse-related-card:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
  text-decoration: none;
}
.tse-related-card::before {
  content: '→ ';
  color: var(--gold-lt);
}

/* ── CTA BANNER ───────────────────────────────── */
.tse-cta-banner {
  background: #2E4A35;
  border-top: none;
  border-bottom: none;
  text-align: center;
  padding: 64px 24px;
}

.tse-cta-banner h2 { color: #F5F0E8; margin-bottom: 20px; }
.tse-cta-banner p { color: rgba(245,240,232,0.85); }
.tse-cta-banner .tse-btn { background: #F5F0E8; color: #1A1A18 !important; }
.tse-cta-banner .tse-btn:hover { background: #B8922A; color: #1A1A18 !important; }
.tse-cta-banner .tse-sub, .tse-cta-banner .tse-sub a { color: rgba(245,240,232,0.85); }

.tse-sub {
  margin-top: 20px;
  font-size: .9rem;
  color: var(--muted);
}
.tse-sub a { color: var(--gold-lt); }

/* ── SERVICE AREA GRID ────────────────────────── */
.tse-area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.tse-area-card {
  display: block;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  font-weight: 600;
  color: var(--text);
  transition: border-color .15s, color .15s, transform .15s;
}
.tse-area-card:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
  text-decoration: none;
}

/* ── TWO-COLUMN LAYOUT ────────────────────────── */
.tse-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* ── FOOTER ───────────────────────────────────── */
.tse-footer {
  background: #2E4A35;
  border-top: none;
  padding: 48px 24px 32px;
  color: rgba(245,240,232,0.8);
  font-size: .875rem;
}

.tse-footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 40px;
}

.tse-footer h3 {
  color: #B8922A;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.tse-footer ul { list-style: none; }
.tse-footer ul li { margin-bottom: 8px; }
.tse-footer ul li a { color: rgba(245,240,232,0.85); transition: color .15s; }
.tse-footer ul li a:hover { color: #ffffff; text-decoration: none; }

.tse-footer__bottom {
  max-width: var(--max-w);
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(245,240,232,0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.tse-footer__brand {
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: #F5F0E8;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ── SKIP LINK ────────────────────────────────── */
.tse-skip {
  position: absolute;
  top: -100px;
  left: 0;
  background: #2E4A35;
  color: #F5F0E8;
  padding: 8px 16px;
  font-weight: 700;
  z-index: 9999;
  transition: top .2s;
}
.tse-skip:focus { top: 0; }

/* ── BREADCRUMB ───────────────────────────────── */
.tse-breadcrumb {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 12px 24px;
  font-size: .8rem;
  color: var(--muted);
}
.tse-breadcrumb a { color: var(--muted); }
.tse-breadcrumb a:hover { color: var(--gold); text-decoration: none; }
.tse-breadcrumb span { margin: 0 6px; }

/* ── MOBILE ───────────────────────────────────── */
@media (max-width: 820px) {
  .tse-two-col { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 700px) {
  .tse-nav__list { display: none; flex-direction: column; gap: 0; }
  .tse-nav__list.tse-open {
    display: flex;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #F5F0E8;
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    z-index: 999;
  }
  .tse-nav__list > li { width: 100%; }
  .tse-nav__list > li > a { border-radius: 0; padding: 12px 20px; }
  .tse-nav__list > li > ul {
    position: static;
    border: none;
    box-shadow: none;
    background: #EDE8DC;
    border-top: 1px solid var(--border);
    padding: 4px 0;
    min-width: 0;
    width: 100%;
  }
  .tse-nav__list > li > ul > li > a { padding-left: 36px; }
  .tse-nav__toggle { display: block; }
  .tse-hero { padding: 48px 20px 40px; }
  .tse-section, .tse-alt { padding: 40px 20px; }
  .tse-icon-grid, .tse-steps { grid-template-columns: 1fr 1fr; }
  .tse-area-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
  .tse-icon-grid, .tse-steps, .tse-area-grid { grid-template-columns: 1fr; }
}


/* ── Overrides: theme variable collision + dash-class FAQ ── */
body.tse-body { background: #F5F0E8; color: #1A1A18; }
body.tse-body, body.tse-body p, body.tse-body li { color: #1A1A18; }
.tse-hero p, .tse-section h2 + p, .tse-alt h2 + p { color: #6B6B60; }

/* dash-class FAQ */
.tse-faq-item {
  border: 1px solid rgba(26,26,24,0.14);
  border-radius: 6px;
  margin-bottom: 10px;
  overflow: hidden;
  background: #ffffff;
}
.tse-faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  background: #ffffff;
  border: none;
  cursor: pointer;
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #1A1A18;
  gap: 12px;
}
.tse-faq-q:hover { background: #EDE8DC; }
.tse-faq-icon { color: #B8922A; font-size: 1.2rem; flex-shrink: 0; }
.tse-faq-a {
  padding: 4px 20px 16px;
  color: #6B6B60 !important;
  font-size: .95rem;
  line-height: 1.7;
  background: #ffffff;
}
.tse-faq-a p { color: #6B6B60 !important; }
