
:root {
  --bg: #0b1020;
  --bg-soft: #12192f;
  --surface: rgba(17, 27, 49, 0.62);
  --surface-strong: rgba(11, 16, 32, 0.88);
  --border: rgba(255, 255, 255, 0.12);
  --text: #edf2ff;
  --muted: #b5c0dd;
  --primary: #1d64ff;
  --primary-2: #f0c419;
  --accent: #00a86b;
  --accent-2: #d61e32;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --radius: 24px;
  --radius-sm: 18px;
  --container: min(1180px, calc(100% - 32px));
  --hero-glow: radial-gradient(circle at top left, rgba(29, 100, 255, 0.35), transparent 42%),
               radial-gradient(circle at 80% 20%, rgba(240, 196, 25, 0.24), transparent 28%),
               radial-gradient(circle at 80% 80%, rgba(0, 168, 107, 0.18), transparent 24%);
}

html[data-theme="light"] {
  --bg: #f8fafc;
  --bg-soft: #eef3fb;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-strong: rgba(255, 255, 255, 0.95);
  --border: rgba(22, 30, 60, 0.10);
  --text: #111a2c;
  --muted: #48526f;
  --primary: #1758e5;
  --primary-2: #c79b0b;
  --accent: #058955;
  --accent-2: #c81a2d;
  --shadow: 0 22px 60px rgba(28, 50, 97, 0.12);
  --hero-glow: radial-gradient(circle at top left, rgba(29, 100, 255, 0.16), transparent 42%),
               radial-gradient(circle at 80% 20%, rgba(240, 196, 25, 0.16), transparent 28%),
               radial-gradient(circle at 80% 80%, rgba(0, 168, 107, 0.12), transparent 24%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    var(--hero-glow),
    linear-gradient(180deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 88%, #0a1228 12%) 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-shell { position: relative; isolation: isolate; }
.container { width: var(--container); margin: 0 auto; position: relative; z-index: 1; }
.narrow { max-width: 840px; }

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
  pointer-events: none;
}
html[data-theme="light"] .bg-grid {
  background-image:
    linear-gradient(rgba(10,20,40,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,20,40,.05) 1px, transparent 1px);
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(22px);
  opacity: 0.5;
  z-index: -2;
  pointer-events: none;
}
.orb-a { width: 320px; height: 320px; background: rgba(29, 100, 255, .20); top: 80px; left: -60px; animation: float 12s ease-in-out infinite; }
.orb-b { width: 260px; height: 260px; background: rgba(240, 196, 25, .14); top: 22%; right: -30px; animation: float 15s ease-in-out infinite reverse; }
.orb-c { width: 280px; height: 280px; background: rgba(0, 168, 107, .15); bottom: 0; left: 15%; animation: float 17s ease-in-out infinite; }

.glass {
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 92%, transparent), color-mix(in srgb, var(--surface-strong) 88%, transparent));
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}
.accent-panel {
  background:
    linear-gradient(155deg, rgba(29,100,255,.18), rgba(240,196,25,.12) 48%, rgba(0,168,107,.12) 100%),
    var(--surface-strong);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 32px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 10px 0 0;
}
.nav-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  border-radius: 22px;
  padding: 12px 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.04));
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 10px 26px rgba(0,0,0,.16);
}
.flag {
  position: absolute;
  width: 16px;
  height: 26px;
  border-radius: 8px;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 6px 16px rgba(0,0,0,.18);
}
.flag-it {
  left: 10px;
  background: linear-gradient(90deg, #009246 0 33.33%, #ffffff 33.33% 66.66%, #ce2b37 66.66%);
}
.flag-ua {
  right: 10px;
  background: linear-gradient(180deg, #005bbb 0 50%, #ffd500 50% 100%);
}

.brand-mark--image {
  overflow: hidden;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.18);
}
.brand-mark--image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.footer-brand__logo {
  width: 92px;
  height: 92px;
  display: block;
  object-fit: cover;
  border-radius: 22px;
  margin-bottom: 14px;
  box-shadow: 0 12px 34px rgba(0,0,0,.18);
  background: rgba(255,255,255,.92);
}
body[data-theme="dark"] .brand-mark--image,
body[data-theme="dark"] .footer-brand__logo {
  background: rgba(255,255,255,.96);
}
.brand-copy { display: flex; flex-direction: column; min-width: 0; }
.brand-copy strong { font-size: 0.98rem; line-height: 1.1; }
.brand-copy em { font-style: normal; color: var(--muted); font-size: 0.82rem; line-height: 1.1; margin-top: 4px; }

.main-nav {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.nav-link {
  color: var(--muted);
  padding: 10px 14px;
  border-radius: 999px;
  transition: .25s ease;
  font-weight: 500;
}
.nav-link:hover, .nav-link.active {
  color: var(--text);
  background: rgba(255,255,255,.08);
}

.toolbar { display: flex; align-items: center; gap: 10px; }
.lang-switch {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  background: rgba(255,255,255,.04);
}
.lang-btn, .theme-toggle, .menu-toggle {
  border: 0;
  background: none;
  color: var(--text);
  cursor: pointer;
}
.lang-btn {
  padding: 8px 10px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--muted);
}
.lang-btn.active { background: rgba(255,255,255,.12); color: var(--text); }

.theme-toggle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.06);
  display: inline-grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.theme-toggle span {
  position: absolute;
  transition: .25s ease;
}
.theme-toggle__sun { transform: translateY(0); opacity: 1; }
.theme-toggle__moon { transform: translateY(20px); opacity: 0; }
html[data-theme="light"] .theme-toggle__sun { transform: translateY(-20px); opacity: 0; }
html[data-theme="light"] .theme-toggle__moon { transform: translateY(0); opacity: 1; }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--border);
  place-items: center;
  gap: 4px;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

