/* ============ Site stylesheet ============ */
/* Color tokens are injected by build.py from CONFIG["COLORS"]. */

:root {
  --c1: #F7B8CF;
  --c1-deep: #e11962;
  --c1-soft: #fdeaf1;
  --c2: #FBE29A;
  --c2-deep: #936f06;
  --c2-soft: #fef9e9;
  --c3: #A9DFE6;
  --c3-deep: #287f8a;
  --c3-soft: #edf8fa;
  --c4: #F8B9AE;
  --c4-deep: #dd3113;
  --c4-soft: #fdedea;
  --ink: #29141c;
  --ink-2: #4f2232;
  --bg-soft: #fbf6f8;
  --line: #f0e6e9;
  --bg: #ffffff;
  --surface: #ffffff;
  --text: #3e3848;
  --text-dim: #7d7589;

  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --display-black: "Archivo Black", "Bricolage Grotesque", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  --edge: 6vw;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 2px 4px rgba(30,20,50,0.04), 0 12px 32px rgba(30,20,50,0.06);
  --shadow-lg: 0 8px 16px rgba(30,20,50,0.05), 0 30px 60px rgba(30,20,50,0.10);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--display);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
::selection { background: var(--c1); color: var(--ink); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--c1-deep); outline-offset: 3px; border-radius: 4px;
}
img { max-width: 100%; display: block; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--edge); }

