/* ═══════════════════════════════════════════════════
   The Copywriting Edge — Design System
   Editorial-magazine layout / warm palette
   Fonts: Outfit (headings) + Plus Jakarta Sans (body)
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --tce-ink: #1a1814;
  --tce-cream: #faf7f2;
  --tce-warm-white: #ffffff;
  --tce-sienna: #c4623a;
  --tce-sienna-deep: #a84e2a;
  --tce-sage: #6b7c5e;
  --tce-sage-light: #e8ede4;
  --tce-stone: #d4cdc4;
  --tce-muted: #8a847a;
  --tce-light-border: #e8e3db;
  --tce-surface: #f3efe9;
  --tce-overlay: rgba(26,24,20,0.72);
  --tce-radius-sm: 6px;
  --tce-radius-md: 12px;
  --tce-radius-lg: 20px;
  --tce-radius-xl: 32px;
  --tce-shadow-soft: 0 4px 24px rgba(26,24,20,0.06);
  --tce-shadow-card: 0 8px 40px rgba(26,24,20,0.08);
  --tce-shadow-hover: 0 12px 48px rgba(26,24,20,0.13);
  --tce-font-head: 'Outfit', sans-serif;
  --tce-font-body: 'Plus Jakarta Sans', sans-serif;
  --tce-max-w: 1240px;
  --tce-transition: 0.32s cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset & Base ─────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--tce-font-body);
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--tce-ink);
  background: var(--tce-cream);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tce-sienna); text-decoration: none; transition: color var(--tce-transition); }
a:hover { color: var(--tce-sienna-deep); }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--tce-font-head); font-weight: 700; line-height: 1.18; color: var(--tce-ink); }

/* ── Layout Shell ────────────────────────── */
.tce-wrap { max-width: var(--tce-max-w); margin: 0 auto; padding: 0 28px; }
.tce-section { padding: 96px 0; }
.tce-section--alt { background: var(--tce-surface); }
.tce-section--dark { background: var(--tce-ink); color: var(--tce-cream); }
.tce-section--dark h2, .tce-section--dark h3, .tce-section--dark p { color: var(--tce-cream); }

/* ── HEADER / NAV — Split logo + mega menu ── */
.tce-topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(250,247,242,0.92);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--tce-light-border);
  transition: box-shadow var(--tce-transition);
}
.tce-topbar.scrolled { box-shadow: 0 2px 20px rgba(26,24,20,0.07); }
.tce-nav-shell {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--tce-max-w); margin: 0 auto; padding: 0 28px;
  height: 72px;
}
.tce-logo {
  font-family: var(--tce-font-head); font-weight: 800; font-size: 1.35rem;
  color: var(--tce-ink); letter-spacing: -0.02em;
}
.tce-logo em { font-style: normal; color: var(--tce-sienna); }

.tce-nav-links { display: flex; align-items: center; gap: 6px; }
.tce-nav-links > li { position: relative; }
.tce-nav-links a {
  display: block; padding: 8px 16px; font-size: 0.92rem; font-weight: 500;
  color: var(--tce-ink); border-radius: var(--tce-radius-sm);
  transition: background var(--tce-transition), color var(--tce-transition);
}
.tce-nav-links a:hover,
.tce-nav-links a.active { background: var(--tce-surface); color: var(--tce-sienna); }