.hero {
  padding: 68px 0 44px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: center;
}
.hero-copy h1, .page-hero h1 {
  font-size: clamp(1.9rem, 4.1vw, 3.35rem);
  line-height: 1.02;
  margin: 10px 0 12px;
  letter-spacing: -0.035em;
}
.hero-copy h1 {
  max-width: 12ch;
}
.hero-copy {
  max-width: 620px;
}
.hero-text, .page-hero p, .section-head p, .statement-panel p, .split-panel p, .feature-card p, .service-card p, .contact-box p, .faq-item p {
  color: var(--muted);
  line-height: 1.66;
  font-size: 1rem;
}
.section-badge, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--text);
  font-size: .84rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 15px;
  font-weight: 700;
  transition: transform .28s ease, box-shadow .28s ease, background .28s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #07111e;
  background: linear-gradient(135deg, var(--primary-2), #ffe895 70%);
  box-shadow: 0 14px 36px rgba(240, 196, 25, .22);
}
.btn-secondary {
  background: rgba(255,255,255,.08);
  border: 1px solid var(--border);
}
.btn-full { width: 100%; }
.hero-scroll {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 12px 16px 12px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 44px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.08);
  color: var(--text);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background .28s ease;
}
.hero-scroll::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(29,100,255,.10), rgba(255,215,74,.08) 55%, rgba(0,168,107,.10));
  opacity: .9;
  z-index: -1;
}
.hero-scroll:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,.22);
  box-shadow: 0 24px 58px rgba(0,0,0,.24), 0 0 0 1px rgba(255,255,255,.04) inset;
}
.hero-scroll:focus-visible {
  outline: 2px solid rgba(255,215,74,.9);
  outline-offset: 4px;
}
.hero-scroll__mouse {
  position: relative;
  width: 32px;
  height: 48px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.26);
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.03));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10);
  flex: 0 0 auto;
}
.hero-scroll__mouse::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(255,215,74,.18), transparent 65%);
  z-index: -1;
}
.hero-scroll__wheel {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 6px;
  height: 10px;
  margin-left: -3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff7cf, var(--primary-2));
  box-shadow: 0 0 12px rgba(255,215,74,.35);
  animation: scrollWheel 1.85s cubic-bezier(.2,.7,.25,1) infinite;
}
.hero-scroll__copy {
  display: grid;
  gap: 3px;
}
.hero-scroll__label {
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-scroll__hint {
  color: var(--muted);
  font-size: .88rem;
}
.hero-scroll__arrow {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.14);
  flex: 0 0 auto;
}
.hero-scroll__arrow::before,
.hero-scroll__arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--text);
  border-radius: 999px;
  transform-origin: center;
}
.hero-scroll__arrow::before {
  width: 2px;
  height: 11px;
  margin-left: -1px;
  margin-top: -5px;
}
.hero-scroll__arrow::after {
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--text);
  border-bottom: 2px solid var(--text);
  background: transparent;
  margin-left: -4px;
  margin-top: -2px;
  transform: rotate(45deg);
}
html[data-theme="light"] .hero-scroll {
  border-color: rgba(10,18,40,.08);
  background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,255,255,.76));
  box-shadow: 0 18px 42px rgba(18,38,63,.12), inset 0 1px 0 rgba(255,255,255,.95);
}
html[data-theme="light"] .hero-scroll__mouse,
html[data-theme="light"] .hero-scroll__arrow {
  border-color: rgba(10,18,40,.10);
}

