:root {
  --primary: #1f56b5;
  --primary-dark: #14397e;
  --accent: #f5a623;
  --accent-dark: #d8870a;
  --text: #13233d;
  --muted: #5f6f89;
  --bg: #f4f7fc;
  --white: #ffffff;
  --border: #dbe5f3;
  --shadow: 0 12px 30px rgba(21, 56, 120, 0.10);
  --shadow-sticky: 0 14px 34px rgba(15, 35, 70, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #eef3fb 0%, #f8fbff 100%);
  line-height: 1.65;
}

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

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

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

.section {
  padding: 72px 0;
}

.section-sm {
  padding: 48px 0;
}

.eyebrow {
  color: var(--accent-dark);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

h1, h2, h3, h4 {
  margin: 0 0 1rem;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.lead {
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .95rem 1.35rem;
  border-radius: 12px;
  font-weight: 700;
  transition: .25s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #ffb53b 100%);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-outline {
  border-color: var(--accent);
  color: var(--primary-dark);
  background: rgba(255,255,255,.72);
}

/* =========================
   HEADER
   ========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(219, 229, 243, .85);
  box-shadow: var(--shadow-sticky);
  transition: box-shadow .25s ease, background .25s ease;
}

.nav-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 104px;
  padding: .4rem 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 700;
  font-size: 0.88rem;
}

.lang-switcher a {
  color: #344766;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  line-height: 1;
  transition: color .2s ease;
}

.lang-switcher a:hover {
  color: var(--primary);
}

.lang-switcher a.is-active:hover {
  color: var(--accent-dark);
}

.lang-switcher a.is-active {
  color: var(--accent-dark);
}

.lang-sep {
  color: #a8b6cc;
  font-weight: 500;
  user-select: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
  line-height: 0;
  position: relative;
  z-index: 1002;
}

.brand-logo {
  display: block;
  height: 82px;
  width: auto;
  max-width: none;
  object-fit: contain;
  flex-shrink: 0;
}

.site-nav {
  flex: 1 1 auto;
  min-width: 0;
  margin-left: 0.75rem;
  margin-right: 0.35rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.site-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.15rem;
  padding: 0;
  margin: 0;
  flex-wrap: nowrap;
  min-width: 0;
}

.site-nav li {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
}

.site-nav a {
  font-weight: 700;
  color: #344766;
  font-size: 0.93rem;
  line-height: 1.2;
  white-space: nowrap;
  padding: .35rem 0;
  transition: color .2s ease;
}

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

.site-nav a.active {
  color: var(--accent-dark);
}

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

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0;
  width: 46px;
  height: 46px;
  cursor: pointer;
  position: relative;
  z-index: 1003;
}

.nav-toggle span {
  display: block;
  height: 3px;
  border-radius: 4px;
  margin: 7px 0;
  background: var(--primary-dark);
}

.service-hero-img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

/* =========================
   HERO
   ========================= */

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 68px;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,.18), transparent 28%),
    radial-gradient(circle at 80% 18%, rgba(255,255,255,.12), transparent 22%),
    linear-gradient(135deg, #0d55c6 0%, #2e78ea 35%, #71adff 100%);
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 25, 60, .34) 0%, rgba(7, 25, 60, .14) 40%, rgba(7, 25, 60, 0) 72%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 3rem;
  align-items: center;
}

.hero h1,
.hero p {
  color: #fff;
}

.hero-highlight {
  color: #ffd17a;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.hero-card {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-visual {
  min-height: 500px;
  border-radius: 26px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 38, 92, .10) 0%, rgba(10, 38, 92, .16) 100%);
}

