@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #164b78;
  --navy-dark: #0a2942;
  --teal: #2eaaad;
  --teal-dark: #168487;
  --ink: #102132;
  --muted: #5d6c78;
  --line: rgba(16, 33, 50, 0.12);
  --soft: #f4f8f9;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(10, 41, 66, 0.14);
  --radius: 8px;
  --font-body: 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(22, 75, 120, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 170, 173, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
}

header {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header-inner {
  width: min(calc(100% - 40px), 1240px);
  height: 78px;
  margin: 0 auto;
  padding: 0 14px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(22, 75, 120, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 18px 52px rgba(10, 41, 66, 0.14);
  backdrop-filter: blur(18px);
  transition: all 0.25s ease;
}

header.scrolled .header-inner {
  height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo img {
  width: 170px;
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

nav a,
.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  transition: all 0.22s ease;
  white-space: nowrap;
}

nav a:hover,
nav a.active,
.dropdown-toggle:hover,
.dropdown-toggle.active {
  background: rgba(46, 170, 173, 0.1);
  color: var(--navy);
}

.dropdown { position: relative; }

.dropdown-toggle { gap: 8px; }

.dropdown-toggle::after {
  content: '';
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

.dropdown:hover .dropdown-toggle::after,
.dropdown.open .dropdown-toggle::after {
  transform: rotate(225deg) translateY(-1px);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  min-width: 620px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.22s ease;
}

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

.mega-menu {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.dropdown-menu a {
  display: grid;
  gap: 6px;
  min-height: 118px;
  padding: 18px;
  border-radius: var(--radius);
  color: var(--ink);
  white-space: normal;
}

.dropdown-menu a:hover {
  background: linear-gradient(135deg, var(--navy), var(--teal-dark));
  color: var(--white);
}

.dropdown-menu span {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.dropdown-menu small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

.dropdown-menu a:hover small { color: rgba(255, 255, 255, 0.78); }

.header-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
}

.header-cta:hover,
.header-cta.active {
  background: var(--teal) !important;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 0;
  border-radius: var(--radius);
  background: var(--navy);
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--white);
  transition: all 0.25s ease;
}

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

section { padding: 92px 0; }

.section-inner {
  width: min(calc(100% - 40px), 1180px);
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.section-label::before {
  content: '';
  width: 34px;
  height: 2px;
  background: var(--teal);
}

.section-title {
  max-width: 780px;
  margin-bottom: 22px;
  color: var(--navy-dark);
  font-size: clamp(36px, 5vw, 70px);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.section-subtitle,
.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.btn-primary,
.btn-secondary,
.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 24px;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(46, 170, 173, 0.26);
}

.btn-primary:hover { background: var(--teal-dark); transform: translateY(-2px); }

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.36);
  color: var(--white);
}

.btn-secondary:hover { background: var(--white); color: var(--navy); }

.btn-dark {
  background: var(--navy);
  color: var(--white);
}

.btn-dark:hover { background: var(--teal-dark); }

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  align-items: stretch;
  overflow: hidden;
  background: var(--navy-dark);
  padding: 0;
}

.hero-slider,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1s ease, transform 7s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1.07);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 41, 66, 0.94) 0%, rgba(10, 41, 66, 0.74) 48%, rgba(22, 75, 120, 0.24) 100%),
    linear-gradient(0deg, rgba(10, 41, 66, 0.84), transparent 58%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), 1180px);
  margin: 0 auto;
  padding: 150px 0 54px;
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(240px, 1fr);
  gap: 56px;
  align-items: end;
}

.hero-eyebrow,
.hero h1,
.hero p,
.hero-actions,
.hero-dots {
  grid-column: 1;
}

.hero-eyebrow {
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.8px;
  text-transform: uppercase;
}

.hero h1 {
  margin: 12px 0 24px;
  color: var(--white);
  font-size: clamp(50px, 8vw, 112px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.hero h1 span { color: var(--teal); }

.hero p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-stats {
  grid-column: 2;
  grid-row: 1 / span 5;
  display: grid;
  gap: 10px;
}

.stat-item {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.stat-num {
  color: var(--teal);
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
}

.stat-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.hero-dots {
  display: flex;
  gap: 9px;
  margin-top: 8px;
}

.hero-dots button {
  width: 34px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  cursor: pointer;
}

.hero-dots button.active {
  width: 54px;
  background: var(--teal);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 152px 0 78px;
  background: var(--navy-dark);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 41, 66, 0.92), rgba(22, 75, 120, 0.58)), var(--page-image, url('../images/sk-finance-table.jpg')) center/cover;
}

.page-hero .section-inner {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  max-width: 760px;
  color: var(--white);
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
}

.page-hero p {
  max-width: 650px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
}

.breadcrumb {
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.breadcrumb a { color: var(--teal); }
.breadcrumb span { margin: 0 8px; }

.split-section,
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 64px;
  align-items: center;
}

.split-image,
.image-panel {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.split-image img,
.image-panel img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.services-grid,
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 48px;
}

.service-card,
.feature-item,
.info-card {
  display: block;
  min-height: 260px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 48px rgba(10, 41, 66, 0.08);
  transition: all 0.25s ease;
}

.service-card:hover,
.feature-item:hover,
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-icon,
.feature-icon,
.contact-info-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), var(--teal));
  color: var(--white);
  font-size: 0;
}

