﻿:root {
  --ink: #041f33;
  --ink-deep: #021424;
  --ink-soft: #0a2b42;
  --paper: #f4f6f8;
  --paper-2: #e9edf1;
  --white: #ffffff;
  --mint: #7cd2b8;
  --mint-strong: #62c8ab;
  --muted: #6b7681;
  --max: 1160px;
  --radius: 16px;
  --shadow: 0 18px 48px rgba(3, 17, 28, 0.18);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.2px;
  margin: 0 0 0.6rem;
  color: var(--ink);
}

p {
  margin: 0 0 1rem;
}

.container {
  width: min(var(--max), calc(100% - 2.4rem));
  margin: 0 auto;
}

.section {
  padding: 4.4rem 0;
}

.section--tight {
  padding: 3rem 0;
}

.section--light {
  background: var(--white);
}

.section--dark {
  color: #e4eef6;
  background: linear-gradient(160deg, var(--ink-deep), #08273d 68%);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: #f4f7fb;
}

.topbar {
  background: #8fb0c7;
  color: #eaf5ff;
  font-size: 0.95rem;
}

.topbar-inner {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar-contact {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  opacity: 0.98;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.icon-btn {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 1rem;
}

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 110;
  box-shadow: 0 1px 0 rgba(6, 24, 40, 0.05);
}

.navbar {
  background: rgba(255, 255, 255, 0.97);
}

.nav-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 188px;
}

.brand img {
  width: 154px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-weight: 600;
  font-size: 1.02rem;
  color: #294156;
  padding: 0.45rem 0.35rem;
  border-radius: 8px;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--ink);
}

.dropdown {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: -0.6rem;
  min-width: 228px;
  background: var(--ink);
  color: #deedf9;
  border-radius: 10px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px);
  transition: 0.2s ease;
  overflow: hidden;
}

.dropdown a {
  display: block;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
}

.dropdown a:last-child {
  border-bottom: 0;
}

.dropdown a:hover {
  background: #0e314b;
}

.nav-item:hover > .dropdown,
.nav-item:focus-within > .dropdown,
.nav-item.open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.btn,
button.btn {
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-weight: 700;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.3px;
  border-radius: 999px;
  padding: 0.78rem 1.3rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.btn-primary {
  background: var(--mint);
  color: #062235;
}

.btn-primary:hover {
  background: var(--mint-strong);
}

.btn-ink {
  background: var(--ink);
  color: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  font-size: 1.6rem;
  color: var(--ink);
  cursor: pointer;
}

.hero {
  min-height: 430px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 17, 28, 0.6), rgba(5, 17, 28, 0.72));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(860px, calc(100% - 2rem));
  padding: 3.2rem 0 2.4rem;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 4.3rem);
  line-height: 0.98;
  margin-bottom: 1rem;
}

.hero p {
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  color: rgba(242, 250, 255, 0.95);
  margin-bottom: 1.45rem;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.86rem;
  color: rgba(244, 255, 252, 0.82);
  margin-bottom: 0.8rem;
}

.metric-grid,
.card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: 0 14px 30px rgba(8, 32, 50, 0.08);
}

.card h3 {
  font-size: 1.75rem;
  margin-bottom: 0.45rem;
}

.card p {
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.card-link {
  font-weight: 700;
  color: var(--ink-soft);
}

.split {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: 1.1fr 1fr;
  align-items: stretch;
}

.split.reverse {
  grid-template-columns: 1fr 1.1fr;
}

.split-image {
  min-height: 340px;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
}

.panel {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 16px 42px rgba(8, 32, 50, 0.1);
}

.panel.dark {
  background: rgba(2, 17, 29, 0.84);
  color: #d6e7f4;
}

.panel.dark h2,
.panel.dark h3 {
  color: #f0f8ff;
}

.checklist {
  margin: 0;
  padding-left: 1.1rem;
}

.checklist li {
  margin-bottom: 0.55rem;
  color: #e1edf8;
}

.quote-box {
  border-left: 4px solid var(--mint);
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.72);
  color: #21374a;
  border-radius: 10px;
}

.solutions-section {
  background: var(--white);
}

