/* =========================================================
   ENGIMANDI — Autodesk-inspired visual system
   Palette: Autodesk Black / White / Hello Yellow + Slate
   Type: Inter (public stand-in for proprietary Artifakt Element)
   ========================================================= */

:root {
  --black: #000000;
  --white: #ffffff;
  --yellow: #ffff00;
  --yellow-soft: #ffff99;
  --warm-slate: #d5d5cb;
  --slate: #666666;
  --charcoal: #3c3c3c;
  --dawn: #f09d4f;
  --dusk: #f2520a;
  --twilight: #1d91d0;
  --morning: #2ad0a9;

  --navy-950: #000000;
  --navy-900: #0a0a0a;
  --navy-800: #141414;
  --navy-700: #1f1f1f;
  --primary: #000000;
  --primary-dark: #000000;
  --primary-soft: #f3f3ee;
  --highlight: #ffff00;
  --highlight-ink: #000000;
  --blue: #1d91d0;
  --blue-soft: #e8f5fb;
  --green: #25d366;
  --text: #3c3c3c;
  --heading: #000000;
  --muted: #666666;
  --bg: #ffffff;
  --bg-alt: #f5f5f0;
  --border: #d5d5cb;
  --radius: 4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08);
  --shadow: 0 8px 24px rgba(0, 0, 0, .1);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, .16);
  /* Artifakt Element is Autodesk-proprietary; Inter + Arial matches their documented fallback feel */
  --font: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Consolas", "Courier New", Courier, monospace;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--twilight); text-decoration: none; transition: color .2s, background .2s, border-color .2s; }
a:hover { color: var(--black); }
h1, h2, h3, h4, h5 {
  color: var(--heading);
  line-height: 1.2;
  margin: 0 0 .6em;
  font-weight: 600;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.5rem); font-weight: 500; letter-spacing: -.03em; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.35rem); font-weight: 500; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.2rem; }