.hero-visual { perspective: 1400px; }
.floating-stage {
  position: relative;
  min-height: 480px;
}
.stage-card {
  position: absolute;
  width: min(100%, 260px);
  padding: 20px;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.04)),
    rgba(10, 18, 40, .72);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 20px 54px rgba(0,0,0,.24);
  transform-style: preserve-3d;
}
html[data-theme="light"] .stage-card {
  background:
    linear-gradient(145deg, rgba(255,255,255,.95), rgba(255,255,255,.75)),
    rgba(255, 255, 255, .84);
}
.stage-card:nth-child(1) { top: 8px; left: 8%; animation: drift 8s ease-in-out infinite; }
.stage-card:nth-child(2) { top: 31%; right: 4%; animation: drift 9s ease-in-out infinite reverse; }
.stage-card:nth-child(3) { bottom: 4%; left: 18%; animation: drift 10s ease-in-out infinite; }
.stage-card h3 { margin: 12px 0 8px; font-size: 1.22rem; }
.mini-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(29,100,255,.9), rgba(0,168,107,.9));
  color: white;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.cube-wrap {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.cube {
  position: relative;
  width: 130px;
  height: 130px;
  transform-style: preserve-3d;
  animation: spinCube 16s linear infinite;
}
.cube span {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.18);
  background: linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.02));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.cube span:nth-child(1) { transform: translateZ(65px); }
.cube span:nth-child(2) { transform: rotateY(180deg) translateZ(65px); }
.cube span:nth-child(3) { transform: rotateY(90deg) translateZ(65px); }
.cube span:nth-child(4) { transform: rotateY(-90deg) translateZ(65px); }
.cube span:nth-child(5) { transform: rotateX(90deg) translateZ(65px); }
.cube span:nth-child(6) { transform: rotateX(-90deg) translateZ(65px); }

.section, .cta-band {
  padding: 48px 0 64px;
}
.section-soft { background: linear-gradient(180deg, transparent, rgba(255,255,255,.02), transparent); }
.section-head {
  max-width: 840px;
  margin-bottom: 26px;
}
.section-head h2, .statement-panel h2, .split-panel h2, .contact-panel h2, .contact-box h3, .site-footer h3, .site-footer h4 {
  font-size: clamp(1.65rem, 3.5vw, 2.6rem);
  line-height: 1.06;
  margin: 12px 0 12px;
  letter-spacing: -0.03em;
}
.feature-grid, .service-grid, .grid-3, .grid-2 {
  display: grid;
  gap: 20px;
}
.feature-grid, .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2, .contact-grid, .split-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.feature-card, .service-card, .statement-panel, .split-panel, .contact-panel, .contact-box {
  border-radius: var(--radius);
  padding: 28px;
}
.service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(29,100,255,.15), rgba(255,255,255,.02) 35%, rgba(0,168,107,.08) 100%),
    var(--surface-strong);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.service-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -50px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,196,25,.22), transparent 65%);
}
.service-card--large { min-height: 220px; }
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(29,100,255,.95), rgba(240,196,25,.92));
  box-shadow: 0 16px 30px rgba(29,100,255,.20);
}
.feature-card h3, .service-card h3, .timeline-item h3, .faq-item h4 {
  margin: 14px 0 10px;
  font-size: 1.22rem;
  line-height: 1.2;
}