/* Mega menu for Services */
.tce-mega-trigger { cursor: pointer; }
.tce-mega-trigger::after {
  content: ''; display: inline-block; width: 6px; height: 6px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); margin-left: 6px; margin-bottom: 2px;
  transition: transform 0.2s;
}
.tce-mega-panel {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  width: 640px; background: var(--tce-warm-white);
  border: 1px solid var(--tce-light-border); border-radius: var(--tce-radius-md);
  box-shadow: var(--tce-shadow-card);
  padding: 28px 32px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
  transform: translateX(-50%) translateY(8px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.tce-nav-links li:hover .tce-mega-panel,
.tce-mega-panel:hover {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.tce-mega-item {
  display: flex; gap: 14px; padding: 14px 16px;
  border-radius: var(--tce-radius-sm);
  transition: background var(--tce-transition);
}
.tce-mega-item:hover { background: var(--tce-surface); }
.tce-mega-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--tce-sage-light); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.tce-mega-icon svg { width: 20px; height: 20px; stroke: var(--tce-sage); }
.tce-mega-info h4 { font-size: 0.92rem; font-weight: 600; margin-bottom: 2px; }
.tce-mega-info p { font-size: 0.78rem; color: var(--tce-muted); line-height: 1.4; margin: 0; }

/* CTA button in nav */
.tce-nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; background: var(--tce-sienna); color: #fff !important;
  border-radius: var(--tce-radius-xl); font-size: 0.88rem; font-weight: 600;
  transition: background var(--tce-transition), transform var(--tce-transition);
}
.tce-nav-cta:hover { background: var(--tce-sienna-deep); transform: translateY(-1px); color: #fff !important; }

/* Mobile burger */
.tce-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.tce-burger span {
  display: block; width: 24px; height: 2px; background: var(--tce-ink);
  margin: 5px 0; transition: var(--tce-transition);
}
.tce-burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.tce-burger.open span:nth-child(2) { opacity: 0; }
.tce-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── HERO — Diagonal split ───────────────── */
.tce-herald {
  padding-top: 160px; padding-bottom: 100px;
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--tce-cream) 55%, var(--tce-surface) 55%);
}
.tce-herald-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center;
}
.tce-herald-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; background: var(--tce-sage-light);
  border-radius: var(--tce-radius-xl); font-size: 0.82rem; font-weight: 500;
  color: var(--tce-sage); margin-bottom: 24px;
}
.tce-herald-badge::before {
  content: ''; width: 8px; height: 8px; background: var(--tce-sage);
  border-radius: 50%; animation: tce-pulse 2s infinite;
}
@keyframes tce-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

.tce-herald h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800; letter-spacing: -0.03em;
  margin-bottom: 24px; line-height: 1.1;
}
.tce-herald h1 span { color: var(--tce-sienna); }
.tce-herald-body {
  font-size: 1.1rem; color: var(--tce-muted);
  max-width: 520px; margin-bottom: 36px; line-height: 1.8;
}
.tce-herald-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.tce-herald-visual {
  position: relative;
}
.tce-herald-img-frame {
  width: 100%; aspect-ratio: 4/3; border-radius: var(--tce-radius-lg);
  overflow: hidden; position: relative;
  box-shadow: var(--tce-shadow-card);
}
.tce-herald-img-frame img { width: 100%; height: 100%; object-fit: cover; }
.tce-herald-float-card {
  position: absolute; bottom: -24px; left: -32px;
  background: var(--tce-warm-white); padding: 20px 24px;
  border-radius: var(--tce-radius-md); box-shadow: var(--tce-shadow-card);
  display: flex; align-items: center; gap: 14px;
}
.tce-herald-float-stat { font-family: var(--tce-font-head); font-size: 2rem; font-weight: 800; color: var(--tce-sienna); }
.tce-herald-float-label { font-size: 0.82rem; color: var(--tce-muted); line-height: 1.3; }

