:root {
  --navy: #062761;
  --navy-deep: #041c45;
  --accent: #2e74b5;
  --accent-soft: #78aee0;
  --ice: #d9e8f7;
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.68);
  --line: rgba(255, 255, 255, 0.1);
  --card: rgba(255, 255, 255, 0.05);
  --card-strong: rgba(4, 28, 69, 0.72);
  --shadow: 0 20px 80px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(46, 116, 181, 0.18), transparent 34%),
    linear-gradient(180deg, var(--navy-deep) 0%, #071a3c 40%, var(--navy) 100%);
}


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

a:hover img,
button:hover img {
  filter: brightness(1.08) saturate(1.05);
}

img {
  max-width: 100%;
  display: block;
  transition: filter 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

header {
  background: white;
  color: #062761;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

header a {
  color: #062761;
  text-decoration: none;
}

header a:hover {
  opacity: 0.7;
}

footer {
  background: white;
  color: #062761;
  border-top: 1px solid rgba(0,0,0,0.08);
  text-align: center;
}

.logo-link:hover .logo,
.site-footer a:hover .footer-logo {
  filter: brightness(1.08) saturate(1.05);
  transform: translateY(-1px);
}

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

.section {
  padding: 86px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: white;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.header-inner,
.footer-top,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-inner {
  padding: 16px 0;
}

.header-cta {
  white-space: nowrap;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}

.burger span {
  display: block;
  height: 2px;
  background: #062761;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu panel */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 40;
  padding: 100px 24px 40px;
  flex-direction: column;
  gap: 32px;
  overflow-y: auto;
  transform: translateY(-100%);
  transition: transform 0.35s ease;
}

.mobile-menu.open {
  transform: translateY(0);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav a {
  font-size: 28px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  color: #062761;
  padding: 10px 0;
  border-bottom: 1px solid rgba(6, 39, 97, 0.08);
  transition: color 0.2s ease;
}

.mobile-nav a:hover {
  color: var(--accent);
}

.mobile-portals-label {
  margin: 0 0 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(6, 39, 97, 0.4);
}

.mobile-portals {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-portals .btn-portal {
  justify-content: center;
}

.mobile-cta {
  margin-top: auto;
}


.logo-link {
  flex-shrink: 0;
}

.logo {
  height: 56px;
  width: auto;
}

.footer-logo {
  height: 48px;
  width: auto;
}

.nav {
  display: flex;
  gap: 32px;
  color: #062761;
}

.nav a,
.footer-links a {
  transition: color 0.25s ease;
}

.nav a:hover {
  color: var(--accent);
}

.header-portals {
  display: flex;
  align-items: center;
  gap: 10px;
}

.portal-dropdown {
  position: relative;
}

.btn-portal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(6, 39, 97, 0.18);
  background: #f0f4fa;
  color: #062761;
  font-size: 14px;
  font-weight: 600;
  font-family: "Inter", system-ui, sans-serif;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn-portal:hover {
  background: #ddeaf7;
  box-shadow: 0 2px 8px rgba(6, 39, 97, 0.12);
}

.dropdown-arrow {
  font-size: 10px;
  transition: transform 0.2s ease;
}

.portal-dropdown:hover .dropdown-arrow,
.portal-dropdown:focus-within .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 8px;
  min-width: 220px;
  z-index: 100;
}

.dropdown-menu-inner {
  background: #fff;
  border: 1px solid rgba(6, 39, 97, 0.12);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(6, 39, 97, 0.12);
  overflow: hidden;
}

.portal-dropdown:hover .dropdown-menu,
.portal-dropdown:focus-within .dropdown-menu {
  display: block;
}

.dropdown-menu-inner a {
  display: block;
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 500;
  color: #062761;
  transition: background 0.18s ease;
}

.dropdown-menu-inner a:hover {
  background: #f0f4fa;
  opacity: 1;
}

.dropdown-menu-inner a + a {
  border-top: 1px solid rgba(6, 39, 97, 0.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 15px 28px;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  box-shadow: 0 10px 40px rgba(46, 116, 181, 0.35);
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
}

.hero-grid,
.contact-box,
.approach-grid,
.impact-box {
  display: grid;
  gap: 56px;
}

.hero-grid {
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  min-height: calc(100vh - 82px);
}

.eyebrow,
.micro-label,
.pale,
.blue {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 12px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.62);
}

.blue { color: var(--accent-soft); }
.pale, .light { color: var(--ice); }
.micro-label { color: rgba(255,255,255,0.45); }

h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  margin: 0;
  line-height: 0.98;
}

h1 {
  margin-top: 26px;
  font-size: clamp(56px, 8vw, 108px);
  letter-spacing: -0.02em;
}

h1.small-heading {
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.05;
}

h1 span { color: var(--accent-soft); }

.hero-copy,
.section-intro p,
.approach-copy p,
.impact-box p,
.contact-box p,
.feature-card p,
.cockpit-list p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 18px;
}

.hero-copy {
  max-width: 720px;
  margin-top: 28px;
  font-size: 21px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
}

.metrics,
.cards,
.pillars-grid,
.cockpit-list {
  display: grid;
  gap: 18px;
}

.metrics {
  margin-top: 56px;
  grid-template-columns: repeat(4, 1fr);
}

.metric-card,
.feature-card,
.pillar-card,
.cockpit-card,
.approach-copy,
.contact-box,
.signature-box {
  border: 1px solid var(--line);
}

.metric-card,
.feature-card,
.pillar-card,
.approach-copy,
.contact-box {
  border-radius: 28px;
  background: var(--card);
  backdrop-filter: blur(8px);
}

.metric-card {
  padding: 22px;
}

.metric-card strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 42px;
  color: var(--accent-soft);
}

.metric-card span {
  display: block;
  margin-top: 6px;
  color: rgba(255,255,255,0.6);
}

.cockpit-card {
  position: relative;
  padding: 24px;
  border-radius: 32px;
  background: rgba(255,255,255,0.05);
  box-shadow: var(--shadow);
}

.cockpit-card::before,
.cockpit-card::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(48px);
  pointer-events: none;
}

