/* ============================================
   Post Mortem — Core Styles v2
   "Waze for the afterlife"
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

:root {
  --amber:   #C8864A;
  --amber-d: #A86E38;
  --amber-l: rgba(200,134,74,0.12);
  --teal:    #7A9EB8;   /* steel blue — digital products */
  --sage:    #7AB48A;   /* sage green — legal/life */
  --purple:  #B08EC8;   /* soft purple — emotional */
  --gold:    #C8B464;   /* warm gold — legacy */
  --terra:   #C87050;   /* terracotta — security/vault */
  --bg:      #0f0d0a;
  --bg2:     #13110e;
  --bg3:     #16140f;
  --card:    #1a1714;
  --border:  rgba(255,255,255,0.07);
  --text:    #EDE8DF;
  --text2:   #9E9688;
  --text3:   #6A6459;
  --text4:   #3A3530;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.05rem, 2vw, 1.3rem); }

.label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber);
  display: block;
  margin-bottom: 0.6rem;
}

.sub {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  color: var(--text2);
  max-width: 600px;
  line-height: 1.7;
}

/* --- Layout --- */
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5rem 0; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

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

/* --- Buttons --- */
.btn { display: inline-flex; align-items: center; gap: 0.45rem; font-family: inherit; font-weight: 600; border-radius: 8px; cursor: pointer; transition: all 0.18s; border: none; font-size: 0.95rem; }
.btn-primary   { padding: 0.78rem 1.75rem; background: var(--amber); color: #fff; }
.btn-primary:hover   { background: var(--amber-d); transform: translateY(-1px); }
.btn-secondary { padding: 0.78rem 1.75rem; background: transparent; color: var(--amber); border: 1.5px solid rgba(200,134,74,0.35); }
.btn-secondary:hover { border-color: var(--amber); }
.btn-ghost     { padding: 0.78rem 1.75rem; background: transparent; color: var(--text2); border: 1.5px solid var(--border); }
.btn-ghost:hover     { color: var(--text); border-color: rgba(255,255,255,0.2); }
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.85rem; }

/* --- Header --- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15,13,10,0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(200,134,74,0.1);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em; color: var(--text);
}
.nav-logo svg { width: 30px; height: 30px; }
.nav-menu { display: flex; align-items: center; gap: 1.75rem; }
.nav-menu a { font-size: 0.875rem; color: var(--text2); transition: color 0.18s; }
.nav-menu a:hover { color: var(--text); }
.nav-menu .btn-sm { color: #fff; }

/* Mobile nav */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.2s; }

/* --- Pill badge --- */
.pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  background: var(--amber-l);
  border: 1px solid rgba(200,134,74,0.22);
  border-radius: 100px;
  font-size: 0.78rem; font-weight: 600; color: var(--amber); letter-spacing: 0.05em; text-transform: uppercase;
}