/* ── BUTTONS ─────────────────────────────── */
.tce-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; font-family: var(--tce-font-body);
  font-size: 0.95rem; font-weight: 600;
  border: none; border-radius: var(--tce-radius-xl); cursor: pointer;
  transition: all var(--tce-transition); text-decoration: none;
}
.tce-btn--primary { background: var(--tce-sienna); color: #fff; }
.tce-btn--primary:hover { background: var(--tce-sienna-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(196,98,58,0.25); }
.tce-btn--outline { background: transparent; color: var(--tce-ink); border: 2px solid var(--tce-light-border); }
.tce-btn--outline:hover { border-color: var(--tce-ink); color: var(--tce-ink); }
.tce-btn--ghost { background: transparent; color: var(--tce-sienna); padding: 14px 8px; }
.tce-btn--ghost:hover { color: var(--tce-sienna-deep); }
.tce-btn--sm { padding: 10px 20px; font-size: 0.85rem; }
.tce-btn--dark { background: var(--tce-ink); color: var(--tce-cream); }
.tce-btn--dark:hover { background: #2a2620; color: var(--tce-cream); }
.tce-btn svg { width: 16px; height: 16px; }

/* ── EYEBROW ─────────────────────────────── */
.tce-eyebrow {
  font-family: var(--tce-font-head); font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--tce-sienna);
  margin-bottom: 12px;
}
.tce-section--dark .tce-eyebrow { color: var(--tce-stone); }

/* ── SECTION HEADINGS ────────────────────── */
.tce-heading-xl {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: 18px; line-height: 1.15;
}
.tce-heading-lg { font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-weight: 700; letter-spacing: -0.015em; margin-bottom: 16px; }
.tce-heading-md { font-size: 1.35rem; font-weight: 600; margin-bottom: 12px; }
.tce-lead { font-size: 1.08rem; color: var(--tce-muted); max-width: 620px; line-height: 1.78; }
.tce-center { text-align: center; }
.tce-center .tce-lead { margin: 0 auto; }

/* ── PROCESS ─────────────────────────────── */
.tce-steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  margin-top: 56px;
}
.tce-step-card {
  position: relative; padding: 36px 28px;
  background: var(--tce-warm-white); border-radius: var(--tce-radius-md);
  border: 1px solid var(--tce-light-border);
  transition: box-shadow var(--tce-transition), transform var(--tce-transition);
}
.tce-step-card:hover { box-shadow: var(--tce-shadow-hover); transform: translateY(-4px); }
.tce-step-num {
  font-family: var(--tce-font-head); font-size: 3rem; font-weight: 800;
  color: var(--tce-stone); opacity: 0.5; line-height: 1; margin-bottom: 16px;
}
.tce-step-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.tce-step-card p { font-size: 0.9rem; color: var(--tce-muted); line-height: 1.65; }
.tce-step-icon {
  width: 48px; height: 48px; background: var(--tce-sage-light);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.tce-step-icon svg { width: 24px; height: 24px; stroke: var(--tce-sage); }

/* ── SERVICES GRID ───────────────────────── */
.tce-services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  margin-top: 48px;
}
.tce-svc-card {
  background: var(--tce-warm-white); border-radius: var(--tce-radius-md);
  border: 1px solid var(--tce-light-border); overflow: hidden;
  transition: box-shadow var(--tce-transition), transform var(--tce-transition);
}
.tce-svc-card:hover { box-shadow: var(--tce-shadow-hover); transform: translateY(-4px); }
.tce-svc-thumb {
  width: 100%; height: 200px; overflow: hidden;
  background: var(--tce-surface);
}
.tce-svc-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.tce-svc-card:hover .tce-svc-thumb img { transform: scale(1.06); }
.tce-svc-body { padding: 28px; }
.tce-svc-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.tce-svc-body p { font-size: 0.9rem; color: var(--tce-muted); margin-bottom: 16px; line-height: 1.6; }
.tce-svc-price { font-family: var(--tce-font-head); font-weight: 700; color: var(--tce-sienna); font-size: 1rem; }
.tce-svc-price span { font-size: 0.8rem; color: var(--tce-muted); font-weight: 400; }
.tce-svc-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.88rem; font-weight: 600; color: var(--tce-sienna);
  margin-top: 14px;
}
.tce-svc-link:hover { gap: 10px; }

/* ── TESTIMONIALS — horizontal scroll ────── */
.tce-reviews-track {
  display: flex; gap: 28px; margin-top: 48px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; padding-bottom: 12px;
}
.tce-reviews-track::-webkit-scrollbar { height: 4px; }
.tce-reviews-track::-webkit-scrollbar-thumb { background: var(--tce-stone); border-radius: 4px; }
.tce-review-card {
  flex: 0 0 380px; scroll-snap-align: start;
  background: var(--tce-warm-white); border-radius: var(--tce-radius-md);
  border: 1px solid var(--tce-light-border); padding: 36px 32px;
}
.tce-review-stars { color: var(--tce-sienna); margin-bottom: 16px; font-size: 1rem; letter-spacing: 2px; }
.tce-review-card blockquote {
  font-size: 0.95rem; line-height: 1.72; color: var(--tce-ink);
  font-style: italic; margin-bottom: 20px;
}
.tce-review-author { display: flex; align-items: center; gap: 12px; }
.tce-review-avatar {
  width: 44px; height: 44px; border-radius: 50%; overflow: hidden;
  background: var(--tce-surface);
}
.tce-review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tce-review-name { font-weight: 600; font-size: 0.9rem; }
.tce-review-role { font-size: 0.8rem; color: var(--tce-muted); }

