:root {
  --blue-dark: #041a33;
  --blue-deep: #062b55;
  --blue-main: #075d9a;
  --blue-metal: #0b7cc3;
  --cyan: #00c8ff;
  --cyan-soft: #8eeaff;
  --silver: #d9e7f1;
  --silver-dark: #8ea9bd;
  --ink: #071a2b;
  --muted: #58758a;
  --white: #ffffff;
  --shadow: 0 28px 70px rgba(0, 68, 124, 0.24);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 52% 4%, rgba(0, 200, 255, 0.20), transparent 28%),
    linear-gradient(135deg, #eefaff 0%, #f7fcff 42%, #ffffff 100%);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.site-header {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(4, 26, 51, 0.96), rgba(7, 93, 154, 0.78)),
    url("../img/logo_pub.png") center/cover no-repeat;
  color: white;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 68% 28%, rgba(0, 200, 255, 0.24), transparent 24%),
    linear-gradient(90deg, rgba(4,26,51,0.94) 0%, rgba(4,26,51,0.72) 48%, rgba(4,26,51,0.90) 100%);
  pointer-events: none;
}
.site-header::after {
  content: "0101 1100 1010 0011 0110 1001";
  position: absolute;
  inset: auto 0 26px 0;
  color: rgba(255,255,255,0.08);
  font-size: clamp(30px, 8vw, 106px);
  letter-spacing: 0.24em;
  white-space: nowrap;
  transform: translateX(-8%);
  pointer-events: none;
}

.navbar {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  gap: 14px;
  align-items: center;
  color: white;
}
.brand img {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 0 24px rgba(0,200,255,0.38);
}
.brand small {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.72);
  max-width: 270px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255,255,255,0.86);
  font-weight: 700;
}
.nav-links a:hover, .nav-links a.active { color: var(--cyan-soft); }
.nav-cta {
  padding: 11px 18px;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--cyan), var(--blue-metal) 55%, var(--silver-dark));
  color: white !important;
  box-shadow: 0 10px 28px rgba(0, 200, 255, 0.3);
}
.lang-switch {
  display: flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
}
.lang-btn {
  border: 0;
  cursor: pointer;
  padding: 7px 10px;
  border-radius: 999px;
  color: white;
  background: transparent;
  font-weight: 800;
}
.lang-btn.active {
  background: rgba(255,255,255,0.24);
  color: var(--cyan-soft);
}
.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  margin: 5px 0;
  background: white;
  border-radius: 999px;
}

.hero {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 78vh;
  padding: 76px 0 96px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero.page-hero {
  min-height: 48vh;
  grid-template-columns: 1fr;
  max-width: 900px;
  margin-left: calc((100% - min(1180px, calc(100% - 40px))) / 2);
}
.eyebrow {
  color: var(--cyan-soft);
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-size: 13px;
}
h1, h2, h3 { line-height: 1.15; margin: 0; }
h1 { font-size: clamp(42px, 6vw, 78px); letter-spacing: -0.06em; }
h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.04em; }
h3 { font-size: 21px; }
.hero-text {
  font-size: 19px;
  color: rgba(255,255,255,0.76);
  max-width: 730px;
}
.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(145deg, var(--cyan-soft), var(--cyan) 42%, var(--blue-metal) 100%);
  color: #03182c;
  box-shadow: 0 20px 46px rgba(0,200,255,0.28);
}
.btn-secondary {
  background: rgba(255,255,255,0.10);
  color: white;
  border: 1px solid rgba(255,255,255,0.24);
}
.hero-branding-card {
  padding: 16px;
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255,255,255,0.20), rgba(255,255,255,0.06));
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}
.hero-branding-card img {
  width: 100%;
  display: block;
  border-radius: 24px;
  box-shadow: 0 26px 80px rgba(0,0,0,0.24);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
}
.section-heading { max-width: 780px; margin-bottom: 34px; }
.centered { text-align: center; margin-left: auto; margin-right: auto; }
.grid-2, .split, .contact-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
}
.card, .service-card, .timeline-item {
  padding: 30px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(0, 124, 195, 0.16);
  box-shadow: 0 16px 44px rgba(7, 93, 154, 0.10);
}
.card.featured {
  background:
    radial-gradient(circle at 18% 10%, rgba(0,200,255,0.22), transparent 38%),
    linear-gradient(145deg, rgba(255,255,255,0.94), rgba(217,231,241,0.68));
}
.card ul { margin: 18px 0 0; padding: 0; list-style: none; }
.card li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 124, 195, 0.14);
}
.card a { color: var(--blue-main); font-weight: 900; }
.muted { color: var(--muted); font-size: 18px; }