h1, h2, h3 { font-family: var(--display); text-wrap: balance; letter-spacing: -0.02em; color: var(--ink); }
h1, h2 { font-family: var(--display-black); letter-spacing: -0.01em; font-weight: 400; }
.h-lg { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-top: 16px; line-height: 1.1; }
.text-link { font-weight: 700; color: var(--c1-deep); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; width: fit-content; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--c1-deep); background: var(--c1-soft);
  padding: 7px 14px; border-radius: 100px;
}
.eyebrow.e-c2 { color: var(--c2-deep); background: var(--c2-soft); }
.eyebrow.e-c3 { color: var(--c3-deep); background: var(--c3-soft); }
.eyebrow.e-c4 { color: var(--c4-deep); background: var(--c4-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--display); font-weight: 700; font-size: 0.98rem;
  padding: 16px 28px; border-radius: 100px;
  background: var(--ink); color: #fff; border: 1px solid var(--ink);
  box-shadow: var(--shadow); cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn:active { transform: translateY(0); }
.btn.btn-primary { background: var(--c1-deep); border-color: var(--c1-deep); }
.btn.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; }
.btn.btn-outline:hover { border-color: var(--ink); box-shadow: var(--shadow); }
.btn .arrow { transition: transform 0.25s var(--ease-spring); }
.btn:hover .arrow { transform: translateX(4px); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-wa-outline svg { color: #1fa855; }
.btn-block { width: 100%; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

section { padding: 100px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 620px; margin: 0 auto 56px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-top: 16px; line-height: 1.1; }
.section-head p { margin-top: 14px; color: var(--text-dim); font-size: 1.05rem; }
.center-cta { margin-top: 40px; text-align: center; }

/* ---------- Nav ---------- */
nav {
  position: sticky; top: 0; z-index: 200;
  padding: 14px var(--edge);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(255,255,255,0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.mark { display: flex; align-items: center; gap: 12px; min-width: 0; }
.mark-logo { height: 44px; width: 44px; border-radius: 50%; display: block; flex-shrink: 0; }
.mark-name { font-family: var(--display-black); font-size: 1.05rem; color: var(--ink); white-space: nowrap; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 0.92rem; font-weight: 600; color: var(--text); transition: color 0.2s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--c1-deep); }
.nav-cta { padding: 11px 22px; font-size: 0.88rem; flex-shrink: 0; }
@media (max-width: 960px) { .nav-links { display: none; } }
@media (max-width: 420px) { .mark-name { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: 84px 0 60px; }
.hero.hero-tight { padding-bottom: 20px; }
.hero-inner { max-width: 760px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero h1 { margin-top: 22px; font-size: clamp(2.2rem, 5.6vw, 4.2rem); line-height: 1.04; }
.hero h1 em, .blog-hero h1 em {
  font-style: normal;
  background: linear-gradient(180deg, transparent 58%, var(--c1) 58%);
  padding: 0 2px;
}
.hero-sub { margin-top: 24px; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-dim); max-width: 560px; }
.hero-ctas { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero-stats { margin-top: 56px; display: flex; gap: 40px; flex-wrap: wrap; justify-content: center; }
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 1.7rem; font-weight: 600; color: var(--ink); font-family: var(--mono); }
.hero-stat .lbl { margin-top: 4px; font-size: 0.78rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }

/* ---------- Dual path ---------- */
.path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 70px; width: 100%; text-align: left; }
.path-card {
  border-radius: var(--radius); overflow: hidden; background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.path-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.path-visual { height: 220px; display: flex; align-items: center; justify-content: center; }
.path-glyph { width: 92px; height: 92px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); }
.path-glyph svg { width: 42px; height: 42px; }
.path-body { padding: 30px 32px 32px; }
.path-body h3 { font-size: 1.4rem; font-weight: 800; }
.path-body p { margin-top: 10px; color: var(--text-dim); font-size: 0.98rem; line-height: 1.65; }
.path-body .btn { margin-top: 22px; }
@media (max-width: 860px) { .path-grid { grid-template-columns: 1fr; } }

/* ---------- Trust strip ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item { text-align: center; padding: 8px; }
.trust-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.trust-icon svg { width: 24px; height: 24px; }
.trust-item h4 { font-size: 1rem; font-weight: 700; color: var(--ink); }
.trust-item p { margin-top: 6px; font-size: 0.88rem; color: var(--text-dim); line-height: 1.5; }
@media (max-width: 860px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Service cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.service-icon svg { width: 22px; height: 22px; }
.service-card h3 { font-size: 1.15rem; font-weight: 700; }
.service-card p { margin-top: 10px; color: var(--text-dim); font-size: 0.94rem; line-height: 1.65; }
@media (max-width: 860px) { .card-grid { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-card { padding: 28px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.step-num { font-family: var(--mono); font-weight: 600; font-size: 0.8rem; }
.step-card h4 { margin-top: 14px; font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.step-card p { margin-top: 8px; font-size: 0.88rem; color: var(--text-dim); line-height: 1.6; }
@media (max-width: 860px) { .steps-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps-grid { grid-template-columns: 1fr; } }

/* ---------- Deep blocks (management page) ---------- */
.deep-block { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.deep-block.flip .deep-visual { order: 2; }
.deep-visual { aspect-ratio: 4/3; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); }
.deep-icon-wrap { width: 84px; height: 84px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); }
.deep-icon-wrap svg { width: 36px; height: 36px; }
.deep-text h3 { margin-top: 16px; font-size: clamp(1.5rem, 3vw, 2rem); }
.deep-text > p { margin-top: 14px; color: var(--text-dim); font-size: 1.02rem; line-height: 1.7; }
.deep-list { margin-top: 24px; list-style: none; display: flex; flex-direction: column; gap: 13px; }
.deep-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.96rem; color: var(--text); }
.deep-rule { border-top: 1px solid var(--line); margin: 70px 0; }
@media (max-width: 860px) {
  .deep-block { grid-template-columns: 1fr; gap: 32px; }
  .deep-block.flip .deep-visual { order: 0; }
  .deep-rule { margin: 48px 0; }
}

.check {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; margin-top: 2px;
  font-weight: 800; font-size: 0.9rem; line-height: 1;
}
.check svg { width: 12px; height: 12px; }

/* ---------- Fit cards ---------- */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; margin: 0 auto; }
.fit-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 32px; box-shadow: var(--shadow); }
.fit-card h4 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; color: var(--ink); }
.fit-card h4 .check { margin-top: 0; }
.fit-card ul { margin-top: 16px; padding-left: 1.2em; color: var(--text-dim); display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 700px) { .fit-grid { grid-template-columns: 1fr; } }

/* ---------- Apply / lead form ---------- */
.apply-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center; }
.lead-copy { margin-top: 16px; color: var(--text-dim); font-size: 1.04rem; line-height: 1.7; }
.cap-list { margin-top: 26px; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.cap-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.98rem; color: var(--text); }
@media (max-width: 900px) { .apply-layout { grid-template-columns: 1fr; gap: 40px; } }

