@font-face {
  font-family: "Kokil Montserrat";
  src: url("assets/kokil-header/fonts/montserrat-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Kokil Montserrat";
  src: url("assets/kokil-header/fonts/montserrat-semibold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Kokil Montserrat";
  src: url("assets/kokil-header/fonts/montserrat-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
}

.kokil-header,
.kokil-header * {
  box-sizing: border-box;
}

.kokil-header {
  --kh-ink: #1d252b;
  --kh-muted: #657078;
  --kh-line: rgba(29, 37, 43, 0.15);
  --kh-orange: #ef5b18;
  --kh-orange-dark: #c83d00;
  position: relative;
  isolation: isolate;
  height: clamp(660px, 34vw, 700px);
  min-height: 660px;
  overflow: hidden;
  background: linear-gradient(
    90deg,
    #fafbfb 0%,
    #f7f8f8 24%,
    #f1f3f4 38%,
    #e7eaec 46%,
    #e3e7e9 52%,
    #e3e7e9 100%
  );
  color: var(--kh-ink);
  font-family: "Kokil Montserrat", Arial, Helvetica, sans-serif;
}

.kokil-header a {
  color: inherit;
  text-decoration: none;
}

.kokil-header__art,
.kokil-header__backdrop {
  position: absolute;
}

.kokil-header__art {
  top: 9px;
  right: 0;
  z-index: 0;
  height: calc(100% - 18px);
  aspect-ratio: 1725 / 912;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.12) 1.5%,
    rgba(0, 0, 0, 0.32) 3%,
    rgba(0, 0, 0, 0.58) 5%,
    rgba(0, 0, 0, 0.82) 7%,
    rgba(0, 0, 0, 0.96) 9%,
    #000 10%,
    #000 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.12) 1.5%,
    rgba(0, 0, 0, 0.32) 3%,
    rgba(0, 0, 0, 0.58) 5%,
    rgba(0, 0, 0, 0.82) 7%,
    rgba(0, 0, 0, 0.96) 9%,
    #000 10%,
    #000 100%
  );
}

.kokil-header__backdrop {
  inset: 0;
  background-image: var(--kokil-header-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  filter: saturate(0.9) contrast(1.04);
}

.kokil-header__topbar,
.kokil-header__content {
  position: relative;
  z-index: 5;
  width: min(1840px, calc(100% - 96px));
  margin: 0 auto;
}

.kokil-header__topbar {
  min-height: 86px;
  display: grid;
  grid-template-columns: minmax(360px, 430px) auto auto;
  align-items: center;
  justify-content: start;
  gap: 20px;
  border-bottom: 1px solid var(--kh-line);
}

.kokil-header__brand {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 20px;
}

.kokil-header__brand-name {
  font-size: clamp(27px, 1.8vw, 37px);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.9;
}

.kokil-header__brand-name i {
  color: var(--kh-orange);
  font-style: normal;
}

.kokil-header__brand-caption {
  padding-left: 18px;
  display: grid;
  border-left: 1px solid var(--kh-line);
  color: #4d585e;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kokil-header__nav {
  display: flex;
  align-items: center;
  justify-self: start;
  gap: clamp(14px, 0.9vw, 19px);
  color: #384247;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.kokil-header__nav a {
  position: relative;
  padding: 14px 0;
}

.kokil-header__nav a::after {
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 2px;
  background: var(--kh-orange);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.kokil-header__nav a:hover::after,
.kokil-header__nav a:focus-visible::after {
  transform: scaleX(1);
}

.kokil-header__contacts {
  display: flex;
  align-items: center;
  justify-self: start;
  gap: 16px;
}

.kokil-header__contacts a {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #263137;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.kokil-header__contacts svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--kh-orange);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kokil-header__content {
  height: calc(100% - 172px);
  padding: 20px 0 26px;
  display: grid;
  grid-template-columns: minmax(520px, 0.9fr) 1.15fr minmax(330px, 0.48fr);
}

.kokil-header__intro {
  grid-column: 1;
  align-self: center;
  max-width: 920px;
}

.kokil-header__eyebrow {
  margin: 0 0 22px;
  color: var(--kh-orange-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kokil-header__eyebrow::before {
  width: 34px;
  height: 2px;
  margin: 0 12px 3px 0;
  display: inline-block;
  background: var(--kh-orange);
  content: "";
}

.kokil-header h1 {
  max-width: 900px;
  margin: 0;
  color: #1d2428;
  font-size: clamp(48px, 3.9vw, 76px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
}

.kokil-header__title-main,
.kokil-header__title-outline {
  display: block;
  white-space: nowrap;
}

.kokil-header__title-outline {
  padding-right: 20px;
  color: #f4f6f7;
  background: none;
  font-family: "Kokil Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-stretch: normal;
  letter-spacing: 0.018em;
  -webkit-text-fill-color: #f4f6f7;
  -webkit-text-stroke: 1.6px #30383d;
  paint-order: stroke fill;
  text-rendering: geometricPrecision;
}

.kokil-header__lead {
  width: min(900px, calc(100vw - 455px));
  max-width: none;
  margin-top: 26px;
  color: #48545a;
  font-size: clamp(18px, 1.14vw, 21px);
  line-height: 1.4;
}

.kokil-header__lead p {
  margin: 0;
}

.kokil-header__lead strong {
  margin-top: 8px;
  display: block;
  color: #263137;
  font-size: 1.02em;
  font-weight: 800;
}

.kokil-header__actions {
  min-height: 50px;
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
  width: min(100%, 1040px);
}

.kokil-header__action-buttons {
  display: contents;
}

.kokil-header__button {
  width: 100%;
  min-height: 50px;
  height: auto;
  padding: 12px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(29, 37, 43, 0.2);
  border-radius: 6px;
  max-width: none;
  font-size: clamp(11px, .72vw, 13px);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.kokil-header__button:hover {
  transform: translateY(-2px);
}

.kokil-header__button:focus-visible {
  outline: 3px solid rgba(239, 91, 24, 0.28);
  outline-offset: 3px;
}

.kokil-header__button--primary {
  border-color: var(--kh-orange);
  background: var(--kh-orange);
  color: white;
  box-shadow: 0 12px 32px rgba(199, 63, 0, 0.2);
}

.kokil-header__button--primary:hover {
  background: var(--kh-orange-dark);
}

.kokil-header__button--primary > span[aria-hidden="true"] {
  font-size: 20px;
  font-weight: 400;
}

.kokil-header__button-label {
  font-size: 11px !important;
  line-height: 1.2 !important;
}

.kokil-header__product-links a {
  font-size: 10.5px !important;
}

.kokil-header__button--ghost {
  background: rgba(250, 250, 250, 0.66);
  backdrop-filter: blur(8px);
}

.kokil-header__product-links {
  display: contents;
}

.kokil-header__product-links a {
  min-height: 50px;
  height: auto;
  padding: 12px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(32, 48, 58, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 20px rgba(29, 39, 45, 0.12);
  color: #273137;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-align: center;
  overflow-wrap: anywhere;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.kokil-header__product-links a.is-accent {
  border-color: #1576a9;
  background: #1576a9;
  box-shadow: 0 10px 24px rgba(21, 118, 169, 0.22);
  color: white;
}

.kokil-header__product-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(29, 39, 45, 0.17);
}

.kokil-header__proof {
  margin-top: 12px;
  display: flex;
  gap: 38px;
}

.kokil-header__proof p {
  margin: 0;
  display: grid;
  gap: 2px;
}

.kokil-header__proof strong {
  font-size: 20px;
  font-weight: 900;
}

.kokil-header__proof span {
  color: var(--kh-muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.kokil-header__footer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 5;
  min-height: 86px;
  padding: 0 max(48px, calc((100% - 1840px) / 2));
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(26, 32, 35, 0.72);
  color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
}

.kokil-header__advantages {
  width: min(1840px, 100%);
  min-height: 86px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.kokil-header__advantage {
  min-width: 0;
  min-height: 86px;
  padding: 8px 22px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.kokil-header__advantage:last-child {
  border-right: 0;
}

.kokil-header__advantage-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.kokil-header__advantage-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kokil-header__advantage-copy {
  display: grid;
  gap: 6px;
}

.kokil-header__advantage-copy strong {
  color: rgba(255, 255, 255, 0.96);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.kokil-header__advantage-copy small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
}

@media (max-width: 1600px) {
  .kokil-header {
    /* Reserve enough room for the captions below the counters before the
       absolutely positioned advantages strip begins. */
    height: 700px;
    min-height: 700px;
  }

  .kokil-header__art {
    right: clamp(-820px, calc(160vw - 2840px), -280px);
  }

  .kokil-header__actions {
    min-height: 50px;
  }
}

@media (max-width: 1280px) {
  .kokil-header__topbar,
  .kokil-header__content {
    width: min(calc(100% - 56px), 1180px);
  }

  .kokil-header__nav {
    display: none;
  }

  .kokil-header__topbar {
    grid-template-columns: 1fr auto;
  }

  .kokil-header__content {
    grid-template-columns: minmax(500px, 1fr) minmax(300px, 0.48fr);
    gap: 30px;
  }
}

@media (max-width: 860px) {
  .kokil-header {
    height: auto;
    min-height: 760px;
  }

  .kokil-header__art {
    top: 0;
    right: auto;
    left: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    opacity: 0.42;
  }

  .kokil-header__backdrop {
    background-position: center;
    background-size: cover;
  }

  .kokil-header__topbar,
  .kokil-header__content {
    width: calc(100% - 36px);
  }

  .kokil-header__topbar {
    min-height: 88px;
  }

  .kokil-header__brand-caption,
  .kokil-header__contacts span {
    display: none;
  }

  .kokil-header__content {
    height: auto;
    min-height: 0;
    padding: 64px 0 180px;
    display: block;
  }

  .kokil-header__intro {
    max-width: 650px;
  }

  .kokil-header h1 {
    font-size: clamp(44px, 11vw, 72px);
  }

  .kokil-header__title-main,
  .kokil-header__title-outline {
    white-space: normal;
  }

  .kokil-header__lead {
    width: 100%;
    max-width: 650px;
  }

  .kokil-header__footer {
    min-height: 104px;
    padding: 0;
    overflow-x: auto;
  }

  .kokil-header__advantages {
    width: max-content;
    min-width: 100%;
    min-height: 104px;
    grid-template-columns: repeat(5, minmax(230px, 1fr));
  }

  .kokil-header__advantage {
    min-height: 104px;
  }
}

@media (max-width: 620px) {
  .kokil-header {
    min-height: 880px;
  }

  .kokil-header__topbar {
    grid-template-columns: 1fr auto;
  }

  .kokil-header__contacts {
    gap: 10px;
  }

  .kokil-header__eyebrow {
    max-width: 290px;
    line-height: 1.45;
  }

  .kokil-header h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .kokil-header__title-outline {
    -webkit-text-stroke-width: 1px;
  }

  .kokil-header__lead {
    font-size: 15px;
  }

  .kokil-header__actions,
  .kokil-header__action-buttons {
    width: 100%;
    height: auto;
    display: grid;
  }

  .kokil-header__button {
    width: 100%;
  }

  .kokil-header__proof {
    gap: 20px;
    justify-content: space-between;
  }

  .kokil-header__proof strong {
    font-size: 17px;
  }

  .kokil-header__proof span {
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kokil-header *,
  .kokil-header *::before,
  .kokil-header *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.kokil-header.kokil-header--inner {
  position: sticky;
  top: 0;
  z-index: 500;
  height: 86px;
  min-height: 86px;
  overflow: visible;
  background: #fff;
  box-shadow: 0 5px 18px rgba(29, 37, 43, 0.08);
}

.kokil-header--inner .kokil-header__topbar {
  height: 86px;
}

.home-sticky-nav {
  position: fixed !important;
  top: 0;
  right: 0;
  left: 0;
  z-index: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
  transition: opacity 180ms ease, transform 220ms ease;
}

.home-sticky-nav.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
/* Five production links: blue-to-white gradient approved in the header test. */
.kokil-header__gradient-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 720px);
  margin-top: 18px;
}

.kokil-header .kokil-header__gradient-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 50px;
  padding: 8px 12px;
  border: 1px solid rgba(14, 67, 95, .2);
  border-radius: 6px;
  font: 800 clamp(12px, .9vw, 15px)/1.12 Inter, Arial, sans-serif;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(8, 37, 55, .08);
  transition: transform .18s ease, box-shadow .18s ease;
}

.kokil-header .kokil-header__gradient-link--1 { background: #147cab; color: #fff; }
.kokil-header .kokil-header__gradient-link--2 { background: #4c94b5; color: #fff; }
.kokil-header .kokil-header__gradient-link--3 { background: #82aec2; color: #09263a; }
.kokil-header .kokil-header__gradient-link--4 { background: #bfd1da; color: #102634; }
.kokil-header .kokil-header__gradient-link--5 { background: #fff; color: #101e29; }

.kokil-header .kokil-header__gradient-link:hover,
.kokil-header .kokil-header__gradient-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(8, 37, 55, .15);
}

/* Keep the approved experience counters visible below the new tile row. */
.kokil-header .kokil-header__proof {
  position: relative;
  z-index: 6;
  display: flex;
  visibility: visible;
  margin-top: 12px;
  gap: clamp(34px, 4vw, 66px);
}

.kokil-header .kokil-header__proof p {
  display: grid;
  gap: 3px;
  margin: 0;
}

.kokil-header .kokil-header__proof strong {
  color: #101e29;
  font: 900 20px/1 Inter, Arial, sans-serif;
}

.kokil-header .kokil-header__proof span {
  color: #5f6f7b;
  font: 700 11px/1.2 Inter, Arial, sans-serif;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .kokil-header__gradient-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .kokil-header__gradient-links { grid-template-columns: 1fr; gap: 8px; }
  .kokil-header .kokil-header__gradient-link { min-height: 50px; }
}


/* Current section: shared across every page and test concept. */
.kokil-header__nav > a[aria-current="page"],
.kokil-header__nav > .contact-menu > a[aria-current="page"] {
  color: var(--kh-orange, #f15a29) !important;
}