/* ── CASE STUDIES ────────────────────────── */
.tce-cases-stack { display: flex; flex-direction: column; gap: 48px; margin-top: 48px; }
.tce-case-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  background: var(--tce-warm-white); border-radius: var(--tce-radius-lg);
  border: 1px solid var(--tce-light-border); overflow: hidden;
}
.tce-case-row:nth-child(even) { direction: rtl; }
.tce-case-row:nth-child(even) > * { direction: ltr; }
.tce-case-visual { width: 100%; height: 320px; overflow: hidden; background: var(--tce-surface); }
.tce-case-visual img { width: 100%; height: 100%; object-fit: cover; }
.tce-case-content { padding: 40px 44px; }
.tce-case-tag {
  display: inline-block; padding: 4px 12px; background: var(--tce-sage-light);
  border-radius: var(--tce-radius-sm); font-size: 0.78rem; font-weight: 600;
  color: var(--tce-sage); margin-bottom: 14px;
}
.tce-case-content h3 { font-size: 1.4rem; margin-bottom: 10px; }
.tce-case-result {
  display: inline-block; font-family: var(--tce-font-head); font-weight: 700;
  color: var(--tce-sienna); font-size: 1.05rem; margin-bottom: 12px;
}
.tce-case-content p { font-size: 0.92rem; color: var(--tce-muted); line-height: 1.7; }

/* ── PRICING ─────────────────────────────── */
.tce-pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  margin-top: 48px;
}
.tce-price-card {
  background: var(--tce-warm-white); border-radius: var(--tce-radius-md);
  border: 1px solid var(--tce-light-border); padding: 40px 32px;
  transition: box-shadow var(--tce-transition), transform var(--tce-transition);
  position: relative;
}
.tce-price-card:hover { box-shadow: var(--tce-shadow-hover); transform: translateY(-4px); }
.tce-price-card--featured {
  border-color: var(--tce-sienna); box-shadow: 0 0 0 1px var(--tce-sienna);
}
.tce-price-badge {
  position: absolute; top: -12px; right: 24px;
  background: var(--tce-sienna); color: #fff; padding: 4px 14px;
  border-radius: var(--tce-radius-sm); font-size: 0.75rem; font-weight: 600;
}
.tce-price-card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.tce-price-sub { font-size: 0.85rem; color: var(--tce-muted); margin-bottom: 20px; }
.tce-price-amount {
  font-family: var(--tce-font-head); font-size: 2.6rem; font-weight: 800;
  color: var(--tce-ink); margin-bottom: 24px;
}
.tce-price-amount small { font-size: 0.45em; color: var(--tce-muted); font-weight: 400; }
.tce-price-features { margin-bottom: 28px; }
.tce-price-features li {
  padding: 8px 0; font-size: 0.88rem; color: var(--tce-ink);
  border-bottom: 1px solid var(--tce-light-border);
  display: flex; align-items: center; gap: 10px;
}
.tce-price-features li::before {
  content: '✓'; display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; background: var(--tce-sage-light);
  border-radius: 50%; font-size: 0.7rem; color: var(--tce-sage); flex-shrink: 0;
}

/* ── FAQ ──────────────────────────────────── */
.tce-faq-list { max-width: 760px; margin: 48px auto 0; }
.tce-faq-item {
  border-bottom: 1px solid var(--tce-light-border);
}
.tce-faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  padding: 22px 0; display: flex; justify-content: space-between;
  align-items: center; font-family: var(--tce-font-body);
  font-size: 1.02rem; font-weight: 600; color: var(--tce-ink);
  text-align: left;
}
.tce-faq-q::after {
  content: '+'; font-size: 1.5rem; color: var(--tce-sienna);
  transition: transform 0.3s;
}
.tce-faq-item.open .tce-faq-q::after { content: '−'; }
.tce-faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}
.tce-faq-item.open .tce-faq-a { max-height: 500px; }
.tce-faq-a p { padding-bottom: 22px; font-size: 0.92rem; color: var(--tce-muted); line-height: 1.72; }

