/* ==========================================================================
   TangleData — Design System
   ========================================================================== */

:root {
  --ink: #0b1220;
  --ink-soft: #33415c;
  --muted: #64748b;
  --border: #e6eaf0;
  --bg: #ffffff;
  --bg-alt: #f5f8fb;
  --bg-alt-2: #eef2f8;

  --brand: #0ea5a3;
  --brand-dark: #0a7f7d;
  --brand-light: #e6f7f6;
  --brand2: #4f46e5;
  --brand2-light: #eeecfd;

  --dark: #0b1220;
  --dark-alt: #101b30;
  --dark-border: #1f2c46;
  --dark-ink-soft: #b9c4d6;
  --dark-muted: #8492ab;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.06);
  --shadow: 0 8px 24px rgba(11, 18, 32, 0.08);
  --shadow-lg: 0 20px 48px rgba(11, 18, 32, 0.14);
  --gradient: linear-gradient(135deg, var(--brand) 0%, var(--brand2) 100%);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink-soft);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .6em;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { padding-left: 0; list-style: none; margin: 0; }

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

.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-tight { padding: 64px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-dark);
  background: var(--brand-light);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

.section-head { max-width: 720px; margin: 0 0 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--brand); color: #fff;
  padding: 12px 18px; z-index: 999; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: .96rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 10px 24px rgba(14,165,163,.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(14,165,163,.36); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-dark); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); }
.btn-ghost-dark { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost-dark:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: .88rem; }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.topbar {
  background: var(--dark);
  color: var(--dark-ink-soft);
  font-size: .85rem;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; padding-top: 9px; padding-bottom: 9px; flex-wrap: wrap; gap: 8px; }
.topbar-links { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-links a { color: var(--dark-ink-soft); }
.topbar-links a:hover { color: #fff; }
.topbar-social { display: flex; gap: 14px; }
.topbar-social a { color: var(--dark-ink-soft); }
.topbar-social a:hover { color: var(--brand); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.28rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand .mark { width: 38px; height: 38px; flex-shrink: 0; object-fit: contain; }
.brand .accent { color: var(--brand); }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--ink-soft); font-weight: 600; font-size: .95rem; position: relative; }
.nav-links a:hover { color: var(--brand-dark); text-decoration: none; }
.nav-links a.active { color: var(--brand-dark); }
.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 82vw); height: 100vh;
    background: #fff; flex-direction: column; align-items: flex-start; padding: 96px 30px 30px;
    transform: translateX(100%); transition: transform .25s ease; box-shadow: var(--shadow-lg);
    gap: 22px; overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-cta .btn-outline { display: none; }
  .topbar-links { display: none; }
  body.nav-open { overflow: hidden; }
}

