:root {
  --blue-950: #062052;
  --blue-850: #07387a;
  --blue-700: #0859b9;
  --blue-500: #0d83df;
  --yellow: #ffd330;
  --lime: #b6f000;
  --ink: #102033;
  --muted: #5d6b7d;
  --line: #dbe5f1;
  --surface: #ffffff;
  --soft: #eef6ff;
  --shadow: 0 18px 44px rgba(6, 32, 82, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, "Helvetica Neue", sans-serif;
  color: var(--ink);
  background: #f5f8fc;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px clamp(16px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
  color: var(--blue-950);
}

.brand-mark {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 6px 20px rgba(6, 32, 82, 0.18);
  animation: logoPulse 3.8s ease-in-out infinite;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.brand:hover .brand-mark {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 28px rgba(6, 32, 82, 0.26);
}

@keyframes logoPulse {
  0%,
  100% {
    box-shadow: 0 6px 20px rgba(6, 32, 82, 0.18);
  }

  50% {
    box-shadow: 0 8px 28px rgba(0, 88, 190, 0.28);
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  padding: 10px 12px;
  border-radius: 999px;
}

.nav-cta {
  background: var(--yellow);
  color: var(--blue-950);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(320px, 1.16fr);
  gap: 34px;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 44px clamp(16px, 4vw, 56px) 34px;
  background:
    linear-gradient(110deg, rgba(6, 32, 82, 0.96), rgba(8, 89, 185, 0.9) 54%, rgba(5, 91, 181, 0.72)),
    radial-gradient(circle at 18% 20%, rgba(182, 240, 0, 0.34), transparent 26%);
  color: #fff;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5.8vw, 68px);
  line-height: 1.02;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(26px, 3.5vw, 44px);
  line-height: 1.08;
}

h3 {
  margin-bottom: 0;
  font-size: 17px;
  line-height: 1.3;
}

.lead {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.button,
.apply-form button,
.project-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.primary,
.apply-form button {
  color: var(--blue-950);
  background: var(--yellow);
  box-shadow: 0 10px 28px rgba(255, 211, 48, 0.28);
}

.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
}

.poster-card {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--blue-950);
}

.poster-card img {
  display: block;
  width: 100%;
  height: auto;
}

.section {
  padding: 56px clamp(16px, 4vw, 56px);
}

.info-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
}

.info-strip div {
  display: grid;
  gap: 8px;
  padding: 24px;
  background: #fff;
}

.info-strip strong {
  color: var(--blue-850);
}

.info-strip span,
.muted {
  color: var(--muted);
  line-height: 1.55;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.project-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0;
}

.project-tools input,
.apply-form input,
.apply-form select,
.apply-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cfdceb;
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  outline: none;
}

.project-tools input:focus,
.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(13, 131, 223, 0.15);
}

.project-tools span {
  flex: 0 0 auto;
  color: var(--blue-850);
  font-weight: 800;
}

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

.project-card {
  display: grid;
  align-content: space-between;
  gap: 16px;
  min-height: 166px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(9, 41, 92, 0.06);
}

.project-card span {
  width: max-content;
  max-width: 100%;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--blue-950);
  background: #e8f1ff;
  font-size: 12px;
  font-weight: 900;
}

.project-card button {
  min-height: 38px;
  color: var(--blue-850);
  background: #eef6ff;
}

.media-section {
  background: #fff;
}

.media-note {
  max-width: 430px;
  margin: 0;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.media-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(9, 41, 92, 0.08);
}

.media-frame {
  background: var(--blue-950);
}

.media-frame img,
.media-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.media-caption {
  display: grid;
  gap: 6px;
  padding: 14px;
}

.media-caption strong {
  color: var(--blue-850);
}

.media-caption span {
  color: var(--muted);
  line-height: 1.45;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(320px, 1fr);
  gap: 34px;
  align-items: start;
  background: #fff;
}

.salary-list {
  display: grid;
  gap: 10px;
}

.salary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(90deg, var(--blue-950), var(--blue-700));
}

.salary-row strong {
  color: var(--yellow);
  font-size: 22px;
  white-space: nowrap;
}