.hero-badge {
  position: absolute;
  z-index: 2;
  top: 1.25rem;
  left: 1.25rem;
  right: auto;
  width: min(420px, calc(100% - 2.5rem));
  padding: .95rem 1.15rem;
  border-radius: 18px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.20);
  color: #ffffff;
  font-weight: 600;
  font-size: .96rem;
  line-height: 1.45;
  box-shadow: 0 10px 24px rgba(20, 55, 110, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero-portrait {
  display: none;
}

.ui-card {
  position: absolute;
  z-index: 2;
  padding: 1.2rem 1.3rem;
  border-radius: 18px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.22);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(20, 55, 110, 0.15);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.ui-card strong {
  display: block;
  margin-bottom: .45rem;
  font-size: 1.05rem;
  line-height: 1.35;
  color: #ffffff;
}

.ui-card.small {
  width: 200px;
  top: auto;
  right: 1.5rem;
  bottom: 1.5rem;
  left: auto;
  transform: none;
}

.ui-card.medium {
  width: 320px;
  bottom: 1.5rem;
  left: 1.5rem;
  top: auto;
}

/* =========================
   GRIDS / CARDS
   ========================= */

.stats-grid,
.cards-grid,
.feature-grid,
.footer-grid,
.two-col,
.three-col {
  display: grid;
  gap: 1.5rem;
}

.stats-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: -42px;
  position: relative;
  z-index: 3;
}

.stat-card,
.card,
.value-card {
  background: rgba(255,255,255,.94);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.stat-card strong {
  display: block;
  font-size: 1.12rem;
  color: var(--primary-dark);
}

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

.card h3,
.value-card h3 {
  color: var(--primary-dark);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(31,86,181,.10), rgba(245,166,35,.18));
  color: var(--accent-dark);
  font-size: 1.5rem;
  font-weight: 800;
}

.banner {
  background: linear-gradient(135deg, #1e62cc 0%, #3a8df6 52%, #9dc8ff 100%);
  border-radius: 26px;
  color: #fff;
  padding: 2rem;
  overflow: hidden;
  position: relative;
}

.banner p,
.banner h2,
.banner h3 {
  color: #fff;
}

.banner-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2rem;
  align-items: center;
}

.banner-card {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.15);
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  padding: 0;
  list-style: none;
  margin: 1.2rem 0 0;
}

.pills li {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  padding: .7rem .95rem;
  border-radius: 999px;
  font-weight: 600;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.section-title {
  max-width: 760px;
  margin-bottom: 2rem;
}

.value-card {
  background: linear-gradient(180deg, #fff 0%, #f7faff 100%);
}

/* =========================
   FOOTER
   ========================= */

.footer-grid {
  grid-template-columns: 1.1fr .8fr 1.1fr;
}

.site-footer {
  margin-top: 3rem;
  background: linear-gradient(180deg, #0f3c8f 0%, #0c2f6f 100%);
  color: rgba(255,255,255,.92);
  padding: 3rem 0 1rem;
}

.footer-text,
.site-footer p,
.site-footer li,
.site-footer a {
  color: rgba(255,255,255,.84);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .75rem;
}

.footer-logo {
  width: 180px;
  margin-bottom: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.18);
  margin-top: 2rem;
  padding-top: 1rem;
}

/* =========================
   INNER PAGES
   ========================= */

.page-hero {
  padding: 70px 0 54px;
  background: linear-gradient(135deg, #0c53c5 0%, #2875ea 45%, #94c0ff 100%);
  color: #fff;
}

.page-hero p,
.page-hero h1 {
  color: #fff;
}

.list-check {
  padding: 0;
  list-style: none;
  margin: 1rem 0 0;
  display: grid;
  gap: .85rem;
}

.list-check li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--muted);
}

.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-dark);
  font-weight: 900;
}

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 2rem;
}

.contact-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 1.6rem;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.info-list li {
  color: var(--muted);
}

form {
  display: grid;
  gap: 1rem;
}

label {
  font-weight: 600;
  color: var(--primary-dark);
  font-size: .95rem;
}

input,
textarea,
select {
  width: 100%;
  padding: .95rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  font: inherit;
  color: var(--text);
  background: #fbfdff;
}

textarea {
  min-height: 160px;
  resize: vertical;
}

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

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