.cockpit-card::before {
  width: 160px;
  height: 160px;
  left: -32px;
  top: 24px;
  background: rgba(46, 116, 181, 0.18);
}

.cockpit-card::after {
  width: 210px;
  height: 210px;
  right: -10px;
  bottom: -18px;
  background: rgba(120, 174, 224, 0.16);
}

.cockpit-card > * {
  position: relative;
  z-index: 1;
}

.cockpit-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.cockpit-header h2 {
  margin-top: 10px;
  font-size: 42px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(46, 116, 181, 0.33);
  background: rgba(46, 116, 181, 0.14);
  color: var(--ice);
  font-size: 12px;
}

.cockpit-list {
  margin-top: 24px;
}

.cockpit-list article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(4, 28, 69, 0.42);
}

.cockpit-list h3 {
  font-size: 26px;
}

.cockpit-list p {
  margin: 8px 0 0;
  font-size: 15px;
}

.signature-box {
  margin-top: 24px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(46, 116, 181, 0.13), rgba(120, 174, 224, 0.1));
}

.signature-box p {
  margin: 10px 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 34px;
  line-height: 1.08;
}

.section-intro {
  max-width: 780px;
}

.section-intro h2,
.approach-copy h2,
.impact-box h2,
.contact-box h2 {
  margin-top: 18px;
  font-size: clamp(42px, 5vw, 62px);
  line-height: 1.04;
}

.section-intro p,
.approach-copy p,
.contact-box p {
  margin-top: 18px;
}

.three-cols {
  margin-top: 48px;
  grid-template-columns: repeat(3, 1fr);
}

.feature-card {
  padding: 28px;
  transition: transform 0.28s ease, background 0.28s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.07);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent-soft), var(--navy));
  box-shadow: 0 10px 30px rgba(46, 116, 181, 0.2);
  margin-bottom: 24px;
}

.feature-card h3,
.pillar-card h3 {
  font-size: 34px;
}

.feature-card p {
  margin: 14px 0 0;
  font-size: 16px;
}

.approach-grid {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}

.approach-copy {
  padding: 34px;
}

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

.pillar-card {
  padding: 26px;
  background: rgba(7, 26, 60, 0.82);
}

.pillar-card span {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.35);
}

.pillar-card h3 {
  margin-top: 24px;
}

.premium-form .form-row {
  margin-bottom: 14px;
}

.premium-form input,
.premium-form textarea {
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.premium-form input:focus,
.premium-form textarea:focus {
  border-color: var(--accent-soft);
  box-shadow: 0 0 0 4px rgba(120, 174, 224, 0.12);
  background: rgba(4, 28, 69, 0.82);
}

.premium-form .form-actions {
  margin-top: 8px;
}

.premium-form .form-note {
  margin: 14px 0 0;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}

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

.btn[disabled] {
  opacity: 0.8;
  cursor: not-allowed;
}



.impact-box {
  grid-template-columns: 1fr 0.9fr;
  align-items: end;
  padding: 42px;
  border-radius: 36px;
  border: 1px solid rgba(46, 116, 181, 0.33);
  background: linear-gradient(135deg, rgba(46, 116, 181, 0.13), rgba(255,255,255,0.04));
}

.impact-box p {
  margin: 0;
}

.contact-box {
  grid-template-columns: 1.08fr 0.92fr;
  padding: 36px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(4, 28, 69, 0.72);
  color: #fff;
  font: inherit;
  outline: none;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

.site-footer {
  padding: 40px 0 32px;
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  gap: 26px;
}

.footer-line {
  width: min(1180px, calc(100% - 48px));
  height: 2px;
  margin: 24px auto 0;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-soft), transparent);
}

.footer-bottom {
  justify-content: center;
  padding-top: 22px;
  color: rgba(255,255,255,0.4);
}

@media (max-width: 1024px) {
  .hero-grid,
  .approach-grid,
  .impact-box,
  .contact-box,
  .three-cols,
  .metrics {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid,
  .contact-box,
  .approach-grid,
  .impact-box {
    align-items: start;
  }

  .hero-grid,
  .approach-grid,
  .impact-box,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

  .three-cols,
  .metrics,
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, 1180px);
  }

  .nav,
  .header-cta,
  .header-portals {
    display: none;
  }

  .burger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .section {
    padding: 72px 0;
  }

  .metrics,
  .three-cols,
  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-direction: row;
    align-items: center;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 16px;
  }

  .logo,
  .footer-logo {
    height: 42px;
  }

  .cockpit-header {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }
}