.policy-section {
  background: linear-gradient(180deg, #f5f8fc 0%, #ffffff 100%);
}

.policy-note {
  max-width: 420px;
  margin: 0;
}

.policy-highlight {
  margin-top: 22px;
  padding: 20px;
  border: 2px solid var(--yellow);
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(90deg, var(--blue-950), var(--blue-700));
  box-shadow: var(--shadow);
}

.policy-highlight strong {
  display: block;
  margin-bottom: 8px;
  color: var(--yellow);
  font-size: 18px;
}

.policy-highlight p {
  margin: 0;
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 900;
  line-height: 1.25;
}

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

.policy-summary-card {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid #c9d8ea;
  border-radius: 8px;
  background: #fff;
}

.policy-summary-card strong {
  color: var(--blue-850);
}

.policy-summary-card span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.policy-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(9, 41, 92, 0.07);
  overflow: hidden;
}

.policy-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  cursor: pointer;
  list-style: none;
}

.policy-card summary::-webkit-details-marker {
  display: none;
}

.policy-card summary span {
  display: grid;
  gap: 4px;
}

.policy-card summary strong {
  color: var(--blue-850);
  font-size: 18px;
}

.policy-card summary small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.show-more {
  flex: 0 0 auto;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--blue-950);
  background: var(--yellow);
  font-size: 13px;
}

.policy-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0 18px 18px;
  list-style: none;
}

.policy-card li {
  display: grid;
  gap: 4px;
  padding-left: 12px;
  border-left: 3px solid var(--yellow);
}

.policy-card strong {
  color: var(--ink);
}

.policy-card span {
  color: var(--muted);
  line-height: 1.48;
}

.apply-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 0.62fr);
  gap: 26px;
  align-items: start;
}

.apply-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.apply-form label {
  display: grid;
  gap: 7px;
  color: var(--blue-950);
  font-size: 14px;
  font-weight: 800;
}

.apply-form .wide {
  grid-column: 1 / -1;
}

.apply-form textarea {
  resize: vertical;
}

.form-footer {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.form-footer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.form-footer .success {
  color: #087a3b;
  font-weight: 800;
}

.form-footer .error {
  color: #c72727;
  font-weight: 800;
}

.apply-form button:disabled {
  cursor: progress;
  opacity: 0.72;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 24px clamp(16px, 4vw, 56px);
  color: #fff;
  background: var(--blue-950);
}

.chatbot {
  position: fixed;
  right: 18px;
  bottom: 86px;
  z-index: 30;
}

.chat-toggle {
  min-width: 74px;
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  color: var(--blue-950);
  background: var(--yellow);
  box-shadow: 0 14px 34px rgba(6, 32, 82, 0.28);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.chat-panel {
  position: absolute;
  right: 0;
  bottom: 68px;
  width: min(380px, calc(100vw - 28px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 50px rgba(6, 32, 82, 0.22);
}

.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  color: #fff;
  background: var(--blue-950);
}

.chat-head div {
  display: grid;
  gap: 3px;
}

.chat-head span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

.chat-head button {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: #fff;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
}

.chat-log {
  display: grid;
  gap: 10px;
  max-height: 270px;
  overflow-y: auto;
  padding: 14px;
  background: #f7faff;
}

.chat-message {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 8px;
  line-height: 1.45;
  font-size: 14px;
}

.chat-message.bot {
  justify-self: start;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.chat-message.user {
  justify-self: end;
  color: #fff;
  background: var(--blue-700);
}

.chat-suggestions {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
}

.chat-suggestions button {
  flex: 0 0 auto;
  border: 1px solid #c9d8ea;
  border-radius: 999px;
  padding: 8px 10px;
  color: var(--blue-850);
  background: #eef6ff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 12px 14px 14px;
  border-top: 1px solid var(--line);
}

.chat-form input {
  min-height: 42px;
  border: 1px solid #cfdceb;
  border-radius: 8px;
  padding: 9px 11px;
  font: inherit;
}

.chat-form button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  color: var(--blue-950);
  background: var(--yellow);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 980px) {
  .hero,
  .split,
  .apply-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
  }

  .hero {
    padding-top: 30px;
  }

  .lead {
    font-size: 16px;
  }

  .info-strip,
  .project-grid,
  .media-grid,
  .policy-summary,
  .policy-grid,
  .apply-form {
    grid-template-columns: 1fr;
  }

  .project-tools,
  .form-footer,
  .footer {
    align-items: stretch;
    flex-direction: column;
  }

  .form-footer button {
    width: 100%;
  }

  .chatbot {
    right: 12px;
    bottom: 86px;
  }

  .chat-panel {
    width: calc(100vw - 24px);
  }
}