.split-grid { display: grid; gap: 20px; align-items: stretch; }
.timeline { display: grid; gap: 18px; margin-top: 18px; }
.timeline-item {
  position: relative;
  padding-left: 24px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 0 0 8px rgba(29,100,255,.10);
}
.sector-list, .footer-links, .footer-meta, .contact-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}
.sector-list li, .contact-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.sector-list li:last-child, .contact-list li:last-child { border-bottom: none; }

.cta-band__wrap {
  border-radius: 30px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.page-hero {
  padding: 76px 0 28px;
}
.inner-page .page-hero h1 { margin-bottom: 14px; }

.contact-grid { display: grid; gap: 20px; align-items: start; }
.contact-panel { min-height: 100%; }
.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 12px;
}
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
label span {
  display: inline-block;
  margin-bottom: 8px;
  font-weight: 600;
}
input, textarea, select {
  width: 100%;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.06);
  color: var(--text);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  outline: none;
}
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  padding-right: 50px;
  color-scheme: dark;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%23EDF2FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px 16px;
}
select option,
select optgroup {
  background: #0f1729;
  color: #edf2ff;
}
select option:disabled {
  color: #9fb0d4;
}
html[data-theme="light"] input,
html[data-theme="light"] textarea,
html[data-theme="light"] select {
  background: rgba(255,255,255,.8);
}
html[data-theme="light"] select {
  color-scheme: light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%23111A2C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
html[data-theme="light"] select option,
html[data-theme="light"] select optgroup {
  background: #ffffff;
  color: #111a2c;
}
input:focus, textarea:focus, select:focus {
  border-color: rgba(29,100,255,.55);
  box-shadow: 0 0 0 4px rgba(29,100,255,.10);
}
textarea { resize: vertical; min-height: 138px; }
.checkbox {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
}
.form-status {
  margin: 0;
  min-height: 24px;
  color: var(--muted);
}
.map-link { text-decoration: underline; text-underline-offset: 4px; }

.site-footer {
  padding: 34px 0 40px;
  margin-top: 12px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .7fr .9fr;
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid var(--border);
}
.footer-brand p, .footer-links a, .footer-meta, .footer-meta a {
  color: var(--muted);
}
.footer-links li { padding: 5px 0; }
.footer-bottom {
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: .94rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.tilt-card {
  transform-style: preserve-3d;
  transition: transform .25s ease;
  will-change: transform;
}

@keyframes float {
  0%,100% { transform: translate3d(0,0,0); }
  50% { transform: translate3d(0,-18px,0); }
}
@keyframes drift {
  0%,100% { transform: translate3d(0,0,0) rotateX(0deg) rotateY(0deg); }
  50% { transform: translate3d(0,-10px,0) rotateX(3deg) rotateY(-4deg); }
}
@keyframes spinCube {
  0% { transform: rotateX(-18deg) rotateY(0deg); }
  100% { transform: rotateX(-18deg) rotateY(360deg); }
}

@media (max-width: 1080px) {
  .hero-grid,
  .service-grid,
  .feature-grid,
  .grid-3,
  .contact-grid,
  .grid-2,
  .split-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .service-grid article:last-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 860px) {
  .nav-wrap {
    grid-template-columns: auto auto auto;
  }
  .menu-toggle { display: inline-grid; }
  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    display: grid;
    gap: 8px;
    justify-content: stretch;
    padding: 12px;
    border-radius: 20px;
    background: var(--surface-strong);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: .25s ease;
  }
  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .toolbar { margin-left: auto; }
  .hero { padding-top: 50px; }
  .hero-grid,
  .service-grid,
  .feature-grid,
  .grid-3,
  .grid-2,
  .split-grid,
  .contact-grid,
  .footer-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }
  .floating-stage { min-height: 420px; }
  .stage-card { width: min(100%, 238px); }
  .cta-band__wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 560px) {
  .container { width: min(100% - 18px, 1180px); }
  .nav-wrap { padding: 10px 12px; gap: 8px; }
  .brand-copy em { display: none; }
  .toolbar { gap: 8px; }
  .lang-btn { padding: 8px 8px; }
  .hero {
    padding: 42px 0 28px;
  }
  .hero-actions {
    margin-top: 18px;
  }
  .hero-scroll {
    margin-top: 18px;
  }
  .hero-copy h1, .page-hero h1 {
    font-size: clamp(1.45rem, 7.6vw, 2.1rem);
    line-height: 1.05;
  }
  .hero-copy h1 {
    max-width: 100%;
  }
  .feature-card, .service-card, .statement-panel, .split-panel, .contact-panel, .contact-box, .cta-band__wrap {
    padding: 22px;
    border-radius: 22px;
  }
  .floating-stage { min-height: 360px; }
  .stage-card:nth-child(1) { left: 0; }
  .stage-card:nth-child(2) { right: 0; }
  .stage-card:nth-child(3) { left: 8%; }
}


