/* ==========================================================================
   LSI Desenvolvimento de Sistemas — folha de estilos compartilhada
   Usada por todas as páginas do site (evita duplicação de CSS)
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0a0d14;
  --bg2:       #0e1220;
  --bg3:       #111827;
  --blue:      #1d6eea;
  --blue-lt:   #3b87f7;
  --blue-glow: #1d6eea44;
  --text:      #e8edf5;
  --muted:     #7f8ea3;
  --border:    #1e2d45;
  --green:     #4ade80;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
button { font-family: inherit; }

.container { max-width: 1180px; margin: 0 auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--blue); color: #fff;
  padding: .75rem 1.25rem; z-index: 999; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- NAV ---------- */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 70px;
  background: rgba(10,13,20,.88); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo svg { width: 34px; height: 29px; }
.nav-logo-text { font-size: 1.3rem; font-weight: 800; color: #fff; letter-spacing: -.5px; line-height: 1; }
.nav-logo-text span { color: var(--blue-lt); }
.nav-logo-sub { font-size: .58rem; color: var(--muted); letter-spacing: .12em; display: block; margin-top: 2px; }

.nav-links { display: flex; align-items: center; gap: 1.9rem; }
.nav-links > li { position: relative; }
.nav-links a.nav-link {
  color: var(--muted); text-decoration: none; font-size: .88rem; font-weight: 500;
  transition: color .2s; display: inline-flex; align-items: center; gap: 4px;
}
.nav-links a.nav-link:hover, .nav-links a.nav-link.active { color: var(--text); }
.nav-links a.nav-link.active { color: var(--blue-lt); }

.nav-dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: .6rem; min-width: 260px; box-shadow: 0 12px 30px rgba(0,0,0,.4);
  opacity: 0; visibility: hidden; translate: 0 6px; transition: opacity .18s, translate .18s;
}
.nav-links > li:hover .nav-dropdown,
.nav-links > li:focus-within .nav-dropdown { opacity: 1; visibility: visible; translate: 0 0; }
.nav-dropdown a {
  display: block; padding: .55rem .75rem; border-radius: 8px; font-size: .85rem;
  color: var(--muted); text-decoration: none; transition: background .15s, color .15s;
}
.nav-dropdown a:hover { background: var(--bg2); color: var(--text); }

.nav-cta {
  background: var(--blue); color: #fff; border: none; padding: .55rem 1.3rem;
  border-radius: var(--radius-sm); font-size: .875rem; font-weight: 600; cursor: pointer;
  text-decoration: none; transition: background .2s, box-shadow .2s; white-space: nowrap;
}
.nav-cta:hover { background: var(--blue-lt); box-shadow: 0 0 20px var(--blue-glow); }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none;
  padding: 8px;
}
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; }

/* ---------- BREADCRUMB ---------- */
.breadcrumb {
  font-size: .8rem; color: var(--muted); margin-bottom: 1.25rem;
}
.breadcrumb a { color: var(--blue-lt); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 .5rem; }

/* ---------- HERO ---------- */
#hero, .page-hero {
  min-height: 92vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 130px 5% 80px; position: relative; overflow: hidden;
}
.page-hero { min-height: auto; padding: 150px 5% 70px; border-bottom: 1px solid var(--border); }
.page-hero .breadcrumb, .page-hero h1, .page-hero p { max-width: 700px; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, #1a3a6e33 0%, transparent 70%),
              radial-gradient(ellipse 40% 40% at 80% 80%, #1d6eea18 0%, transparent 60%);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 75%);
  opacity: .35;
}
.hero-content { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #1d2f4a; border: 1px solid var(--border);
  padding: .35rem 1rem; border-radius: 99px;
  font-size: .78rem; font-weight: 600; color: var(--blue-lt);
  margin-bottom: 1.5rem; letter-spacing: .05em; text-transform: uppercase;
}
.hero-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-lt); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(1.3)} }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); font-weight: 800; line-height: 1.12; letter-spacing: -1px; margin-bottom: 1.25rem; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
h1 .accent, .accent { color: var(--blue-lt); }
.hero-sub, .page-hero p { font-size: 1.08rem; color: var(--muted); max-width: 600px; margin: 0 auto 2.3rem; line-height: 1.7; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--blue); color: #fff; padding: .8rem 2rem;
  border-radius: 10px; font-weight: 700; font-size: 1rem;
  text-decoration: none; transition: all .2s; box-shadow: 0 4px 20px var(--blue-glow);
  display: inline-block; border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--blue-lt); transform: translateY(-2px); box-shadow: 0 8px 30px var(--blue-glow); }
