/* =====================================================================
   Tech Trendify — Global Stylesheet
   Premium dark + light agency design system.
   ===================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* brand */
  --brand-accent: #2e7cff;
  --brand-violet: #7c6bff;
  --brand-grad: linear-gradient(135deg, #2e7cff 0%, #6e5cff 100%);
  --brand-grad-soft: linear-gradient(135deg, rgba(46,124,255,.16), rgba(124,107,255,.16));
  --whatsapp: #22c15e;
  --whatsapp-deep: #17a950;

  /* dark surfaces */
  --ink-950: #060a13;
  --ink-900: #0a101f;
  --ink-850: #0e1626;
  --ink-800: #121c30;
  --ink-700: #1a2844;

  /* text */
  --text-100: #f2f5fa;
  --text-200: #d6dde9;
  --text-300: #aab6c9;
  --muted: #8490a4;

  /* light surfaces */
  --bg: #ffffff;
  --bg-soft: #f4f7fc;
  --bg-soft-2: #eef2f9;
  --ink: #0e1526;
  --ink-2: #29344a;
  --ink-muted: #5a6577;

  /* lines & chrome */
  --line: rgba(148, 163, 184, 0.16);
  --line-strong: rgba(148, 163, 184, 0.3);
  --line-light: #e6ebf3;

  --shadow-sm: 0 2px 8px rgba(10, 16, 31, 0.06);
  --shadow: 0 14px 34px -14px rgba(10, 16, 31, 0.16);
  --shadow-lg: 0 26px 60px -22px rgba(10, 16, 31, 0.28);
  --shadow-dark: 0 20px 48px -20px rgba(2, 8, 23, 0.55);
  --glow-accent: 0 12px 30px -8px rgba(46, 124, 255, 0.5);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 22px;

  --font-display: "Space Grotesk", "Inter", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1200px;
  --section: clamp(72px, 9vw, 120px);
}

/* ---------- 2. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html:focus-within { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
ul, ol { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); }

:focus-visible { outline: 3px solid rgba(46, 124, 255, 0.55); outline-offset: 2px; border-radius: 4px; }

::selection { background: rgba(46, 124, 255, 0.25); }

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

/* ---------- 3. Layout utilities ---------- */
.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }

.section { padding-block: var(--section); position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand-violet);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--brand-grad); }

.section-title { font-size: clamp(1.9rem, 4vw, 2.85rem); }
.section-sub { color: var(--ink-muted); font-size: clamp(1rem, 1.4vw, 1.12rem); margin-top: 14px; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: 12px;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; line-height: 1;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--brand-grad); color: #fff; box-shadow: var(--glow-accent); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -10px rgba(46, 124, 255, 0.62); }

.btn-whatsapp { background: var(--whatsapp); color: #fff; box-shadow: 0 12px 28px -10px rgba(34, 193, 94, 0.55); }
.btn-whatsapp:hover { background: var(--whatsapp-deep); transform: translateY(-2px); }

.btn-ghost { background: rgba(255, 255, 255, 0.06); border-color: var(--line-strong); color: var(--text-100); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255,255,255,0.4); transform: translateY(-2px); }