.partners-section {
  position: relative;
}
.partner-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
  position: relative;
  overflow: hidden;
}
.partner-card::after {
  content: "";
  position: absolute;
  inset: auto -36px -46px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29,100,255,.18), transparent 68%);
}
.partner-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.partner-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.partner-monogram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(29,100,255,.22), rgba(240,196,25,.18));
  border: 1px solid rgba(255,255,255,.12);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
}
.partner-link {
  margin-top: auto;
  align-self: flex-start;
}
.partner-mini-panel a {
  font-weight: 600;
}
.partner-mini-list {
  margin-top: 0;
}
.partner-mini-list li {
  border-bottom-color: rgba(255,255,255,.14);
}


.member-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.member-tag,
.news-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.member-benefits-grid {
  display: grid;
  gap: 20px;
}
.section-cta {
  margin-top: 26px;
  display: flex;
  justify-content: flex-start;
}
.news-grid {
  align-items: stretch;
}
.news-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  border-radius: var(--radius);
  padding: 28px;
}
.news-card::after {
  content: "";
  position: absolute;
  inset: auto -34px -46px auto;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,168,107,.18), transparent 68%);
}
.news-card h3 {
  margin: 16px 0 10px;
  font-size: 1.22rem;
  line-height: 1.2;
}
.cta-band--membership {
  padding-top: 0;
}
@media (max-width: 1080px) {
  .member-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 860px) {
  .member-grid,
  .member-benefits-grid {
    grid-template-columns: 1fr;
  }
}

@keyframes scrollWheel {
  0% { opacity: 0; transform: translate(-50%, 0); }
  18% { opacity: 1; transform: translate(-50%, 0); }
  72% { opacity: 1; transform: translate(-50%, 16px); }
  100% { opacity: 0; transform: translate(-50%, 18px); }
}


.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  margin-bottom: 14px;
  font-size: .92rem;
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--text); }
.article-hero .narrow { max-width: 900px; }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.article-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  font-size: .86rem;
}
.article-wrap { padding-top: 24px; }
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) 320px;
  gap: 22px;
  align-items: start;
}
.article-main {
  border-radius: var(--radius);
  padding: 32px;
}
.article-intro {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 26px;
}
.article-takeaways {
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  border-radius: 22px;
  padding: 22px;
  margin-bottom: 22px;
}
.article-takeaways h3,
.article-side-card h3 { margin-bottom: 14px; }
.article-takeaways ul,
.toc-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.article-takeaways li,
.toc-list li { margin-bottom: 10px; line-height: 1.6; }
.article-prose h2 {
  font-size: 1.55rem;
  margin: 28px 0 12px;
}
.article-prose p {
  color: var(--muted);
  line-height: 1.78;
  margin: 0 0 16px;
}
.article-aside {
  display: grid;
  gap: 18px;
}
.article-side-card {
  border-radius: var(--radius);
  padding: 24px;
}
.sticky-card {
  position: sticky;
  top: 110px;
}
.toc-list a {
  color: var(--muted);
}
.toc-list a:hover,
.article-teaser-card h3 a:hover,
.article-link:hover {
  color: var(--text);
}
.article-teaser-card {
  display: flex;
  flex-direction: column;
}
.article-teaser-card p { color: var(--muted); line-height: 1.7; }
.article-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 10px;
  color: var(--muted);
  font-size: .86rem;
}
.article-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-weight: 700;
}
.article-link::after {
  content: "→";
}
.featured-teaser { min-height: 100%; }
.faq-list {
  display: grid;
  gap: 16px;
}
@media (max-width: 980px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  .sticky-card { position: static; }
}
@media (max-width: 640px) {
  .article-main,
  .article-side-card,
  .accent-panel { padding: 22px; }
  .article-intro { font-size: 1.04rem; }
  .article-prose h2 { font-size: 1.34rem; }
}


