@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Cairo:wght@400;500;600;700&display=swap');

:root {
  --tsp-primary: #1b4332;
  --tsp-accent: #d4a017;
  --tsp-bg: #eef2ed;
  --tsp-text: #141824;
  --tsp-muted: #5d667e;
  --tsp-surface: #ffffff;
  --tsp-font-display: 'Space Grotesk', sans-serif;
  --tsp-font-body: 'Cairo', sans-serif;
  --tsp-radius: 0.75rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--tsp-font-body);
  background: var(--tsp-bg);
  color: var(--tsp-text);
  direction: rtl;
  text-align: right;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
.tsp-container { width: min(1140px, calc(100vw - 2rem)); margin-inline: auto; }

.tsp-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--tsp-bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid color-mix(in srgb, var(--tsp-text) 12%, transparent);
}
.tsp-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0; gap: 1rem;
}
.tsp-brand { display: flex; align-items: center; gap: .75rem; }
.tsp-brand img { width: 44px; height: 44px; border-radius: var(--tsp-radius); }
.tsp-brand-name { font-family: var(--tsp-font-display); font-weight: 700; font-size: 1.1rem; }
.tsp-nav { display: none; gap: .35rem; align-items: center; flex-wrap: wrap; }
.tsp-nav a { padding: .45rem .75rem; border-radius: 999px; color: var(--tsp-muted); font-size: .9rem; }
.tsp-nav a:hover { color: var(--tsp-text); background: color-mix(in srgb, var(--tsp-primary) 12%, transparent); }
.tsp-cta-nav {
  padding: .55rem 1rem; border-radius: 999px;
  background: var(--tsp-primary); color: #fff; font-weight: 700; font-size: .9rem;
}
.tsp-menu-btn {
  width: 44px; height: 44px; border: 1px solid color-mix(in srgb, var(--tsp-text) 15%, transparent);
  border-radius: var(--tsp-radius); background: var(--tsp-surface); cursor: pointer;
}
.tsp-mobile-panel {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: var(--tsp-bg); padding: 1.5rem; flex-direction: column; gap: .5rem;
}
.tsp-mobile-panel.is-open { display: flex; }
.tsp-mobile-panel a { padding: 1rem; font-size: 1.1rem; border-bottom: 1px solid color-mix(in srgb, var(--tsp-text) 10%, transparent); }

.tsp-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .85rem 1.4rem; border-radius: 999px;
  font-weight: 700; border: none; cursor: pointer; transition: transform .2s, opacity .2s;
}
.tsp-btn:hover { transform: translateY(-2px); }
.tsp-btn-primary { background: var(--tsp-primary); color: #fff; }
.tsp-btn-ghost { background: transparent; border: 2px solid color-mix(in srgb, var(--tsp-text) 20%, transparent); color: var(--tsp-text); }

.tsp-hero { padding: clamp(2rem, 6vw, 5rem) 0; overflow: hidden; }




.tsp-hero-asym { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2.5rem; align-items: center; }
.tsp-hero-asym h1 { font-family: var(--tsp-font-display); font-size: clamp(1.9rem, 4vw, 3rem); margin: 0 0 1rem; }
.tsp-zone-diagram { background: var(--tsp-surface); border-radius: var(--tsp-radius); padding: 1.5rem; border: 1px solid color-mix(in srgb, var(--tsp-primary) 25%, transparent); }


section { padding: clamp(3rem, 6vw, 5rem) 0; }
.tsp-section-title { font-family: var(--tsp-font-display); font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 0 0 .75rem; }
.tsp-section-lead { color: var(--tsp-muted); max-width: 60ch; margin-bottom: 2rem; }
.tsp-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.tsp-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.tsp-card {
  background: var(--tsp-surface);
  border: 1px solid color-mix(in srgb, var(--tsp-text) 10%, transparent);
  border-radius: var(--tsp-radius); padding: 1.5rem;
}
.tsp-card h3 { font-family: var(--tsp-font-display); margin: 0 0 .5rem; font-size: 1.15rem; }
.tsp-card p { color: var(--tsp-muted); margin: 0; font-size: .95rem; }
.tsp-step-num { color: var(--tsp-primary); font-weight: 800; font-size: .8rem; letter-spacing: .1em; }
.tsp-quote { font-style: italic; border-right: 3px solid var(--tsp-accent); padding-right: 1rem; margin: 0 0 1rem; }
.tsp-quote cite { display: block; font-style: normal; font-size: .85rem; color: var(--tsp-muted); margin-top: .5rem; }
.tsp-article-list { list-style: none; padding: 0; margin: 0; }
.tsp-article-list li { margin-bottom: .75rem; }
.tsp-article-list a { color: var(--tsp-primary); font-weight: 600; }

.tsp-cta-band {
  background: linear-gradient(135deg, var(--tsp-primary), color-mix(in srgb, var(--tsp-accent) 60%, var(--tsp-primary)));
  color: #fff; border-radius: calc(var(--tsp-radius) * 1.5); padding: clamp(2rem, 5vw, 3.5rem);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.tsp-cta-band p { color: rgba(255,255,255,.88); margin: 0; max-width: 50ch; }

.tsp-footer { border-top: 1px solid color-mix(in srgb, var(--tsp-text) 12%, transparent); padding: 3rem 0 1.5rem; margin-top: 2rem; }
.tsp-footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.tsp-footer h4 { margin: 0 0 .75rem; font-size: 1rem; }
.tsp-footer a { display: block; color: var(--tsp-muted); font-size: .9rem; margin-bottom: .4rem; }
.tsp-footer a:hover { color: var(--tsp-primary); }
.tsp-copyright { margin-top: 2rem; font-size: .8rem; color: var(--tsp-muted); }

.tsp-cookie { position: fixed; bottom: 0; left: 0; right: 0; z-index: 300; padding: 1rem;
  background: var(--tsp-surface); border-top: 1px solid color-mix(in srgb, var(--tsp-text) 12%, transparent);
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
}
.tsp-cookie.is-hidden { display: none; }

.tsp-page { padding: 4rem 0; }
.tsp-page h1 { font-family: var(--tsp-font-display); font-size: 2rem; }
.tsp-page h2 { font-family: var(--tsp-font-display); font-size: 1.25rem; margin-top: 2rem; }
.tsp-page p { color: var(--tsp-muted); }
.tsp-form { display: flex; flex-direction: column; gap: 1rem; max-width: 520px; }
.tsp-form input, .tsp-form textarea {
  padding: .75rem 1rem; border: 1px solid color-mix(in srgb, var(--tsp-text) 15%, transparent);
  border-radius: var(--tsp-radius); background: var(--tsp-surface); font: inherit;
}
.tsp-form textarea { min-height: 140px; resize: vertical; }

.tsp-reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .6s; }
.tsp-reveal.is-visible { opacity: 1; transform: none; }
@keyframes tsp-pulse { 0%,100%{opacity:1} 50%{opacity:.7} }
.tsp-hero-kicker, .tsp-hero-editorial .tsp-brand-name { animation: tsp-pulse 3s ease-in-out infinite; }

@media (min-width: 768px) { .tsp-nav { display: flex; } .tsp-menu-btn { display: none; } }
@media (max-width: 900px) {
  .tsp-hero-split, .tsp-hero-asym, .tsp-grid-3, .tsp-grid-2 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .tsp-reveal { opacity: 1; transform: none; }
  * { animation: none !important; transition: none !important; }
}