/* ── ABOUT SECTION (homepage) ────────────── */
.tce-about-split {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px;
  align-items: center; margin-top: 48px;
}
.tce-about-visual {
  position: relative; border-radius: var(--tce-radius-lg); overflow: hidden;
  aspect-ratio: 5/4; background: var(--tce-surface);
}
.tce-about-visual img { width: 100%; height: 100%; object-fit: cover; }
.tce-about-text h2 { margin-bottom: 20px; }
.tce-about-text p { font-size: 0.95rem; color: var(--tce-muted); line-height: 1.78; margin-bottom: 16px; }

/* ── CTA BANNER ──────────────────────────── */
.tce-cta-band {
  background: var(--tce-ink); border-radius: var(--tce-radius-lg);
  padding: 72px 64px; text-align: center; margin: 0 28px;
  position: relative; overflow: hidden;
}
.tce-cta-band::before {
  content: ''; position: absolute; top: -60%; right: -20%;
  width: 500px; height: 500px; background: var(--tce-sienna);
  opacity: 0.08; border-radius: 50%; filter: blur(80px);
}
.tce-cta-band h2 { color: var(--tce-cream); font-size: clamp(1.6rem,3vw,2.4rem); margin-bottom: 16px; }
.tce-cta-band p { color: var(--tce-stone); max-width: 540px; margin: 0 auto 28px; font-size: 1.02rem; }

/* ── CONTACT FORM ────────────────────────── */
.tce-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tce-form-field { display: flex; flex-direction: column; }
.tce-form-field--full { grid-column: 1 / -1; }
.tce-form-label { font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--tce-ink); }
.tce-form-input,
.tce-form-select,
.tce-form-textarea {
  padding: 12px 16px; border: 1.5px solid var(--tce-light-border);
  border-radius: var(--tce-radius-sm); font-family: var(--tce-font-body);
  font-size: 0.92rem; background: var(--tce-warm-white); color: var(--tce-ink);
  transition: border-color var(--tce-transition);
}
.tce-form-input:focus,
.tce-form-select:focus,
.tce-form-textarea:focus { border-color: var(--tce-sienna); outline: none; }
.tce-form-textarea { resize: vertical; min-height: 140px; }
.tce-form-check { display: flex; align-items: flex-start; gap: 10px; margin-top: 8px; }
.tce-form-check input { margin-top: 4px; accent-color: var(--tce-sienna); }
.tce-form-check label { font-size: 0.85rem; color: var(--tce-muted); }

/* ── FOOTER ──────────────────────────────── */
.tce-footer {
  background: var(--tce-ink); color: var(--tce-stone);
  padding: 80px 0 32px;
}
.tce-footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px;
}
.tce-footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-top: 14px; max-width: 280px; }
.tce-footer h4 {
  font-size: 0.85rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--tce-cream); margin-bottom: 18px;
}
.tce-footer-links li { margin-bottom: 10px; }
.tce-footer-links a { color: var(--tce-stone); font-size: 0.88rem; }
.tce-footer-links a:hover { color: var(--tce-cream); }
.tce-footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; color: var(--tce-muted);
}
.tce-footer-legal { display: flex; gap: 20px; }
.tce-footer-legal a { color: var(--tce-muted); }
.tce-footer-legal a:hover { color: var(--tce-cream); }

