* { box-sizing: border-box; }

:root {
  --navy: #082566;
  --navy-dark: #071d4f;
  --blue: #176bff;
  --cyan: #20c7df;
  --green: #26cc67;
  --text: #173471;
  --line: #dfe7f0;
  --container: 1510px;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

/* HEADER */
.site-header {
  position: relative;
  z-index: 10;
  padding: 25px 0 4px;
  background: rgba(255,255,255,.97);
}

.header-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.main-nav {
  display: flex;
  align-items: center;
  gap: 62px;
  color: var(--navy);
  font-size: 17px;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  padding: 16px 0 18px;
}

.main-nav a.active { color: #0a5bff; }

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: -14px;
  right: -14px;
  bottom: 7px;
  height: 2px;
  background: #0e67ff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 40px;
  border: 0;
  background: transparent;
  padding: 8px;
}

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

/* HERO */
.about-hero {
  padding: 52px 0 20px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(430px, .86fr) minmax(620px, 1.14fr);
  align-items: center;
  gap: 56px;
}

.about-copy {
  padding-left: 62px;
  max-width: 650px;
}

.section-label {
  color: #1063ff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .16em;
}

.title-line {
  display: block;
  width: 292px;
  height: 3px;
  margin: 20px 0 31px;
  background: linear-gradient(90deg, #176bff 0%, #20c7df 57%, #26cc67 100%);
}

.about-copy h1 {
  margin: 0;
  color: #0b2459;
  font-size: clamp(44px, 4.15vw, 68px);
  line-height: 1.08;
  letter-spacing: -.045em;
  font-weight: 800;
}

.about-copy p {
  margin: 28px 0 0;
  max-width: 620px;
  color: #183677;
  font-size: 20px;
  line-height: 1.58;
}

.about-copy .lead {
  margin-top: 42px;
}

.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 575px;
  overflow: visible;
}

.about-visual picture {
  display: block;
  width: 100%;
}

.about-visual img {
  width: 100%;
  max-width: 820px;
  height: auto;
  margin-inline: auto;
  object-fit: contain;
  object-position: center;
}

/* SERVICE SHORTCUTS */
.service-shortcuts {
  padding: 26px 0 38px;
}

.shortcut-grid {
  max-width: 1370px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 34px;
}

.shortcut {
  min-width: 0;
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: center;
  gap: 24px;
  padding: 12px 0;
}

.shortcut:hover h2 {
  color: #0a5bff;
}

.shortcut-icon {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shortcut-icon img {
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.shortcut-copy h2 {
  margin: 0;
  color: #0a2869;
  font-size: 19px;
  line-height: 1.15;
  font-weight: 800;
}

.shortcut-copy p {
  margin: 12px 0 0;
  color: #24427f;
  font-size: 14px;
  line-height: 1.45;
}

.shortcut-divider {
  width: 1px;
  height: 105px;
  background: #d9e1eb;
}

/* TABLET */
@media (max-width: 1180px) {
  .container {
    width: min(calc(100% - 56px), var(--container));
  }

  .brand img { width: 270px; }
  .main-nav { gap: 38px; }

  .about-grid {
    grid-template-columns: .9fr 1.1fr;
    gap: 28px;
  }

  .about-copy { padding-left: 18px; }

  .about-copy h1 {
    font-size: clamp(42px, 5vw, 58px);
  }

  .about-copy p {
    font-size: 18px;
  }

  .about-visual {
    min-height: 480px;
  }

  .about-visual img {
    max-width: 640px;
  }

  .shortcut-grid {
    gap: 22px;
  }

  .shortcut {
    grid-template-columns: 82px 1fr;
    gap: 17px;
  }

  .shortcut-icon,
  .shortcut-icon img {
    width: 82px;
    height: 82px;
  }

  .shortcut-copy h2 { font-size: 16px; }
  .shortcut-copy p { font-size: 13px; }
}

/* MOBILE */
@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 34px), var(--container));
  }

  .site-header {
    padding-top: 14px;
  }

  .brand img {
    width: 215px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 78px;
    left: 17px;
    right: 17px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 18px;
    background: #fff;
    border: 1px solid #e3e9f1;
    border-radius: 12px;
    box-shadow: 0 14px 35px rgba(11,36,89,.10);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 13px 2px;
  }

  .main-nav a.active::after {
    left: 0;
    right: auto;
    width: 50px;
    bottom: 7px;
  }

  .about-hero {
    padding: 36px 0 8px;
  }

  .about-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }

  .about-copy {
    max-width: none;
    padding-left: 0;
  }

  .section-label {
    font-size: 15px;
  }

  .title-line {
    width: 205px;
    margin: 15px 0 23px;
  }

  .about-copy h1 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .about-copy p,
  .about-copy .lead {
    margin-top: 23px;
    font-size: 17px;
    line-height: 1.55;
  }

  .about-visual {
    min-height: 0;
  }

  .about-visual img {
    max-width: 100%;
  }

  .service-shortcuts {
    padding: 20px 0 30px;
  }

  .shortcut-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .shortcut {
    grid-template-columns: 76px 1fr;
    gap: 18px;
    padding: 17px 0;
  }

  .shortcut-icon,
  .shortcut-icon img {
    width: 76px;
    height: 76px;
  }

  .shortcut-divider {
    width: 100%;
    height: 1px;
  }

  .shortcut-copy h2 {
    font-size: 17px;
  }

  .shortcut-copy p {
    margin-top: 8px;
    font-size: 14px;
  }
}


