:root {
  --bg: #09005c;
  --surface: #ffffff;
  --ink: #f6f8ff;
  --muted: #d5dcff;
  --brand: #0d3471;
  --brand-dark: #08244d;
  --accent: #f26d21;
  --line: #dce1ea;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, #2b1680 0, transparent 45%),
    radial-gradient(circle at bottom left, #1e0f72 0, transparent 48%),
    var(--bg);
  line-height: 1.5;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0.55rem 1rem;
  border-bottom: 1px solid #2f3ea8;
  backdrop-filter: blur(7px);
  background: color-mix(in srgb, var(--bg) 88%, #1a0d74 12%);
}

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

.logo img {
  height: 34px;
  width: min(44vw, 165px);
  object-fit: contain;
  object-position: left center;
  display: block;
}

.menu-btn {
  border: 1px solid #3d4fbe;
  background: #14127a;
  color: #fff;
  border-radius: 12px;
  padding: 0.45rem 0.85rem;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}

.nav {
  position: absolute;
  right: 1rem;
  top: calc(100% - 4px);
  display: none;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1rem;
  border: 1px solid #3d4fbe;
  border-radius: 0.8rem;
  background: #14127a;
}

.nav a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
}

.nav a.nav-cta {
  color: #fff;
}

.nav.open {
  display: flex;
}

main {
  width: min(1080px, 92vw);
  margin: 0 auto;
  padding: 1.2rem 0 3rem;
}

.hero {
  padding: 2.6rem 0 2.3rem;
  animation: fade-up 700ms ease both;
}

.hero-layout {
  display: grid;
  gap: 1rem;
  align-items: center;
}

.hero-visual {
  margin: 0;
  border: 1px solid color-mix(in srgb, var(--brand) 35%, var(--line));
  border-radius: 1rem;
  overflow: hidden;
  background: #1a2b71;
  box-shadow: 0 14px 40px rgba(7, 70, 63, 0.18);
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 800;
}

h1,
h2,
h3 {
  font-family: "Poppins", sans-serif;
  line-height: 1.15;
  margin: 0 0 0.8rem;
  color: #fff;
}

h1 {
  font-size: clamp(1.8rem, 4.5vw, 3.15rem);
  max-width: 18ch;
}

.hero p {
  max-width: 70ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 0.72rem 1.1rem;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  font-family: "Poppins", sans-serif;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), #144798);
  color: #fff;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--brand-dark), #0f3a7c);
}

.btn-secondary {
  background: #151684;
  color: #fff;
  border-color: #3b4aba;
}

.panel {
  background: #0f1a88;
  border: 1px solid #3b4aba;
  border-radius: 1rem;
  padding: 1.1rem;
  margin-top: 1rem;
  animation: fade-up 700ms ease both;
  color: #fff;
}

.panel h2,
.panel h3,
.panel p,
.panel li,
.panel summary,
.panel label {
  color: #fff;
}

.contact-panel a {
  color: #fff;
  text-decoration: underline;
}

.contact-panel a:visited {
  color: #fff;
}

.split {
  display: grid;
  gap: 1rem;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.card {
  border: 1px solid #3b4aba;
  border-radius: 0.8rem;
  padding: 0.9rem;
  background: linear-gradient(180deg, #18249d, #101d88);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tag-list li {
  padding: 0.4rem 0.7rem;
  border-radius: 10px;
  border: 1px solid #6f5dff;
  background: linear-gradient(135deg, #7a31ff, #5a27d8);
  color: #fff;
  font-weight: 600;
}

.sectors-grid {
  display: grid;
  gap: 1rem;
}

.sector-card {
  border: 1px solid #3b4aba;
  border-radius: 0.8rem;
  padding: 0.8rem;
  background: #152397;
}

.sector-art {
  height: 170px;
  border-radius: 0.7rem;
  border: 1px solid #d5d5d5;
  margin-bottom: 0.8rem;
  overflow: hidden;
}

.sector-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sector-link {
  display: inline-block;
  margin-top: 0.35rem;
  text-decoration: none;
  color: var(--accent);
  font-weight: 800;
}

.testimonials-grid {
  display: grid;
  gap: 0.8rem;
  align-items: start;
}

.testimonial-card {
  border: 1px solid #3b4aba;
  border-radius: 0.8rem;
  padding: 1rem;
  background: linear-gradient(180deg, #18249d, #101d88);
  height: fit-content;
}

.testimonial-card p {
  margin: 0;
  color: #fff;
}

.testimonial-card h3 {
  margin: 0.8rem 0 0;
  font-size: 1rem;
  color: #d6e2ff;
}

.faq-item {
  border: 1px solid #3b4aba;
  border-radius: 0.8rem;
  padding: 0.8rem 0.9rem;
  margin-top: 0.7rem;
  background: #152397;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-item p {
  margin: 0.6rem 0 0.1rem;
}

form {
  display: grid;
  gap: 0.5rem;
}

label {
  font-weight: 700;
  color: #fff;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  padding: 0.7rem 0.8rem;
  font: inherit;
  background: #fdfefe;
  color: #121826;
}

.iti {
  width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  outline: 2px solid color-mix(in srgb, var(--brand) 25%, transparent);
}

.form-status {
  min-height: 1.3rem;
  font-size: 0.95rem;
  color: var(--brand-dark);
  margin: 0.2rem 0 0;
}

.form-hidden {
  display: none;
}

.site-footer {
  text-align: center;
  color: #e5ebff;
  padding: 1.8rem 1rem 2.2rem;
}

.chat-toggle {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), #144798);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  padding: 0.7rem 1rem;
  box-shadow: 0 8px 24px rgba(8, 36, 77, 0.24);
}

.chat-widget {
  position: fixed;
  right: 16px;
  bottom: 70px;
  z-index: 41;
  width: min(92vw, 360px);
  border: 1px solid #3b4aba;
  border-radius: 14px;
  background: #0f1a88;
  box-shadow: 0 14px 34px rgba(8, 36, 77, 0.2);
  overflow: hidden;
}

.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.8rem;
  border-bottom: 1px solid #3b4aba;
  background: #152397;
}

.chat-head h2 {
  margin: 0;
  font-size: 0.95rem;
  color: #fff;
}

.chat-head button {
  border: 0;
  background: transparent;
  font-size: 1.4rem;
  line-height: 1;
  color: #fff;
}

.chat-messages {
  max-height: 280px;
  overflow: auto;
  padding: 0.8rem;
  display: grid;
  gap: 0.55rem;
}

.msg {
  margin: 0;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  font-size: 0.93rem;
}

.msg.bot {
  background: #152397;
  border: 1px solid #3b4aba;
  color: #fff;
}

.msg.user {
  background: #2640b0;
  border: 1px solid #4c67d6;
  color: #fff;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem;
  padding: 0.7rem;
  border-top: 1px solid #3b4aba;
}

.chat-form input {
  margin: 0;
}

.chat-form button {
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  padding: 0 0.85rem;
}

.success-wrap {
  width: min(720px, 92vw);
  margin: 4rem auto;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 760px) {
  .logo img {
    height: 38px;
    width: 180px;
  }

  .menu-btn {
    display: none;
  }

  .nav {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 1.2rem;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .split {
    grid-template-columns: 1fr 1fr;
  }

  .hero-layout {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.5rem;
  }

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

  .sectors-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .panel {
    padding: 1.4rem;
  }
}

@media (min-width: 1100px) {
  .sectors-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
