:root {
  --blue-main: #0f4c81;
  --blue-deep: #0a2f57;
  --silver: #b9bdc7;
  --gray-mid: #7c808a;
  --gray-light: #e8eaee;
  --white: #ffffff;
  --ink: #152235;
  --soft-bg: #f7f8fa;
  --radius: 18px;
  --shadow-soft: 0 12px 30px rgba(10, 47, 87, 0.08);
  --shadow-hover: 0 18px 36px rgba(10, 47, 87, 0.14);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fcfdff 0%, #f6f8fb 100%);
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

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

.section {
  position: relative;
  padding: 108px 0;
  scroll-margin-top: 96px;
}

.section-soft {
  background: linear-gradient(180deg, #f8f9fc 0%, #eef2f8 100%);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(15, 76, 129, 0.1);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
}

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

.brand-logo {
  width: 168px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.main-nav a {
  color: #294464;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  padding: 7px 10px;
  border-radius: 999px;
  transition: 0.25s ease;
}

.main-nav a:hover {
  color: var(--blue-main);
  background: rgba(15, 76, 129, 0.08);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  width: 42px;
  height: 42px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--blue-deep);
}

.hero {
  padding-top: 158px;
  background: radial-gradient(circle at 10% 10%, rgba(15, 76, 129, 0.14) 0%, rgba(15, 76, 129, 0) 45%),
    radial-gradient(circle at 85% 30%, rgba(185, 189, 199, 0.4) 0%, rgba(185, 189, 199, 0) 50%),
    linear-gradient(130deg, #ffffff 0%, #f2f5fb 52%, #e9eef6 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      115deg,
      rgba(10, 47, 87, 0.08) 1px,
      transparent 1px
    ),
    linear-gradient(180deg, rgba(10, 47, 87, 0.06) 1px, transparent 1px);
  background-size: 64px 64px, 22px 22px;
  opacity: 0.42;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(170deg, rgba(15, 76, 129, 0) 30%, rgba(15, 76, 129, 0.08) 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 42px;
  align-items: end;
}

.hero-logo {
  width: 310px;
  margin-bottom: 24px;
}

h1,
h2,
h3,
h4 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  line-height: 1.15;
  color: #0f2642;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.55rem);
  max-width: 700px;
}

.hero-subtitle {
  margin-top: 18px;
  max-width: 720px;
  color: #2f4460;
  font-size: 1.08rem;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

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

.btn-primary {
  background: linear-gradient(145deg, #0f4c81, #0a2f57);
  color: #fff;
  box-shadow: 0 10px 26px rgba(15, 76, 129, 0.33);
}

.btn-primary:hover {
  box-shadow: 0 16px 28px rgba(10, 47, 87, 0.42);
}

.btn-outline {
  border-color: rgba(10, 47, 87, 0.25);
  color: var(--blue-deep);
  background: rgba(255, 255, 255, 0.78);
}

.btn-outline:hover {
  background: rgba(15, 76, 129, 0.08);
}

.hero-pillars {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.82), rgba(233, 239, 247, 0.95));
  border: 1px solid rgba(185, 189, 199, 0.48);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow-soft);
}

.hero-pillars h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.hero-pillars ul {
  display: grid;
  gap: 14px;
  list-style: none;
}

.hero-pillars li {
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 76, 129, 0.14);
}

.hero-pillars strong {
  color: var(--blue-deep);
  display: block;
}

.hero-pillars span {
  color: #38506f;
  font-size: 0.95rem;
}

.section-head {
  margin-bottom: 30px;
}

.section-head.subhead {
  margin-top: 36px;
}

.kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--blue-main);
  font-size: 0.74rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  max-width: 900px;
}

.section-head p {
  margin-top: 10px;
  max-width: 820px;
  color: #3c4f67;
}

.about-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-grid p {
  font-size: 1.08rem;
  color: #2d4360;
}

.cards-grid {
  display: grid;
  gap: 18px;
}

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

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

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

.card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(15, 76, 129, 0.12);
  box-shadow: var(--shadow-soft);
  padding: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(15, 76, 129, 0.24);
}

.card h3 {
  font-size: 1.55rem;
  margin-bottom: 8px;
}

.card h4 {
  font-size: 1.2rem;
}

.card p,
.card li {
  color: #35506f;
}

.icon-wrap {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  margin-bottom: 12px;
  color: var(--blue-main);
  background: rgba(15, 76, 129, 0.08);
  border: 1px solid rgba(15, 76, 129, 0.2);
  font-size: 1.2rem;
}

.compact {
  padding: 20px;
}

.compact h3 {
  font-size: 1.28rem;
}

.highlight-box,
.thesis-box {
  margin-top: 26px;
  border-radius: 14px;
  padding: 18px 22px;
  font-weight: 600;
}

.highlight-box {
  background: linear-gradient(135deg, rgba(10, 47, 87, 0.96), rgba(15, 76, 129, 0.9));
  color: #edf3ff;
}

.thesis-box {
  border: 1px solid rgba(15, 76, 129, 0.24);
  color: var(--blue-deep);
  background: rgba(15, 76, 129, 0.08);
}