.kpi {
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--border);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.kpi strong {
  display: block;
  font-size: 2rem;
  color: var(--primary-dark);
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1360px) {
  .site-nav ul {
    gap: .95rem;
  }

  .site-nav a {
    font-size: .89rem;
  }

  .brand-logo {
    height: 76px;
  }
}

@media (max-width: 1200px) {
  .header-actions {
    margin-left: auto;
  }

  .nav-toggle {
    display: block;
  }

  .nav-wrap {
    min-height: 86px;
  }

  .brand-logo {
    height: 68px;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 1rem;
    right: 1rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow-sticky);
    padding: 1rem;
    display: none;
    z-index: 1001;
  }

  .nav-wrap.menu-open .site-nav {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .site-nav li {
    width: 100%;
  }

  .site-nav a {
    display: block;
    width: 100%;
    padding: .9rem 0;
    border-bottom: 1px solid #eef3fb;
    font-size: 1rem;
  }

  .site-nav a.active {
    color: var(--accent-dark);
  }

  .site-nav li:last-child a {
    border-bottom: 0;
  }
}


@media (max-width: 1120px) {
  .hero-inner,
  .banner-grid,
  .split-layout,
  .contact-grid,
  .footer-grid,
  .cards-grid,
  .stats-grid,
  .kpi-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-visual {
    min-height: 450px;
  }

  .hero-badge {
    width: min(360px, calc(100% - 2.5rem));
    font-size: .92rem;
  }

  .ui-card.small {
    width: 250px;
  }

  .ui-card.medium {
    width: 280px;
  }
}

@media (max-width: 920px) {
  .hero-inner,
  .banner-grid,
  .split-layout,
  .contact-grid,
  form .row,
  .cards-grid,
  .stats-grid,
  .footer-grid,
  .kpi-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-badge {
    top: 1rem;
    left: 1rem;
    width: min(260px, calc(100% - 2rem));
    padding: .8rem .95rem;
    font-size: .88rem;
  }

  .ui-card.small {
    width: 210px;
    right: 1rem;
    bottom: 1rem;
  }

  .ui-card.medium {
    width: 210px;
    left: 1rem;
    bottom: 1rem;
  }
}

/* =========================
   MOBILE HERO FIX
   ========================= */
@media (max-width: 768px) {
  .hero {
    padding-top: 42px;
    padding-bottom: 48px;
  }

  .hero-inner {
    gap: 1.5rem;
  }

  .hero-card {
    margin-top: 1.25rem !important;
  }

  .hero-visual {
    min-height: auto;
    display: flex;
    flex-direction: column;
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
    gap: 1rem;
  }

  .hero-image {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    min-height: 240px;
    max-height: 320px;
    object-fit: cover;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  }

  .hero-overlay {
    display: none;
  }

  .hero-badge,
  .ui-card,
  .ui-card.small,
  .ui-card.medium {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 100%;
    transform: none;
  }

  .hero-badge {
    order: 1;
    margin-top: -6px;
    border-radius: 16px;
    font-size: .96rem;
    line-height: 1.4;
  }

  .ui-card {
    padding: 1rem 1.1rem;
    border-radius: 16px;
  }

  .ui-card.medium {
    order: 2;
  }

  .ui-card.small {
    order: 3;
  }

  .ui-card strong {
    font-size: 1rem;
    margin-bottom: .4rem;
  }
}

@media (max-width: 540px) {
  .container {
    width: min(var(--container), calc(100% - 1.2rem));
  }

  .section {
    padding: 58px 0;
  }

  .stat-card,
  .card,
  .value-card,
  .contact-card,
  .kpi {
    padding: 1.2rem;
  }

  .hero-card {
    padding: 1.2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-visual {
    gap: .85rem;
  }

  .hero-image {
    min-height: 220px;
    max-height: 280px;
    border-radius: 18px;
  }

  .hero-badge {
    font-size: .88rem;
    padding: .9rem 1rem;
  }

  .ui-card {
    padding: .95rem 1rem;
  }

  .nav-wrap {
    min-height: 74px;
  }

  .brand-logo {
    height: 56px;
  }
}