:root {
  --bg: #050c18;
  --bg-raise: #0b1730;
  --ink: #121826;
  --muted: #667085;
  --line: #e6ebf2;
  --paper: #ffffff;
  --blue: #0a6bff;
  --blue-deep: #0847c7;
  --cyan: #3ad7ff;
  --red: #ff4d4f;
  --orange: #ff8a3d;
  --violet: #6d5efc;
  --header: 76px;
  --shadow: 0 18px 50px rgba(16, 24, 40, 0.08);
  --sans: "Manrope", "Segoe UI", sans-serif;
  --display: "Instrument Sans", "Manrope", sans-serif;
}

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

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: #f4f7fb;
  line-height: 1.5;
  overflow-x: clip;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

ul {
  list-style: none;
  padding: 0;
}

[hidden] {
  display: none !important;
}

::selection {
  background: #0a6bff;
  color: #fff;
}

.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 {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 80;
  background: #fff;
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 8px;
}

.skip:focus {
  top: 12px;
}

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

#poles,
#contact,
#top {
  scroll-margin-top: 84px;
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  color: #fff;
}

.site-header.is-light {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border-bottom: 1px solid rgba(18, 24, 38, 0.06);
  backdrop-filter: blur(16px);
}

.site-header.is-open {
  background: var(--bg);
}

.site-header.is-light.is-open {
  background: #fff;
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  padding: 6px 28px;
}

.nav-start,
.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-right {
  justify-content: flex-end;
  gap: 18px;
}

.nav-left a {
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
}

.site-header.is-light .nav-left a {
  color: #243044;
}

.nav-left a:hover {
  color: #fff;
}

.site-header.is-light .nav-left a:hover {
  color: var(--blue);
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo-img {
  height: 64px;
  width: auto;
}

.logo-on-dark {
  display: block;
  filter: drop-shadow(0 6px 14px rgba(0, 170, 255, 0.35));
}

.logo-on-light {
  display: none;
}

.site-header.is-light .logo-on-dark {
  display: none;
}

.site-header.is-light .logo-on-light {
  display: block;
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  background: #121a28;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 9px 14px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
}

.btn-nav:hover {
  background: #1c283c;
}

.site-header.is-light .btn-nav {
  background: var(--ink);
  border-color: var(--ink);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: #fff;
}

.site-header.is-light .menu-toggle {
  border-color: #d5dbe6;
  color: var(--ink);
}

.bars {
  position: relative;
  width: 18px;
  height: 12px;
}

.bars span {
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.bars span:nth-child(1) { top: 0; }
.bars span:nth-child(2) { top: 5px; }
.bars span:nth-child(3) { top: 10px; }

.menu-toggle[aria-expanded="true"] .bars span:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .bars span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .bars span:nth-child(3) {
  top: 5px;
  transform: rotate(-45deg);
}

.mobile-panel {
  display: flex;
  flex-direction: column;
  padding: 4px 22px 18px;
  background: var(--bg);
}

.mobile-panel a {
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 600;
}

.site-header.is-light .mobile-panel {
  background: #fff;
}

.site-header.is-light .mobile-panel a {
  border-top-color: var(--line);
}

body.menu-open {
  overflow: hidden;
}

/* Hero */

.hero {
  position: relative;
  min-height: calc(100vh - 112px);
  display: flex;
  align-items: center;
  padding: 118px 28px 64px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 46% 38% at 70% 42%, rgba(10, 107, 255, 0.32), transparent 64%),
    radial-gradient(ellipse 28% 22% at 78% 62%, rgba(58, 215, 255, 0.14), transparent 70%),
    var(--bg);
  color: #fff;
}

.hero-grid {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 20px;
  align-items: center;
}

.badge-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 4px 4px 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(6, 14, 28, 0.45);
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
}