.solutions-header {
  text-align: center;
  margin-bottom: 1.1rem;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.solution-tile {
  background: #fbfcfd;
  border: 1px solid #e4eaf0;
  border-radius: 12px;
  padding: 1rem;
}

.solution-tile h4 {
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}

.solution-tile p {
  color: #596571;
  margin: 0;
  font-size: 0.95rem;
}

.client-strip {
  background: var(--paper-2);
}

.client-logos {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
}

.client-logo {
  min-height: 74px;
  display: grid;
  place-items: center;
  background: var(--white);
  border-radius: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.45rem;
  color: #152a3d;
  letter-spacing: 0.3px;
}

.cta-trio {
  background: #fff;
}

.trio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.trio-panel {
  min-height: 300px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.trio-panel.left {
  background: #9ec2d8;
}

.trio-panel.center {
  background: #fff;
}

.trio-panel.right {
  background: var(--ink);
  color: #f2f9ff;
}

.trio-panel.right h3,
.trio-panel.right p {
  color: #f2f9ff;
}

.trio-form {
  display: grid;
  gap: 0.6rem;
}

.field {
  width: 100%;
  border: 1px solid #cad3dc;
  border-radius: 10px;
  min-height: 42px;
  padding: 0.6rem 0.75rem;
  font: inherit;
}

textarea.field {
  min-height: 124px;
  resize: vertical;
}

.newsletter {
  background: #aab0b5;
  color: #fff;
}

.newsletter-inner {
  min-height: 102px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.newsletter h3 {
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 0;
}

.footer {
  background: var(--ink);
  color: #b4c4d1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  padding: 3.2rem 0;
}

.footer-brand img {
  width: 155px;
  margin-bottom: 1rem;
}

.footer-nav {
  display: grid;
  gap: 0.35rem;
}

.footer-nav a {
  color: #dce9f4;
  opacity: 0.9;
}

.footer-contact strong {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.85rem 0 1.3rem;
  font-size: 0.93rem;
}

.banner {
  border-radius: 16px;
  padding: 1.6rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.kpi {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.kpi .card {
  min-height: 128px;
}

.kpi strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem;
  line-height: 1;
  color: var(--ink-soft);
}

.post-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.2rem;
  align-items: start;
}

.post-list {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.post-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(8, 32, 50, 0.1);
}

.post-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

.post-content {
  padding: 0.9rem 0.95rem 1rem;
}

.post-meta {
  font-size: 0.9rem;
  color: #688197;
  margin-bottom: 0.3rem;
}

.sidebar-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(8, 32, 50, 0.1);
  overflow: hidden;
}

.sidebar-title {
  background: var(--ink);
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem;
  padding: 0.7rem 0.9rem;
}

.sidebar-list {
  padding: 0.8rem;
  display: grid;
  gap: 0.8rem;
}

.sidebar-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 0.6rem;
  border-bottom: 1px solid #e7edf3;
  padding-bottom: 0.65rem;
}

.sidebar-item:last-child {
  border-bottom: 0;
}

.sidebar-item img {
  width: 100%;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
}

.form-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1.8fr;
  align-items: start;
}

.contact-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.1rem;
  box-shadow: 0 14px 32px rgba(8, 32, 50, 0.1);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
}

.modal.open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  background: rgba(4, 15, 25, 0.95);
  color: #f3fbff;
  border-radius: 16px;
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.modal-close {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
}

.small {
  font-size: 0.95rem;
  color: #e4f0f9;
}

@media (max-width: 1080px) {
  .nav-links {
    position: fixed;
    right: 0;
    top: 88px;
    width: min(340px, 86vw);
    height: calc(100vh - 88px);
    background: #fff;
    padding: 1.1rem;
    flex-direction: column;
    align-items: stretch;
    transform: translateX(102%);
    transition: transform 0.2s ease;
    box-shadow: -14px 0 24px rgba(5, 22, 38, 0.2);
    overflow-y: auto;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .menu-toggle {
    display: inline-block;
  }

  .dropdown {
    position: static;
    box-shadow: none;
    border-radius: 10px;
    margin-top: 0.45rem;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .nav-item.open .dropdown {
    display: block;
  }

  .split,
  .split.reverse,
  .post-grid,
  .form-layout {
    grid-template-columns: 1fr;
  }

  .kpi,
  .card-grid,
  .solutions-grid,
  .client-logos,
  .metric-grid,
  .trio-grid,
  .post-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 1.3rem 0;
  }

  .topbar-contact {
    flex-wrap: wrap;
    row-gap: 0.35rem;
    justify-content: center;
  }

  .topbar-inner {
    flex-direction: column;
    padding: 0.4rem 0;
  }

  .nav-inner {
    min-height: 78px;
  }
}