.lead-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
  padding: 34px; box-shadow: var(--shadow-lg);
  background-image: linear-gradient(180deg, var(--c1-soft), #fff 140px);
}
.lead-head h3 { font-family: var(--display-black); font-weight: 400; font-size: 1.45rem; }
.lead-head p { margin-top: 6px; color: var(--text-dim); font-size: 0.94rem; }
.lead-form { margin-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } .lead-card { padding: 26px 20px; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span { font-size: 0.82rem; font-weight: 700; color: var(--ink); }
.field em { font-style: normal; font-weight: 500; color: var(--text-dim); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 0.96rem; color: var(--ink);
  padding: 13px 15px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: #fff; width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c1-deep); box-shadow: 0 0 0 4px var(--c1-soft); }
.form-note { font-size: 0.8rem; color: var(--text-dim); text-align: center; }
.hp { position: absolute; left: -9999px; }

.wa-direct-icon { width: 60px; height: 60px; border-radius: 18px; background: #e8f8ee; color: #1fa855; display: flex; align-items: center; justify-content: center; }
.wa-direct-icon svg { width: 32px; height: 32px; }
.wa-direct .btn { margin-top: 26px; }
.contact-section { padding-top: 40px; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 300;
  display: flex; align-items: center; gap: 10px;
  background: #25d366; color: #fff; font-weight: 700; font-size: 0.92rem;
  padding: 13px 20px 13px 16px; border-radius: 100px;
  box-shadow: 0 10px 30px rgba(37,211,102,0.35), var(--shadow);
  transition: transform 0.25s var(--ease-spring);
}
.wa-float:hover { transform: translateY(-3px) scale(1.03); }
.wa-float svg { width: 24px; height: 24px; }
@media (max-width: 600px) { .wa-float span { display: none; } .wa-float { padding: 14px; right: 16px; bottom: 16px; } }

/* ---------- Community card ---------- */
.tg-card { display: flex; align-items: center; gap: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 32px; box-shadow: var(--shadow); }
.tg-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--c1-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tg-icon svg { width: 26px; height: 26px; }
.tg-text { flex: 1; }
.tg-text h3 { font-size: 1.15rem; }
.tg-text p { margin-top: 4px; color: var(--text-dim); font-size: 0.94rem; }
@media (max-width: 700px) { .tg-card { flex-direction: column; text-align: center; } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%; background: none; border: none; color: var(--ink); font-family: var(--display);
  font-size: 1.05rem; font-weight: 700; text-align: left; padding: 24px 4px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; cursor: pointer;
}
.faq-icon {
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%; background: var(--bg-soft); color: var(--ink);
  font-weight: 700; font-size: 1.1rem;
  transition: transform 0.35s var(--ease-spring), background 0.2s ease, color 0.2s ease;
}
.section-soft .faq-icon { background: #fff; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--c1-deep); color: #fff; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out); color: var(--text-dim); font-size: 0.98rem; line-height: 1.75; padding: 0 4px; }
.faq-item.open .faq-answer { max-height: 320px; padding-bottom: 24px; }

/* ---------- Final CTA ---------- */
.final { text-align: center; }
.final-box {
  max-width: 780px; margin: 0 auto;
  background: linear-gradient(155deg, var(--ink), var(--ink-2));
  border-radius: 28px; padding: 70px 48px; box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.final-box::before, .final-box::after { content: ""; position: absolute; border-radius: 50%; filter: blur(40px); opacity: 0.35; pointer-events: none; }
.final-box::before { width: 260px; height: 260px; background: var(--c2); top: -120px; left: -80px; }
.final-box::after { width: 260px; height: 260px; background: var(--c3); bottom: -140px; right: -80px; }
.final-box > * { position: relative; }
.final-box .eyebrow { background: rgba(255,255,255,0.12); color: #fff; margin: 0 auto; }
.final-box h2 { color: #fff; margin-top: 20px; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.final-box p { margin-top: 14px; color: rgba(255,255,255,0.7); font-size: 1.05rem; }
.final-box .btn { margin-top: 30px; background: #fff; color: var(--ink); border-color: #fff; }
.final-box .btn svg { color: #1fa855; }

/* ---------- Blog listing / cards ---------- */
.blog-hero { padding: 72px 0 32px; }
.blog-hero-inner { max-width: 720px; }
.blog-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.05; margin-top: 18px; }
.blog-hero p { margin-top: 18px; color: var(--text-dim); font-size: 1.08rem; max-width: 560px; }
.post-grid { padding: 24px 0 80px; }
.post-grid-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 1000px) { .post-grid-inner { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .post-grid-inner { grid-template-columns: 1fr; } }
.post-card {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.2s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--c1); }
.post-card .meta { display: flex; align-items: center; gap: 12px; font-size: 0.8rem; color: var(--text-dim); font-weight: 600; flex-wrap: wrap; }
.post-card .meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line); }
.post-card h3 { font-size: 1.2rem; font-weight: 800; line-height: 1.25; }
.post-card p { color: var(--text-dim); font-size: 0.95rem; line-height: 1.6; flex: 1; }
.post-card .read-more { font-weight: 700; font-size: 0.9rem; color: var(--c1-deep); }

/* ---------- Article ---------- */
.article { padding: 40px 0 80px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px); justify-content: center; }
.article-head { margin-bottom: 40px; }
.article-head h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.1; margin-top: 20px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 22px; font-size: 0.86rem; color: var(--text-dim); font-weight: 600; }
.article-meta .sep { color: var(--line); }
.article-meta .author { color: var(--ink); font-weight: 700; }

.prose { font-size: 1.06rem; line-height: 1.75; color: var(--text); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--display-black); font-size: 1.5rem; line-height: 1.2; margin-top: 2em; color: var(--ink); }
.prose h3 { font-size: 1.2rem; font-weight: 700; margin-top: 1.6em; color: var(--ink); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose em { color: var(--ink); }
.prose a { color: var(--c1-deep); font-weight: 600; text-decoration: underline; text-decoration-color: var(--c1); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--c1-deep); }
.prose ul, .prose ol { padding-left: 1.4em; display: flex; flex-direction: column; gap: 0.5em; }
.prose li::marker { color: var(--c1-deep); }
.prose ul.checklist { list-style: none; padding-left: 0; }
.prose ul.checklist li { position: relative; padding-left: 34px; }
.prose ul.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.28em; width: 20px; height: 20px;
  border-radius: 6px; border: 2px solid var(--c3-deep); background: var(--c3-soft);
}
.prose blockquote { border-left: 3px solid var(--c1-deep); background: var(--c1-soft); padding: 18px 22px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink); }
.prose blockquote p { margin-top: 0; }
.prose blockquote p + p { margin-top: 0.6em; }
.prose code { font-family: var(--mono); font-size: 0.88em; background: var(--bg-soft); border: 1px solid var(--line); padding: 2px 6px; border-radius: 6px; }
.prose hr { border: none; border-top: 1px solid var(--line); margin: 2em 0; }

.article-cta { margin-top: 56px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 34px; text-align: center; }
.article-cta h3 { font-family: var(--display-black); font-weight: 400; font-size: 1.35rem; margin-bottom: 10px; }
.article-cta p { color: var(--text-dim); margin-bottom: 22px; }
.article-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 40px; font-weight: 700; color: var(--text-dim); transition: color 0.2s ease; }
.back-link:hover { color: var(--c1-deep); }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer-brand .mark-logo { height: 38px; width: 38px; }
.footer-brand p { margin-top: 14px; color: var(--text-dim); font-size: 0.9rem; max-width: 280px; line-height: 1.6; }
.footer-col h5 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 0.92rem; color: var(--text); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--c1-deep); }
.footer-bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 0.82rem; color: var(--text-dim);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

@media (max-width: 600px) {
  section { padding: 70px 0; }
  .hero { padding: 56px 0 40px; }
  .trust-grid { grid-template-columns: 1fr; }
  .final-box { padding: 48px 24px; }
  .hero-stats { gap: 28px; }
}
