:root {
  --blue: #123c73;
  --dark-blue: #082756;
  --deep-blue: #061f45;
  --red: #c62828;
  --red-dark: #a91f1f;
  --white: #ffffff;
  --light: #f6f8fb;
  --soft-blue: #eaf1fb;
  --gray: #5f6b7a;
  --text: #1f2937;
  --shadow: 0 18px 45px rgba(8, 39, 86, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 4px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 6px 22px rgba(8, 39, 86, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  gap: 24px;
  min-height: 92px;
}

.brand img {
  height: 76px;
  width: auto;
  display: block;
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: var(--blue);
  font-weight: 800;
  transition: 0.2s ease;
}

nav a:hover {
  color: var(--red);
}

.nav-button {
  background: var(--red);
  color: var(--white);
  padding: 11px 18px;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(198, 40, 40, 0.24);
}

.nav-button:hover {
  background: var(--red-dark);
  color: var(--white);
}

.hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(198, 40, 40, 0.28), transparent 28%),
    linear-gradient(120deg, rgba(18, 60, 115, 0.98), rgba(8, 39, 86, 0.96));
  color: var(--white);
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  color: #dbe8ff;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.88rem;
}

h1 {
  font-size: clamp(2.7rem, 5.4vw, 5.25rem);
  line-height: 1.01;
  margin: 14px 0 20px;
  letter-spacing: -0.04em;
}

.lead {
  font-size: 1.22rem;
  max-width: 720px;
  color: #eef4ff;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  display: inline-block;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-weight: 900;
  padding: 14px 24px;
  border-radius: 12px;
  transition: 0.2s ease;
  font-family: inherit;
  font-size: 1rem;
}

.button:hover {
  transform: translateY(-3px);
}

.button.primary {
  background: var(--red);
  color: var(--white);
}

.button.secondary {
  background: var(--white);
  color: var(--blue);
}

.hero-card {
  background: var(--white);
  color: var(--blue);
  border-radius: 22px;
  padding: 32px;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.26);
  border-top: 9px solid var(--red);
}

.hero-card h2 {
  margin-top: 0;
  font-size: 1.55rem;
}

.hero-card ul {
  padding-left: 20px;
  font-weight: 800;
}

.section {
  padding: 82px 0;
}

.section h2 {
  color: var(--blue);
  font-size: clamp(2.05rem, 3vw, 3.2rem);
  line-height: 1.08;
  margin-top: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 34px;
}

.card {
  background: linear-gradient(180deg, #ffffff, #f8faff);
  padding: 30px;
  border-radius: 20px;
  border-top: 6px solid var(--red);
  box-shadow:
    0 14px 35px rgba(8,39,86,0.10),
    0 4px 10px rgba(8,39,86,0.05);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 24px 50px rgba(8,39,86,0.18),
    0 10px 18px rgba(8,39,86,0.08);
}

.card h3 {
  color: var(--blue);
  margin-top: 0;
  font-size: 1.35rem;
}

.card p {
  color: var(--gray);
}

.split-section {
  background: linear-gradient(180deg, var(--light), var(--soft-blue));
}

.split {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 44px;
  align-items: center;
}

.quote-box {
  background: var(--blue);
  color: var(--white);
  padding: 38px;
  border-radius: 22px;
  border-bottom: 9px solid var(--red);
  font-size: 1.55rem;
  font-weight: 900;
  box-shadow: var(--shadow);
}

#dashboard {
  padding-top: 140px;
  background: linear-gradient(180deg, #eef3fa, #dde8f5);
  position: relative;
}

#dashboard::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 15px;
  background:
    linear-gradient(
      180deg,
      #c62828 0%,
      #c62828 33.33%,
      #ffffff 33.33%,
      #ffffff 66.66%,
      #123c73 66.66%,
      #123c73 100%
    );
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

#dashboard h2 {
  margin-bottom: 20px;
  text-align: center;
}

.dashboard-preview {
  display: grid;
  grid-template-columns: 280px 1fr;
  background: #ffffff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 30px 60px rgba(8,39,86,0.12),
    0 10px 18px rgba(8,39,86,0.06);
  margin-top: 40px;
}

.dashboard-sidebar {
  background: linear-gradient(180deg, var(--deep-blue), var(--blue));
  color: white;
  padding: 36px 28px;
}

.dashboard-sidebar h3 {
  margin-top: 0;
  font-size: 1.5rem;
  margin-bottom: 28px;
}

.dashboard-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dashboard-sidebar li {
  padding: 14px 16px;
  border-radius: 12px;
  margin-bottom: 10px;
  background: rgba(255,255,255,0.08);
  font-weight: 700;
  transition: 0.2s ease;
}

.dashboard-sidebar li:hover {
  background: rgba(255,255,255,0.16);
  transform: translateX(4px);
}

.dashboard-main {
  padding: 34px;
  background: linear-gradient(180deg, #ffffff, #f7faff);
}

.dashboard-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 34px;
}

.dashboard-stat {
  background: white;
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 10px 28px rgba(8,39,86,0.08);
  border-top: 5px solid var(--red);
}

.dashboard-stat span {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--blue);
  margin-bottom: 6px;
}

.dashboard-stat p {
  margin: 0;
  color: var(--gray);
  font-weight: 700;
}

.dashboard-table {
  background: white;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(8,39,86,0.06);
}

.table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  padding: 18px 24px;
  border-bottom: 1px solid #edf2f7;
  align-items: center;
}

.table-row:last-child {
  border-bottom: none;
}

.table-header {
  background: var(--blue);
  color: white;
  font-weight: 800;
}

/* CONTACT */

.contact {
  text-align: center;
  background: #ffffff;
}

.contact p {
  font-size: 1.15rem;
  color: var(--gray);
  margin-bottom: 32px;
}

.contact-form {
  width: min(760px, 100%);
  margin: 0 auto;
  background: linear-gradient(180deg, #ffffff, #f8faff);
  padding: 34px;
  border-radius: 24px;
  border-top: 7px solid var(--red);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  text-align: left;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 2px solid #d9e3f0;
  border-radius: 12px;
  padding: 15px 16px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: #ffffff;
  outline: none;
  transition: 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(18, 60, 115, 0.1);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
  grid-column: 1 / -1;
}

.contact-form button {
  grid-column: 1 / -1;
  justify-self: center;
  min-width: 190px;
}

.site-footer {
  background: var(--dark-blue);
  color: var(--white);
  text-align: center;
  padding: 26px 0;
}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .cards,
  .dashboard-preview,
  .dashboard-top {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 64px 0;
  }

  .hero-card {
    max-width: 560px;
  }

  .table-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav {
    align-items: center;
    flex-direction: column;
    padding: 12px 0;
    min-height: auto;
  }

  .brand img {
    height: auto;
    max-width: 260px;
  }

  nav {
    justify-content: center;
  }

  h1 {
    font-size: 2.55rem;
  }

  .section {
    padding: 62px 0;
  }

  .contact-form {
    padding: 24px;
  }
}