.nav-overlay {
  display: none; position: fixed; inset: 0; background: rgba(11,18,32,.45); z-index: 90;
}
.nav-overlay.open { display: block; }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(1100px 500px at 85% -10%, rgba(79,70,229,.35), transparent 60%),
              radial-gradient(900px 500px at 0% 0%, rgba(14,165,163,.30), transparent 55%),
              var(--dark);
  color: #fff;
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero-copy .eyebrow { background: rgba(14,165,163,.16); color: #7fe6df; }
.hero-copy .eyebrow::before { background: #7fe6df; }
.hero h1 { color: #fff; }
.hero-copy p.lead { color: var(--dark-ink-soft); font-size: 1.15rem; max-width: 560px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 30px; }
.hero-trust { display: flex; gap: 10px; align-items: center; margin-top: 34px; color: var(--dark-muted); font-size: .88rem; flex-wrap: wrap; }
.hero-trust .stars { color: #facc15; letter-spacing: 2px; }

.hero-panel {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(6px);
}
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hero-stat { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 20px; }
.hero-stat .num { font-size: 1.9rem; font-weight: 800; color: #fff; }
.hero-stat .num .accent { color: #7fe6df; }
.hero-stat .label { font-size: .85rem; color: var(--dark-muted); margin-top: 4px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* ---------- Marquee / trust strip ---------- */
.trust-strip { background: var(--bg-alt); border-bottom: 1px solid var(--border); padding: 22px 0; overflow: hidden; }
.trust-strip .label { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; text-align: center; }
.trust-track { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.trust-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 16px; font-weight: 600; font-size: .85rem; color: var(--ink-soft);
}
.trust-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }

/* ---------- Cards / Grids ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }

.icon-tile {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-light); color: var(--brand-dark);
  margin-bottom: 20px;
}
.icon-tile svg { width: 26px; height: 26px; }
.icon-tile.alt { background: var(--brand2-light); color: var(--brand2); }

.service-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.service-card p { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.service-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.tag {
  font-size: .74rem; font-weight: 600; color: var(--ink-soft);
  background: var(--bg-alt-2); border-radius: 999px; padding: 4px 10px;
}
.service-card .more { font-weight: 700; font-size: .88rem; display: inline-flex; align-items: center; gap: 6px; }
.service-card .more svg { width: 14px; height: 14px; }

/* ---------- Split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }

.check-list li { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
.check-list .tick {
  width: 24px; height: 24px; border-radius: 50%; background: var(--brand-light); color: var(--brand-dark);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px;
}
.check-list .tick svg { width: 13px; height: 13px; }
.check-list strong { color: var(--ink); display: block; margin-bottom: 2px; }
.check-list span.desc { color: var(--muted); font-size: .92rem; }

.art-panel {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 3px;
  position: relative;
}
.art-panel-inner {
  background: linear-gradient(160deg, #0d1830 0%, #0b1220 60%, #0a1424 100%);
  border-radius: calc(var(--radius-lg) - 3px);
  padding: 40px;
  min-height: 380px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.art-panel-inner svg { position: relative; z-index: 1; width: 100%; }
.art-glow { position: absolute; width: 260px; height: 260px; border-radius: 50%; filter: blur(60px); opacity: .5; }
.art-glow.a { background: var(--brand); top: -60px; left: -60px; }
.art-glow.b { background: var(--brand2); bottom: -60px; right: -60px; }

/* ---------- Process ---------- */
.process-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; }
.process-step { position: relative; padding: 28px 20px 10px; text-align: left; }
.process-step .step-num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--gradient); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 18px;
}
.process-step::after {
  content: ""; position: absolute; top: 42px; left: calc(50% + 44px); width: calc(100% - 44px); height: 2px;
  background: repeating-linear-gradient(90deg, var(--border) 0 8px, transparent 8px 14px);
}
.process-step:last-child::after { display: none; }
.process-step h3 { font-size: 1.02rem; }
.process-step p { font-size: .88rem; color: var(--muted); }
@media (max-width: 980px) {
  .process-track { grid-template-columns: repeat(2, 1fr); }
  .process-step::after { display: none; }
}
@media (max-width: 560px) { .process-track { grid-template-columns: 1fr; } }

/* ---------- Tech stack ---------- */
.stack-group { margin-bottom: 30px; }
.stack-group h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 14px; }
.stack-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  padding: 9px 14px; font-size: .86rem; font-weight: 600; color: var(--ink-soft);
}

/* ---------- Industries ---------- */
.industry-card {
  text-align: center; padding: 26px 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  transition: transform .18s ease, box-shadow .18s ease;
}
.industry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.industry-card .icon-tile { margin: 0 auto 16px; }
.industry-card h3 { font-size: .98rem; margin: 0; }

/* ---------- Stats band ---------- */
.stats-band { background: var(--dark); color: #fff; padding: 64px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item .num { font-size: 2.6rem; font-weight: 800; color: #fff; }
.stat-item .num .accent { color: #7fe6df; }
.stat-item .label { color: var(--dark-muted); margin-top: 6px; font-size: .95rem; }
@media (max-width: 700px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Portfolio ---------- */
.case-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; transition: transform .18s ease, box-shadow .18s ease; }
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.case-cover {
  height: 160px; display: flex; align-items: center; justify-content: center; color: #fff; position: relative; overflow: hidden;
}
.case-cover span.industry { position: relative; z-index: 1; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .78rem; background: rgba(255,255,255,.18); padding: 6px 14px; border-radius: 999px; }
.case-body { padding: 26px; }
.case-body h3 { margin-bottom: 8px; }
.case-body p { font-size: .92rem; color: var(--muted); }
.case-metrics { display: flex; gap: 20px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.case-metrics div { text-align: left; }
.case-metrics .m-num { font-weight: 800; color: var(--brand-dark); font-size: 1.15rem; }
.case-metrics .m-label { font-size: .76rem; color: var(--muted); }

.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
  border: 1px solid var(--border); background: #fff; padding: 9px 18px; border-radius: 999px;
  font-weight: 600; font-size: .88rem; cursor: pointer; color: var(--ink-soft); transition: all .15s ease;
}
.filter-btn.active, .filter-btn:hover { background: var(--gradient); color: #fff; border-color: transparent; }

/* ---------- Testimonials ---------- */
.testi-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 980px) { .testi-track { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .testi-track { grid-template-columns: 1fr; } }
.testi-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.testi-stars { color: #facc15; letter-spacing: 2px; margin-bottom: 14px; }
.testi-quote { color: var(--ink-soft); font-size: .96rem; }
.testi-person { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--gradient); color: #fff; font-weight: 700; flex-shrink: 0;
}
.testi-person strong { display: block; color: var(--ink); font-size: .92rem; }
.testi-person span { font-size: .8rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; font-weight: 700; color: var(--ink); font-size: 1rem;
}
.faq-q .plus { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--border); position: relative; }
.faq-q .plus::before, .faq-q .plus::after { content:""; position:absolute; background: var(--ink); top: 50%; left: 50%; transform: translate(-50%,-50%); }
.faq-q .plus::before { width: 10px; height: 2px; }
.faq-q .plus::after { width: 2px; height: 10px; transition: transform .2s ease; }
.faq-item.open .plus::after { transform: translate(-50%,-50%) rotate(90deg) scaleY(0); }
.faq-item.open .plus { background: var(--brand-light); border-color: transparent; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; color: var(--muted); font-size: .94rem; }
.faq-a-inner { padding-bottom: 22px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--gradient); border-radius: var(--radius-lg);
  padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  color: #fff;
}
.cta-banner h2 { color: #fff; margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,.9); margin: 0; }
.cta-banner .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--dark-ink-soft); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--dark-border); }
.footer-brand .brand { color: #fff; }
.footer-brand p { color: var(--dark-muted); font-size: .92rem; margin: 18px 0 22px; max-width: 300px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--dark-border);
  display: flex; align-items: center; justify-content: center; color: var(--dark-ink-soft);
}
.footer-social a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 20px; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: var(--dark-ink-soft); font-size: .92rem; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 16px; font-size: .92rem; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--brand); margin-top: 2px; }
.footer-newsletter { display: flex; margin-top: 18px; gap: 8px; }
.footer-newsletter input {
  flex: 1; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--dark-border);
  background: rgba(255,255,255,.04); color: #fff; font-size: .88rem;
}
.footer-newsletter input::placeholder { color: var(--dark-muted); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 26px 0; flex-wrap: wrap; gap: 12px; font-size: .85rem; }
.footer-bottom-links { display: flex; gap: 22px; }
.footer-bottom-links a { color: var(--dark-muted); }
.footer-bottom-links a:hover { color: #fff; }

@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; text-align: center; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: radial-gradient(900px 420px at 90% -10%, rgba(79,70,229,.35), transparent 60%),
              radial-gradient(700px 420px at 5% 0%, rgba(14,165,163,.28), transparent 55%),
              var(--dark);
  color: #fff; padding: 74px 0 60px; text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: var(--dark-ink-soft); max-width: 640px; margin: 0 auto; }
.breadcrumb { color: var(--dark-muted); font-size: .88rem; margin-bottom: 16px; }
.breadcrumb a { color: var(--dark-muted); }
.breadcrumb a:hover { color: #fff; }

/* ---------- Forms ---------- */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .88rem; color: var(--ink); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: 10px; border: 1px solid var(--border);
  font-size: .94rem; font-family: inherit; color: var(--ink); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.field { margin-bottom: 18px; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 10px; }
.form-success {
  display: none; background: var(--brand-light); color: var(--brand-dark); border-radius: 10px;
  padding: 16px 18px; font-weight: 600; margin-top: 18px;
}
.form-success.show { display: block; }

.contact-info-card { background: var(--dark); color: #fff; border-radius: var(--radius-lg); padding: 40px; }
.contact-info-card h3 { color: #fff; }
.contact-info-card .footer-contact svg { color: #7fe6df; }
.contact-info-card .footer-contact a, .contact-info-card .footer-contact { color: var(--dark-ink-soft); }
.office-list { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--dark-border); }
.office-list li { margin-bottom: 14px; font-size: .9rem; }
.office-list strong { color: #fff; display: block; margin-bottom: 2px; }

/* ---------- Values / About ---------- */
.value-card { text-align: left; }
.timeline { position: relative; padding-left: 30px; border-left: 2px solid var(--border); }
.timeline-item { position: relative; padding-bottom: 34px; }
.timeline-item::before { content: ""; position: absolute; left: -37px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--gradient); }
.timeline-item .yr { font-weight: 800; color: var(--brand-dark); font-size: .88rem; }

/* ---------- Misc ---------- */
.back-to-top {
  position: fixed; right: 24px; bottom: 24px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--gradient); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease; z-index: 80; border: none; cursor: pointer;
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top svg { width: 20px; height: 20px; }

.whatsapp-fab {
  position: fixed; left: 24px; bottom: 24px; width: 54px; height: 54px; border-radius: 50%;
  background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); z-index: 80;
}
.whatsapp-fab svg { width: 26px; height: 26px; }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
[data-reveal].in-view { opacity: 1; transform: translateY(0); }

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.small-muted { color: var(--muted); font-size: .9rem; }