.btn-ghost {
  background: transparent; color: var(--text); padding: .8rem 2rem;
  border-radius: 10px; font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 1px solid var(--border); transition: all .2s;
  display: inline-block;
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-lt); }
.stats-row {
  display: flex; gap: 2rem; flex-wrap: wrap;
  border-top: 1px solid var(--border); margin-top: 4rem; padding-top: 3rem;
  justify-content: center;
}
.stat { text-align: center; flex: 1; min-width: 120px; }
.stat-num { font-size: 2.1rem; font-weight: 800; color: var(--blue-lt); }
.stat-label { font-size: .8rem; color: var(--muted); margin-top: .25rem; }

/* ---------- SECTIONS ---------- */
section { padding: 100px 5%; }
.section-label { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-lt); margin-bottom: .75rem; }
.section-title { font-size: clamp(1.7rem, 2.8vw, 2.5rem); font-weight: 800; letter-spacing: -.5px; line-height: 1.2; }
.section-sub { color: var(--muted); font-size: 1rem; margin-top: .75rem; max-width: 560px; line-height: 1.7; }
.section-header { margin-bottom: 3.2rem; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin-left: auto; margin-right: auto; }
.bg-alt { background: var(--bg2); }

/* ---------- SERVICE CARDS (hub) ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.service-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 16px; padding: 2rem;
  transition: border-color .25s, box-shadow .25s, transform .25s;
  display: block; text-decoration: none;
}
.service-card:hover { border-color: var(--blue); box-shadow: 0 0 30px var(--blue-glow); transform: translateY(-4px); }
.service-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, #1d4080, #0d2048);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem;
}
.service-icon svg { width: 26px; height: 26px; color: var(--blue-lt); }
.service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .6rem; color: var(--text); }
.service-card p { color: var(--muted); font-size: .9rem; line-height: 1.65; }
.card-link {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: 1rem; font-size: .82rem; font-weight: 600;
  color: var(--blue-lt); text-decoration: none;
}

/* ---------- WHY ---------- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.why-item {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 14px; padding: 1.5rem 1.75rem;
  display: flex; gap: 1rem; align-items: flex-start; transition: border-color .2s;
}
.bg-alt .why-item { background: var(--bg); }
.why-item:hover { border-color: var(--blue); }
.why-check {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px;
  background: var(--blue-glow); border: 1px solid var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.why-check svg { width: 14px; height: 14px; color: var(--blue-lt); }
.why-item h4 { font-size: .95rem; font-weight: 700; margin-bottom: .35rem; }
.why-item p { font-size: .83rem; color: var(--muted); line-height: 1.6; }

/* ---------- CASES ---------- */
.cases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.case-card {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 16px; padding: 2rem; position: relative; overflow: hidden;
  transition: border-color .25s, transform .25s;
}
.case-card:hover { border-color: var(--blue); transform: translateY(-4px); }
.case-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-lt));
}
.case-sector {
  display: inline-block; background: var(--blue-glow); border: 1px solid var(--blue);
  color: var(--blue-lt); font-size: .7rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: .25rem .7rem; border-radius: 99px;
  margin-bottom: 1rem;
}
.case-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .75rem; line-height: 1.4; }
.case-card p { color: var(--muted); font-size: .875rem; line-height: 1.65; margin-bottom: 1.25rem; }
.case-result {
  display: flex; align-items: center; gap: .6rem;
  background: #0a1a10; border: 1px solid #1a3a25;
  border-radius: 10px; padding: .75rem 1rem;
}
.case-result-icon { font-size: 1.2rem; }
.case-result-text { font-size: .82rem; }
.case-result-text strong { color: var(--green); display: block; font-size: 1rem; }
.case-quote {
  margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed var(--border);
  font-size: .82rem; color: var(--muted); font-style: italic;
}