.hero-title-line {
  display: block;
  white-space: nowrap;
}

.hero-copy h1 {
  max-width: fit-content;
}

@media (max-width: 900px) {
  .hero-title-line {
    white-space: normal;
  }

  .hero-copy h1 {
    max-width: 11ch;
  }
}

.featured-home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, .8fr);
  gap: 20px;
  align-items: stretch;
}
.featured-home-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px;
  border-radius: var(--radius);
  overflow: hidden;
}
.featured-home-card::after {
  content: "";
  position: absolute;
  inset: auto -26px -42px auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250,204,21,.14), transparent 70%);
  pointer-events: none;
}
.featured-home-card > * { position: relative; z-index: 1; }
.featured-home-card--lead {
  min-height: 100%;
  background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
}
.featured-home-card--lead h3 {
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  line-height: 1.12;
  margin: 16px 0 14px;
}
.featured-home-card h3 {
  margin: 14px 0 12px;
  line-height: 1.18;
}
.featured-home-card p {
  color: var(--muted);
  line-height: 1.72;
}
.featured-home-card .article-link {
  margin-top: auto;
  padding-top: 18px;
}
.featured-home-card .news-tag,
.featured-home-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.featured-home-card--lead .featured-home-kicker {
  width: fit-content;
  background: linear-gradient(135deg, rgba(0,168,107,.18), rgba(0,91,187,.18));
}
.featured-home-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 16px;
  color: var(--muted);
  font-size: .88rem;
}
@media (max-width: 1080px) {
  .featured-home-layout {
    grid-template-columns: 1fr 1fr;
  }
  .featured-home-card--lead {
    grid-column: 1 / -1;
  }
}
@media (max-width: 720px) {
  .featured-home-layout {
    grid-template-columns: 1fr;
  }
}


.sticky-cta {
  position: fixed;
  right: clamp(14px, 2.2vw, 28px);
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  display: flex;
  align-items: flex-end;
  gap: 12px;
}
.sticky-cta__fab {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.2), transparent 42%), linear-gradient(145deg, rgba(0,168,107,.98), rgba(0,130,81,.92));
  box-shadow: 0 22px 50px rgba(0,168,107,.28), 0 0 0 1px rgba(255,255,255,.14) inset;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform .28s ease, box-shadow .28s ease;
  overflow: hidden;
}
.sticky-cta__fab:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 28px 58px rgba(0,168,107,.34), 0 0 0 1px rgba(255,255,255,.18) inset;
}
.sticky-cta__fab-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.16);
  background: radial-gradient(circle, rgba(255,255,255,.08), transparent 62%);
  animation: stickyFabPulse 2.8s ease-out infinite;
}
.sticky-cta__fab-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 30px;
  height: 30px;
}
.sticky-cta__fab-icon svg {
  width: 100%;
  height: 100%;
}
.sticky-cta__panel {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(11,16,32,.9), rgba(20,28,54,.82));
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 20px 60px rgba(0,0,0,.28), 0 0 0 1px rgba(255,255,255,.03) inset;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  transform: translateX(10px) scale(.96);
  transform-origin: right bottom;
  pointer-events: none;
  transition: opacity .28s ease, max-width .32s ease, transform .28s ease;
}
.sticky-cta:hover .sticky-cta__panel,
.sticky-cta:focus-within .sticky-cta__panel {
  opacity: 1;
  max-width: 360px;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}