/* ==========================================================
   V0.6 — QC ICON OPTICAL NORMALIZATION
   Same scaling ratio as on START:
   122px / 104px = 1.173076923
   Master asset remains untouched.
   ========================================================== */
.shortcut-icon-qc img {
  transform: scale(1.173076923);
  transform-origin: center;
}


/* FOOTER — V0.8 exact shared contact bar */
.contact-footer { padding: 4px 0 26px; }

.contact-footer-inner {
  min-height: 74px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 26px;
  padding: 0 78px;
  color: #fff;
  background: #17377f;
  border-radius: 17px;
}

.contact-entry {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 19px;
  white-space: nowrap;
  font-size: 18px;
}

.footer-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.72);
}

.footer-icon-master {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  object-fit: contain;
}

.footer-icon-www {
  transform: scale(.92);
  transform-origin: center;
}


@media (max-width: 1050px) {
  .contact-footer-inner {
    padding: 0 34px;
    gap: 18px;
  }

  .contact-entry { font-size: 16px; }
}

@media (max-width: 760px) {
  .contact-footer { padding-bottom: 18px; }

  .contact-footer-inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 12px 18px;
  }

  .contact-entry {
    min-height: 48px;
    font-size: 15px;
  }

  .footer-divider {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,.28);
  }
}


/* ==========================================================
   V0.8 — LOCKED DESKTOP HEADER / NAV
   Source of truth: START.
   Same logo size, header height, container width, nav font,
   gaps, link padding and active underline on every page.
   ========================================================== */
@media (min-width: 761px) {
  .site-header {
    position: relative !important;
    z-index: 20 !important;
    padding: 0 !important;
    background: #fff !important;
  }

  .site-header .container {
    width: min(calc(100% - 52px), 1110px) !important;
    margin-inline: auto !important;
  }

  .header-inner {
    min-height: 92px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 48px !important;
  }

  .brand {
    width: 185px !important;
    display: block !important;
    flex: 0 0 185px !important;
  }

  .brand img {
    width: 100% !important;
    height: auto !important;
  }

  .main-nav {
    display: flex !important;
    align-items: center !important;
    gap: 51px !important;
    color: #071f55 !important;
    font-size: 15px !important;
    font-weight: 650 !important;
    line-height: normal !important;
  }

  .main-nav a {
    position: relative !important;
    padding: 34px 0 29px !important;
  }

  .main-nav a::after {
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    bottom: 18px !important;
    width: 0 !important;
    height: 2px !important;
    background: #1769ee !important;
    transform: translateX(-50%) !important;
    transition: width .18s ease !important;
  }

  .main-nav a:hover::after,
  .main-nav a.active::after {
    width: 58px !important;
  }

  .menu-toggle {
    display: none !important;
  }
}