/* ---------- PROCESS ---------- */
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; counter-reset: step; }
.process-step {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 16px; padding: 1.75rem; position: relative;
  counter-increment: step; transition: border-color .2s;
}
.bg-alt .process-step { background: var(--bg); }
.process-step:hover { border-color: var(--blue); }
.process-step::before {
  content: "0" counter(step); position: absolute; top: 1.5rem; right: 1.5rem;
  font-size: .7rem; font-weight: 800; color: var(--blue-lt); opacity: .6; letter-spacing: .08em;
}
.step-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, #1d4080, #0d2048);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
}
.step-icon svg { width: 22px; height: 22px; color: var(--blue-lt); }
.process-step h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.process-step p { font-size: .83rem; color: var(--muted); line-height: 1.6; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 780px; }
.faq-wrap.center { margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border); border-radius: 14px;
  margin-bottom: .75rem; overflow: hidden; transition: border-color .2s;
}
.faq-item.open { border-color: var(--blue); }
.faq-question {
  width: 100%; background: var(--bg3); border: none; color: var(--text);
  padding: 1.25rem 1.5rem; text-align: left; font-size: .95rem; font-weight: 600;
  font-family: inherit; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; transition: background .2s;
}
.faq-question:hover { background: #161e2e; }
.faq-icon {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 6px;
  background: var(--blue-glow); border: 1px solid var(--blue);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s; font-size: .85rem; color: var(--blue-lt);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease;
  background: var(--bg3); color: var(--muted); font-size: .9rem; line-height: 1.7;
  padding: 0 1.5rem;
}
.faq-item.open .faq-answer { max-height: 400px; padding: 0 1.5rem 1.25rem; }

/* ---------- CONTACT FORM ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; }
.contact-info h1, .contact-info h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 1rem; }
.contact-info p { color: var(--muted); font-size: .95rem; line-height: 1.7; margin-bottom: 2rem; }
.contact-item {
  display: flex; align-items: center; gap: .9rem;
  margin-bottom: 1.1rem; color: var(--text); text-decoration: none; font-size: .9rem;
}
.contact-item svg { width: 20px; height: 20px; color: var(--blue-lt); flex-shrink: 0; }
.contact-item:hover { color: var(--blue-lt); }
.contact-form { background: var(--bg2); border: 1px solid var(--border); border-radius: 20px; padding: 2.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; margin-bottom: 1rem; }
.form-group label { font-size: .78rem; font-weight: 600; color: var(--muted); margin-bottom: .4rem; letter-spacing: .04em; text-transform: uppercase; }
.form-group input, .form-group textarea, .form-group select {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 10px; padding: .75rem 1rem;
  color: var(--text); font-size: .9rem; font-family: inherit;
  transition: border-color .2s, box-shadow .2s; outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-glow); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-hint { font-size: .74rem; color: var(--muted); margin-top: .3rem; }
.form-submit {
  width: 100%; background: var(--blue); color: #fff; border: none;
  border-radius: 10px; padding: .85rem; font-size: 1rem; font-weight: 700;
  cursor: pointer; transition: background .2s, box-shadow .2s; font-family: inherit;
}
.form-submit:hover { background: var(--blue-lt); box-shadow: 0 4px 20px var(--blue-glow); }
.form-submit:disabled { opacity: .6; cursor: not-allowed; }
.form-status { margin-top: 1rem; font-size: .85rem; padding: .75rem 1rem; border-radius: 10px; display: none; }
.form-status.success { display: block; background: #0a1a10; border: 1px solid #1a3a25; color: var(--green); }
.form-status.error { display: block; background: #2a1010; border: 1px solid #4a1a1a; color: #f87171; }
.form-status.loading { display: block; background: var(--bg3); border: 1px solid var(--border); color: var(--muted); }
/* honeypot */
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- CTA BANNER ---------- */
.cta-banner {
  background: linear-gradient(135deg, #0f2a5a, #0a1a3a);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 80px 5%; text-align: center;
}
.cta-banner h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 1rem; }
.cta-banner p { color: var(--muted); font-size: 1rem; max-width: 500px; margin: 0 auto 2rem; line-height: 1.7; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- SERVICE DETAIL BLOCKS ---------- */
.service-tabs {
  position: sticky; top: 70px; z-index: 50;
  background: rgba(10,13,20,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex; gap: 0; overflow-x: auto; padding: 0 5%;
  scrollbar-width: none;
}
.service-tabs::-webkit-scrollbar { display: none; }
.tab-btn {
  background: none; border: none; color: var(--muted); cursor: pointer;
  font-size: .85rem; font-weight: 600; font-family: inherit;
  padding: 1rem 1.25rem; white-space: nowrap; text-decoration: none;
  border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
  display: inline-block;
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--blue-lt); border-bottom-color: var(--blue-lt); }

.block-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
  max-width: 1100px; margin: 0 auto;
}
.block-inner.reverse { direction: rtl; }
.block-inner.reverse > * { direction: ltr; }
.block-label { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-lt); margin-bottom: .6rem; }
.block-title { font-size: clamp(1.6rem, 2.5vw, 2.2rem); font-weight: 800; letter-spacing: -.3px; line-height: 1.2; margin-bottom: 1rem; }
.block-desc { color: var(--muted); font-size: .95rem; line-height: 1.75; margin-bottom: 1.5rem; }
.block-features { list-style: none; margin-bottom: 2rem; display: flex; flex-direction: column; gap: .6rem; }
.block-features li { display: flex; align-items: flex-start; gap: .7rem; font-size: .9rem; }
.block-features li::before {
  content: ''; flex-shrink: 0; width: 18px; height: 18px; border-radius: 5px;
  background: var(--blue-glow); border: 1px solid var(--blue);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b87f7' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px; background-position: center; background-repeat: no-repeat;
  margin-top: 1px;
}
.block-tag {
  display: inline-block; background: var(--bg3); border: 1px solid var(--border);
  color: var(--muted); font-size: .72rem; font-weight: 600; padding: .3rem .7rem;
  border-radius: 99px; margin: .2rem;
}
.block-tags { margin-bottom: 2rem; }
.block-cta {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--blue); color: #fff; padding: .75rem 1.75rem;
  border-radius: 10px; font-weight: 700; font-size: .9rem;
  text-decoration: none; transition: background .2s, box-shadow .2s;
}
.block-cta:hover { background: var(--blue-lt); box-shadow: 0 4px 20px var(--blue-glow); }
.block-visual {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 20px; padding: 2rem; position: relative; overflow: hidden;
}
.block-visual::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-lt));
}
.visual-icon {
  width: 64px; height: 64px; border-radius: 18px;
  background: linear-gradient(135deg, #1d4080, #0d2048);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.visual-icon svg { width: 32px; height: 32px; color: var(--blue-lt); }
.visual-title { font-size: .8rem; font-weight: 700; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1rem; }
.visual-stat { margin-bottom: .9rem; }
.visual-stat-label { font-size: .75rem; color: var(--muted); margin-bottom: .3rem; }
.visual-bar { height: 6px; background: var(--border); border-radius: 99px; overflow: hidden; }
.visual-bar-fill { height: 100%; background: linear-gradient(90deg, var(--blue), var(--blue-lt)); border-radius: 99px; }
.visual-number { font-size: 2.5rem; font-weight: 800; color: var(--blue-lt); line-height: 1; margin-bottom: .25rem; }
.visual-number-label { font-size: .82rem; color: var(--muted); }
.visual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.visual-mini {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 12px; padding: 1rem; text-align: center;
}
.visual-mini-val { font-size: 1.4rem; font-weight: 800; color: var(--blue-lt); }
.visual-mini-lbl { font-size: .72rem; color: var(--muted); margin-top: .2rem; }

/* ---------- BLOG ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.75rem; }
.blog-card {
  background: var(--bg3); border: 1px solid var(--border); border-radius: 16px;
  padding: 1.75rem; text-decoration: none; display: block; transition: border-color .2s, transform .2s;
}
.blog-card:hover { border-color: var(--blue); transform: translateY(-4px); }
.blog-cat {
  display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--blue-lt); margin-bottom: .8rem;
}
.blog-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: .6rem; line-height: 1.4; }
.blog-card p { font-size: .87rem; color: var(--muted); line-height: 1.6; margin-bottom: 1rem; }
.blog-meta { font-size: .76rem; color: var(--muted); display: flex; gap: .75rem; align-items: center; }

.article-header { max-width: 760px; margin: 0 auto; text-align: center; }
.article-meta { font-size: .82rem; color: var(--muted); margin-bottom: 1rem; display: flex; gap: .75rem; justify-content: center; }
.article-body { max-width: 720px; margin: 0 auto; padding: 0 5% 100px; }
.article-body h2 { font-size: 1.5rem; font-weight: 800; margin: 2.4rem 0 1rem; letter-spacing: -.3px; }
.article-body h3 { font-size: 1.15rem; font-weight: 700; margin: 1.8rem 0 .8rem; }
.article-body p { color: #c7d0dd; font-size: 1rem; line-height: 1.85; margin-bottom: 1.25rem; }
.article-body ul, .article-body ol { color: #c7d0dd; font-size: 1rem; line-height: 1.85; margin: 0 0 1.25rem 1.4rem; }
.article-body li { margin-bottom: .5rem; }
.article-body strong { color: var(--text); }
.article-body a { color: var(--blue-lt); text-decoration: underline; text-underline-offset: 3px; }
.article-body blockquote {
  border-left: 3px solid var(--blue); padding: .5rem 0 .5rem 1.5rem; margin: 1.75rem 0;
  color: var(--muted); font-style: italic;
}
.article-cta {
  background: var(--bg2); border: 1px solid var(--border); border-radius: 16px;
  padding: 2rem; text-align: center; margin: 3rem 0 1rem;
}
.article-cta h3 { margin-top: 0 !important; }
.article-cta p { margin-bottom: 1.25rem !important; }
.article-tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 2rem; }

/* ---------- PRIVACY / LEGAL ---------- */
.legal-body { max-width: 760px; margin: 0 auto; padding: 0 5% 100px; }
.legal-body h2 { font-size: 1.3rem; font-weight: 800; margin: 2rem 0 .9rem; }
.legal-body p, .legal-body li { color: #c7d0dd; font-size: .95rem; line-height: 1.8; margin-bottom: 1rem; }
.legal-body ul { margin-left: 1.4rem; }
.legal-updated { color: var(--muted); font-size: .85rem; margin-bottom: 2rem; }

/* ---------- COOKIE BANNER ---------- */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: var(--bg3); border-top: 1px solid var(--border);
  padding: 1.25rem 5%; display: none;
  align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  box-shadow: 0 -10px 30px rgba(0,0,0,.35);
}
.cookie-banner.show { display: flex; }
.cookie-banner p { font-size: .85rem; color: var(--muted); max-width: 620px; margin: 0; }
.cookie-banner a { color: var(--blue-lt); text-decoration: underline; }
.cookie-actions { display: flex; gap: .75rem; flex-shrink: 0; }
.btn-small {
  padding: .55rem 1.1rem; border-radius: 8px; font-size: .82rem; font-weight: 600;
  cursor: pointer; border: 1px solid var(--border); background: transparent; color: var(--text);
}
.btn-small.primary { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---------- 404 ---------- */
.error-page {
  min-height: 90vh; display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; padding: 150px 5% 80px;
}
.error-code { font-size: clamp(4rem, 12vw, 8rem); font-weight: 800; color: var(--blue-lt); line-height: 1; opacity: .5; }

/* ---------- FOOTER ---------- */
footer.site-footer {
  background: var(--bg2); border-top: 1px solid var(--border);
  padding: 4rem 5% 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem;
  max-width: 1180px; margin: 0 auto 2.5rem;
}
.footer-brand p { color: var(--muted); font-size: .85rem; line-height: 1.7; margin-top: 1rem; max-width: 280px; }
.footer-col h5 { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text); margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .65rem; }
.footer-col a { color: var(--muted); text-decoration: none; font-size: .85rem; transition: color .15s; }
.footer-col a:hover { color: var(--blue-lt); }
.footer-bottom {
  max-width: 1180px; margin: 0 auto; padding-top: 2rem; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  color: var(--muted); font-size: .8rem;
}
.footer-bottom a { color: var(--blue-lt); text-decoration: none; }

/* ---------- MOBILE ---------- */
@media (max-width: 900px) {
  .block-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .block-inner.reverse { direction: ltr; }
  .contact-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  section { padding: 70px 5%; }
  .footer-grid { grid-template-columns: 1fr; }

  nav.site-nav.nav-open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0;
    background: var(--bg2); padding: 1.5rem 5%; gap: 1.2rem; border-bottom: 1px solid var(--border);
  }
  nav.site-nav.nav-open .nav-links .nav-dropdown {
    position: static; transform: none; opacity: 1; visibility: visible; display: none;
    background: transparent; border: none; box-shadow: none; padding: .5rem 0 0 1rem; min-width: 0;
  }
  nav.site-nav.nav-open .nav-links li.has-dropdown.open .nav-dropdown { display: block; 