/* --- Hero --- */
.hero { padding: 9rem 0 5.5rem; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: -180px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 900px;
  background: radial-gradient(ellipse, rgba(200,134,74,0.07) 0%, transparent 68%);
  pointer-events: none;
}
.hero h1 { margin: 1.2rem 0 1.1rem; }
.hero h1 span { color: var(--amber); }
.hero .sub { margin-bottom: 2.2rem; }
.hero-ctas { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.hero-note  { margin-top: 1.4rem; font-size: 0.82rem; color: var(--text3); }

/* --- Stats strip --- */
.stats-strip { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 3rem 0; }
.stats-row { display: flex; justify-content: center; gap: 4rem; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-num { font-size: 2.4rem; font-weight: 800; color: var(--amber); letter-spacing: -0.04em; line-height: 1; margin-bottom: 0.35rem; }
.stat p { font-size: 0.82rem; color: var(--text3); max-width: 130px; margin: 0 auto; line-height: 1.4; }

/* --- Problem cards --- */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3rem; }
.problem-card { background: var(--bg3); border: 1px solid var(--border); border-radius: 12px; padding: 1.6rem; }
.problem-num  { font-size: 2.2rem; font-weight: 800; color: rgba(200,134,74,0.18); letter-spacing: -0.04em; line-height: 1; margin-bottom: 0.6rem; }
.problem-card h3 { font-size: 0.95rem; font-weight: 600; color: var(--text); margin-bottom: 0.4rem; }
.problem-card p  { font-size: 0.85rem; color: var(--text3); line-height: 1.6; }

/* --- Interactive Diagnostic --- */
.diagnostic { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.diag-box {
  max-width: 680px; margin: 3rem auto 0;
  background: var(--card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
}
.diag-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
}
.diag-header h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.diag-header p  { font-size: 0.85rem; color: var(--text2); }
.diag-body { padding: 1.75rem 2rem; }
.diag-question { display: none; }
.diag-question.active { display: block; }
.diag-question p { font-size: 1rem; font-weight: 600; margin-bottom: 1.2rem; }
.diag-options { display: flex; flex-direction: column; gap: 0.6rem; }
.diag-opt {
  padding: 0.85rem 1.1rem; background: var(--bg2); border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 0.9rem; color: var(--text2); cursor: pointer; text-align: left; transition: all 0.15s; font-family: inherit;
}
.diag-opt:hover { border-color: var(--amber); color: var(--text); }
.diag-opt.selected { border-color: var(--amber); background: var(--amber-l); color: var(--text); }
.diag-progress { display: flex; gap: 0.4rem; margin-bottom: 1.5rem; }
.diag-dot { width: 28px; height: 3px; background: var(--border); border-radius: 2px; transition: background 0.2s; }
.diag-dot.done { background: var(--amber); }
.diag-result { display: none; padding: 1.75rem 2rem; }
.diag-result.show { display: block; }
.result-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 1rem; border-radius: 100px; font-size: 0.82rem; font-weight: 700; margin-bottom: 1rem;
}
.result-low    { background: rgba(200,74,74,0.15); color: #E07070; }
.result-mid    { background: rgba(200,180,100,0.15); color: var(--gold); }
.result-high   { background: rgba(122,180,138,0.15); color: var(--sage); }
.result-text   { font-size: 0.92rem; color: var(--text2); line-height: 1.7; margin-bottom: 1.5rem; }

/* --- Personas tabs --- */
.personas { margin-top: 3rem; }
.tab-nav { display: flex; gap: 0; background: var(--card); border-radius: 10px; padding: 4px; width: fit-content; margin: 0 auto 2.5rem; }
.tab-btn {
  padding: 0.6rem 1.2rem; border-radius: 7px; border: none; background: none; color: var(--text2);
  font-size: 0.875rem; font-weight: 500; cursor: pointer; transition: all 0.2s; font-family: inherit;
}
.tab-btn.active { background: var(--amber); color: #fff; font-weight: 600; }
.tab-content { display: none; animation: fadeIn 0.2s ease; }
.tab-content.active { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.persona-info h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.persona-info .persona-age { font-size: 0.82rem; color: var(--amber); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.75rem; }
.persona-info p { font-size: 0.92rem; color: var(--text2); line-height: 1.7; margin-bottom: 1.25rem; }
.persona-pains { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; }
.persona-pains h4 { font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--amber); margin-bottom: 0.9rem; }
.pain-item { display: flex; gap: 0.6rem; align-items: flex-start; margin-bottom: 0.6rem; font-size: 0.875rem; color: var(--text2); }
.pain-item::before { content: '—'; color: var(--amber); flex-shrink: 0; }

/* --- Product cards (landing) --- */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3rem; }
.product-card {
  background: var(--bg3); border: 1px solid var(--border); border-radius: 14px; padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.product-card:hover { border-color: rgba(200,134,74,0.3); transform: translateY(-3px); }
.product-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--card-accent, #C8864A), transparent);
  opacity: 0; transition: opacity 0.2s;
}
.product-card:hover::after { opacity: 1; }
.product-icon { font-size: 1.75rem; margin-bottom: 1rem; }
.product-tag {
  display: inline-block; padding: 0.18rem 0.55rem; border-radius: 4px;
  font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.65rem;
}
.tag-planning  { background: rgba(200,134,74,0.14); color: var(--amber); }
.tag-digital   { background: rgba(122,158,184,0.14); color: var(--teal); }
.tag-legal     { background: rgba(122,180,138,0.14); color: var(--sage); }
.tag-emotional { background: rgba(176,142,200,0.14); color: var(--purple); }
.tag-legacy    { background: rgba(200,180,100,0.14); color: var(--gold); }
.tag-community { background: rgba(122,180,138,0.14); color: var(--sage); }
.tag-business  { background: rgba(122,158,184,0.14); color: var(--teal); }
.tag-security  { background: rgba(200,112,80,0.14); color: var(--terra); }

/* --- Product filter --- */
.prod-filter-nav { display: flex; gap: 0.5rem; justify-content: center; margin: 2rem 0 0.5rem; flex-wrap: wrap; }
.filter-btn {
  padding: 0.5rem 1.3rem; border-radius: 100px; border: 1.5px solid var(--border);
  background: none; color: var(--text3); font-size: 0.875rem; font-weight: 500; cursor: pointer;
  transition: all 0.18s; font-family: inherit;
}
.filter-btn:hover { border-color: rgba(200,134,74,0.35); color: var(--text2); }
.filter-btn.active { background: var(--amber); border-color: var(--amber); color: #fff; font-weight: 600; }
.product-card { transition: opacity 0.25s, transform 0.25s; }
.product-card.card-hidden { opacity: 0.15; transform: scale(0.96); pointer-events: none; }
.product-card h3 { color: var(--text); margin-bottom: 0.5rem; }
.product-card > p { font-size: 0.875rem; color: var(--text3); line-height: 1.65; margin-bottom: 0.9rem; }
.product-card .card-link { font-size: 0.82rem; color: var(--amber); font-weight: 600; display: flex; align-items: center; gap: 0.3rem; transition: gap 0.15s; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--border); }
.product-card:hover .card-link { gap: 0.5rem; }
.product-feats { list-style: none; display: flex; flex-direction: column; gap: 0.28rem; margin-bottom: 1rem; }
.product-feats li { font-size: 0.75rem; color: var(--text3); display: flex; align-items: flex-start; gap: 0.4rem; line-height: 1.4; }
.product-feats li::before { content: '·'; color: var(--amber); flex-shrink: 0; font-size: 1rem; line-height: 1.2; font-weight: 700; }

/* --- Features list --- */
.features-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.features-list li { font-size: 0.875rem; color: var(--text2); display: flex; align-items: flex-start; gap: 0.6rem; line-height: 1.5; }
.features-list li::before { content: '✓'; color: var(--amber); font-weight: 700; flex-shrink: 0; margin-top: 0.05rem; }

/* --- How it works --- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3.5rem; position: relative; }
.steps::before {
  content: ''; position: absolute; top: 27px;
  left: calc(16.6% + 1rem); right: calc(16.6% + 1rem); height: 1px;
  background: linear-gradient(90deg, var(--amber), rgba(200,134,74,0.1));
}
.step { text-align: center; }
.step-num {
  width: 54px; height: 54px; border-radius: 50%; background: var(--card); border: 2px solid var(--amber);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 700; color: var(--amber);
  margin: 0 auto 1.1rem; position: relative; z-index: 1;
}
.step h3 { font-size: 1rem; color: var(--text); margin-bottom: 0.5rem; }
.step p   { font-size: 0.875rem; color: var(--text3); line-height: 1.65; }

/* --- Pricing --- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3rem; align-items: start; }
.pricing-card {
  background: var(--bg3); border: 1px solid var(--border); border-radius: 16px; padding: 2rem; position: relative;
}
.pricing-card.featured {
  border-color: var(--amber); background: linear-gradient(160deg, #1f1a12, var(--bg3));
}
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 0.2rem 0.75rem; background: var(--amber); color: #fff; font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; border-radius: 100px;
}
.pricing-name { font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text2); margin-bottom: 0.75rem; }
.pricing-price { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.04em; color: var(--text); line-height: 1; margin-bottom: 0.3rem; }
.pricing-price span { font-size: 1rem; font-weight: 400; color: var(--text2); }
.pricing-desc { font-size: 0.85rem; color: var(--text3); margin-bottom: 1.5rem; line-height: 1.5; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; margin-bottom: 1.75rem; }
.pricing-features li { font-size: 0.85rem; color: var(--text2); display: flex; align-items: flex-start; gap: 0.55rem; }
.pricing-features li::before { content: '✓'; color: var(--amber); font-weight: 700; flex-shrink: 0; }
.pricing-features li.off { color: var(--text4); }
.pricing-features li.off::before { content: '–'; color: var(--text4); }

/* --- B2B strip --- */
.b2b-strip { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.b2b-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.b2b-channels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.85rem; margin-top: 1.5rem; }
.b2b-channel {
  background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 1rem 1.1rem;
  font-size: 0.875rem; display: flex; align-items: center; gap: 0.6rem; color: var(--text2);
}
.b2b-channel .icon { font-size: 1.2rem; }

/* --- Team --- */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 3rem; max-width: 640px; margin-left: auto; margin-right: auto; }
.team-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 1.75rem; }
.team-name { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.25rem; }
.team-role { font-size: 0.78rem; color: var(--amber); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.75rem; }
.team-bio  { font-size: 0.85rem; color: var(--text3); line-height: 1.6; }

