:root {
  --bg: #f3f6f7;
  --ink: #101923;
  --muted: #66737d;
  --line: rgba(15, 28, 40, 0.13);
  --line-strong: rgba(15, 28, 40, 0.22);
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --carbon: #0c1218;
  --purple: #3c2fa8;
  --violet: #6e52e8;
  --petrol: #0c6b78;
  --gold: #a68039;
  --green: #13a878;
  --red: #c44258;
  --radius: 8px;
  --shadow: 0 26px 80px rgba(16, 25, 35, 0.13);
  --font: Inter, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(14, 38, 48, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(14, 38, 48, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 12% 8%, rgba(80, 60, 190, 0.15), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(12, 107, 120, 0.13), transparent 36%),
    linear-gradient(135deg, #fbfcfc, #edf3f5 52%, #e5edf1);
  background-size: 76px 76px, 76px 76px, auto, auto, auto;
  font-size: 16px;
  line-height: 1.56;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { letter-spacing: 0; }

.corp-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 68px;
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(250, 252, 252, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 48px rgba(20, 34, 45, 0.08);
}
.corp-brand, .footer-brand {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--carbon), var(--purple) 55%, var(--petrol));
  box-shadow: 0 16px 34px rgba(60, 47, 168, 0.23);
}
.brand-logo {
  width: 44px;
  height: 44px;
  display: block;
  object-fit: cover;
  border-radius: 9px;
  border: 1px solid rgba(12, 39, 52, 0.16);
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(12, 39, 52, 0.16);
}
.corp-brand strong, .footer-brand strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
}
.corp-brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.corp-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.corp-nav a, .btn {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.78);
  color: #162230;
  font-size: 13px;
  font-weight: 620;
  white-space: nowrap;
}
.corp-nav a:hover, .corp-nav a.active {
  border-color: rgba(60, 47, 168, 0.32);
  background: linear-gradient(135deg, rgba(60, 47, 168, 0.11), rgba(12, 107, 120, 0.08));
}
.corp-nav .client-entry, .btn.primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--carbon), var(--purple) 56%, var(--petrol));
  box-shadow: 0 16px 34px rgba(60, 47, 168, 0.2);
}
.btn.secondary { background: rgba(255, 255, 255, 0.68); }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.8);
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.home-shell {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr) minmax(260px, 330px);
  gap: 18px;
  padding: 18px 20px 54px;
  align-items: start;
}
.home-core { display: grid; gap: 18px; min-width: 0; }
.radar-rail, .live-panel, .hero-enterprise, .corp-section, .page-hero, .proof-panel, .corp-card, .metric-grid article, .contact-panel {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.radar-rail, .live-panel {
  position: sticky;
  top: 86px;
  max-height: calc(100vh - 104px);
  overflow: auto;
  padding: 14px;
}
.rail-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.rail-head span, .eyebrow, .corp-card span, .section-heading span, .proof-panel span, .metric-grid span, .panel-status span, .tax-box span {
  color: var(--purple);
  font-size: 11px;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.rail-head strong { font-size: 14px; }
.rail-lead { padding: 16px 0; }
.rail-lead h2 { margin-top: 10px; font-size: 20px; line-height: 1.12; }
.rail-lead p, .corp-card p, .section-heading p, .proof-panel p, .metric-grid p, .tax-box small, .source-note p {
  color: var(--muted);
}
.rail-lead p { margin-top: 12px; font-size: 14px; }
.rail-item {
  display: block;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}
.rail-item span { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; margin-bottom: 5px; }
.rail-item strong { display: block; font-size: 14px; line-height: 1.28; }

.hero-enterprise {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: 20px;
  padding: clamp(28px, 4vw, 52px);
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(255,255,255,0.94), rgba(245,249,250,0.92)),
    var(--surface-strong);
}
.hero-copy { align-self: center; }
.hero-copy h1, .page-hero h1 {
  margin-top: 12px;
  max-width: 760px;
  font-size: clamp(38px, 5vw, 74px);
  line-height: 0.96;
  font-weight: 760;
}
.hero-copy p, .page-hero > div > p {
  max-width: 720px;
  margin-top: 20px;
  color: #354350;
  font-size: clamp(17px, 1.5vw, 21px);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.executive-ribbon, .metric-grid, .process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}
.executive-ribbon div {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.72);
}
.executive-ribbon span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.executive-ribbon strong { font-size: 13px; line-height: 1.25; }
.hero-visual {
  min-height: 540px;
  display: grid;
  align-content: end;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.14);
  background:
    linear-gradient(180deg, rgba(9, 12, 22, 0.12), rgba(8, 12, 18, 0.72)),
    url("../images/radar-editorial-strip.jpg") center/cover,
    linear-gradient(135deg, var(--carbon), var(--purple));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}