.asymmetry-block {
  margin-top: 32px;
  border-radius: 18px;
  padding: 26px;
  border: 1px solid rgba(10, 47, 87, 0.14);
  background: linear-gradient(130deg, #ffffff 0%, #f2f6fd 100%);
}

.asymmetry-block h3 {
  margin-bottom: 20px;
}

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

.comparison-col {
  border: 1px solid rgba(15, 76, 129, 0.12);
  border-radius: 14px;
  background: #fff;
  padding: 18px;
}

.comparison-col h4 {
  margin-bottom: 10px;
}

.comparison-col ul {
  display: grid;
  gap: 10px;
  list-style: none;
}

.comparison-col.accent {
  border-color: rgba(10, 47, 87, 0.4);
  background: linear-gradient(180deg, #f5f9ff 0%, #edf4ff 100%);
}

.impact-line {
  margin-top: 16px;
  font-weight: 600;
  color: #254564;
}

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

.ribbon-card {
  border-radius: 12px;
  padding: 14px 16px;
  color: #eaf2ff;
  background: linear-gradient(120deg, #0f4c81, #0a2f57);
  font-weight: 600;
}

.ribbon-card.muted {
  background: linear-gradient(120deg, #717887, #4e5360);
}

.mini {
  text-align: center;
  display: grid;
  place-items: center;
  min-height: 118px;
}

.associate-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: start;
}

.steps-list {
  list-style: none;
  display: grid;
  gap: 10px;
  counter-reset: step;
}

.steps-list li,
.timeline-list li {
  position: relative;
  padding: 14px 16px 14px 56px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(15, 76, 129, 0.16);
  box-shadow: var(--shadow-soft);
}

.steps-list li::before,
.timeline-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 11px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  background: linear-gradient(145deg, #0f4c81, #0a2f57);
}

.side-note {
  position: sticky;
  top: 110px;
}

.directorates {
  margin-top: 18px;
}

.directorates ul {
  list-style: none;
  margin-top: 10px;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.price {
  color: var(--blue-main);
  font-weight: 800;
  margin: 4px 0 14px;
}

.plan-card ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.timeline-list {
  margin-top: 8px;
  list-style: none;
  display: grid;
  gap: 14px;
  counter-reset: step;
}

.news-section .section-head h2 {
  max-width: 980px;
}

.news-highlight {
  padding: 16px 18px;
  border-left: 4px solid var(--blue-main);
  border-radius: 10px;
  margin-bottom: 22px;
  background: rgba(15, 76, 129, 0.06);
  color: #1d3f64;
  font-weight: 600;
}

.news-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}

.tabs {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(15, 76, 129, 0.08);
}

.tab-btn {
  border: 0;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
  color: #244869;
  background: transparent;
  cursor: pointer;
  transition: 0.25s ease;
}

.tab-btn.active {
  color: #fff;
  background: linear-gradient(145deg, #0f4c81, #0a2f57);
}

.api-note {
  color: #47617f;
  font-size: 0.92rem;
}

.news-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.news-card {
  display: grid;
  gap: 12px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(10, 47, 87, 0.14);
  box-shadow: var(--shadow-soft);
  padding: 18px;
  transition: 0.25s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.news-tag,
.news-badge {
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 4px 10px;
}

.news-tag {
  background: rgba(15, 76, 129, 0.1);
  color: var(--blue-main);
}

.news-badge {
  background: rgba(124, 128, 138, 0.16);
  color: #4f5663;
}

.news-card h3 {
  font-size: 1.28rem;
}

.news-card p {
  color: #3a526f;
}

.news-source {
  color: #5f6f84;
  font-size: 0.88rem;
}

.news-link {
  color: var(--blue-main);
  font-weight: 700;
  width: fit-content;
}

.news-footer {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.final-cta {
  background: linear-gradient(135deg, #0b2f54 0%, #103d67 55%, #194d80 100%);
  color: #ecf4ff;
  text-align: center;
}

.final-cta h2 {
  color: #fff;
  max-width: 900px;
  margin: 0 auto;
}

.final-cta p {
  margin: 14px auto 0;
  max-width: 840px;
  font-size: 1.06rem;
}

.final-cta .hero-actions {
  justify-content: center;
}

.final-cta .btn-outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.site-footer {
  background: #081e35;
  color: #c6d3e5;
  padding-top: 34px;
}

.footer-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1.2fr repeat(3, 1fr);
}

.footer-logo {
  width: 190px;
  filter: brightness(1.2);
  margin-bottom: 10px;
}

.site-footer h4 {
  color: #fff;
  font-size: 1.16rem;
  margin-bottom: 8px;
}

.site-footer ul {
  list-style: none;
  display: grid;
  gap: 6px;
}

.site-footer a:hover {
  color: #fff;
}

.copyright {
  margin-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  color: #91a7c0;
  padding: 16px;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .main-nav {
    gap: 2px;
  }

  .main-nav a {
    font-size: 0.82rem;
    padding: 6px 8px;
  }

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

@media (max-width: 1024px) {
  .hero-grid,
  .associate-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cards-4,
  .plans-grid,
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards-3,
  .about-grid,
  .comparison-grid,
  .directorates ul,
  .ribbon-grid {
    grid-template-columns: 1fr;
  }

  .side-note {
    position: static;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-block;
  }

  .main-nav {
    position: absolute;
    top: 82px;
    left: 12px;
    right: 12px;
    display: none;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(15, 76, 129, 0.18);
    box-shadow: var(--shadow-soft);
  }

  .main-nav.open {
    display: grid;
    gap: 6px;
  }

  .main-nav a {
    padding: 10px 12px;
  }

  .hero {
    padding-top: 132px;
  }

  .hero-logo {
    width: 240px;
  }

  .section {
    padding: 84px 0;
  }
}

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

  .cards-4,
  .plans-grid,
  .news-grid,
  .cards-5 {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .news-card {
    min-width: 100%;
  }
}