/* --- Segment cards --- */
.segments-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 3rem; }
.segment-card {
  background: var(--bg3); border: 1px solid var(--border); border-radius: 12px; padding: 1.4rem 1.5rem;
  display: flex; align-items: flex-start; gap: 0.85rem; transition: border-color 0.18s;
}
.segment-card:hover { border-color: rgba(200,134,74,0.25); }
.seg-emoji { font-size: 1.5rem; flex-shrink: 0; line-height: 1; margin-top: 0.15rem; }
.segment-card h3 { font-size: 0.9rem; font-weight: 600; color: var(--text); margin-bottom: 0.3rem; }
.segment-card p  { font-size: 0.82rem; color: var(--text3); line-height: 1.55; }

/* --- CTA section --- */
.cta-section { background: linear-gradient(135deg, #1c1810 0%, #161410 100%); border-top: 1px solid rgba(200,134,74,0.12); text-align: center; }
.cta-section h2 { margin-bottom: 0.9rem; }
.cta-section .sub { margin: 0 auto 2.25rem; }
.waitlist-form { display: flex; gap: 0.7rem; max-width: 460px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.waitlist-form input {
  flex: 1; min-width: 210px; padding: 0.78rem 1.1rem;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px;
  color: var(--text); font-size: 0.92rem; font-family: inherit; outline: none; transition: border-color 0.18s;
}
.waitlist-form input::placeholder { color: var(--text4); }
.waitlist-form input:focus { border-color: rgba(200,134,74,0.5); }
.form-note { margin-top: 0.9rem; font-size: 0.78rem; color: var(--text4); }

/* --- Footer --- */
footer { background: #0a0907; border-top: 1px solid rgba(255,255,255,0.05); padding: 2.5rem 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-logo { font-weight: 700; font-size: 0.95rem; color: var(--text3); }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { font-size: 0.8rem; color: var(--text4); transition: color 0.18s; }
.footer-links a:hover { color: var(--text2); }
.footer-copy { font-size: 0.75rem; color: var(--text4); }

/* --- Product page hero (inner pages) --- */
.page-hero { padding: 8rem 0 4rem; border-bottom: 1px solid var(--border); }
.page-hero .breadcrumb { font-size: 0.8rem; color: var(--text3); margin-bottom: 1.5rem; }
.page-hero .breadcrumb a { color: var(--amber); }
.page-hero .breadcrumb span { margin: 0 0.4rem; }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin: 0.9rem 0 1rem; }
.page-hero .sub { max-width: 580px; }
.page-hero .hero-meta { display: flex; gap: 2rem; margin-top: 2rem; flex-wrap: wrap; }
.meta-item { font-size: 0.82rem; color: var(--text3); display: flex; align-items: center; gap: 0.4rem; }
.meta-item strong { color: var(--text2); }

/* --- Content sections (inner pages) --- */
.content-section { padding: 4rem 0; border-bottom: 1px solid var(--border); }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.content-grid.reverse { }
.feature-block { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 2rem; }
.feature-block h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.feature-block p  { font-size: 0.875rem; color: var(--text3); line-height: 1.65; margin-bottom: 1rem; }

/* --- Checklist (for trámites page) --- */
.checklist { background: var(--card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.checklist-header { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border); }
.checklist-header h4 { font-size: 0.9rem; color: var(--amber); font-weight: 600; }
.check-item {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.9rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.04); font-size: 0.875rem; color: var(--text2);
}
.check-item:last-child { border-bottom: none; }
.check-box { width: 18px; height: 18px; border: 1.5px solid rgba(200,134,74,0.4); border-radius: 4px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.check-box.done { background: var(--amber); border-color: var(--amber); }
.check-box.done::after { content: '✓'; color: #fff; font-size: 0.65rem; font-weight: 700; }
.check-urgency { margin-left: auto; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; padding: 0.15rem 0.5rem; border-radius: 4px; }
.urgency-critical { background: rgba(200,74,74,0.15); color: #E07070; }
.urgency-high     { background: rgba(200,134,74,0.15); color: var(--amber); }
.urgency-normal   { background: rgba(122,180,138,0.14); color: var(--sage); }

/* --- Quote block --- */
.quote-block {
  background: var(--card); border-left: 3px solid var(--amber); border-radius: 0 12px 12px 0;
  padding: 1.5rem 1.75rem; margin: 2rem 0;
}
.quote-block blockquote { font-size: 1rem; color: var(--text); line-height: 1.7; font-style: italic; margin-bottom: 0.5rem; }
.quote-block cite { font-size: 0.8rem; color: var(--text3); font-style: normal; }

/* --- Related products --- */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.related-card {
  background: var(--bg3); border: 1px solid var(--border); border-radius: 10px; padding: 1.25rem;
  transition: border-color 0.18s;
}
.related-card:hover { border-color: rgba(200,134,74,0.25); }
.related-card .icon { font-size: 1.3rem; margin-bottom: 0.6rem; }
.related-card h4 { font-size: 0.875rem; font-weight: 600; color: var(--text); margin-bottom: 0.25rem; }
.related-card p  { font-size: 0.78rem; color: var(--text3); line-height: 1.5; }

/* --- WhatsApp floating button --- */
.wa-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 200;
  display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem;
}
.wa-bubble {
  background: #25D366; color: #fff;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none; border: none;
}
.wa-bubble:hover { transform: translateY(-3px); box-shadow: 0 6px 22px rgba(37,211,102,0.5); }
.wa-bubble svg { width: 28px; height: 28px; fill: #fff; }
.wa-tooltip {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 10px; padding: 0.7rem 1rem;
  font-size: 0.82rem; color: var(--text2); line-height: 1.45;
  max-width: 220px; text-align: right;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  opacity: 0; transform: translateY(6px) scale(0.96);
  transition: opacity 0.2s, transform 0.2s; pointer-events: none;
}
.wa-tooltip strong { display: block; color: var(--text); font-size: 0.85rem; margin-bottom: 0.2rem; }
.wa-float:hover .wa-tooltip, .wa-float.open .wa-tooltip {
  opacity: 1; transform: translateY(0) scale(1); pointer-events: auto;
}
.wa-phone-link {
  display: block; margin-top: 0.4rem;
  font-size: 0.78rem; color: var(--amber); font-weight: 600; text-decoration: none;
}
.wa-phone-link:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .wa-float { bottom: 1rem; right: 1rem; }
  .wa-bubble { width: 50px; height: 50px; }
  .wa-bubble svg { width: 24px; height: 24px; }
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .products-grid, .problem-grid, .pricing-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .segments-grid { grid-template-columns: repeat(2, 1fr); }
  .tab-content.active { grid-template-columns: 1fr; }
  .b2b-inner { grid-template-columns: 1fr; gap: 2rem; }
  .content-grid { grid-template-columns: 1fr; gap: 2rem; }
  .steps::before { display: none; }
}
@media (max-width: 640px) {
  .products-grid, .problem-grid, .steps { grid-template-columns: 1fr; }
  .pricing-grid, .segments-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }
  .nav-menu.open {
    display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border); padding: 1.25rem 1.5rem; gap: 1.1rem; align-items: flex-start;
  }
  .hero { padding-top: 7rem; }
  .stats-row { gap: 2rem; }
  .b2b-channels { grid-template-columns: 1fr; }
}