.badge-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.badge-note svg {
  width: 15px;
  height: 15px;
  stroke: var(--cyan);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.badge-pill {
  background: #fff;
  color: #12141c;
  border-radius: 999px;
  padding: 6px 11px;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.badge-pill:hover {
  background: #e9f3ff;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 600;
}

.slogan {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.04em;
  max-width: 11.2em;
  font-size: clamp(44px, 4.7vw, 68px);
  line-height: 0.96;
  letter-spacing: -0.048em;
}

.slogan-row {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.28em;
}

.slogan em {
  font-style: normal;
  color: #7ad4ff;
}

.hero-lead {
  margin-top: 18px;
  max-width: 440px;
  color: rgba(226, 234, 248, 0.74);
  font-size: 16.5px;
  line-height: 1.6;
}

.hero-actions {
  margin-top: 28px;
}

.btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #0c1220;
  border-radius: 8px;
  padding: 13px 18px;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.btn-light:hover {
  background: #eef5ff;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(70, 170, 255, 0.55), rgba(20, 80, 220, 0.12) 46%, transparent 70%);
  filter: blur(8px);
}

.hero-logo {
  position: relative;
  width: min(100%, 540px);
  height: auto;
  filter: drop-shadow(0 24px 48px rgba(0, 140, 255, 0.4));
}

.poles-scene {
  background:
    radial-gradient(ellipse 68% 50% at 50% 48%, rgba(47, 125, 255, 0.1), transparent 70%),
    #fff;
  border-radius: 28px;
  padding: 4px 0 0;
}

.scene-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.scene-label {
  font-family: var(--sans);
  font-weight: 700;
  fill: #1c2838;
  text-anchor: middle;
}

.scene-label-sub {
  font-weight: 500;
  fill: #6b7380;
}

.wire {
  fill: none;
  stroke: rgba(47, 107, 255, 0.55);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 1.5 8;
}

.node-dot {
  fill: #fff;
  stroke: #2f6bff;
  stroke-width: 1.4;
}

.float {
  animation: floaty 7s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.f2 { animation-duration: 8.2s; animation-delay: -1.6s; }
.f3 { animation-duration: 6.6s; animation-delay: -2.4s; }
.f4 { animation-duration: 7.6s; animation-delay: -3.1s; }
.f5 { animation-duration: 8.8s; animation-delay: -0.7s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.horizon {
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: -90px;
  height: 320px;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 58%, rgba(88, 168, 255, 0.95) 0%, rgba(24, 98, 255, 0.72) 30%, rgba(10, 40, 130, 0.18) 56%, transparent 72%);
  filter: blur(8px);
}

/* Band */

.band {
  position: relative;
  z-index: 3;
  background: linear-gradient(180deg, #d7e7ff 0%, #ffffff 64px);
  border-bottom: 1px solid var(--line);
}

.band-inner {
  display: flex;
  align-items: stretch;
  width: min(1180px, 100%);
  margin: 0 auto;
  min-height: 96px;
}

.wordmarks {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 18px;
  padding: 18px 22px;
  min-width: 0;
}

.wordmarks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8b97a8;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.wordmarks li::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 1.5px solid #c3cedd;
  transform: rotate(45deg);
  flex: none;
}

.stats {
  display: flex;
  border-left: 1px solid var(--line);
}

.stats li {
  min-width: 168px;
  padding: 20px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stats li + li {
  border-left: 1px solid var(--line);
}

.stats strong {
  font-family: var(--display);
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--blue);
  font-weight: 600;
}

.stats span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

/* Poles */

.poles {
  background: #fff;
  padding: 72px 24px 108px;
}

.poles-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.poles-body {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 20px 28px;
  align-items: center;
}

.poles h2 {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 600;
  letter-spacing: -0.035em;
  color: #1c1c1c;
}

.poles h2 span {
  color: #ff5648;
  font-weight: 500;
}

.poles-head p {
  margin-top: 12px;
  color: #6b7380;
  font-size: 16.5px;
}

.poles-grid {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 16px;
  padding: 6px 18px 10px 4px;
}

.hex {
  --c: var(--blue);
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 0.96;
  color: inherit;
}

.hex--agri { --c: var(--red); }
.hex--edu { --c: var(--orange); }
.hex--sante { --c: #2f6bff; }
.hex--fin { --c: var(--violet); }

.hex-glow,
.hex-extrude,
.hex-border,
.hex-face {
  position: absolute;
  pointer-events: none;
}

.hex-glow {
  z-index: 0;
  left: 14%;
  right: 0;
  bottom: -4%;
  height: 32%;
  background: var(--c);
  filter: blur(16px);
  opacity: 0.38;
  border-radius: 50%;
  transform: translate(10px, 12px);
  transition: opacity 0.25s ease;
}

.hex-extrude,
.hex-border,
.hex-face {
  inset: 0;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.hex-extrude {
  z-index: 1;
  background: var(--c);
  transform: translate(13px, 9px);
  transition: transform 0.25s ease;
}

.hex-border {
  z-index: 2;
  background: var(--c);
}

.hex-face {
  z-index: 3;
  inset: 1.7%;
  background: linear-gradient(180deg, #ffffff, #fcfcfd);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 16% 18% 14%;
}

.hex-icon svg {
  width: 26px;
  height: 26px;
  stroke: #1a1a1a;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hex-title {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  line-height: 1.28;
  color: #1a1a1a;
}

.hex-text {
  font-size: 12px;
  line-height: 1.45;
  color: #8b919c;
  max-width: 24ch;
}

.hex:hover .hex-extrude,
.hex.is-selected .hex-extrude {
  transform: translate(18px, 13px);
}

.hex:hover .hex-glow,
.hex.is-selected .hex-glow {
  opacity: 0.58;
}

.hex.is-selected .hex-face {
  background: #fff;
}

/* Contact */

.contact {
  background:
    radial-gradient(ellipse 36% 50% at 100% 0%, rgba(10, 107, 255, 0.08), transparent 60%),
    #f3f6fb;
  padding: 88px 24px 104px;
}

.contact-grid {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.kicker {
  color: var(--blue);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact h2 {
  margin-top: 10px;
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.035em;
  line-height: 1.05;
  font-weight: 600;
}

.contact-lead {
  margin-top: 16px;
  color: #526070;
  font-size: 16.5px;
  max-width: 42ch;
}

.form-card {
  background: #fff;
  border: 1px solid #e5ebf3;
  border-radius: 18px;
  padding: 26px;
  box-shadow: var(--shadow);
  color-scheme: light;
}

.form-title {
  font-family: var(--display);
  font-size: 20px;
  margin-bottom: 16px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.field label,
.consent {
  font-size: 13px;
  font-weight: 700;
  color: #1c2838;
}

.opt {
  font-weight: 500;
  color: #8b95a3;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #d9e1ec;
  border-radius: 10px;
  padding: 12px 14px;
  background: #fbfcfe;
  outline: none;
  color-scheme: light;
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%235c6b82' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(10, 107, 255, 0.12);
  outline: none;
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea,
.consent-field.is-invalid .consent {
  border-color: #d92d20;
}

.consent-field.is-invalid .consent {
  border: 1px solid #d92d20;
  border-radius: 10px;
  padding: 8px;
}

.field-error {
  color: #b42318;
  font-size: 12.5px;
  font-weight: 600;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
  line-height: 1.45;
}

.consent input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
}

.submit {
  width: 100%;
  margin-top: 4px;
  border: 0;
  border-radius: 10px;
  padding: 14px 16px;
  background: #121826;
  color: #fff;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
}

.submit:hover {
  background: var(--blue);
}

.form-success {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-success h3 {
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: -0.03em;
}

.form-success p {
  color: #526070;
}

.success-preview {
  width: 100%;
  min-height: 150px;
  border-radius: 12px;
  border: 1px solid #e1e7f0;
  background: #f7f9fc;
  padding: 12px 14px;
  color: #243044;
  resize: vertical;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-dark,
.btn-ghost,
.btn-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 11px 14px;
  font-weight: 700;
  font-size: 14px;
}

.btn-dark {
  background: #121826;
  color: #fff;
  border: 0;
}

.btn-dark:hover { background: var(--blue); }

.btn-blue {
  background: var(--blue);
  color: #fff;
}

.btn-blue:hover { background: var(--blue-deep); }

.btn-ghost {
  background: transparent;
  border: 1px solid #d5deea;
  color: #243044;
}

.btn-ghost:hover { background: #f4f7fb; }

.noscript-note {
  margin-bottom: 12px;
  color: #526070;
  font-size: 14px;
}

/* Footer */

.site-footer {
  background: var(--bg);
  color: rgba(255, 255, 255, 0.74);
  padding: 28px;
}

.footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.footer-brand img {
  height: 54px;
  width: auto;
}

.footer-brand strong {
  display: block;
  font-family: var(--display);
  letter-spacing: 0.14em;
  font-size: 14px;
}

.footer-brand small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12.5px;
}

.footer-nav {
  display: flex;
  gap: 18px;
}

.footer-nav a:hover,
.footer-brand:hover strong {
  color: var(--cyan);
}

.copyright {
  font-size: 13px;
}

/* Responsive */

@media (max-width: 1100px) {
  .poles-body {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .poles-grid {
    grid-template-columns: repeat(2, minmax(200px, 320px));
    justify-content: center;
    gap: 42px 28px;
    padding: 6px 8px 10px;
  }
}

@media (max-width: 980px) {
  .nav-left,
  .btn-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 112px;
  }

  .hero-visual {
    min-height: 0;
    max-width: 640px;
  }

  .band-inner {
    flex-direction: column;
  }

  .wordmarks {
    gap: 16px;
    overflow-x: auto;
    padding: 16px 20px 8px;
  }

  .stats {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .stats li {
    flex: 1;
    min-width: 0;
    padding: 16px 14px;
  }
}

@media (max-width: 640px) {
  .bar {
    padding: 10px 16px;
  }

  .hero {
    padding: 108px 18px 120px;
  }

  .slogan {
    font-size: 40px;
    max-width: none;
  }

  .poles {
    padding: 72px 16px 80px;
  }

  .poles-grid {
    grid-template-columns: minmax(0, 340px);
    justify-content: center;
  }

  .contact {
    padding: 64px 16px 80px;
  }

  .form-card {
    padding: 18px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .stats {
    display: grid;
    grid-template-columns: 1fr;
  }

  .stats li + li {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .badge-row {
    flex-wrap: wrap;
    border-radius: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