.metallic-panel {
  width: min(1220px, calc(100% - 32px));
  padding: 74px 42px;
  border-radius: 44px;
  background:
    radial-gradient(circle at 50% 0%, rgba(0,200,255,0.18), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,0.90), rgba(217,231,241,0.68)),
    linear-gradient(90deg, rgba(0,200,255,0.12), rgba(255,255,255,0.2), rgba(142,169,189,0.18));
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.92);
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 54px rgba(7, 93, 154, 0.16);
}
.icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(142,234,255,0.34), rgba(217,231,241,0.92));
  margin-bottom: 20px;
  font-size: 24px;
}
.service-card p, .split p, .timeline p, .contact-card p, .card p { color: var(--muted); }

.bits-card {
  position: relative;
  min-height: 420px;
  padding: 34px;
  border-radius: 34px;
  color: white;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 35%, rgba(0,200,255,0.32), transparent 32%),
    linear-gradient(145deg, var(--blue-dark), var(--blue-deep) 60%, var(--blue-main));
  box-shadow: var(--shadow);
}
.bits-card::before {
  content: "101001101011001010010111001101001010110010100101110011010010101100101001011100110100";
  position: absolute;
  inset: 20px auto auto -36px;
  color: rgba(255,255,255,0.10);
  font-size: 54px;
  line-height: 1.4;
  letter-spacing: 0.16em;
  width: 130%;
  transform: rotate(-12deg);
}
.bits-orbit {
  position: absolute;
  inset: 24px;
  border: 1px dashed rgba(142,234,255,0.36);
  border-radius: 50%;
  animation: spin 28s linear infinite;
}
.bits-orbit span {
  position: absolute;
  color: var(--cyan-soft);
  font-weight: 900;
  letter-spacing: 0.18em;
}
.bits-orbit span:nth-child(1) { top: 8%; left: 36%; }
.bits-orbit span:nth-child(2) { top: 42%; right: -8%; }
.bits-orbit span:nth-child(3) { bottom: 12%; left: 30%; }
.bits-orbit span:nth-child(4) { top: 42%; left: -8%; }
.keyword-cloud {
  position: relative;
  z-index: 1;
  margin-top: 95px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.keyword-cloud span {
  padding: 10px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.92);
  font-weight: 800;
  font-size: 13px;
}

.timeline {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}
.timeline-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 20px;
}
.timeline-item.highlight {
  background:
    radial-gradient(circle at 18% 10%, rgba(0,200,255,0.22), transparent 36%),
    rgba(255,255,255,0.86);
}
.timeline-item span {
  width: 18px;
  height: 18px;
  margin-top: 6px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--cyan), var(--blue-main));
  box-shadow: 0 0 0 10px rgba(0,200,255,0.12);
}
.contact-card {
  align-items: center;
  padding: 42px;
  border-radius: 38px;
  color: white;
  background:
    radial-gradient(circle at 15% 20%, rgba(0,200,255,0.44), transparent 34%),
    linear-gradient(145deg, var(--blue-dark), var(--blue-deep) 55%, var(--blue-metal));
  box-shadow: var(--shadow);
}
.contact-card .eyebrow, .contact-card p { color: rgba(255,255,255,0.82); }
.contact-details { display: grid; gap: 14px; }
.contact-details a, .contact-details span, .contact-details strong {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  color: white;
  font-weight: 800;
}
.contact-details strong {
  background: rgba(255,255,255,0.24);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 48px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
}
.site-footer a { font-weight: 900; color: var(--blue-main); }

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 86px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 22px;
    background: rgba(4, 26, 51, 0.96);
    border-radius: 24px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .hero, .grid-2, .split, .contact-card { grid-template-columns: 1fr; }
  .hero.page-hero { margin-left: auto; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .navbar, .hero, .section, .site-footer { width: min(100% - 26px, 1180px); }
  .brand small { display: none; }
  .cards-grid { grid-template-columns: 1fr; }
  .metallic-panel, .contact-card { padding: 32px 20px; border-radius: 28px; }
  .site-footer { flex-direction: column; }
}


.contact-card-form {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.compact-contact-details {
  margin-top: 26px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  border-radius: 28px;
  background: rgba(255,255,255,0.96);
  color: var(--ink);
  box-shadow: 0 18px 46px rgba(4,26,51,0.18);
  border: 1px solid rgba(255,255,255,0.48);
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label,
.checkbox-row {
  font-weight: 800;
  color: var(--blue-deep);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid rgba(7, 93, 154, 0.18);
  border-radius: 16px;
  padding: 14px 15px;
  font: inherit;
  color: var(--ink);
  background: linear-gradient(145deg, #ffffff, #f3f9fc);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row textarea {
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(0,200,255,0.14);
}

.checkbox-row {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 14px;
  color: var(--muted);
}

.checkbox-row input {
  margin-top: 4px;
}

.form-submit {
  border: 0;
  cursor: pointer;
  width: fit-content;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

@media (max-width: 980px) {
  .contact-card-form {
    grid-template-columns: 1fr;
  }

  .form-submit {
    width: 100%;
  }
}