.sticky-cta__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0,168,107,.45), rgba(0,91,187,.5), rgba(255,215,0,.35));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.sticky-cta__badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.76);
  border: 1px solid rgba(255,255,255,.09);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.sticky-cta__badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00a86b, #005bbb);
  box-shadow: 0 0 0 6px rgba(0,168,107,.1);
}
.sticky-cta__actions {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.sticky-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 50px;
  padding: 0 16px;
  border-radius: 16px;
  font-weight: 800;
  letter-spacing: .01em;
  text-decoration: none;
  color: #fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
  white-space: nowrap;
}
.sticky-cta__btn:hover {
  transform: translateY(-2px);
}
.sticky-cta__btn--whatsapp {
  background: linear-gradient(135deg, rgba(0,168,107,.92), rgba(0,130,81,.92));
  box-shadow: 0 14px 32px rgba(0,168,107,.24);
}
.sticky-cta__btn--call {
  background: linear-gradient(135deg, rgba(0,91,187,.95), rgba(0,63,129,.95));
  box-shadow: 0 14px 32px rgba(0,91,187,.24);
}
@keyframes stickyFabPulse {
  0% { transform: scale(.88); opacity: .18; }
  70% { transform: scale(1.08); opacity: .04; }
  100% { transform: scale(1.16); opacity: 0; }
}
@media (max-width: 720px) {
  .sticky-cta {
    left: 12px;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    display: grid;
    gap: 0;
  }
  .sticky-cta__fab {
    display: none;
  }
  .sticky-cta__panel {
    opacity: 1;
    max-width: none;
    transform: none;
    pointer-events: auto;
    border-radius: 20px;
    padding: 10px;
  }
  .sticky-cta__badge {
    min-height: 28px;
    font-size: .68rem;
  }
  .sticky-cta__actions {
    grid-template-columns: 1fr 1fr;
  }
  .sticky-cta__btn {
    min-width: 0;
    min-height: 46px;
    border-radius: 14px;
    font-size: .95rem;
  }
}



.footer-social {
  margin-top: 28px;
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 16px 40px rgba(0,0,0,.14), 0 0 0 1px rgba(255,255,255,.02) inset;
}
.footer-social__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 18px;
  margin-bottom: 16px;
}
.footer-social__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.footer-social__eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #00853f, #ffd700, #005bbb);
  box-shadow: 0 0 0 6px rgba(0,91,187,.08);
}
.footer-social__title {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}
.footer-social__text {
  margin: 0;
  color: var(--text-muted);
  max-width: 52ch;
}
.footer-social__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-social__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 16px;
  border-radius: 18px;
  color: var(--text-color);
  text-decoration: none;
  background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 26px rgba(0,0,0,.12);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.footer-social__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(0,0,0,.18);
  border-color: rgba(255,255,255,.2);
}
.footer-social__link.is-disabled {
  opacity: .78;
  cursor: default;
}
.footer-social__link.is-disabled:hover {
  transform: none;
}
.footer-social__icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(0,91,187,.2), rgba(255,215,0,.08));
  border: 1px solid rgba(255,255,255,.12);
}
.footer-social__icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.footer-social__meta {
  display: grid;
  gap: 2px;
}
.footer-social__label {
  font-weight: 800;
  line-height: 1.1;
}
.footer-social__hint {
  font-size: .8rem;
  color: var(--text-muted);
}
@media (max-width: 720px) {
  .footer-social {
    padding: 16px;
    border-radius: 20px;
  }
  .footer-social__links {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .footer-social__link {
    min-height: 54px;
    padding: 0 14px;
    border-radius: 16px;
  }
  .footer-social__icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }
}
@media (max-width: 520px) {
  .footer-social__links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .brand-mark {
    width: 48px;
    height: 48px;
  }
  .footer-brand__logo {
    width: 78px;
    height: 78px;
  }
}