.service-icon::before,
.feature-icon::before,
.contact-info-icon::before {
  content: '';
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  transform: rotate(45deg);
}

.service-card h3,
.feature-item h3,
.info-card h3 {
  margin-bottom: 12px;
  color: var(--navy-dark);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
}

.service-card p,
.feature-item p,
.info-card p {
  color: var(--muted);
  font-size: 14px;
}

.service-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.band {
  background: var(--soft);
}

.contact-section { background: var(--soft); }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 60px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info-icon { flex: 0 0 44px; margin-bottom: 0; }

.contact-info-text h4,
.footer-col h4 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.contact-info-text p,
.contact-info-text a {
  color: var(--muted);
  font-size: 14px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-group label {
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 48px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdfe;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(46, 170, 173, 0.15);
}

.cta-section {
  padding: 70px 0;
  background: linear-gradient(135deg, var(--navy), var(--teal-dark));
}

.cta-inner {
  width: min(calc(100% - 40px), 1180px);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
}

.cta-text h2 {
  max-width: 760px;
  margin-bottom: 10px;
  color: var(--white);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.cta-text p { color: rgba(255, 255, 255, 0.78); }
.cta-section .section-label { color: rgba(255, 255, 255, 0.88); }
.cta-section .section-label::before { background: var(--white); }

footer {
  padding: 72px 0 30px;
  background: var(--navy-dark);
  color: var(--white);
}

.footer-inner {
  width: min(calc(100% - 40px), 1180px);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.7fr 1.1fr;
  gap: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

footer .logo img {
  width: 210px;
  max-height: none;
  background: var(--white);
  border-radius: var(--radius);
  padding: 8px;
}

.footer-desc,
.footer-col p,
.footer-col a,
.footer-bottom {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.footer-desc {
  max-width: 330px;
  margin-top: 18px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a:hover { color: var(--teal); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding-top: 24px;
}

@media (max-width: 1020px) {
  .services-grid,
  .features-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  nav a,
  .dropdown-toggle {
    padding: 0 10px;
  }
}

@media (max-width: 860px) {
  header { top: 10px; }

  .header-inner {
    width: min(calc(100% - 24px), 1180px);
    height: 70px;
    padding: 0 10px 0 12px;
  }

  .logo img { width: 142px; max-height: 50px; }

  nav { display: none; }

  nav.open {
    position: fixed;
    top: 86px;
    left: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    max-height: calc(100svh - 104px);
    overflow-y: auto;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

  nav.open a,
  nav.open .dropdown-toggle {
    justify-content: space-between;
    width: 100%;
    min-height: 46px;
    border-bottom: 1px solid var(--line);
  }

  .dropdown-menu {
    position: static;
    display: none;
    min-width: 100%;
    margin: 6px 0 10px;
    padding: 8px;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: var(--soft);
  }

  .dropdown:hover .dropdown-menu,
  .dropdown:focus-within .dropdown-menu {
    transform: none;
  }

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

  .dropdown-menu a {
    min-height: auto;
  }

  .menu-toggle { display: flex; }

  .hero-content {
    width: min(calc(100% - 32px), 1180px);
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 128px 0 44px;
  }

  .hero-stats {
    grid-column: 1;
    grid-row: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .split-section,
  .two-col,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  section { padding: 70px 0; }

  .section-inner,
  .cta-inner,
  .footer-inner {
    width: min(calc(100% - 32px), 1180px);
  }

  .page-hero { padding: 128px 0 62px; }

  .hero h1 {
    font-size: clamp(42px, 14vw, 58px);
  }

  .hero p {
    font-size: 16px;
  }

  .hero-actions,
  .hero-actions a,
  .btn-primary,
  .btn-secondary,
  .btn-dark {
    width: 100%;
  }

  .hero-stats,
  .services-grid,
  .features-grid,
  .footer-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .stat-item { padding: 16px; }

  .split-image img,
  .image-panel img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .contact-form { padding: 20px; }

  .footer-bottom {
    flex-direction: column;
  }
}