button, input, select, textarea { font: inherit; }
::selection { background: var(--highlight); color: var(--highlight-ink); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--highlight); color: var(--highlight-ink); padding: 8px 14px; z-index: 2000; font-weight: 600; }
.skip-link:focus { left: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.4rem; border-radius: var(--radius); font-weight: 600; font-size: .95rem;
  border: 2px solid transparent; cursor: pointer; transition: all .2s ease; white-space: nowrap;
  letter-spacing: -.01em;
}
.btn-primary { background: var(--highlight); color: var(--highlight-ink); box-shadow: none; }
.btn-primary:hover { background: var(--yellow-soft); color: var(--highlight-ink); transform: none; }
.btn-outline { border-color: var(--black); color: var(--black); background: transparent; }
.btn-outline:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-light { border-color: rgba(255,255,255,.4); color: #fff; background: transparent; }
.btn-light:hover { background: var(--highlight); color: var(--highlight-ink); border-color: var(--highlight); }
.btn-whatsapp { background: var(--green); color: #fff; border-color: var(--green); }
.btn-whatsapp:hover { background: #1ebe5b; color: #fff; transform: none; }
.btn-sm { padding: .55rem 1rem; font-size: .88rem; }
.btn-block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar { background: var(--black); color: #b3b3b3; font-size: .82rem; font-weight: 500; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; flex-wrap: wrap; }
.topbar a { color: #e6e6e6; }
.topbar a:hover { color: var(--highlight); }
.topbar-left, .topbar-right { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; }
.topbar i { color: var(--highlight); margin-right: .35rem; }
.partner-pill { background: var(--highlight); color: var(--highlight-ink); padding: 3px 10px; border-radius: var(--radius); font-weight: 600; }

/* ---------- Header ---------- */
#site-header { min-height: calc(var(--header-h) + 38px); }
.site-header {
  position: sticky; top: 0; z-index: 1000; background: #fff;
  border-bottom: 1px solid var(--border); transition: box-shadow .3s; overflow: visible;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav { position: relative; display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; overflow: visible; }
.logo { display: flex; align-items: center; gap: .6rem; color: var(--heading); font-weight: 700; font-size: 1.35rem; letter-spacing: -.01em; }
.logo:hover { color: var(--heading); }
.logo-mark {
  width: 36px; height: 36px; border-radius: var(--radius); background: var(--highlight); color: var(--highlight-ink);
  display: grid; place-items: center; font-size: 1.05rem; font-weight: 700; box-shadow: none;
}
.logo span b { color: var(--black); }
.logo small { display: block; font-size: .6rem; font-weight: 500; color: var(--muted); letter-spacing: .06em; margin-top: -3px; text-transform: uppercase; }

.nav-menu { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav-menu > li { position: relative; }
.nav-menu > li > a, .nav-menu > li > button {
  display: flex; align-items: center; gap: .35rem; padding: .55rem .85rem; border-radius: var(--radius);
  color: var(--heading); font-weight: 500; font-size: .92rem; background: none; border: 0; cursor: pointer;
}
.nav-menu > li > a:hover, .nav-menu > li > button:hover,
.nav-menu > li > a.active, .nav-menu > li > button.active {
  color: var(--black); background: var(--primary-soft);
}
.nav-cta { margin-left: .5rem; }

/* Mega menu: must beat .nav-menu > li { position:relative } so panel spans full .nav width */
.nav-menu > li.has-mega { position: static; }
.mega {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  width: auto; max-width: none; transform: translateY(6px);
  background: #ffffff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .18); padding: 1.6rem 1.7rem;
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 1.6rem 2rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 1200; box-sizing: border-box; isolation: isolate;
}
.mega::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.nav-menu > li.has-mega:hover .mega,
.nav-menu > li.has-mega.open .mega {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
}
.mega > div {
  background: #fff; min-width: 0;
}
.mega h4 { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--slate); margin-bottom: .85rem; font-weight: 600; }
.mega ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .15rem .85rem; }
.mega a {
  display: flex; align-items: flex-start; gap: .55rem; padding: .45rem .55rem; border-radius: var(--radius);
  color: var(--text); font-size: .86rem; font-weight: 500; line-height: 1.35; background: transparent;
}
.mega a i { width: 18px; flex: 0 0 18px; margin-top: .15rem; color: var(--black); text-align: center; font-size: .85rem; }
.mega a:hover { background: var(--highlight); color: var(--highlight-ink); }
.mega-foot {
  grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  background: var(--bg-alt); border-radius: var(--radius); padding: .9rem 1.15rem; font-size: .9rem;
}

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: var(--radius); border: 1px solid var(--border); background: #fff; cursor: pointer; font-size: 1.15rem; color: var(--heading); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; color: #c9c9c9;
  background: var(--black);
  padding: 88px 0 104px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(to bottom, #000 25%, transparent);
}
.hero .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3.5rem; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--highlight); background: none; -webkit-background-clip: unset; background-clip: unset; }
.hero .lead { font-size: 1.12rem; color: #b3b3b3; max-width: 620px; font-weight: 400; }
.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; margin: 1.8rem 0 2.2rem; }
.hero-badges { display: flex; gap: .7rem; flex-wrap: wrap; }
.hero-badges span {
  display: inline-flex; align-items: center; gap: .45rem; font-size: .82rem; padding: .4rem .8rem;
  border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: #e6e6e6; font-weight: 500;
}
.hero-badges i { color: var(--highlight); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; font-size: .75rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--highlight); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 0; }
.section .eyebrow, .section-alt .eyebrow, .prose .eyebrow { color: var(--black); }

.code-window { background: #111; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.code-window-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.08); font-size: .78rem; color: #8a8a8a; }
.code-window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #666; display: inline-block; }
.code-window-bar i:nth-child(2) { background: #888; }
.code-window-bar i:nth-child(3) { background: #aaa; margin-right: 10px; }
.code-window pre { margin: 0; padding: 1.3rem 1.4rem; font-family: var(--mono); font-size: .82rem; line-height: 1.75; color: #d6d6d6; overflow-x: auto; }
.tk-k { color: #ffff66; } .tk-t { color: #7ec8e8; } .tk-s { color: #8fd9b8; } .tk-c { color: #777; } .tk-f { color: #f0c070; }
.float-card { position: absolute; background: #fff; color: var(--heading); border-radius: var(--radius); padding: .75rem 1rem; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: .7rem; font-size: .84rem; font-weight: 600; border: 1px solid var(--border); }
.float-card i { width: 34px; height: 34px; border-radius: var(--radius); display: grid; place-items: center; background: var(--highlight); color: var(--highlight-ink); }
.float-card small { display: block; color: var(--muted); font-weight: 500; }
.hero-visual { position: relative; }
.hero-visual .fc-1 { left: -30px; bottom: -26px; }
.hero-visual .fc-2 { right: -18px; top: -24px; }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #c9c9c9; padding: 68px 0 76px;
  background: var(--black);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .3;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: linear-gradient(to bottom, #000, transparent);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; max-width: 900px; }
.page-hero .lead { font-size: 1.1rem; max-width: 780px; color: #b3b3b3; }
.page-hero .hero-actions { margin: 1.6rem 0 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .86rem; margin-bottom: 1.3rem; color: #8a8a8a; }
.breadcrumb a { color: #e6e6e6; }
.breadcrumb a:hover { color: var(--highlight); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--black); color: #b3b3b3; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto 3rem; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-dark .section-head p { color: #a3a3a3; }

.grid { display: grid; gap: 1.25rem; }
.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: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.7rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s; position: relative;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--black); }
.card .icon {
  width: 48px; height: 48px; border-radius: var(--radius); display: grid; place-items: center; font-size: 1.25rem;
  background: var(--black); color: var(--highlight); margin-bottom: 1.1rem; transition: all .25s;
}
.card:hover .icon { background: var(--highlight); color: var(--highlight-ink); }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .95rem; margin-bottom: 0; }
.card-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; font-weight: 600; font-size: .9rem; color: var(--black); }
.card-link i { transition: transform .2s; }
.card:hover .card-link i { transform: translateX(4px); }
a.card { color: inherit; display: block; }
.section-dark .card { background: #141414; border-color: #2a2a2a; }
.section-dark .card:hover { border-color: var(--highlight); }
.section-dark .card p { color: #a3a3a3; }
.section-dark .card .icon { background: #222; color: var(--highlight); }

.service-card { display: flex; flex-direction: column; }
.service-card p { flex: 1; }

/* Split layout */
.split { display: grid; grid-template-columns: 1.55fr 1fr; gap: 3.5rem; align-items: start; }
.split-even { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.prose p { color: var(--charcoal); }
.prose h2 { margin-top: .2rem; }
.prose h3 { margin-top: 1.8rem; }

.checklist { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: .7rem; }
.checklist.cols-2 { grid-template-columns: 1fr 1fr; }
.checklist li { position: relative; padding-left: 2rem; color: var(--charcoal); }
.checklist li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: .15rem;
  width: 22px; height: 22px; border-radius: 50%; background: var(--highlight); color: var(--highlight-ink);
  font-size: .7rem; display: grid; place-items: center;
}

.aside-box {
  position: sticky; top: calc(var(--header-h) + 20px); background: var(--black); color: #b3b3b3;
  border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-lg); overflow: hidden;
}
.aside-box::after {
  content: ""; position: absolute; width: 220px; height: 220px; right: -80px; top: -80px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,0,.25), transparent 70%);
}
.aside-box h3 { color: #fff; font-size: 1.3rem; position: relative; font-weight: 500; }
.aside-box p { font-size: .95rem; position: relative; }
.aside-box ul { list-style: none; padding: 0; margin: 1.2rem 0 1.5rem; display: grid; gap: .8rem; position: relative; }
.aside-box li { display: flex; gap: .7rem; align-items: flex-start; font-size: .93rem; }
.aside-box li i { color: var(--highlight); margin-top: .3rem; width: 16px; }
.aside-box a { color: #fff; }
.aside-box .btn { position: relative; margin-top: .5rem; }

.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chips span { background: #fff; border: 1px solid var(--border); padding: .4rem .9rem; border-radius: var(--radius); font-size: .88rem; font-weight: 500; color: var(--heading); }
.section-alt .chips span { background: #fff; }
.chips.center { justify-content: center; }
.split-even.top { align-items: start; }
.related-title { text-align: center; font-size: 1.45rem; margin-bottom: 1.6rem; font-weight: 500; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.1rem; counter-reset: step; }
.steps.steps-4 { grid-template-columns: repeat(4, 1fr); }
.step { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem 1.2rem; counter-increment: step; }
.step::before { content: counter(step, decimal-leading-zero); display: block; font-size: 1.8rem; font-weight: 500; color: var(--black); opacity: .9; margin-bottom: .5rem; line-height: 1; }
.step h3 { font-size: 1.02rem; }
.step p { font-size: .9rem; color: var(--muted); margin: 0; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat { text-align: center; padding: 1.5rem; }
.stat strong { display: block; font-size: 2.5rem; font-weight: 500; color: var(--highlight); line-height: 1.1; }
.stat span { color: #a3a3a3; font-weight: 500; }

/* Partner band */
.partner-band { background: var(--navy-800); border-radius: var(--radius-lg); padding: 2.4rem; display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; color: #c9c9c9; border: 1px solid #2a2a2a; }
.partner-band h2, .partner-band h3 { color: #fff; margin-bottom: .4rem; font-weight: 500; }
.partner-band p { margin: 0; }
.partner-seal { width: 92px; height: 92px; border-radius: 50%; background: var(--highlight); display: grid; place-items: center; }
.partner-seal span { width: 78px; height: 78px; border-radius: 50%; background: var(--black); display: grid; place-items: center; color: var(--highlight); font-size: 1.9rem; }

/* Industries / logo strip */
.tag-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.tag-item { display: flex; align-items: center; gap: .8rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.2rem; font-weight: 500; color: var(--heading); }
.tag-item i { color: var(--black); font-size: 1.1rem; width: 22px; text-align: center; }

/* FAQ */
.faq { display: grid; gap: .75rem; max-width: 900px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 0 1.3rem; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: var(--black); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2rem 1.1rem 0; font-weight: 600; color: var(--heading); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "\2b"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--black); transition: transform .2s; }
.faq details[open] summary::after { content: "\f068"; }
.faq details p { color: var(--muted); padding-bottom: 1.15rem; margin: 0; }
.faq-group { margin-bottom: 3rem; }
.faq-group h2 { font-size: 1.4rem; max-width: 900px; margin: 0 auto 1.2rem; display: flex; align-items: center; gap: .7rem; font-weight: 500; }
.faq-group h2 i { color: var(--black); }

/* CTA band */
.cta-band { padding: 68px 0 80px; }
.section + .cta-band { padding-top: 0; }
.section-alt + .cta-band, .section-dark + .cta-band { padding-top: 68px; }
.cta-inner {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 3rem;
  background: var(--highlight); color: var(--highlight-ink);
  display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap;
}
.cta-inner::after { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; right: -120px; top: -140px; background: rgba(0,0,0,.06); }
.cta-inner h2 { color: var(--highlight-ink); margin-bottom: .4rem; font-size: clamp(1.45rem, 2.5vw, 2rem); font-weight: 500; }
.cta-inner p { margin: 0; color: #222; max-width: 620px; }
.cta-inner .btn-group { display: flex; gap: .8rem; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-inner .btn-dark { background: var(--black); color: #fff; border-color: var(--black); }
.cta-inner .btn-dark:hover { background: #222; color: #fff; }
.cta-inner .btn-white { background: #fff; color: var(--black); border-color: #fff; }
.cta-inner .btn-white:hover { background: var(--black); color: var(--highlight); border-color: var(--black); }

/* Related links */
.related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.related a {
  display: flex; align-items: center; justify-content: space-between; gap: .8rem; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.15rem; color: var(--heading);
  font-weight: 500; font-size: .92rem; transition: all .2s;
}
.related a:hover { border-color: var(--black); color: var(--black); background: var(--highlight); transform: none; }
.related a i { color: var(--black); }

/* ---------- Blog ---------- */
.post-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: all .25s; color: inherit; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; border-color: var(--black); }
.post-thumb { height: 180px; display: grid; place-items: center; font-size: 2.8rem; color: #fff; position: relative; }
.post-thumb.t-1 { background: linear-gradient(135deg, #000, #333); }
.post-thumb.t-2 { background: linear-gradient(135deg, #111, #ffff00); color: #000; }
.post-thumb.t-3 { background: linear-gradient(135deg, #000, #1d91d0); }
.post-thumb.t-4 { background: linear-gradient(135deg, #1a1a1a, #f2520a); }
.post-thumb .cat { position: absolute; left: 1rem; top: 1rem; background: var(--highlight); color: var(--highlight-ink); font-size: .72rem; font-weight: 600; padding: .28rem .7rem; border-radius: var(--radius); letter-spacing: .04em; text-transform: uppercase; }
.post-body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.post-body h3 { font-size: 1.1rem; }
.post-body p { color: var(--muted); font-size: .93rem; flex: 1; }
.post-meta { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .8rem; color: var(--muted); margin-bottom: .55rem; }
.post-meta i { color: var(--black); margin-right: .3rem; }
.blog-group + .blog-group { margin-top: 3.5rem; }
.blog-group-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem; padding-bottom: .9rem; border-bottom: 1px solid var(--border); }
.blog-group-head h2 { font-size: 1.35rem; margin: 0; font-weight: 500; }
.blog-group-head p { color: var(--muted); margin: .3rem 0 0; font-size: .93rem; }
.blog-group-head .count { font-size: .78rem; font-weight: 600; color: var(--highlight-ink); background: var(--highlight); padding: .28rem .7rem; border-radius: var(--radius); white-space: nowrap; }
.post-mini { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.05rem 1.15rem; color: inherit; transition: all .2s; min-width: 0; }
.post-mini:hover { transform: none; box-shadow: var(--shadow-sm); border-color: var(--black); color: inherit; background: #fafaf7; }
.post-mini .ico { flex: 0 0 42px; height: 42px; border-radius: var(--radius); display: grid; place-items: center; color: #fff; font-size: 1rem; }
.post-mini .ico.t-1 { background: #000; color: var(--highlight); }
.post-mini .ico.t-2 { background: var(--highlight); color: #000; }
.post-mini .ico.t-3 { background: #1d91d0; }
.post-mini .ico.t-4 { background: #f2520a; }
.post-mini h3 { font-size: .95rem; line-height: 1.4; margin: 0 0 .35rem; }
.post-mini .post-meta { margin: 0; font-size: .76rem; gap: .8rem; }
.page-hero .post-meta { color: #a3a3a3; font-size: .88rem; margin-top: 1rem; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3.5rem; align-items: start; }
.article { font-size: 1.05rem; }
.article h2 { font-size: 1.55rem; margin-top: 2.4rem; scroll-margin-top: 110px; font-weight: 500; }
.article h3 { font-size: 1.2rem; margin-top: 1.8rem; }
.article p, .article li { color: var(--charcoal); }
.article ul, .article ol { margin-bottom: 1.3rem; }
.article li { margin-bottom: .45rem; }
.article blockquote {
  margin: 1.8rem 0; padding: 1.15rem 1.4rem; border-left: 4px solid var(--black);
  background: var(--bg-alt); border-radius: 0 var(--radius) var(--radius) 0; color: var(--heading); font-weight: 500;
}
.article pre { background: var(--black); color: #d6d6d6; padding: 1.15rem 1.3rem; border-radius: var(--radius); overflow-x: auto; font-family: var(--mono); font-size: .86rem; line-height: 1.7; }
.article code { font-family: var(--mono); font-size: .9em; background: var(--bg-alt); padding: .1rem .35rem; border-radius: 3px; color: #b45309; }
.article pre code { background: none; padding: 0; color: inherit; }
.article table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .94rem; }
.article th, .article td { border: 1px solid var(--border); padding: .7rem 1rem; text-align: left; vertical-align: top; }
.article th { background: var(--bg-alt); color: var(--heading); font-weight: 600; }
.table-wrap { overflow-x: auto; }
.sidebar { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 1.5rem; }
.sidebar .aside-box { position: relative; top: auto; }
.widget { background: var(--bg-alt); border-radius: var(--radius-lg); padding: 1.4rem; }
.widget h4 { font-size: .95rem; margin-bottom: .85rem; font-weight: 600; }
.widget ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.widget li a { color: var(--text); font-size: .9rem; font-weight: 500; display: flex; gap: .5rem; }
.widget li a::before { content: "\f105"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--black); }
.widget li a:hover { color: var(--black); }
.widget.dark { background: var(--black); color: #b3b3b3; }
.widget.dark h4 { color: #fff; }
.author-box { display: flex; gap: 1.2rem; align-items: center; background: var(--bg-alt); border-radius: var(--radius-lg); padding: 1.4rem; margin-top: 3rem; }
.author-box .avatar { flex: 0 0 60px; height: 60px; border-radius: 50%; background: var(--highlight); display: grid; place-items: center; color: var(--highlight-ink); font-weight: 700; font-size: 1.2rem; }
.author-box p { margin: 0; font-size: .92rem; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; align-items: start; }
.contact-cards { display: grid; gap: 1rem; }
.contact-card { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.3rem; }
.contact-card .icon { flex: 0 0 48px; height: 48px; border-radius: var(--radius); display: grid; place-items: center; background: var(--highlight); color: var(--highlight-ink); font-size: 1.15rem; }
.contact-card h3 { font-size: 1rem; margin-bottom: .2rem; }
.contact-card p { margin: 0; color: var(--muted); font-size: .93rem; }
.contact-card a { color: var(--heading); font-weight: 600; }
.contact-card a:hover { color: var(--twilight); }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.1rem; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-weight: 600; font-size: .88rem; color: var(--heading); margin-bottom: .4rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: .8rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-alt);
  color: var(--text); transition: border-color .2s, box-shadow .2s, background .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--black); background: #fff; box-shadow: 0 0 0 3px rgba(255,255,0,.45);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.form-note { font-size: .84rem; color: var(--muted); margin-top: 1rem; }
.form-status { display: none; margin-top: 1rem; padding: .8rem 1rem; border-radius: var(--radius); font-size: .9rem; }
.form-status.show { display: block; }
.form-status.ok { background: #e8f9ef; color: #146c3a; }
.form-status.err { background: #fdecec; color: #a12020; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); height: 420px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Values / team ---------- */
.value-num { font-size: .82rem; font-weight: 700; color: var(--black); letter-spacing: .1em; }
.timeline { position: relative; display: grid; gap: 1.4rem; padding-left: 2rem; border-left: 2px dashed var(--border); }
.timeline div { position: relative; }
.timeline div::before { content: ""; position: absolute; left: calc(-2rem - 7px); top: .45rem; width: 12px; height: 12px; border-radius: 50%; background: var(--black); box-shadow: 0 0 0 4px var(--highlight); }
.timeline h3 { font-size: 1.02rem; margin-bottom: .2rem; }
.timeline p { color: var(--muted); margin: 0; font-size: .93rem; }
.visual-panel { background: var(--black); border-radius: var(--radius-lg); padding: 2.1rem; color: #c9c9c9; box-shadow: var(--shadow-lg); }
.visual-panel h3 { color: #fff; font-weight: 500; }
.visual-panel .mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.4rem; }
.visual-panel .mini-stats div { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 1.05rem; }
.visual-panel .mini-stats strong { display: block; color: var(--highlight); font-size: 1.6rem; line-height: 1.2; font-weight: 500; }
.visual-panel .mini-stats span { font-size: .86rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #8a8a8a; padding-top: 72px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.4rem; padding-bottom: 48px; }
.site-footer h4 { color: #fff; font-size: .92rem; margin-bottom: 1.1rem; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer a { color: #b3b3b3; }
.site-footer a:hover { color: var(--highlight); }
.site-footer .logo { color: #fff; margin-bottom: 1rem; }
.site-footer .logo small { color: #777; }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer-contact i { color: var(--highlight); margin-top: .35rem; width: 16px; }
.social { display: flex; gap: .55rem; margin-top: 1.2rem; }
.social a { width: 38px; height: 38px; border-radius: var(--radius); display: grid; place-items: center; background: rgba(255,255,255,.08); color: #e6e6e6; }
.social a:hover { background: var(--highlight); color: var(--highlight-ink); }
.footer-partner { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; padding: .4rem .85rem; border-radius: var(--radius); border: 1px solid rgba(255,255,0,.45); color: var(--highlight); font-weight: 600; font-size: .82rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.3rem 0; font-size: .82rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ---------- Floating actions ---------- */
.float-actions { position: fixed; right: 20px; bottom: 22px; z-index: 1100; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.fab {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.4rem;
  box-shadow: 0 10px 25px rgba(0,0,0,.22); border: 0; cursor: pointer; position: relative; transition: transform .2s;
}
.fab:hover { transform: scale(1.06); color: #fff; }
.fab-whatsapp { background: var(--green); }
.fab-whatsapp::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green); z-index: -1; animation: pulse 2s infinite; }
.fab-call { background: var(--twilight); font-size: 1.15rem; }
.fab-scroll { background: var(--black); font-size: 1.05rem; border: 1px solid #333; }
.fab .fab-label {
  position: absolute; right: 64px; white-space: nowrap; background: var(--black); color: #fff; font-size: .78rem; font-weight: 600;
  padding: .35rem .7rem; border-radius: var(--radius); opacity: 0; transform: translateX(8px); transition: all .2s; pointer-events: none;
}
.fab:hover .fab-label { opacity: 1; transform: translateX(0); }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .fab-whatsapp::before { animation: none; }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.muted { color: var(--muted); }
.highlight-box { background: var(--highlight); border: 1px solid #e6e600; border-radius: var(--radius-lg); padding: 1.5rem; color: var(--highlight-ink); }
.highlight-box h3 { color: var(--highlight-ink); }
.highlight-box p { color: #222; }
.tabs-filter { display: flex; flex-wrap: wrap; gap: .55rem; justify-content: center; margin-bottom: 2.3rem; }
.tabs-filter button { border: 1px solid var(--border); background: #fff; padding: .5rem 1.1rem; border-radius: var(--radius); font-weight: 600; cursor: pointer; color: var(--heading); }
.tabs-filter button.active, .tabs-filter button:hover { background: var(--black); border-color: var(--black); color: var(--highlight); }
.error-page { text-align: center; padding: 120px 0; }
.error-page .code {
  font-size: clamp(5rem, 16vw, 10rem); font-weight: 500; line-height: 1;
  background: linear-gradient(90deg, var(--black), #666); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .grid-4, .tag-grid, .related { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; }
}

@media (max-width: 991px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: grid; place-items: center; }
  /* Header must sit above .nav-overlay, or the dim layer blocks all menu taps */
  .site-header {
    backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff;
    z-index: 1200; overflow: visible;
  }
  .nav-menu {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(360px, 88vw); background: #fff; flex-direction: column;
    align-items: stretch; padding: 90px 1.2rem 2rem; gap: .2rem; overflow-y: auto; box-shadow: var(--shadow-lg);
    clip-path: inset(0 0 0 100%); visibility: hidden; pointer-events: none;
    transition: clip-path .35s ease, visibility 0s linear .35s; z-index: 1202;
  }
  .nav-menu.open {
    clip-path: inset(0 0 0 -60px); visibility: visible; pointer-events: auto;
    transition: clip-path .35s ease;
  }
  .nav-menu > li { position: relative; z-index: 1; }
  .nav-menu > li > a, .nav-menu > li > button {
    width: 100%; justify-content: space-between; padding: .85rem 1rem;
    position: relative; z-index: 2; pointer-events: auto; -webkit-tap-highlight-color: rgba(0,0,0,.08);
  }
  /* Get a Quote — label-sized black button, white text (mobile only) */
  .nav-menu > li.nav-cta {
    margin: 1.8rem 0 0; padding: 0; display: flex; justify-content: center; align-items: center;
    width: 100%; list-style: none;
  }
  .nav-menu > li.nav-cta > a.btn.btn-primary {
    display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
    width: auto; min-width: 0; max-width: none; margin: 0 auto;
    padding: .7rem 1.25rem; font-size: .95rem; font-weight: 600; letter-spacing: -.01em;
    line-height: 1.2; background: #000; color: #fff; border: 2px solid #000;
    border-radius: var(--radius); box-shadow: none; text-align: center;
    pointer-events: auto; white-space: nowrap;
  }
  .nav-menu > li.nav-cta > a.btn.btn-primary:hover,
  .nav-menu > li.nav-cta > a.btn.btn-primary:active,
  .nav-menu > li.nav-cta > a.btn.btn-primary.active {
    background: #222; color: #fff; border-color: #222;
  }
  .nav-menu > li.has-mega { position: relative; }
  .mega {
    position: static; transform: none; width: 100%; left: auto; right: auto;
    box-shadow: none; border: 0; padding: .3rem 0 .8rem .6rem; display: none;
    opacity: 1; visibility: visible; pointer-events: auto; grid-template-columns: 1fr; gap: 1rem;
    z-index: auto;
  }
  .nav-menu > li.has-mega:hover .mega { transform: none; }
  .nav-menu > li.has-mega.open .mega { display: grid; transform: none; }
  .mega ul { grid-template-columns: 1fr; }
  .mega a { pointer-events: auto; }
  .mega-foot { display: none; }
  .nav-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.55);
    z-index: 1190; opacity: 0; visibility: hidden; pointer-events: none; transition: all .3s;
  }
  .nav-overlay.show { opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-toggle { position: relative; z-index: 1203; }
  /* Close (X) pinned to top-right corner while drawer is open */
  body.nav-open .nav-toggle {
    position: fixed; top: 14px; right: 14px; z-index: 1210;
    width: 46px; height: 46px; border-radius: var(--radius);
    background: #fff; border: 1px solid var(--border);
    box-shadow: 0 4px 16px rgba(0,0,0,.12); font-size: 1.25rem;
  }
  .float-actions { z-index: 1100; }
  body.nav-open .float-actions { visibility: hidden; pointer-events: none; }
  .hero-grid, .split, .split-even, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
  .aside-box { position: relative; top: auto; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .partner-band { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .topbar-right .hide-sm { display: none; }
}

@media (max-width: 680px) {
  .section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4, .tag-grid, .related, .steps, .steps.steps-4, .form-row, .checklist.cols-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-left .hide-xs { display: none; }
  .topbar .container { justify-content: center; }
  .topbar-right { display: none; }
  .hero { padding: 56px 0 72px; }
  .hero-visual .float-card { display: none; }
  .cta-inner { padding: 2rem 1.4rem; }
  .form-card { padding: 1.4rem; }
  .float-actions { right: 14px; bottom: 16px; }
  .fab { width: 48px; height: 48px; }
  .fab .fab-label { display: none; }
}