.command-card {
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  color: #fff;
  background: rgba(8, 13, 20, 0.78);
  backdrop-filter: blur(12px);
}
.command-card span { color: #a9b7ff; font-size: 11px; text-transform: uppercase; }
.command-card strong { display: block; margin-top: 8px; font-size: 20px; }
.command-card p { margin-top: 8px; color: rgba(255,255,255,0.74); }

.corp-main {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 54px;
}
.page-hero {
  position: relative;
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: 24px;
  align-items: center;
  padding: clamp(28px, 5vw, 58px);
  overflow: hidden;
}
.page-hero::after {
  content: attr(data-watermark);
  position: absolute;
  right: 28px;
  bottom: -24px;
  color: rgba(16, 25, 35, 0.045);
  font-size: clamp(72px, 14vw, 180px);
  font-weight: 900;
  letter-spacing: 0;
  pointer-events: none;
}
.proof-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(241,246,248,0.88));
}
.proof-panel article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.72);
}
.proof-panel strong { display: block; margin-top: 6px; font-size: 17px; }
.proof-panel p { margin-top: 6px; font-size: 14px; }

.corp-section {
  margin-top: 18px;
  padding: clamp(24px, 4vw, 42px);
}
.section-heading {
  max-width: 840px;
  margin-bottom: 22px;
}
.section-heading h2 {
  margin-top: 8px;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.02;
}
.section-heading p { margin-top: 14px; font-size: 17px; }
.card-grid, .strong-grid, .process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.corp-card {
  display: block;
  min-height: 178px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(245,248,249,0.9));
  box-shadow: none;
}
.corp-card:hover {
  border-color: rgba(60,47,168,0.28);
  transform: translateY(-1px);
}
.corp-card strong {
  display: block;
  margin-top: 8px;
  font-size: 21px;
  line-height: 1.13;
}
.corp-card p { margin-top: 10px; font-size: 14px; }
.metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.metric-grid article {
  padding: 18px;
}
.metric-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 32px;
}

.live-panel {
  color: #eef6f7;
  background:
    linear-gradient(180deg, rgba(24, 16, 48, 0.88), rgba(8, 14, 20, 0.96)),
    var(--carbon);
  border-color: rgba(166, 190, 214, 0.22);
}
.live-panel .rail-head, .live-panel .panel-status { border-color: rgba(255,255,255,0.12); }
.live-panel .rail-head span, .live-panel .panel-status span, .live-panel .tax-box span { color: #b8adff; }
.panel-status, .source-note {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.market-stack {
  display: grid;
  gap: 8px;
  padding: 12px 0;
}
.market-stack div, .tax-box, .source-note {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255,255,255,0.045);
}
.market-stack span, .market-stack em {
  display: block;
  color: rgba(238,246,247,0.66);
  font-size: 11px;
  font-style: normal;
  text-transform: uppercase;
}
.market-stack strong, .tax-box strong {
  display: block;
  margin-top: 4px;
  font-size: 20px;
}
.tax-box small { display: block; margin-top: 6px; color: rgba(238,246,247,0.62); }
.source-note { display: block; }
.source-note p { margin-top: 6px; color: rgba(238,246,247,0.66); }

.contact-panel {
  display: grid;
  gap: 10px;
  padding: 18px;
}
.contact-panel a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 700;
}

