:root {
  --ink: #073652;
  --muted: #477287;
  --line: #cdeef2;
  --soft: #eefcff;
  --blue: #1ba7f2;
  --teal: #32b56d;
  --gold: #8bdc72;
  --rose: #0f8fd0;
  --dark: #06324c;
  --page-bg: #f7fdff;
  --shadow: 0 20px 55px rgba(6, 50, 76, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page-bg);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

.container {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 253, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.18rem;
  font-weight: 900;
}

.brand-logo {
  width: 112px;
  height: 46px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 22px;
  color: #354657;
  font-size: 0.94rem;
  font-weight: 800;
}

.page-menu {
  position: relative;
}

.page-menu summary {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #253647;
  background: #ffffff;
  font-weight: 900;
  list-style: none;
  cursor: pointer;
}

.page-menu summary::-webkit-details-marker {
  display: none;
}

.page-menu summary::after {
  content: "v";
  color: var(--blue);
  font-size: 0.78rem;
}

.page-menu[open] summary::after {
  transform: rotate(180deg);
}

.menu-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(760px, calc(100vw - 40px));
  max-height: min(72vh, 640px);
  overflow: auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 18px;
}

.menu-group strong {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-group a {
  display: block;
  padding: 8px 0;
  color: #344556;
  border-top: 1px solid #edf2f6;
  font-size: 0.9rem;
  font-weight: 800;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 14px 28px rgba(27, 167, 242, 0.26);
}

.hero {
  min-height: 520px;
  display: grid;
  align-items: center;
  padding: 80px 0 64px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(6, 50, 76, 0.93), rgba(27, 167, 242, 0.7), rgba(50, 181, 109, 0.28)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.eyebrow {
  margin: 0 0 12px;
  color: #87f3b5;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 880px;
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 740px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.14rem;
}

section {
  padding: 82px 0;
}

.section-head {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-head h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 0.38fr;
  gap: 34px;
  align-items: start;
}

.content-panel,
.side-panel,
.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(6, 50, 76, 0.07);
}

.content-panel {
  padding: 34px;
}

.content-panel h2 {
  margin: 34px 0 12px;
  font-size: 1.65rem;
  line-height: 1.18;
}

.content-panel h2:first-child {
  margin-top: 0;
}

.content-panel p {
  color: #394a5b;
}

.content-panel ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 28px;
  padding: 0;
  list-style: none;
}

.content-panel li {
  position: relative;
  padding-left: 22px;
  color: #394a5b;
}

.content-panel li::before {
  content: "";
  position: absolute;
  top: 0.67em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.side-panel {
  position: sticky;
  top: 100px;
  padding: 24px;
}

.side-panel h3 {
  margin-bottom: 14px;
  font-size: 1.2rem;
}

.side-links {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.side-links a {
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #334455;
  background: var(--soft);
  font-weight: 800;
  font-size: 0.92rem;
}

.cta-band {
  color: #ffffff;
  background: var(--dark);
}

.cta-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.cta-box p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.listing {
  background: linear-gradient(135deg, #eefcff, #f4fff7);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  min-height: 190px;
  padding: 24px;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.72);
  background: var(--dark);
  font-size: 0.92rem;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .nav {
    padding: 15px 0;
  }

  .nav-links {
    display: none;
  }

  .nav > .btn-primary {
    display: none;
  }

  .page-menu {
    margin-left: auto;
  }

  .menu-panel {
    position: fixed;
    top: 74px;
    right: 14px;
    left: 14px;
    width: auto;
    max-height: calc(100vh - 96px);
  }

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

  .content-grid,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .side-panel {
    position: static;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1140px);
  }

  section {
    padding: 60px 0;
  }

  .hero {
    min-height: auto;
    padding: 66px 0;
  }

  .content-panel {
    padding: 24px;
  }

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

  .btn {
    width: 100%;
  }

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