/* ── COOKIE BANNER ───────────────────────── */
.tce-cookie-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: var(--tce-ink); color: var(--tce-cream);
  padding: 18px 28px; display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
  transform: translateY(100%); transition: transform 0.4s ease;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
}
.tce-cookie-bar.visible { transform: translateY(0); }
.tce-cookie-bar p { font-size: 0.88rem; max-width: 600px; line-height: 1.5; }
.tce-cookie-bar a { color: var(--tce-sienna); text-decoration: underline; }
.tce-cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.tce-cookie-accept {
  padding: 10px 22px; background: var(--tce-sienna); color: #fff; border: none;
  border-radius: var(--tce-radius-xl); font-family: var(--tce-font-body);
  font-size: 0.85rem; font-weight: 600; cursor: pointer;
}
.tce-cookie-decline {
  padding: 10px 22px; background: transparent; color: var(--tce-stone);
  border: 1px solid rgba(255,255,255,0.15); border-radius: var(--tce-radius-xl);
  font-family: var(--tce-font-body); font-size: 0.85rem; cursor: pointer;
}

/* ── CHAT WIDGET ─────────────────────────── */
.tce-chat-trigger {
  position: fixed; bottom: 28px; right: 28px; z-index: 9990;
  width: 56px; height: 56px; background: var(--tce-sienna);
  border-radius: 50%; border: none; cursor: pointer;
  box-shadow: 0 4px 20px rgba(196,98,58,0.35);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.tce-chat-trigger:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(196,98,58,0.45); }
.tce-chat-trigger svg { width: 24px; height: 24px; fill: #fff; }

.tce-chat-popup {
  position: fixed; bottom: 96px; right: 28px; z-index: 9991;
  width: 360px; max-height: 480px; background: var(--tce-warm-white);
  border-radius: var(--tce-radius-md); box-shadow: var(--tce-shadow-card);
  border: 1px solid var(--tce-light-border);
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(0.96);
  transition: all 0.3s ease;
}
.tce-chat-popup.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.tce-chat-header {
  background: var(--tce-sienna); color: #fff; padding: 18px 20px;
  border-radius: var(--tce-radius-md) var(--tce-radius-md) 0 0;
  display: flex; align-items: center; justify-content: space-between;
}
.tce-chat-header h4 { font-size: 0.95rem; font-weight: 600; }
.tce-chat-close { background: none; border: none; color: #fff; font-size: 1.3rem; cursor: pointer; }
.tce-chat-body { padding: 20px; flex: 1; overflow-y: auto; }
.tce-chat-body p { font-size: 0.9rem; color: var(--tce-muted); margin-bottom: 14px; line-height: 1.6; }
.tce-chat-form { padding: 14px 20px; border-top: 1px solid var(--tce-light-border); }
.tce-chat-form input {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--tce-light-border);
  border-radius: var(--tce-radius-sm); font-family: var(--tce-font-body);
  font-size: 0.88rem; margin-bottom: 8px;
}
.tce-chat-form textarea {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--tce-light-border);
  border-radius: var(--tce-radius-sm); font-family: var(--tce-font-body);
  font-size: 0.88rem; resize: none; height: 72px; margin-bottom: 8px;
}
.tce-chat-send {
  width: 100%; padding: 10px; background: var(--tce-sienna); color: #fff;
  border: none; border-radius: var(--tce-radius-sm); font-weight: 600;
  font-family: var(--tce-font-body); cursor: pointer;
  transition: background 0.2s;
}
.tce-chat-send:hover { background: var(--tce-sienna-deep); }

/* ── CUSTOM PACKAGE BUILDER ──────────────── */
.tce-builder-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; margin-top: 48px; }
.tce-builder-options {}
.tce-builder-summary {
  background: var(--tce-warm-white); border: 1px solid var(--tce-light-border);
  border-radius: var(--tce-radius-md); padding: 36px 32px;
  position: sticky; top: 100px; align-self: start;
}
.tce-builder-group { margin-bottom: 32px; }
.tce-builder-group h3 { font-size: 1.1rem; margin-bottom: 16px; }
.tce-builder-option {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; border: 1.5px solid var(--tce-light-border);
  border-radius: var(--tce-radius-sm); margin-bottom: 10px;
  cursor: pointer; transition: border-color 0.2s, background 0.2s;
}
.tce-builder-option:hover { border-color: var(--tce-stone); }
.tce-builder-option.selected { border-color: var(--tce-sienna); background: rgba(196,98,58,0.04); }
.tce-builder-option input { accent-color: var(--tce-sienna); }
.tce-builder-option-info { flex: 1; }
.tce-builder-option-info strong { font-size: 0.92rem; display: block; }
.tce-builder-option-price { font-family: var(--tce-font-head); font-weight: 700; color: var(--tce-sienna); white-space: nowrap; }