.corp-footer {
  margin-top: 34px;
  padding: 34px max(20px, calc((100vw - 1220px) / 2));
  color: #eaf1f2;
  background: linear-gradient(135deg, #090d13, #111827 58%, #1b1644);
}
.footer-brand p { margin-top: 6px; color: rgba(234,241,242,0.68); max-width: 520px; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}
.footer-grid section {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  background: rgba(255,255,255,0.035);
}
.footer-grid span {
  color: #b8adff;
  font-size: 11px;
  font-weight: 760;
  text-transform: uppercase;
}
.footer-grid a { color: rgba(234,241,242,0.78); font-size: 14px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: rgba(234,241,242,0.62);
  font-size: 13px;
}

@media (max-width: 1180px) {
  .home-shell { grid-template-columns: 1fr; }
  .radar-rail, .live-panel { position: relative; top: auto; max-height: none; }
  .hero-enterprise, .page-hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 360px; }
  .card-grid, .strong-grid, .process-grid, .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .corp-header { grid-template-columns: 1fr auto; }
  .nav-toggle { display: block; }
  .corp-nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
  }
  body.nav-open .corp-nav { display: flex; }
  .corp-nav a { justify-content: flex-start; }
  .hero-copy h1, .page-hero h1 { font-size: clamp(34px, 12vw, 52px); }
  .executive-ribbon, .card-grid, .strong-grid, .process-grid, .metric-grid, .footer-grid { grid-template-columns: 1fr; }
  .corp-main, .home-shell { width: auto; padding-left: 12px; padding-right: 12px; }
  .page-hero, .hero-enterprise, .corp-section { padding: 22px; }
  .footer-bottom { flex-direction: column; }
}

