﻿.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(16, 33, 61, 0.08);
  box-shadow: 0 18px 38px rgba(16, 33, 61, 0.08);
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  font: 700 1.2rem var(--font-heading);
  color: #10213d;
  transition: color 0.25s ease;
}

.brand img {
  display: block;
  height: 46px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  position: relative;
  font-weight: 600;
  color: #10213d;
  transition: color 0.25s ease, transform 0.25s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: rgba(16, 33, 61, 0.92);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a:hover {
  transform: translateY(-1px);
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(16, 33, 61, 0.16);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-weight: 700;
  color: #10213d;
  transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

@media (min-width: 761px) {
  .site-header {
    position: fixed;
    background: rgba(255, 255, 255, 0.94);
    border-bottom-color: rgba(16, 33, 61, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .site-header.is-light {
    background: rgba(255, 255, 255, 0.94);
    border-bottom-color: rgba(16, 33, 61, 0.08);
  }

  .site-header.is-light.is-scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 38px rgba(16, 33, 61, 0.1);
  }

  .site-header.is-light .brand,
  .site-header.is-light .site-nav a,
  .site-header.is-light .menu-toggle {
    color: #10213d;
  }

  .site-header.is-light .site-nav a::after {
    background: rgba(16, 33, 61, 0.92);
  }

  .site-header.is-light .menu-toggle {
    border-color: rgba(16, 33, 61, 0.16);
    background: rgba(255, 255, 255, 0.75);
  }

  .site-header.is-dark {
    background: rgba(255, 255, 255, 0.86);
    border-bottom-color: rgba(16, 33, 61, 0.08);
    box-shadow: 0 18px 38px rgba(16, 33, 61, 0.08);
  }

  .site-header.is-dark .brand,
  .site-header.is-dark .site-nav a,
  .site-header.is-dark .menu-toggle {
    color: #10213d;
  }

  .site-header.is-dark .site-nav a::after {
    background: rgba(16, 33, 61, 0.92);
  }

  .site-header.is-dark .menu-toggle {
    border-color: rgba(16, 33, 61, 0.16);
    background: rgba(255, 255, 255, 0.75);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 12px 20px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, #1f86ff 0%, #0e63d8 100%);
  color: #fff;
  box-shadow: 0 12px 26px rgba(24, 98, 206, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #3192ff 0%, #0f69e0 100%);
}

.btn-success {
  background: transparent;
  color: var(--color-success);
  border-color: var(--color-success);
  box-shadow: none;
}

.btn-success:hover {
  background: rgba(21, 167, 90, 0.12);
  color: #0f914d;
  border-color: #0f914d;
}

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

.btn-sm {
  padding: 10px 16px;
}

.cards-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

.service-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  align-items: center;
  gap: 24px 28px;
  min-height: 340px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 28px;
  padding: 30px 34px;
  box-shadow: 0 14px 28px rgba(6, 24, 54, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 34px rgba(6, 24, 54, 0.22);
}

.card-dot {
  display: none;
}

.service-card > :not(.service-card-circle):not(.card-dot) {
  grid-column: 1;
}

.service-card:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  border-radius: 28px;
  padding: 30px 34px;
}

.service-card:nth-child(even) > :not(.service-card-circle):not(.card-dot) {
  grid-column: 1;
}

.service-card h3 {
  margin: 0;
  font-size: clamp(1.35rem, 1.8vw, 1.9rem);
  color: #1a2242;
}

.section h2 {
  background: linear-gradient(95deg, #10213d 0%, #1f78e7 55%, #2f96ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.service-card ul {
  margin: 8px 0 10px;
  display: grid;
  gap: 9px;
}

.service-card li {
  color: #132f54;
  padding-left: 18px;
  position: relative;
}

.service-card li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  position: absolute;
  left: 0;
  top: 0.55em;
}

.sales-line {
  margin-top: 2px;
  font-weight: 700;
  color: #233e9c;
}

.service-card-media {
  margin-top: 16px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.14);
  min-height: 140px;
}

.service-card-media img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.service-card:hover .service-card-media img {
  transform: scale(1.04);
}

.service-card-hero {
  min-height: 0;
}

.service-card-circle {
  grid-column: 2;
  grid-row: 1 / span 7;
  align-self: center;
  justify-self: end;
  width: clamp(300px, 29vw, 420px);
  height: clamp(300px, 29vw, 420px);
  overflow: visible;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.service-card:nth-child(even) .service-card-circle {
  grid-column: 2;
  justify-self: end;
}

.service-card-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.35s ease;
}

.service-card:hover .service-card-circle img {
  transform: scale(1.02);
}

.service-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 6px;
  padding: 10px 15px;
  border-radius: 9px;
  background: linear-gradient(135deg, #2f60ff 0%, #2147db 100%);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(46, 83, 234, 0.24);
}

.service-card-btn:hover {
  background: #2447d8;
  color: #fff;
}

.service-corner-image {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(40%, 390px);
  height: auto;
  object-fit: contain;
  pointer-events: none;
}

.gradient-heading {
  background: linear-gradient(90deg, #0f1e39 0%, #1f78e7 55%, #2f96ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-header .btn-primary {
  background: #ffffff;
  color: #1a3f7a;
  box-shadow: none;
}

.site-header .btn-primary:hover {
  background: #f1f6ff;
}