.tce-hours-control { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
.tce-hours-btn {
  width: 36px; height: 36px; border: 1.5px solid var(--tce-light-border);
  border-radius: 50%; background: var(--tce-warm-white);
  font-size: 1.2rem; cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  transition: border-color 0.2s;
}
.tce-hours-btn:hover { border-color: var(--tce-sienna); }
.tce-hours-display { font-family: var(--tce-font-head); font-size: 1.3rem; font-weight: 700; min-width: 28px; text-align: center; }

.tce-summary-lines { margin-bottom: 20px; }
.tce-summary-line {
  display: flex; justify-content: space-between; padding: 8px 0;
  font-size: 0.9rem; border-bottom: 1px solid var(--tce-light-border);
}
.tce-summary-total {
  display: flex; justify-content: space-between; padding: 16px 0 0;
  font-family: var(--tce-font-head); font-size: 1.4rem; font-weight: 800;
}

/* ── CHECKOUT ────────────────────────────── */
.tce-checkout-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; margin-top: 48px; }
.tce-order-review {
  background: var(--tce-warm-white); border: 1px solid var(--tce-light-border);
  border-radius: var(--tce-radius-md); padding: 36px 32px;
  align-self: start;
}
.tce-order-review h3 { margin-bottom: 20px; }

/* ── LEGAL PAGES ─────────────────────────── */
.tce-legal-content { max-width: 780px; margin: 0 auto; }
.tce-legal-content h2 { margin-bottom: 8px; font-size: 2rem; }
.tce-legal-content h3 { margin-top: 32px; margin-bottom: 10px; font-size: 1.15rem; }
.tce-legal-content p { margin-bottom: 14px; font-size: 0.92rem; color: var(--tce-muted); line-height: 1.75; }
.tce-legal-content ul { margin-bottom: 14px; padding-left: 20px; }
.tce-legal-content ul li {
  font-size: 0.92rem; color: var(--tce-muted); line-height: 1.75;
  margin-bottom: 6px; list-style: disc;
}
.tce-legal-content table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.tce-legal-content th, .tce-legal-content td {
  padding: 10px 14px; border: 1px solid var(--tce-light-border);
  font-size: 0.85rem; text-align: left;
}
.tce-legal-content th { background: var(--tce-surface); font-weight: 600; }
.tce-legal-content a { color: var(--tce-sienna); }

/* ── PAGE HERO (interior pages) ──────────── */
.tce-page-banner {
  padding: 140px 0 72px; background: var(--tce-surface);
  position: relative; overflow: hidden;
}
.tce-page-banner::after {
  content: ''; position: absolute; top: 0; right: 0;
  width: 40%; height: 100%; background: linear-gradient(135deg, transparent 50%, var(--tce-cream) 50%);
  opacity: 0.3;
}
.tce-page-banner h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800;
  letter-spacing: -0.02em; margin-bottom: 12px; position: relative; z-index: 1;
}
.tce-page-banner p {
  font-size: 1.05rem; color: var(--tce-muted); max-width: 600px; position: relative; z-index: 1;
}

/* ── SERVICE PAGE specific ───────────────── */
.tce-svc-hero-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  align-items: center; padding-top: 140px; padding-bottom: 80px;
}
.tce-svc-hero-img {
  border-radius: var(--tce-radius-lg); overflow: hidden;
  aspect-ratio: 4/3; background: var(--tce-surface);
}
.tce-svc-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.tce-svc-detail-section { margin-bottom: 48px; }
.tce-svc-detail-section h2 { font-size: 1.35rem; margin-bottom: 12px; }
.tce-svc-detail-section p { font-size: 0.95rem; color: var(--tce-muted); line-height: 1.78; }
.tce-svc-includes-list { margin-top: 12px; padding-left: 0; }
.tce-svc-includes-list li {
  padding: 10px 0; border-bottom: 1px solid var(--tce-light-border);
  font-size: 0.92rem; display: flex; align-items: center; gap: 10px;
  list-style: none;
}
.tce-svc-includes-list li::before {
  content: '✓'; display: inline-flex; width: 22px; height: 22px;
  background: var(--tce-sage-light); border-radius: 50%;
  align-items: center; justify-content: center;
  font-size: 0.72rem; color: var(--tce-sage); flex-shrink: 0;
}