.btn-outline { background: #fff; border-color: var(--line-light); color: var(--ink); }
.btn-outline:hover { border-color: var(--brand-accent); color: var(--brand-accent); transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1a2540; transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-sm { padding: 10px 18px; font-size: 0.86rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn .arrow { transition: transform 0.22s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- 5. Badges / chips ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; border-radius: 999px;
  font-size: 0.8rem; font-weight: 600;
  background: var(--brand-grad-soft); color: #3d63ff; border: 1px solid rgba(46, 124, 255, 0.22);
}
.tag-green { background: rgba(34, 193, 94, 0.12); color: #17a950; border-color: rgba(34, 193, 94, 0.28); }
.tag-neutral { background: #eef2f8; color: var(--ink-2); border-color: var(--line-light); }

/* ---------- 6. Header / navigation ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(6, 10, 19, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 74px; }

.brand { display: flex; align-items: center; gap: 12px; white-space: nowrap; flex: none; min-width: 0; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  background: var(--brand-grad);
  display: grid; place-items: center;
  box-shadow: var(--glow-accent);
  transition: width 0.25s ease, height 0.25s ease;
}
.brand-mark svg { width: 24px; height: 24px; transition: width 0.25s ease, height 0.25s ease; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; letter-spacing: -0.02em; color: #fff; line-height: 1.1; transition: font-size 0.25s ease; }
.brand-name span { color: var(--brand-violet); }
.brand-sub { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 2px; line-height: 1.2; }

.nav-desktop ul { display: flex; align-items: center; gap: 4px; }
.nav-desktop a {
  display: inline-block; padding: 9px 12px; border-radius: 9px;
  font-size: 0.9rem; font-weight: 500; color: var(--text-300);
  transition: color 0.18s ease, background 0.18s ease;
}
.nav-desktop a:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
.nav-desktop a[aria-current="page"] { color: #fff; }

.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn { padding: 11px 18px; font-size: 0.86rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; border-radius: 11px; border: 1px solid var(--line-strong);
  background: transparent; cursor: pointer; place-items: center;
}
.nav-toggle svg { width: 22px; height: 22px; stroke: #fff; }

/* mobile menu */
.mobile-menu {
  display: none;
  background: var(--ink-900);
  border-top: 1px solid var(--line);
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease;
}
.mobile-menu.open { max-height: 560px; overflow-y: auto; }
.mobile-menu nav { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 18px 24px 10px; }
.mobile-menu nav a { padding: 12px 14px; border-radius: 10px; color: var(--text-300); font-weight: 500; font-size: 0.95rem; }
.mobile-menu nav a:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.mobile-menu .mm-cta { display: grid; gap: 10px; padding: 6px 24px 20px; }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  background: var(--ink-950);
  color: var(--text-200);
  padding: clamp(64px, 8vw, 110px) 0 clamp(72px, 8vw, 110px);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(52% 46% at 82% 12%, rgba(46, 124, 255, 0.26), transparent 62%),
    radial-gradient(40% 38% at 8% 88%, rgba(124, 107, 255, 0.2), transparent 60%),
    radial-gradient(60% 50% at 50% 118%, rgba(46, 124, 255, 0.14), transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 70% at 50% 30%, #000 10%, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 30%, #000 10%, transparent 78%);
  pointer-events: none;
}

.hero-grid { position: relative; display: grid; grid-template-columns: 1.06fr 0.94fr; gap: clamp(36px, 5vw, 72px); align-items: center; }

.hero-title { color: #fff; font-size: clamp(2.35rem, 5.4vw, 4.1rem); }
.hero-title .grad { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero-sub { color: var(--text-300); margin-top: 22px; font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 540px; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 34px; }
.hero-trust li { display: flex; align-items: center; gap: 8px; color: var(--text-300); font-size: 0.9rem; font-weight: 500; }
.hero-trust svg { width: 16px; height: 16px; color: #34d399; flex: none; }

.hero-trustline { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.88rem; display: flex; align-items: center; gap: 10px; }
.hero-trustline strong { color: var(--text-200); font-weight: 600; }

/* hero visual — stacked browser mockups */
.hero-visual { position: relative; }
.browser-stack { position: relative; min-height: 460px; }
.browser {
  position: absolute; left: 50%; width: 100%;
  border-radius: 14px; border: 1px solid rgba(148, 163, 184, 0.18);
  background: #0d1526;
  box-shadow: 0 34px 80px -24px rgba(0, 0, 0, 0.65);
  overflow: hidden;
}
.browser.b1 { top: 0; transform: translateX(-50%) scale(1); z-index: 3; }
.browser.b2 { top: 46px; transform: translateX(-58%) scale(0.92); z-index: 2; opacity: 0.65; filter: blur(0.4px); }
.browser.b3 { top: 84px; transform: translateX(-42%) scale(0.84); z-index: 1; opacity: 0.4; filter: blur(0.8px); }

.browser-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid rgba(148, 163, 184, 0.14); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; }
.browser-bar i:nth-child(1) { background: #ff5f57; }
.browser-bar i:nth-child(2) { background: #febc2e; }
.browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar .url { flex: 1; height: 18px; margin-left: 8px; border-radius: 6px; background: rgba(148, 163, 184, 0.12); }

.browser-body { padding: 14px 16px 16px; display: grid; gap: 12px; }
.mock-header { border-radius: 9px; background: linear-gradient(135deg, rgba(46,124,255,.32), rgba(124,107,255,.32)); height: 26px; width: 72%; }
.mock-lines { display: grid; gap: 7px; }
.mock-lines i { height: 10px; border-radius: 5px; background: rgba(148, 163, 184, 0.16); }
.mock-lines i:nth-child(2) { width: 86%; }
.mock-lines i:nth-child(3) { width: 56%; }
.mock-cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 9px; }
.mock-cards i { height: 58px; border-radius: 9px; background: var(--brand-grad-soft); border: 1px solid rgba(124, 107, 255, 0.25); }
.mock-cta { height: 30px; border-radius: 8px; background: var(--brand-grad); box-shadow: 0 8px 20px -8px rgba(46, 124, 255, 0.6); }

/* floating stat chip on visual */
.float-chip {
  position: absolute; z-index: 5;
  background: rgba(13, 21, 38, 0.92); border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 12px; padding: 10px 16px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-dark); backdrop-filter: blur(6px);
}
.float-chip .ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.float-chip .ic svg { width: 18px; height: 18px; }
.float-chip .ic.blue { background: rgba(46, 124, 255, 0.2); color: #5b9aff; }
.float-chip .ic.green { background: rgba(34, 193, 94, 0.16); color: #35d96c; }
.float-chip .ic.violet { background: rgba(124, 107, 255, 0.18); color: #9d90ff; }
.fc-1 { top: 6%; right: -2%; }
.fc-2 { bottom: 20%; left: -2%; }
.float-chip b { color: #fff; font-size: 0.92rem; display: block; line-height: 1.2; }
.float-chip span { color: var(--muted); font-size: 0.74rem; }

/* ---------- 8. Trust strip ---------- */
.trust-strip { background: var(--bg-soft); border-bottom: 1px solid var(--line-light); }
.trust-strip-inner { padding: 30px 0; display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.trust-line { font-weight: 600; color: var(--ink); max-width: 420px; font-size: 1.02rem; }
.trust-cats { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-cats .chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line-light);
  font-size: 0.86rem; font-weight: 600; color: var(--ink-2);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.trust-cats .chip:hover { transform: translateY(-2px); border-color: rgba(46, 124, 255, 0.5); box-shadow: var(--shadow-sm); }
.trust-cats .chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-grad); }

/* ---------- 9. Cards generic ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg); border: 1px solid var(--line-light); border-radius: var(--radius);
  padding: 26px; position: relative;
  transition: transform 0.22s ease, box-shadow 0.26s ease, border-color 0.22s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(46, 124, 255, 0.35); }

.card-ic {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 20px;
  display: grid; place-items: center;
  background: var(--brand-grad-soft); border: 1px solid rgba(46, 124, 255, 0.22);
  color: var(--brand-accent);
}
.card-ic svg { width: 25px; height: 25px; }
.card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.card p { color: var(--ink-muted); font-size: 0.95rem; }

.tick-list { display: grid; gap: 8px; margin-top: 16px; }
.tick-list li { display: flex; gap: 10px; font-size: 0.9rem; color: var(--ink-2); }
.tick-list svg { width: 16px; height: 16px; color: #16a34a; flex: none; margin-top: 3px; }

.card-cta { margin-top: 20px; }

/* dark card variant (used inside dark sections) */
.card-dark { background: var(--ink-850); border: 1px solid var(--line); color: var(--text-300); }
.card-dark:hover { border-color: rgba(46, 124, 255, 0.5); box-shadow: var(--shadow-dark); }
.card-dark h3 { color: #fff; }
.card-dark p { color: var(--text-300); }
.card-dark .card-ic { background: rgba(46, 124, 255, 0.14); border-color: rgba(46, 124, 255, 0.3); color: #6aa2ff; }
.card-dark .tick-list li { color: var(--text-200); }
.card-dark .tick-list svg { color: #35d96c; }

/* ---------- 10. Services ---------- */
.section-dark { background: var(--ink-950); color: var(--text-300); }
.section-dark .section-title { color: #fff; }
.section-dark .section-sub { color: var(--text-300); }
.section-navy { background: var(--ink-900); color: var(--text-300); }
.section-navy .section-title { color: #fff; }
.section-navy .section-sub { color: var(--text-300); }

.service-card { display: flex; flex-direction: column; }
.service-card .tick-list { margin-top: 14px; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tech-tags span {
  padding: 6px 12px; border-radius: 8px; background: rgba(46, 124, 255, 0.1);
  border: 1px solid rgba(46, 124, 255, 0.2); color: #4a7dff;
  font-size: 0.78rem; font-weight: 600;
}

/* ---------- 11. Solutions ---------- */
.sol-card { background: var(--bg); border: 1px solid var(--line-light); border-radius: var(--radius); padding: 26px; position: relative; overflow: hidden; transition: transform .22s ease, box-shadow .26s ease; }
.sol-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.sol-num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; }
.sol-card h3 { font-size: 1.12rem; margin: 8px 0 8px; }
.sol-card p { color: var(--ink-muted); font-size: 0.92rem; }

/* ---------- 12. Why us ---------- */
.why-grid .card { display: flex; gap: 18px; align-items: flex-start; }
.why-grid .card-ic { margin-bottom: 0; flex: none; width: 46px; height: 46px; }
.why-grid h3 { font-size: 1.05rem; margin-bottom: 6px; }
.why-grid p { font-size: 0.9rem; }

/* ---------- 13. Portfolio ---------- */
.portfolio-grid { grid-template-columns: repeat(3, 1fr); }
.project-card {
  background: var(--bg); border: 1px solid var(--line-light); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.24s ease, box-shadow 0.28s ease;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.project-thumb svg { width: 100%; height: 100%; transition: transform 0.5s ease; }
.project-card:hover .project-thumb svg { transform: scale(1.045); }
.project-cat {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(6, 10, 19, 0.78); backdrop-filter: blur(6px);
  color: #fff; font-size: 0.72rem; font-weight: 600; padding: 6px 11px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.project-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.project-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.project-body > p { color: var(--ink-muted); font-size: 0.92rem; }
.project-tech { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.project-tech span { font-size: 0.76rem; font-weight: 600; color: var(--brand-accent); background: rgba(46, 124, 255, 0.09); padding: 5px 10px; border-radius: 7px; }
.project-actions { display: flex; gap: 10px; margin-top: auto; padding-top: 20px; }
.project-actions .btn-sm { flex: 1; padding: 10px 12px; font-size: 0.82rem; }

.gallery-note { margin-top: 26px; padding: 16px 20px; border-radius: 12px; background: var(--bg-soft); border: 1px dashed var(--line-strong); color: var(--ink-muted); font-size: 0.88rem; display: flex; gap: 10px; align-items: center; }

/* ---------- 14. Real estate spotlight ---------- */
.re-section { position: relative; overflow: hidden; }
.re-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.re-visual { position: relative; }
.re-frame {
  border-radius: var(--radius-lg); border: 1px solid var(--line-strong);
  background: linear-gradient(160deg, #101a30, #0a101f 70%);
  padding: 4px; box-shadow: var(--shadow-dark);
}
.re-frame-inner { border-radius: calc(var(--radius-lg) - 4px); overflow: hidden; background: #0d1526; }
.re-map { height: 180px; background: radial-gradient(80% 120% at 20% 20%, rgba(46,124,255,.34), transparent 55%), radial-gradient(60% 90% at 90% 80%, rgba(124,107,255,.3), transparent 60%), #0b1322; position: relative; }
.re-map::after { content: ""; position: absolute; width: 56px; height: 56px; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50% 50% 50% 0; rotate: -45deg; background: #ff5f57; border: 4px solid rgba(255,255,255,.85); box-shadow: 0 0 0 14px rgba(255,95,87,.22), 0 12px 30px rgba(0,0,0,.4); }
.re-list { padding: 16px; display: grid; gap: 10px; }
.re-item { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 10px; background: rgba(148,163,184,.07); border: 1px solid var(--line); }
.re-item .ph { width: 48px; height: 42px; border-radius: 8px; background: linear-gradient(135deg, rgba(46,124,255,.45), rgba(124,107,255,.4)); flex: none; }
.re-item b { color: #fff; font-size: 0.88rem; display: block; line-height: 1.3; }
.re-item span { color: var(--muted); font-size: 0.78rem; }
.re-item .wa-flag { margin-left: auto; width: 26px; height: 26px; border-radius: 8px; background: rgba(34,193,94,.16); color: #35d96c; display: grid; place-items: center; flex: none; }
.re-item .wa-flag svg { width: 14px; height: 14px; }

.re-copy .lead-points { margin-top: 26px; }
.re-copy .lead-points li { color: var(--ink-2); font-size: 0.96rem; }
.re-copy .lead-points svg { color: #16a34a; }

/* ---------- 15. Pricing ---------- */
.pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.price-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--line-light); border-radius: var(--radius-lg);
  padding: 34px 30px; transition: transform 0.24s ease, box-shadow 0.28s ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card.popular { border: 2px solid var(--brand-accent); box-shadow: var(--shadow-lg); background: linear-gradient(180deg, #fff, #f5f9ff); }
.pop-badge {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  background: var(--brand-grad); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 16px; border-radius: 999px; box-shadow: var(--glow-accent); white-space: nowrap;
}
.price-name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.price-amount { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--ink); margin-top: 12px; display: flex; align-items: flex-end; gap: 6px; }
.price-amount span { font-size: 0.9rem; color: var(--ink-muted); font-weight: 500; padding-bottom: 6px; }
.price-desc { color: var(--ink-muted); font-size: 0.92rem; margin-top: 6px; }
.price-line { height: 1px; background: var(--line-light); margin: 22px 0; }
.price-feats { display: grid; gap: 10px; flex: 1; }
.price-feats li { display: flex; gap: 10px; font-size: 0.92rem; color: var(--ink-2); }
.price-feats svg { width: 16px; height: 16px; color: #16a34a; flex: none; margin-top: 3px; }
.price-cta { margin-top: 26px; }

.pricing-note { margin-top: 26px; text-align: center; color: var(--ink-muted); font-size: 0.9rem; max-width: 640px; margin-inline: auto; }

/* ---------- 16. Add-ons ---------- */
.addons-grid { grid-template-columns: repeat(5, 1fr); }
.addon-card {
  background: var(--bg); border: 1px solid var(--line-light); border-radius: var(--radius-sm);
  padding: 16px; text-align: center; transition: transform .18s ease, box-shadow .22s ease, border-color .18s ease;
}
.addon-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(46, 124, 255, 0.4); }
.addon-card b { display: block; font-size: 0.9rem; color: var(--ink); }
.addon-card span { color: var(--brand-accent); font-weight: 700; font-size: 0.84rem; display: block; margin-top: 4px; }

/* ---------- 17. Process timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 27px; left: 6%; right: 6%; height: 2px; background: linear-gradient(90deg, transparent, rgba(46,124,255,.5), rgba(124,107,255,.5), transparent); }
.step { position: relative; background: var(--bg); border: 1px solid var(--line-light); border-radius: var(--radius); padding: 24px; transition: transform .22s ease, box-shadow .26s ease; }
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.step-num { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-grad); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; box-shadow: var(--glow-accent); margin-bottom: 18px; position: relative; z-index: 1; }
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { color: var(--ink-muted); font-size: 0.9rem; }

/* ---------- 18. Demo CTA (lead gen) ---------- */
.lead-section { position: relative; overflow: hidden; }
.lead-wrap {
  position: relative; border-radius: 26px; overflow: hidden;
  background: linear-gradient(135deg, #0c1426 0%, #131c33 55%, #191438 100%);
  border: 1px solid var(--line-strong); box-shadow: var(--shadow-dark);
  padding: clamp(36px, 5vw, 64px);
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 4vw, 56px);
  color: var(--text-300);
}
.lead-wrap::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 15% 0%, rgba(46,124,255,.2), transparent 60%), radial-gradient(40% 50% at 92% 100%, rgba(124,107,255,.18), transparent 60%); pointer-events: none; }
.lead-left, .lead-right { position: relative; }
.lead-title { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.lead-text { margin-top: 16px; }
.lead-points { display: grid; gap: 12px; margin-top: 24px; }
.lead-points li { display: flex; gap: 11px; align-items: center; font-size: 0.95rem; color: var(--text-200); }
.lead-points svg { width: 18px; height: 18px; color: #35d96c; flex: none; }
.lead-alt { margin-top: 26px; padding: 14px 16px; border: 1px dashed rgba(148,163,184,.35); border-radius: 12px; font-size: 0.86rem; color: var(--muted); }

/* ---------- 19. Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line-light); border-radius: 18px; padding: 26px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.83rem; font-weight: 600; color: var(--ink-2); }
.field label .req { color: #dc2626; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: var(--bg-soft);
  font-family: inherit; font-size: 0.94rem; color: var(--ink);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-accent); background: #fff; box-shadow: 0 0 0 3px rgba(46, 124, 255, 0.15); }
.field textarea { min-height: 110px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235a6577' stroke-width='2.4'><path d='m6 9 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-status { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 11px; font-size: 0.92rem; }
.form-status.ok { display: flex; gap: 10px; align-items: flex-start; background: #ecfdf5; border: 1px solid #a7f3d0; color: #047857; }
.form-status.err { display: flex; gap: 10px; align-items: flex-start; background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }
.form-status svg { width: 19px; height: 19px; flex: none; margin-top: 1px; }
.form-status p { flex: 1; }
.form-status .err-detail, .form-status .ok-detail { font-size: 0.82rem; opacity: 0.85; display: block; margin-top: 3px; }

.form-note { margin-top: 14px; font-size: 0.8rem; color: var(--muted); display: flex; gap: 7px; align-items: center; }
.form-note svg { width: 15px; height: 15px; flex: none; }

/* ---------- 20. Testimonials ---------- */
.testimonial-card { background: var(--bg); border: 1px solid var(--line-light); border-radius: var(--radius); padding: 28px; position: relative; }
.testimonial-card .quote-mark { width: 40px; height: 40px; border-radius: 11px; background: var(--brand-grad-soft); color: var(--brand-accent); display: grid; place-items: center; margin-bottom: 16px; }
.testimonial-card .quote-mark svg { width: 20px; height: 20px; }
.testimonial-card blockquote { color: var(--ink-2); font-size: 0.98rem; font-style: normal; }
.testimonial-card .t-meta { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.avatar-ph { width: 44px; height: 44px; border-radius: 50%; background: var(--brand-grad); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; }
.testimonial-card cite { font-style: normal; font-weight: 600; color: var(--ink); font-size: 0.94rem; display: block; }
.testimonial-card .t-role { color: var(--ink-muted); font-size: 0.82rem; }
.t-placeholder { border-style: dashed; }
.t-placeholder .quote-mark { background: #eef2f8; color: var(--muted); }

/* ---------- 21. FAQ ---------- */
.faq-list { display: grid; gap: 14px; max-width: 860px; margin-inline: auto; }
.faq-item { background: var(--bg); border: 1px solid var(--line-light); border-radius: 14px; overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease; }
.faq-item[open] { border-color: rgba(46, 124, 255, 0.45); box-shadow: var(--shadow); }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; gap: 14px;
  padding: 19px 22px; font-weight: 600; font-family: var(--font-display); font-size: 1.02rem; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .fx { margin-left: auto; width: 28px; height: 28px; flex: none; border-radius: 8px; background: var(--bg-soft); display: grid; place-items: center; transition: background .2s ease, transform .3s ease; color: var(--brand-accent); }
.faq-item .fx svg { width: 15px; height: 15px; }
.faq-item[open] .fx { transform: rotate(45deg); background: rgba(46, 124, 255, 0.12); }
.faq-item .fa-a { padding: 0 22px 20px; color: var(--ink-muted); font-size: 0.96rem; }

/* ---------- 22. About ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.about-points { display: grid; gap: 16px; margin-top: 26px; }
.about-points li { display: flex; gap: 14px; }
.about-points .ap-ic { width: 40px; height: 40px; border-radius: 11px; flex: none; background: var(--brand-grad-soft); color: var(--brand-accent); display: grid; place-items: center; }
.about-points .ap-ic svg { width: 19px; height: 19px; }
.about-points b { color: var(--ink); display: block; font-size: 0.98rem; }
.about-points p { color: var(--ink-muted); font-size: 0.9rem; }

.about-side { background: var(--ink-900); border-radius: var(--radius-lg); color: var(--text-300); padding: clamp(30px, 4vw, 44px); position: relative; overflow: hidden; }
.about-side::before { content: ""; position: absolute; width: 70%; height: 70%; right: -20%; top: -20%; background: radial-gradient(circle, rgba(46,124,255,.22), transparent 65%); }
.about-side h3 { color: #fff; margin-bottom: 14px; }
.about-side p { font-size: 0.95rem; }
.about-side .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.about-side .fact { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.about-side .fact b { color: #fff; font-family: var(--font-display); font-size: 1.3rem; display: block; }
.about-side .fact span { color: var(--muted); font-size: 0.8rem; }

/* ---------- 23. Blog ---------- */
.blog-grid { grid-template-columns: repeat(3, 1fr); }
.blog-card { background: var(--bg); border: 1px solid var(--line-light); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .22s ease, box-shadow .26s ease; }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-thumb { aspect-ratio: 16/9; display: grid; place-items: center; background: linear-gradient(135deg, #101a30, #191437); position: relative; }
.blog-thumb .b-mark { width: 46px; height: 46px; border-radius: 13px; background: var(--brand-grad); display: grid; place-items: center; box-shadow: var(--glow-accent); }
.blog-thumb .b-mark svg { width: 24px; height: 24px; }
.blog-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.blog-cat { font-size: 0.72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-violet); }
.blog-body h3 { font-size: 1.05rem; line-height: 1.35; margin: 9px 0 12px; }
.blog-body h3 a:hover { color: var(--brand-accent); }
.blog-more { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 0.9rem; color: var(--brand-accent); }

/* ---------- 24. CTA banner ---------- */
.cta-band { background: var(--ink-950); position: relative; overflow: hidden; text-align: center; padding-block: clamp(64px, 8vw, 96px); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(46% 60% at 50% 0%, rgba(46,124,255,.24), transparent 65%), radial-gradient(38% 50% at 50% 110%, rgba(124,107,255,.2), transparent 60%); }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); position: relative; }
.cta-band p { color: var(--text-300); margin-top: 14px; max-width: 600px; margin-inline: auto; position: relative; }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; position: relative; }

/* ---------- 25. Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 4vw, 56px); align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; background: var(--bg); border: 1px solid var(--line-light); border-radius: 16px; padding: 20px; transition: transform .2s ease, box-shadow .24s ease; }
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-card .cc-ic { width: 46px; height: 46px; border-radius: 13px; flex: none; display: grid; place-items: center; background: var(--brand-grad-soft); color: var(--brand-accent); }
.contact-card .cc-ic.w { background: rgba(34,193,94,.13); color: var(--whatsapp-deep); }
.contact-card .cc-ic.ph { background: rgba(124,107,255,.13); color: var(--brand-violet); }
.contact-card .cc-ic svg { width: 21px; height: 21px; }
.contact-card b { display: block; color: var(--ink); font-size: 0.98rem; }
.contact-card p, .contact-card a { color: var(--ink-muted); font-size: 0.9rem; word-break: break-word; }
.contact-card a:hover { color: var(--brand-accent); }

/* ---------- 26. Footer ---------- */
.footer { background: var(--ink-950); color: var(--text-300); border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 36px; padding-block: clamp(48px, 6vw, 72px) 40px; }
.f-col h4 { font-family: var(--font-display); font-size: 0.86rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.f-col ul { display: grid; gap: 11px; }
.f-col ul a { color: var(--text-300); font-size: 0.9rem; transition: color .18s ease; }
.f-col ul a:hover { color: #fff; }
.f-brand p { color: var(--muted); font-size: 0.92rem; margin-top: 14px; max-width: 280px; }
.f-social { display: flex; gap: 10px; margin-top: 20px; }
.f-social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--text-300); transition: all .18s ease; }
.f-social a:hover { background: var(--brand-grad); border-color: transparent; color: #fff; transform: translateY(-2px); }
.f-social svg { width: 17px; height: 17px; }
.f-social a[data-empty="true"] { display: none; }

.footer-bottom { border-top: 1px solid var(--line); padding-block: 22px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 0.85rem; color: var(--muted); }
.footer-bottom a { color: var(--text-300); }
.footer-bottom a:hover { color: #fff; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- 27. Floating / sticky contact ---------- */
.float-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 55;
  width: 58px; height: 58px; border-radius: 18px;
  background: var(--whatsapp); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 14px 34px -8px rgba(34, 193, 94, 0.6);
  transition: transform .2s ease;
}
.float-wa:hover { transform: translateY(-4px) scale(1.05); }
.float-wa::after { content: ""; position: absolute; inset: 0; border-radius: 18px; border: 1px solid rgba(255,255,255,.5); animation: pulse-ring 2.4s ease-out infinite; }
.float-wa svg { width: 27px; height: 27px; }
@keyframes pulse-ring { 0% { transform: scale(1); opacity: .7; } 70% { transform: scale(1.5); opacity: 0; } 100% { opacity: 0; } }

.mobile-cta {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 58;
  grid-template-columns: 1fr 1fr 1.2fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(6, 10, 19, 0.95); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-strong);
}
.mobile-cta a {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 12px 8px; border-radius: 11px; font-size: 0.85rem; font-weight: 600;
  transition: transform .15s ease;
}
.mobile-cta a:active { transform: scale(.97); }
.mobile-cta a svg { width: 17px; height: 17px; }
.mc-wa { background: rgba(34, 193, 94, 0.16); border: 1px solid rgba(34, 193, 94, 0.4); color: #3adf7b; }
.mc-call { background: rgba(124, 107, 255, 0.16); border: 1px solid rgba(124, 107, 255, 0.4); color: #a89bff; }
.mc-quote { background: var(--brand-grad); color: #fff; box-shadow: var(--glow-accent); }

/* ---------- 28. Inner-page hero ---------- */
.page-hero { position: relative; background: var(--ink-950); color: var(--text-300); padding: clamp(56px, 7vw, 90px) 0 clamp(48px, 6vw, 72px); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 80% 0%, rgba(46,124,255,.22), transparent 60%), radial-gradient(44% 50% at 10% 100%, rgba(124,107,255,.18), transparent 60%); }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); position: relative; }
.page-hero p { margin-top: 14px; max-width: 640px; position: relative; font-size: 1.05rem; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 0.82rem; color: var(--muted); margin-bottom: 18px; position: relative; }
.crumbs a:hover { color: #fff; }
.crumbs .sep { color: var(--muted); }

/* ---------- 29. Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }

.alt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 64px); align-items: center; }

/* ---------- 29b. Legal prose ---------- */
.legal { max-width: 800px; margin-inline: auto; }
.legal h2 { font-size: 1.4rem; margin: 40px 0 12px; }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-size: 1.08rem; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--ink-muted); margin-bottom: 12px; font-size: 0.98rem; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; }
.legal strong { color: var(--ink); }
.legal .legal-note { background: var(--bg-soft); border: 1px solid var(--line-light); border-left: 4px solid var(--brand-accent); padding: 16px 18px; border-radius: 10px; margin-bottom: 24px; font-size: 0.92rem; color: var(--ink-2); }

/* ---------- 29c. 404 ---------- */
.err-wrap { text-align: center; padding: clamp(60px, 9vw, 110px) 0; }
.err-code { font-family: var(--font-display); font-size: clamp(6rem, 18vw, 11rem); font-weight: 700; line-height: 1; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.err-wrap h1 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin: 18px 0 10px; }
.err-wrap p { color: var(--ink-muted); max-width: 460px; margin: 0 auto 28px; }
.err-wrap .err-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- 30. Responsive ---------- */
@media (max-width: 1100px) {
  .nav-desktop { display: none; }
  .header-cta > .btn-whatsapp { display: none; }
  .nav-toggle { display: grid; }
  .mobile-menu { display: block; }
  .timeline { grid-template-columns: repeat(3, 1fr); }
  .timeline::before { display: none; }
  .addons-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1.6fr 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
  .grid-3, .portfolio-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .re-grid { grid-template-columns: 1fr; }
  .lead-wrap { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .alt-grid { grid-template-columns: 1fr; }
  .alt-grid > .about-side { order: -1; }
  .section-dark .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .brand { gap: 10px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-mark svg { width: 22px; height: 22px; }
  .brand-name { font-size: 1.2rem; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .container { width: calc(100% - 36px); }
  .grid-2, .grid-3, .grid-4, .portfolio-grid, .blog-grid, .addons-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .section-dark .grid-3 { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { justify-content: center; text-align: center; flex-direction: column; }
  .mobile-cta { display: grid; }
  .float-wa { bottom: 92px; right: 16px; width: 52px; height: 52px; border-radius: 16px; }
  body { padding-bottom: 0; }
  .browser-stack { min-height: 360px; }
  .float-chip { display: none; }
  .header-inner { height: 66px; }
  .brand { gap: 9px; }
  .brand-mark { width: 36px; height: 36px; border-radius: 10px; }
  .brand-mark svg { width: 21px; height: 21px; }
  .brand-name { font-size: 1.12rem; }
  .brand-sub { font-size: 0.59rem; letter-spacing: 0.14em; }
  .trust-cats .chip { font-size: 0.8rem; padding: 8px 13px; }
  .pricing-note { font-size: 0.84rem; }
}

@media (max-width: 400px) {
  .brand-name { font-size: 1.02rem; }
  .brand-sub { display: none; }
  .brand { gap: 8px; }
  .brand-mark { width: 34px; height: 34px; border-radius: 9px; }
  .brand-mark svg { width: 20px; height: 20px; }
}

/* ---------- 31. Toast ---------- */
#tt-toast {
  position: fixed; left: 50%; bottom: 96px; z-index: 70;
  transform: translate(-50%, 12px);
  background: var(--ink-900); color: var(--text-100);
  border: 1px solid var(--line-strong); border-radius: 12px;
  padding: 12px 18px; font-size: 0.88rem; max-width: 88vw;
  box-shadow: var(--shadow-dark);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
@media (max-width: 640px) { #tt-toast { bottom: 96px; } }
#tt-toast.show { opacity: 1; transform: translate(-50%, 0); }