/* ===========================================
   TAHISSA — DESIGN SYSTEM
   =========================================== */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@900&family=Inter:wght@300;400;500&display=swap');

/* --- Tokens --- */
:root {
  --bg:      #110D09;
  --bg2:     #1A1410;
  --bg3:     #211810;
  --ink:     #F5F0E8;
  --ink2:    rgba(245, 240, 232, 0.55);
  --ink3:    rgba(245, 240, 232, 0.3);
  --accent:  #E07B4F;
  --accent-d:#c9633a;
  --wa:      #25D366;
  --wa-d:    #1db954;
  --border:  rgba(245, 240, 232, 0.1);
  --border2: rgba(245, 240, 232, 0.06);
  --radius:  12px;
  --max-w:   1140px;
  --nav-h:   64px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* --- Typography --- */
.display {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(72px, 13vw, 190px);
  line-height: 0.88;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
h1, h2, h3, h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(40px, 7vw, 80px); line-height: 0.9; }
h2 { font-size: clamp(32px, 5vw, 56px); line-height: 0.95; }
h3 { font-size: clamp(18px, 2.5vw, 26px); line-height: 1.1; }
h4 { font-size: 14px; letter-spacing: 0.08em; }
p  { font-size: 16px; line-height: 1.75; color: var(--ink2); }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 14px;
}
.lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink2);
  max-width: 560px;
}
.accent-text { color: var(--accent); }
.note-text  { font-size: 13px; color: var(--ink2); font-style: italic; margin-top: 20px; }

/* --- Layout --- */
.container      { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
section         { padding: 100px 0; }
section.tight   { padding: 64px 0; }
.text-center    { text-align: center; }
.flex-center    { display: flex; align-items: center; justify-content: center; }
.flex-between   { display: flex; align-items: center; justify-content: space-between; }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(17, 13, 9, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow 0.3s;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
  white-space: nowrap;
}
.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink2);
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover   { color: var(--ink); }
.nav-links a.active  {
  color: var(--ink);
  border-bottom: 1.5px solid var(--accent);
  padding-bottom: 2px;
}

.nav-lang {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--accent);
  border: 1px solid rgba(224, 123, 79, 0.4);
  padding: 5px 12px;
  border-radius: 100px;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-lang:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  flex-shrink: 0;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: #110D09;
  border-bottom: 1px solid var(--border);
  padding: 28px 24px;
  z-index: 999;
}
.nav-mobile.open { display: block; }
.nav-mobile ul   { display: flex; flex-direction: column; gap: 22px; }
.nav-mobile a    { font-size: 16px; color: var(--ink2); font-weight: 400; display: block; }
.nav-mobile a:hover, .nav-mobile a.active { color: var(--ink); }
.nav-mobile .nav-lang { display: inline-block; margin-top: 6px; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
  border: none;
  line-height: 1;
}
.btn-wa {
  background: var(--wa);
  color: #fff;
}
.btn-wa:hover { background: var(--wa-d); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,0.25); }

.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover { background: var(--accent-d); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--ink3); background: var(--bg2); }

.btn-lg { padding: 18px 36px; font-size: 15px; }

.wa-icon { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }

/* --- Hero --- */
.hero {
  min-height: 100svh;
  padding-top: calc(var(--nav-h) + 88px);
  padding-bottom: 100px;
  display: flex;
  align-items: center;
}
.hero-inner   { display: flex; flex-direction: column; gap: 36px; max-width: 900px; }
.hero-cta     { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

/* --- Section headers --- */
.section-header     { margin-bottom: 48px; max-width: 680px; }
.section-header h2  { margin-bottom: 16px; }
.section-header p   { font-size: 17px; }

/* --- Cards --- */
.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: rgba(224, 123, 79, 0.25); }

