/* ==========================================================================
   HC Sistemas de Automação — Design System
   Engenharia Elétrica + Automação Industrial
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand (preserved from original identity) */
  --navy: #00447d;
  --navy-900: #002b50;
  --navy-950: #001a33;
  --navy-700: #0059a6;
  --blue: #0098ff;
  --blue-600: #007ad6;
  --steel: #758ab2;
  --steel-200: #b9c6dc;

  /* Neutrals */
  --ink: #101c29;
  --body: #41505e;
  --muted: #6d7c8a;
  --line: #e2e8f0;
  --line-soft: #edf2f7;
  --bg: #f5f8fb;
  --bg-dark: #0a1f33;
  --white: #ffffff;
  --ok: #0d9f6e;

  /* Typography */
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;

  /* Rhythm */
  --container: 1180px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(16, 28, 41, 0.06), 0 1px 3px rgba(16, 28, 41, 0.06);
  --shadow-md: 0 6px 20px -6px rgba(16, 28, 41, 0.14);
  --shadow-lg: 0 24px 60px -24px rgba(0, 43, 80, 0.35);

  --header-h: 74px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-600); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--navy); }
ul, ol { list-style: none; }

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

::selection { background: var(--navy); color: #fff; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Accessibility helpers ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--tight { padding: 64px 0; }
.section--bg { background: var(--bg); }
.section--dark { background: var(--bg-dark); color: #c6d3e2; }
.section--navy { background: var(--navy); color: #dce7f2; }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); margin-bottom: 16px; }
.section-head p { font-size: 1.075rem; color: var(--muted); }
.section--dark .section-head h2 { color: #fff; }
.section--dark .section-head p { color: #b6c6d8; }
.section--navy .section-head h2 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-600);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--blue); border-radius: 2px;
}
.section-head--center .eyebrow::after {
  content: ""; width: 22px; height: 2px; background: var(--blue); border-radius: 2px;
}
.section--dark .eyebrow, .section--navy .eyebrow { color: #6ec1ff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: 600; font-size: 15.5px; line-height: 1;
  padding: 15px 26px; border-radius: 10px; border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap; transition: all .18s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(0, 152, 255, .6); }
.btn-primary:hover { background: var(--blue-600); color: #fff; transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-700); color: #fff; transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #eef4fa; color: var(--navy); }
.btn-ghost { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.28); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.5); color: #fff; }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1eb857; color: #fff; }
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn-lg { padding: 17px 30px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  height: var(--header-h);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.header-inner { display: flex; align-items: center; height: var(--header-h); gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-logo { height: 46px; width: auto; display: block; }
.brand-badge {
  display: grid; place-items: center; width: 42px; height: 42px;
  background: var(--white); color: var(--navy);
  font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.02em;
  border-radius: 10px; position: relative;
}
.brand-badge::after {
  content: ""; position: absolute; inset: 3px; border-radius: 7px;
  border: 1px solid var(--blue); pointer-events: none;
}
.brand-label { display: flex; flex-direction: column; line-height: 1.1; }
.brand-label strong { font-family: var(--font-display); font-size: 17px; color: #fff; font-weight: 700; letter-spacing: -0.01em; }
.brand-label span { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--steel-200); }

.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; }
.main-nav > ul > li { position: relative; }
.main-nav a {
  display: inline-flex; align-items: center; gap: 6px;
  color: #e6eef6; font-size: 15px; font-weight: 500; padding: 9px 13px; border-radius: 8px;
}
.main-nav a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.main-nav a.is-active { color: #fff; background: rgba(255,255,255,0.1); }
.main-nav .caret { width: 14px; height: 14px; transition: transform .18s ease; }

.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 300px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all .18s ease; z-index: 120;
}
.dropdown:hover > .dropdown-menu,
.dropdown:focus-within > .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown:hover .caret, .dropdown:focus-within .caret { transform: rotate(180deg); }
.dropdown-menu a {
  display: flex; gap: 12px; align-items: flex-start; color: var(--ink); padding: 11px 12px; border-radius: 8px;
}
.dropdown-menu a:hover { background: var(--bg); color: var(--navy); }
.dropdown-menu .dm-ico { width: 18px; height: 18px; color: var(--blue-600); flex: none; margin-top: 2px; }
.dropdown-menu .dm-t { display: flex; flex-direction: column; }
.dropdown-menu .dm-t strong { font-weight: 600; font-size: 14.5px; }
.dropdown-menu .dm-t small { color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.dropdown-menu .dm-all { border-top: 1px solid var(--line-soft); margin-top: 6px; padding-top: 6px; font-weight: 600; }

.header-cta { margin-left: 6px; flex: none; }
.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px;
  background: rgba(255,255,255,0.08); border: 0; border-radius: 10px; cursor: pointer;
  place-items: center; color: #fff;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 150; background: var(--navy);
  padding: 0 24px 40px; overflow-y: auto; display: none;
}
.mobile-menu.open { display: block; }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.mobile-menu-head .brand-label strong { color: #fff; }
.mobile-menu-head .brand-label span { color: var(--steel-200); }
.mobile-menu .close-btn { width: 44px; height: 44px; background: rgba(255,255,255,0.08); border: 0; border-radius: 10px; color: #fff; display: grid; place-items: center; cursor: pointer; }
.mobile-menu .close-btn svg { width: 22px; height: 22px; }
.mobile-menu nav { margin-top: 12px; }
.mobile-menu nav a { display: flex; align-items: center; justify-content: space-between; color: #e6eef6; font-size: 18px; font-weight: 500; padding: 16px 4px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-menu nav a:hover { color: #fff; }
.mobile-menu nav a.is-active { color: #6ec1ff; }
.mobile-sub { padding-left: 12px; }
.mobile-sub a { font-size: 15.5px; padding: 12px 4px; color: #b6c6d8; }
.mobile-menu .mm-cta { margin-top: 28px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--navy) 100%);
  color: #fff;
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 30%, transparent 75%);
}
.hero-glow {
  position: absolute; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,152,255,0.22), transparent 65%);
  top: -180px; right: -120px; pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-inner {
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 48px; align-items: center;
  padding: 72px 0 88px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: #a8d6ff; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14);
  padding: 8px 14px; border-radius: 100px; margin-bottom: 24px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #35d07f; box-shadow: 0 0 0 3px rgba(53,208,127,0.2); }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.45rem); color: #fff; font-weight: 700; line-height: 1.08; letter-spacing: -0.025em; margin-bottom: 20px; }
.hero h1 .accent { color: #6ec1ff; }
.hero-lead { font-size: 1.18rem; line-height: 1.65; color: #c8d8e8; max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #b6c6d8; }
.hero-points li svg { width: 16px; height: 16px; color: #35d07f; flex: none; }

.hero-visual { position: relative; }
.hero-panel {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg); backdrop-filter: blur(4px);
  padding: 26px; box-shadow: var(--shadow-lg);
}
.hero-panel .panel-top { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.hero-panel .panel-top span { width: 10px; height: 10px; border-radius: 50%; }
.hero-panel .panel-top span:nth-child(1) { background: #ff5f57; }
.hero-panel .panel-top span:nth-child(2) { background: #febc2e; }
.hero-panel .panel-top span:nth-child(3) { background: #28c840; }
.hero-panel .panel-top small { margin-left: auto; font-family: var(--font-mono); color: #8ba3bd; font-size: 11px; letter-spacing: .08em; }
.hero-diagram { display: grid; gap: 12px; }
.hero-diagram .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-diagram .cell {
  border: 1px solid rgba(255,255,255,0.14); border-radius: 10px; padding: 14px;
  display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #dbe7f3;
}
.hero-diagram .cell svg { width: 20px; height: 20px; color: #6ec1ff; flex: none; }
.hero-diagram .cell .lbl { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; color: #8ba3bd; text-transform: uppercase; }
.hero-stat {
  position: absolute; bottom: -18px; right: 24px; display: flex; align-items: center; gap: 12px;
  background: #fff; color: var(--ink); border-radius: 12px; padding: 14px 18px; box-shadow: var(--shadow-lg);
}
.hero-stat .num { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--navy); line-height: 1; }
.hero-stat .cap { font-size: 12.5px; color: var(--muted); line-height: 1.3; }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.pillar {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; transition: all .2s ease; display: flex; flex-direction: column; gap: 14px;
}
.pillar:hover { border-color: var(--steel-200); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.pillar .p-ico { width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center; background: var(--bg); color: var(--navy); }
.pillar .p-ico svg { width: 24px; height: 24px; }
.pillar h3 { font-size: 16.5px; font-weight: 600; }
.pillar p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; display: flex; flex-direction: column; gap: 16px; transition: all .2s ease;
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.card:hover { border-color: var(--steel-200); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.card:hover::before { transform: scaleX(1); }
.card .c-ico { width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; background: var(--bg); color: var(--navy); }
.card .c-ico svg { width: 26px; height: 26px; }
.card h3 { font-size: 19px; }
.card p { font-size: 15px; color: var(--muted); flex: 1; }
.card .c-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 14.5px; color: var(--blue-600); }
.card .c-link svg { width: 16px; height: 16px; transition: transform .18s ease; }
.card .c-link:hover svg { transform: translateX(3px); }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { position: relative; padding: 30px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step .n {
  font-family: var(--font-display); font-size: 40px; font-weight: 700; color: var(--line);
  line-height: 1; margin-bottom: 16px; transition: color .2s ease;
}
.step:hover .n { color: var(--blue); }
.step h3 { font-size: 17.5px; margin-bottom: 10px; }
.step p { font-size: 14.5px; color: var(--muted); }
.step .tag { display: inline-block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--steel); text-transform: uppercase; margin-bottom: 8px; }

/* ---------- Differential / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-media { position: relative; }
.checklist { display: grid; gap: 18px; }
.checklist li { display: flex; gap: 14px; }
.checklist .ck { width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; flex: none; margin-top: 2px; }
.checklist .ck svg { width: 14px; height: 14px; }
.checklist strong { display: block; color: var(--ink); font-size: 16.5px; font-weight: 600; margin-bottom: 3px; }
.checklist p { font-size: 14.5px; color: var(--muted); }

/* ---------- Segments ---------- */
.segments { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.segment {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 10px; transition: all .18s ease;
}
.segment:hover { border-color: var(--steel-200); box-shadow: var(--shadow-sm); }
.segment svg { width: 24px; height: 24px; color: var(--blue-600); }
.segment strong { color: var(--ink); font-size: 16px; }
.segment p { font-size: 13.5px; color: var(--muted); }

/* ---------- Chips (technologies) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); background: #fff; border-radius: 100px;
  padding: 9px 16px; font-size: 14px; font-weight: 500; color: var(--ink);
  transition: all .16s ease;
}
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip svg { width: 15px; height: 15px; color: var(--steel); }
.section--dark .chip { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); color: #dbe7f3; }
.section--dark .chip svg { color: #6ec1ff; }
.section--dark .chip:hover { border-color: #6ec1ff; color: #fff; }

/* ---------- Blog cards ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: all .2s ease;
}
.post:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.post-thumb { height: 170px; background: linear-gradient(135deg, var(--navy-900), var(--navy)); position: relative; display: grid; place-items: center; color: rgba(255,255,255,0.9); }
.post-thumb svg { width: 52px; height: 52px; }
.post-thumb .cat { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,0.14); color: #fff; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 100px; }
.post-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post-body time { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.post-body h3 { font-size: 18px; line-height: 1.3; }
.post-body h3 a { color: var(--ink); }
.post-body h3 a:hover { color: var(--navy); }
.post-body p { font-size: 14.5px; color: var(--muted); flex: 1; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-item.open { border-color: var(--steel-200); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: 0; cursor: pointer; text-align: left; padding: 20px 24px;
  font-family: var(--font-body); font-size: 16.5px; font-weight: 600; color: var(--ink);
}
.faq-q .ic { width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--bg); color: var(--navy); display: grid; place-items: center; transition: all .2s ease; }
.faq-q .ic svg { width: 16px; height: 16px; transition: transform .2s ease; }
.faq-item.open .ic { background: var(--navy); color: #fff; }
.faq-item.open .ic svg { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-a-inner { padding: 0 24px 22px; color: var(--body); font-size: 15.5px; }
.faq-a-inner a { color: var(--blue-600); font-weight: 500; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-900) 100%);
  border-radius: var(--radius-lg); padding: 56px 48px; position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 32px; align-items: center;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.cta-band p { color: #bcd0e2; font-size: 16px; margin-bottom: 24px; max-width: 540px; }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Coverage / area ---------- */
.coverage { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.city-list { display: flex; flex-wrap: wrap; gap: 10px; }
.city-list li {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 100px;
  padding: 9px 16px; font-size: 14px; font-weight: 500; color: var(--ink);
}
.city-list li svg { width: 15px; height: 15px; color: var(--blue-600); }

/* ---------- Contact ---------- */
.contact-wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 44px; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start;
}
.contact-card .ci-ico { width: 44px; height: 44px; flex: none; border-radius: 11px; background: var(--bg); color: var(--navy); display: grid; place-items: center; }
.contact-card .ci-ico svg { width: 22px; height: 22px; }
.contact-card strong { display: block; color: var(--ink); font-size: 15.5px; margin-bottom: 2px; }
.contact-card p, .contact-card a { font-size: 14.5px; color: var(--muted); }
.contact-card a:hover { color: var(--navy); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-md); }
.form-card h3 { font-size: 22px; margin-bottom: 6px; }
.form-card > p { font-size: 14.5px; color: var(--muted); margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field label .req { color: var(--blue-600); }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 9px;
  padding: 13px 14px; font-family: var(--font-body); font-size: 15px; color: var(--ink);
  background: #fff; transition: border-color .16s ease, box-shadow .16s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,152,255,0.14);
}
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-hint { font-size: 12.5px; color: var(--muted); margin-top: 8px; line-height: 1.5; }
.form-note { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-top: 16px; }
.form-note svg { width: 16px; height: 16px; color: var(--ok); flex: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark); color: #9fb3c6; font-size: 14.5px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding: 64px 0 48px; }
.site-footer h4 { color: #fff; font-size: 15px; font-weight: 600; letter-spacing: .02em; margin-bottom: 18px; }
.site-footer a { color: #9fb3c6; }
.site-footer a:hover { color: #fff; }
.footer-brand p { margin: 16px 0 20px; max-width: 300px; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; }
.footer-links a svg { width: 14px; height: 14px; color: var(--steel); }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--steel); flex: none; margin-top: 3px; }
.footer-contact a { color: #dbe7f3; }
.footer-contact a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.06); display: grid; place-items: center; color: #bcd0e2; }
.footer-social a:hover { background: var(--blue); color: #fff; }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; font-size: 13px; color: #74879b; }
.footer-bottom .legal { display: flex; gap: 20px; }
.footer-bottom a { color: #9fb3c6; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 26px -8px rgba(0,0,0,0.4);
  transition: transform .18s ease;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding: 20px 0 0; font-size: 13.5px; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--navy); }
.breadcrumbs li + li::before { content: "/"; color: var(--line); margin-right: 6px; }
.breadcrumbs [aria-current="page"] { color: var(--navy); font-weight: 500; }

/* ---------- Page hero (internal) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy-950), var(--navy));
  color: #fff; padding: 64px 0; position: relative; overflow: hidden;
}
.page-hero .hero-grid { opacity: .6; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); max-width: 760px; margin-bottom: 16px; }
.page-hero p { color: #c3d3e4; font-size: 1.12rem; max-width: 680px; }

/* ---------- Prose (articles / service body) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.7rem; margin: 42px 0 16px; scroll-margin-top: 90px; }
.prose h3 { font-size: 1.3rem; margin: 32px 0 12px; }
.prose p { margin-bottom: 18px; }
.prose ul, .prose ol { margin: 0 0 18px 22px; display: grid; gap: 10px; }
.prose ul li { list-style: disc; }
.prose ol li { list-style: decimal; }
.prose strong { color: var(--ink); }
.prose a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 2px; }
.prose blockquote {
  border-left: 3px solid var(--blue); background: var(--bg); padding: 18px 22px;
  border-radius: 0 10px 10px 0; margin: 22px 0; color: var(--ink); font-style: italic;
}
.prose .callout {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; margin: 24px 0;
}
.prose .callout strong { display: block; margin-bottom: 6px; }

/* Article layout */
.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.article-sidebar { position: sticky; top: calc(var(--header-h) + 24px); }
.toc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.toc-card h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.toc-card ul { display: grid; gap: 10px; }
.toc-card a { font-size: 14px; color: var(--body); }
.toc-card a:hover { color: var(--navy); }
.side-cta { background: var(--navy); border-radius: var(--radius); padding: 24px; color: #dce7f2; margin-top: 16px; }
.side-cta h4 { color: #fff; font-size: 17px; margin-bottom: 8px; }
.side-cta p { font-size: 13.5px; margin-bottom: 16px; color: #bcd0e2; }

/* ---------- Generic media frame ---------- */
.media-frame {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  background: var(--bg); display: grid; place-items: center; min-height: 320px; position: relative;
}
.media-frame svg { width: 72px; height: 72px; color: var(--steel); }
.media-frame .mf-tag { position: absolute; bottom: 16px; left: 16px; font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: .06em; }

/* ---------- Logo / number band ---------- */
.stat-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.stat-box { text-align: center; padding: 28px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.stat-box .num { font-family: var(--font-display); font-size: 40px; font-weight: 700; color: var(--navy); line-height: 1; }
.stat-box .cap { font-size: 14px; color: var(--muted); margin-top: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .segments { grid-template-columns: repeat(2, 1fr); }
  .posts { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 56px 0 72px; }
  .hero-visual { order: -1; }
}

@media (max-width: 760px) {
  .section { padding: 60px 0; }
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: grid; }
  .cards, .pillars, .steps, .segments, .posts, .split, .coverage, .contact-wrap, .cta-band { grid-template-columns: 1fr; }
  .steps { gap: 16px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .hero-inner { padding: 44px 0 60px; }
  .hero h1 { font-size: clamp(1.9rem, 8vw, 2.5rem); }
  .hero-stat { position: static; margin-top: -20px; width: fit-content; }
  .cta-band { padding: 36px 26px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

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