/* ── SUCCESS / CANCEL pages ──────────────── */
.tce-result-center {
  text-align: center; padding: 180px 0 120px; max-width: 560px; margin: 0 auto;
}
.tce-result-icon { font-size: 3.5rem; margin-bottom: 20px; }

/* ── VALUES GRID ─────────────────────────── */
.tce-values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 36px; }
.tce-value-block { padding: 28px; background: var(--tce-surface); border-radius: var(--tce-radius-md); }
.tce-value-block h3 { font-size: 1.05rem; margin-bottom: 8px; }
.tce-value-block p { font-size: 0.9rem; color: var(--tce-muted); line-height: 1.65; }

/* ── PORTFOLIO GRID ──────────────────────── */
.tce-portfolio-masonry { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px; }

/* ── ANIMATIONS ──────────────────────────── */
.tce-reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.tce-reveal.in-view { opacity: 1; transform: translateY(0); }
.tce-reveal-delay-1 { transition-delay: 0.1s; }
.tce-reveal-delay-2 { transition-delay: 0.2s; }
.tce-reveal-delay-3 { transition-delay: 0.3s; }
.tce-reveal-delay-4 { transition-delay: 0.4s; }

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 960px) {
  .tce-herald-grid { grid-template-columns: 1fr; gap: 40px; }
  .tce-services-grid { grid-template-columns: 1fr 1fr; }
  .tce-steps-grid { grid-template-columns: 1fr 1fr; }
  .tce-pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .tce-footer-grid { grid-template-columns: 1fr 1fr; }
  .tce-about-split { grid-template-columns: 1fr; }
  .tce-case-row { grid-template-columns: 1fr; }
  .tce-case-row:nth-child(even) { direction: ltr; }
  .tce-builder-layout { grid-template-columns: 1fr; }
  .tce-checkout-grid { grid-template-columns: 1fr; }
  .tce-svc-hero-split { grid-template-columns: 1fr; padding-top: 120px; }
  .tce-mega-panel { width: 100%; left: 0; transform: none; }
  .tce-nav-links li:hover .tce-mega-panel { transform: translateY(0); }
}

@media (max-width: 768px) {
  .tce-nav-links { 
    display: none; flex-direction: column; position: fixed;
    top: 72px; left: 0; right: 0; background: var(--tce-cream);
    padding: 20px; border-bottom: 1px solid var(--tce-light-border);
    box-shadow: var(--tce-shadow-card);
  }
  .tce-nav-links.mobile-open { display: flex; }
  .tce-mega-panel {
    position: static; transform: none; width: 100%;
    box-shadow: none; border: none; padding: 10px 0;
    display: none; opacity: 1; visibility: visible; pointer-events: auto;
  }
  .tce-nav-links li:hover .tce-mega-panel,
  .tce-mega-panel.mob-open { display: grid; grid-template-columns: 1fr; }
  .tce-burger { display: block; }
  .tce-services-grid { grid-template-columns: 1fr; }
  .tce-steps-grid { grid-template-columns: 1fr; }
  .tce-footer-grid { grid-template-columns: 1fr; }
  .tce-footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .tce-form-grid { grid-template-columns: 1fr; }
  .tce-cta-band { padding: 48px 28px; margin: 0 12px; }
  .tce-herald { padding-top: 120px; padding-bottom: 64px; }
  .tce-section { padding: 64px 0; }
  .tce-values-grid { grid-template-columns: 1fr; }
  .tce-portfolio-masonry { grid-template-columns: 1fr; }
  .tce-chat-popup { width: calc(100vw - 24px); right: 12px; bottom: 80px; }
  .tce-cookie-bar { flex-direction: column; text-align: center; }
}