.card-badge {
  display: inline-block;
  background: rgba(224, 123, 79, 0.12);
  color: var(--accent);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

/* --- Myth cards --- */
.myth-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.myth-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.myth-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink3);
  margin-bottom: 10px;
}
.myth-statement {
  font-size: 14px;
  color: var(--ink2);
  font-style: italic;
  margin-bottom: 12px;
  border-left: 2px solid var(--border);
  padding-left: 12px;
}
.myth-verdict {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.myth-verdict.false   { color: #e05555; }
.myth-verdict.depends { color: var(--accent); }
.myth-verdict.true    { color: #4CAF78; }
.myth-text { font-size: 13.5px; color: var(--ink2); line-height: 1.6; }

/* --- Programs grid --- */
.programs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.program-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 28px 24px;
  transition: border-color 0.25s, transform 0.25s;
}
.program-card:hover { border-color: rgba(224, 123, 79, 0.35); transform: translateY(-3px); }
.program-amount {
  display: inline-block;
  background: rgba(224, 123, 79, 0.12);
  color: var(--accent);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 30px;
  line-height: 1;
  padding: 6px 14px;
  border-radius: 8px;
  margin-bottom: 16px;
}
.program-card h3 { font-size: 18px; margin-bottom: 14px; }
.program-card ul { display: flex; flex-direction: column; gap: 7px; }
.program-card ul li {
  font-size: 13.5px;
  color: var(--ink2);
  padding-left: 16px;
  position: relative;
  line-height: 1.55;
}
.program-card ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 10px;
  top: 5px;
}

/* --- Checklist --- */
.checklist { display: flex; flex-direction: column; gap: 18px; margin-top: 32px; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.55;
}
.check-icon {
  width: 24px;
  height: 24px;
  background: rgba(224, 123, 79, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.check-icon svg { width: 12px; height: 12px; stroke: var(--accent); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* --- FAQ --- */
.faq-list   { display: flex; flex-direction: column; margin-top: 40px; }
.faq-item   { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  text-align: left;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 400;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: 'Inter', sans-serif;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--accent); }
.faq-icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  stroke: var(--ink3);
  fill: none;
  stroke-width: 2;
  transition: transform 0.3s, stroke 0.2s;
}
.faq-item.open .faq-q  { color: var(--accent); }
.faq-item.open .faq-icon { transform: rotate(45deg); stroke: var(--accent); }
.faq-a {
  display: none;
  padding: 2px 0 22px;
  font-size: 14.5px;
  color: var(--ink2);
  line-height: 1.75;
  max-width: 700px;
}
.faq-item.open .faq-a { display: block; }

/* --- Timeline --- */
.timeline       { display: flex; flex-direction: column; margin-top: 48px; }
.timeline-step  {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 28px;
  position: relative;
  padding-bottom: 52px;
}
.timeline-step:last-child { padding-bottom: 0; }
.timeline-num-col { position: relative; }
.timeline-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 60px;
  color: rgba(224, 123, 79, 0.18);
  line-height: 1;
}
.timeline-num-col::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 68px;
  bottom: -52px;
  width: 1px;
  background: var(--border);
  transform: translateX(-50%);
}
.timeline-step:last-child .timeline-num-col::after { display: none; }
.timeline-body  { padding-top: 6px; }
.timeline-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 22px;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.1;
}
.timeline-meta {
  font-size: 11px;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.timeline-body p { font-size: 15px; }

/* --- Big stat --- */
.big-stat {
  padding: 80px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.big-stat .stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(64px, 12vw, 150px);
  color: var(--accent);
  line-height: 0.9;
  text-transform: uppercase;
  display: block;
}
.big-stat .stat-label {
  font-size: 17px;
  color: var(--ink2);
  margin-top: 16px;
  display: block;
}
.big-stat .stat-note { font-size: 12px; color: var(--ink3); margin-top: 8px; }

/* --- Doc cards (what you need) --- */
.doc-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
.doc-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.doc-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 40px;
  color: rgba(224, 123, 79, 0.15);
  line-height: 1;
  flex-shrink: 0;
}
.doc-card h3 { font-size: 16px; margin-bottom: 5px; }
.doc-card p  { font-size: 13px; }

/* --- Blog grid --- */
.blog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.blog-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s;
}
.blog-card:hover { border-color: rgba(224, 123, 79, 0.3); }
.blog-tag { font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.blog-card h3 { font-size: 20px; line-height: 1.15; flex: 1; }
.blog-card p  { font-size: 14px; }
.blog-read {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  transition: gap 0.2s;
}
.blog-card:hover .blog-read { gap: 10px; }

/* --- Stats row --- */
.stats-row { display: flex; gap: 48px; flex-wrap: wrap; margin-top: 48px; }
.stat-item .num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 52px;
  color: var(--accent);
  line-height: 1;
  display: block;
}
.stat-item .lbl { font-size: 13px; color: var(--ink2); margin-top: 4px; display: block; }

/* --- Two-col --- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.two-col-img img { border-radius: var(--radius); width: 100%; aspect-ratio: 3/4; object-fit: cover; }

/* --- CTA section --- */
.cta-section { padding: 100px 0; text-align: center; }
.cta-section h2  { margin-bottom: 20px; }
.cta-section > .container > p { max-width: 480px; margin: 0 auto 32px; }

/* --- Divider --- */
hr.divider { border: none; border-top: 1px solid var(--border); }

/* --- Section alt background --- */
.section-alt { background: var(--bg2); }

/* --- Footer --- */
.footer { padding: 64px 0 32px; border-top: 1px solid var(--border); }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.footer-brand { max-width: 260px; }
.footer-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.footer-logo span { color: var(--accent); }
.footer-brand p  { font-size: 13px; line-height: 1.65; }
.footer-links h4 {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink3);
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}
.footer-links ul { display: flex; flex-direction: column; gap: 11px; }
.footer-links a  { font-size: 14px; color: var(--ink2); transition: color 0.2s; }
.footer-links a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--ink3);
}
.footer-bottom a { color: var(--ink2); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--ink); }

/* --- Spacing utilities --- */
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1000px) {
  .nav-links, .nav-lang.nav-lang-desktop { display: none; }
  .nav-burger  { display: flex; }
}

@media (max-width: 860px) {
  .two-col      { grid-template-columns: 1fr; gap: 40px; }
  .myth-cards   { grid-template-columns: 1fr; }
  .programs-grid { grid-template-columns: 1fr; }
  .blog-grid    { grid-template-columns: 1fr; }
  .doc-cards    { grid-template-columns: 1fr; }
  .stats-row    { gap: 28px; }
  section       { padding: 72px 0; }
  .hero         { min-height: auto; padding-top: calc(var(--nav-h) + 60px); padding-bottom: 72px; }
  .footer-top   { flex-direction: column; }
}

@media (max-width: 600px) {
  .display { font-size: clamp(56px, 17vw, 120px); }
  h2       { font-size: clamp(28px, 9vw, 48px); }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .btn-lg  { width: 100%; justify-content: center; }
  .cta-section .btn { width: 100%; justify-content: center; }
  .myth-cards { grid-template-columns: 1fr; }
  .big-stat { padding: 56px 0; }
  section  { padding: 56px 0; }
}