/* Grupo Terrasan light enterprise refresh */
body {
  background:
    linear-gradient(90deg, rgba(39, 94, 116, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(39, 94, 116, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, #ffffff 0%, #f6fafb 44%, #edf5f7 100%);
}

.terrasan-light {
  grid-template-columns: minmax(210px, 270px) minmax(0, 1fr) minmax(230px, 290px);
}

.corp-header {
  background: rgba(255, 255, 255, 0.94);
}

.corp-nav {
  gap: 5px;
}

.corp-nav a,
.btn {
  background: #ffffff;
  border-color: rgba(20, 55, 70, 0.12);
}

.corp-nav a:hover,
.corp-nav a.active {
  background: #eaf6f8;
  border-color: rgba(12, 107, 120, 0.22);
}

.brand-mark,
.corp-nav .client-entry,
.btn.primary {
  background: linear-gradient(135deg, #082434, #0c6b78 58%, #1b8f7b);
  box-shadow: 0 14px 30px rgba(12, 107, 120, 0.18);
}

.hero-clean {
  min-height: 520px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 470px);
  background:
    radial-gradient(circle at 94% 10%, rgba(25, 143, 123, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(240,248,250,0.96));
}

.hero-clean .hero-copy h1 {
  max-width: 780px;
  font-size: clamp(34px, 4.2vw, 62px);
  line-height: 1;
}

.hero-clean .hero-copy p {
  font-size: clamp(16px, 1.25vw, 19px);
}

.compact-ribbon {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.compact-ribbon div {
  background: rgba(255,255,255,0.9);
  box-shadow: 0 14px 30px rgba(17, 41, 51, 0.06);
}

.group-map {
  position: relative;
  min-height: 430px;
  border: 1px solid rgba(20, 55, 70, 0.12);
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(12, 107, 120, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(12, 107, 120, 0.045) 1px, transparent 1px),
    linear-gradient(135deg, #ffffff, #eef7f8);
  background-size: 28px 28px, 28px 28px, auto;
  box-shadow: 0 24px 58px rgba(16, 41, 51, 0.12);
  overflow: hidden;
}

.group-map::before,
.group-map::after {
  content: "";
  position: absolute;
  inset: 86px 56px;
  border: 1px dashed rgba(12, 107, 120, 0.24);
  border-radius: 999px;
}

.group-map::after {
  inset: 128px 100px;
  border-color: rgba(60, 47, 168, 0.18);
}

.map-center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 178px;
  min-height: 128px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  padding: 18px;
  border-radius: 10px;
  color: #ffffff;
  background: linear-gradient(135deg, #082434, #0c6b78 64%, #1b8f7b);
  box-shadow: 0 24px 50px rgba(12, 107, 120, 0.28);
  z-index: 2;
}

.map-center span {
  font-size: 24px;
  font-weight: 850;
}

.map-center strong {
  font-size: 18px;
  text-align: center;
}

.map-center small {
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  font-size: 10px;
}

.map-node {
  position: absolute;
  width: 154px;
  min-height: 76px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(12, 107, 120, 0.16);
  border-radius: 8px;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 16px 34px rgba(17, 41, 51, 0.11);
  z-index: 3;
}

.map-node span {
  color: #0c6b78;
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 800;
}

.map-node strong {
  font-size: 13px;
  line-height: 1.2;
}

.node-financeiro { left: 24px; top: 48px; }
.node-midia { right: 24px; top: 48px; }
.node-brasil { right: 24px; top: 176px; }
.node-tech { left: 24px; top: 176px; }
.node-produtos { left: 76px; bottom: 36px; }
.node-educacao { right: 76px; bottom: 36px; }

.compact-rail,
.market-light {
  box-shadow: 0 18px 46px rgba(17, 41, 51, 0.09);
}

.compact-rail .rail-lead h2 {
  font-size: 18px;
}

.compact-rail .rail-item {
  padding: 11px 0;
}

.market-light {
  color: #12303b;
  background: linear-gradient(180deg, #ffffff, #edf7f8);
  border-color: rgba(12, 107, 120, 0.16);
}

.market-light .rail-head,
.market-light .panel-status {
  border-color: rgba(12, 107, 120, 0.12);
}

.market-light .rail-head span,
.market-light .panel-status span,
.market-light .tax-box span {
  color: #0c6b78;
}

.market-light .market-stack div,
.market-light .tax-box,
.market-light .source-note {
  border-color: rgba(12, 107, 120, 0.12);
  background: rgba(255,255,255,0.78);
}

.market-light .market-stack span,
.market-light .market-stack em,
.market-light .source-note p {
  color: #66737d;
}

.market-light .tax-box small {
  color: #66737d;
}

.light-section {
  background: rgba(255,255,255,0.86);
}

.accent-card {
  min-height: 205px;
  border-top: 4px solid #0c6b78;
}

@media (max-width: 1180px) {
  .terrasan-light { grid-template-columns: 1fr; }
  .hero-clean { grid-template-columns: 1fr; }
  .group-map { min-height: 520px; }
}

@media (max-width: 700px) {
  .group-map {
    min-height: auto;
    display: grid;
    gap: 10px;
    padding: 14px;
  }
  .group-map::before,
  .group-map::after {
    display: none;
  }
  .map-center,
  .map-node {
    position: static;
    width: auto;
    min-height: auto;
    transform: none;
  }
  .compact-ribbon {
    grid-template-columns: 1fr;
  }
}

/* Enterprise rebuild after review */
.enterprise-body {
  color: #101722;
  background:
    linear-gradient(90deg, rgba(11, 74, 93, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(11, 74, 93, 0.045) 1px, transparent 1px),
    linear-gradient(135deg, #f8fbfd 0%, #eef5f8 46%, #dfeaf0 100%);
  background-size: 36px 36px, 36px 36px, auto;
}

.enterprise-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 74px;
  padding: 12px clamp(18px, 3vw, 42px);
  background: rgba(248, 252, 253, 0.92);
  border-bottom: 1px solid rgba(12, 39, 52, 0.12);
  backdrop-filter: blur(18px);
}

.enterprise-brand {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
}

.enterprise-brand strong {
  display: block;
  font-size: 16px;
}

.enterprise-brand small {
  display: block;
  margin-top: 2px;
  color: #5c6b76;
  font-size: 10px;
  text-transform: uppercase;
}

.enterprise-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 7px;
}

.enterprise-nav a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(12, 39, 52, 0.11);
  border-radius: 7px;
  background: rgba(255,255,255,0.76);
  color: #182532;
  font-size: 13px;
  font-weight: 700;
}

.enterprise-nav a:hover {
  border-color: rgba(10, 101, 120, 0.32);
  background: #e8f5f7;
}

.enterprise-nav .nav-action {
  color: #ffffff;
  background: linear-gradient(135deg, #071f2c, #0b6175);
  border-color: transparent;
}

.enterprise-main {
  padding: 18px clamp(14px, 2.4vw, 34px) 60px;
}

.enterprise-hero {
  position: relative;
  overflow: hidden;
  min-height: 700px;
  border: 1px solid rgba(12, 39, 52, 0.12);
  border-radius: 10px;
  background:
    linear-gradient(105deg, rgba(255,255,255,0.98) 0%, rgba(246,250,252,0.94) 45%, rgba(214,233,237,0.86) 100%),
    url("../images/radar-editorial-strip.jpg") center/cover;
  box-shadow: 0 40px 120px rgba(18, 48, 61, 0.16);
}

.enterprise-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 74, 93, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(11, 74, 93, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(420px, 0.82fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
  min-height: 700px;
  padding: clamp(34px, 4.4vw, 64px);
}

.hero-copy {
  min-width: 0;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(10, 101, 120, 0.24);
  border-radius: 999px;
  color: #0b6175;
  background: rgba(255,255,255,0.78);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 880px;
  margin-top: 22px;
  color: #0b111b;
  font-size: clamp(42px, 4.6vw, 72px);
  line-height: 0.98;
  font-weight: 850;
}

.hero-copy p {
  max-width: 820px;
  margin-top: 20px;
  color: #2e4350;
  font-size: clamp(17px, 1.25vw, 21px);
  line-height: 1.45;
}

.enterprise-map {
  position: relative;
  min-width: 0;
  min-height: 500px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(6, 28, 39, 0.92), rgba(10, 61, 74, 0.9)),
    radial-gradient(circle at 50% 50%, rgba(70, 220, 203, 0.2), transparent 42%);
  box-shadow: 0 42px 90px rgba(9, 41, 55, 0.28);
  overflow: hidden;
}

.brand-visual {
  position: relative;
  min-height: 520px;
  border: 1px solid rgba(255,255,255,0.56);
  border-radius: 10px;
  overflow: hidden;
  background: #071f2c;
  box-shadow: 0 42px 90px rgba(9, 41, 55, 0.26);
}

.brand-photo {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 20, 31, 0.14), rgba(6, 20, 31, 0.78)),
    url("../images/grupo-terrasan-office.jpg") center/cover;
  transform: scale(1.02);
}

.brand-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.09) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.46;
}

.brand-panel {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  color: #ffffff;
  background: rgba(4, 20, 30, 0.76);
  backdrop-filter: blur(14px);
}

.brand-panel img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 10px;
}

.brand-panel span {
  display: block;
  color: #8fe3dd;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.brand-panel strong {
  display: block;
  margin-top: 6px;
  font-size: 20px;
  line-height: 1.15;
}

.enterprise-map::before,
.enterprise-map::after {
  content: "";
  position: absolute;
  inset: 82px;
  border: 1px solid rgba(150, 232, 224, 0.22);
  border-radius: 999px;
}

.enterprise-map::after {
  inset: 132px;
  border-style: dashed;
  border-color: rgba(255,255,255,0.18);
}

.map-topline {
  position: absolute;
  left: 22px;
  right: 22px;
  top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #dff9f8;
  z-index: 2;
}

.map-topline span {
  color: rgba(223,249,248,0.68);
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 800;
}

.map-topline strong {
  font-size: 13px;
  text-transform: uppercase;
}

.map-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 190px;
  min-height: 150px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  border-radius: 10px;
  color: #ffffff;
  background: linear-gradient(135deg, #09222f, #0a7883);
  box-shadow: 0 28px 70px rgba(0,0,0,0.34);
  z-index: 2;
}

.map-core span {
  font-size: 28px;
  font-weight: 900;
}

.map-core strong {
  font-size: 20px;
}

.map-core small {
  color: rgba(255,255,255,0.68);
  font-size: 10px;
  text-transform: uppercase;
}

.orbit-card {
  position: absolute;
  z-index: 3;
  width: 172px;
  min-height: 86px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 8px;
  color: #0d2330;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 22px 54px rgba(0,0,0,0.22);
}

.orbit-card span {
  color: #0b6175;
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 900;
}

.orbit-card strong {
  font-size: 15px;
  line-height: 1.18;
}

.orbit-1 { left: 24px; top: 88px; }
.orbit-2 { right: 24px; top: 88px; }
.orbit-3 { right: 24px; top: 224px; }
.orbit-4 { left: 24px; top: 224px; }
.orbit-5 { left: 50%; bottom: 34px; transform: translateX(-50%); }

.command-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.command-strip article,
.division-card,
.flow-board div {
  border: 1px solid rgba(12, 39, 52, 0.12);
  border-radius: 9px;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 24px 70px rgba(18, 48, 61, 0.1);
}

.command-strip article {
  padding: 22px;
}

.command-strip span,
.division-card span,
.flow-board span {
  color: #0b6175;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.command-strip strong {
  display: block;
  margin-top: 8px;
  font-size: 19px;
}

.command-strip p,
.division-card p,
.flow-board p {
  margin-top: 8px;
  color: #5c6b76;
}

.enterprise-section {
  margin-top: 18px;
  padding: clamp(34px, 5vw, 62px);
  border: 1px solid rgba(12, 39, 52, 0.12);
  border-radius: 10px;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 24px 80px rgba(18, 48, 61, 0.11);
}

.enterprise-section .section-heading h2 {
  max-width: 1040px;
  font-size: clamp(34px, 4.5vw, 68px);
  line-height: 0.98;
}

.division-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.division-card {
  min-height: 270px;
  padding: 24px;
  border-top: 5px solid #0b6175;
}

.division-card strong {
  display: block;
  margin-top: 16px;
  font-size: 24px;
  line-height: 1.08;
}

.flow-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.flow-board div {
  min-height: 190px;
  padding: 22px;
  background: linear-gradient(180deg, #ffffff, #f2f8fa);
}

.flow-board strong {
  display: block;
  margin-top: 12px;
  font-size: 24px;
}

@media (max-width: 1180px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .enterprise-map {
    min-height: 520px;
  }
  .brand-visual {
    min-height: 460px;
  }
  .division-grid,
  .flow-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .enterprise-header {
    grid-template-columns: 1fr;
  }
  .enterprise-nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .hero-grid {
    padding: 24px;
  }
  .hero-copy h1 {
    font-size: clamp(38px, 12vw, 60px);
  }
  .enterprise-map {
    min-height: auto;
    display: grid;
    gap: 10px;
    padding: 16px;
  }
  .brand-visual {
    min-height: 420px;
  }
  .brand-panel {
    grid-template-columns: 54px 1fr;
    left: 14px;
    right: 14px;
    bottom: 14px;
  }
  .brand-panel img {
    width: 54px;
    height: 54px;
  }
  .brand-panel strong {
    font-size: 16px;
  }
  .enterprise-map::before,
  .enterprise-map::after,
  .map-topline {
    display: none;
  }
  .map-core,
  .orbit-card {
    position: static;
    width: auto;
    min-height: auto;
    transform: none;
  }
  .command-strip,
  .division-grid,
  .flow-board {
    grid-template-columns: 1fr;
  }
}
