:root {
  /* Sarvon brand system (strict) */
  --s-primary: #2563ea;
  --s-primary-dark: #2563ea;
  --s-primary-rgb: 4, 86, 251;
  --s-navy: #0B1F3A;
  --s-accent: #56CCF2;
  --s-soft: #EAF4FF;
  --s-white: #FFFFFF;
  --s-section: #F7F9FC;
  --s-grad: linear-gradient(135deg, #0456fb 0%, #56CCF2 100%);

  --s-border: #EAF4FF;
  --s-shadow: 0 8px 18px rgba(11, 31, 58, .06);
  --s-ease: cubic-bezier(0.19, 1, 0.22, 1);
}

/* 1591DC 
325bfe
*/
/* Premium Header (isolated namespace: s-*) */
.s-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: var(--s-white);
  transform: translateY(0);
  transition: transform 0.35s var(--s-ease);
  will-change: transform;
}

.s-header.is-hidden {
  transform: translateY(-100%);
  pointer-events: none;
}

body {
  padding-top: var(--s-header-height, 75px);
}

/* Wider container just for navbar (max 1200–1300 + padding 32–48) */
.s-header .container {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 0 40px;
}

.s-header__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(transparent 39px, rgba(var(--s-primary-rgb), 0.035) 40px),
    linear-gradient(90deg, transparent 39px, rgba(var(--s-primary-rgb), 0.035) 40px),
    var(--s-white);
  background-size: 40px 40px, 40px 40px, auto;
  border-bottom: 1px solid var(--s-border);
  transition: box-shadow .35s var(--s-ease);
}

.s-header.is-scrolled .s-header__bg {
  box-shadow: var(--s-shadow);
}

.s-header__inner {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  min-height: 0;
  height: 75px;
  padding: 6px 0;
}

.s-header__brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding-left: 0;
  flex: 0 0 auto;
  line-height: 0;
}

.s-header__logo {
  padding: 10px;

  display: block;
  flex-shrink: 0;
  height: 56px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.s-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  /* slightly reduced */
  flex: 1 1 auto;
}

.s-nav__link {
  position: relative;
  text-decoration: none;
  color: var(--s-navy);
  font-weight: 500;
  /* Inter medium feel */
  font-size: 13px;
  padding: 6px 6px;
  transition: color .25s ease;
}

.s-nav__link::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: var(--s-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .30s var(--s-ease);
  opacity: .95;
}

.s-nav__link:hover {
  color: var(--s-navy);
}

.s-nav__link:hover::after {
  transform: scaleX(1);
}

.s-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 0;
  flex: 0 0 auto;
}

.s-header__actions .s-btn {
  padding: 0.625rem 1.125rem;
}

/* Icon buttons (mobile actions + call) */
.s-iconBtn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(var(--s-primary-rgb), .22);
  background: var(--s-white);
  align-items: center;
  justify-content: center;
  color: var(--s-primary);
  box-shadow: 0 8px 20px rgba(var(--s-primary-rgb), .12);
  padding: 0;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform .30s var(--s-ease), background .30s var(--s-ease), box-shadow .30s var(--s-ease);
}

.s-iconBtn:hover {
  transform: translateY(-1px);
  background: var(--s-soft);
}

.s-iconBtn svg {
  width: 18px;
  height: 18px
}

.s-iconBtn--wa {
  color: #25d366;
  border-color: rgba(37, 211, 102, .28)
}

.s-actionIcon {
  display: none
}

.s-iconDots {
  display: grid;
  grid-template-columns: repeat(2, 6px);
  grid-auto-rows: 6px;
  gap: 4px;
}

.s-iconDots span {
  width: 6px;
  height: 6px;
  border-radius: 4px;
  background: rgba(var(--s-primary-rgb), .78)
}

.s-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.35;
  cursor: pointer;
  border: none;
  transform-origin: 50% 50%;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  isolation: isolate;
  transition: transform 0.3s var(--s-ease), box-shadow 0.3s var(--s-ease), background 0.3s var(--s-ease), color 0.3s var(--s-ease), border-color 0.3s var(--s-ease);
  will-change: transform;
}

.s-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(105deg,
      transparent 0%,
      transparent 40%,
      rgba(255, 255, 255, 0.14) 50%,
      transparent 60%,
      transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.5s ease-in-out;
  pointer-events: none;
}

.s-btn:hover::after {
  transform: translateX(100%);
}

.s-btn--primary {
  color: #fff;
  background-color: var(--s-primary);
  box-shadow: 0 2px 8px rgba(var(--s-primary-rgb), 0.18);
}

.s-btn--primary:hover {
  background: linear-gradient(135deg, #0339d6 0%, var(--s-accent) 100%);
  transform: translate3d(0, -3px, 0) scale(1.05);
  box-shadow: 0 12px 28px -8px rgba(var(--s-primary-rgb), 0.38), 0 4px 12px -4px rgba(11, 31, 58, 0.14);
}

.s-btn--secondary {
  color: var(--s-navy);
  background: var(--s-white);
  border: 1px solid var(--s-navy);
  box-shadow: 0 2px 8px rgba(11, 31, 58, 0.06);
}

.s-btn--secondary::after {
  background: linear-gradient(105deg,
      transparent 0%,
      transparent 40%,
      rgba(11, 31, 58, 0.05) 50%,
      transparent 60%,
      transparent 100%);
}

.s-btn--secondary:hover {
  background: var(--s-soft);
  border-color: #0339d6;
  color: #0339d6;
  transform: translate3d(0, -3px, 0) scale(1.05);
  box-shadow: 0 12px 24px -8px rgba(11, 31, 58, 0.14), 0 4px 12px -4px rgba(11, 31, 58, 0.08);
}

.s-btn--full {
  width: 100%
}

.s-burger {
  display: none;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(var(--s-primary-rgb), .22);
  background: var(--s-primary);
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(var(--s-primary-rgb), .22);
  transition: transform .30s var(--s-ease), background .30s var(--s-ease), box-shadow .30s var(--s-ease), border-color .30s var(--s-ease);
}

.s-burger .s-iconDots span {
  background: var(--s-white);
}

.s-burger:hover {
  transform: translateY(-1px);
  background: #0339d6;
  box-shadow: 0 12px 28px rgba(var(--s-primary-rgb), .28);
}

.s-burger:active {
  transform: translateY(0)
}

/* Drawer */
.s-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
}

.s-drawer.is-open {
  pointer-events: auto;
}

.s-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 31, 58, .36);
  opacity: 0;
  transition: opacity .35s var(--s-ease);
}

.s-drawer.is-open .s-drawer__overlay {
  opacity: 1;
}

.s-drawer__panel {
  position: absolute;
  left: 0;
  right: auto;
  top: 0;
  height: 100%;
  width: min(380px, 92vw);
  background: var(--s-white);
  border-right: 1px solid var(--s-border);
  border-left: none;
  transform: translateX(-104%);
  transition: transform .38s var(--s-ease);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.s-drawer.is-open .s-drawer__panel {
  transform: translateX(0);
}

.s-drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.s-drawer__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.s-drawer__logo {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.s-drawer__close {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(11, 31, 58, .10);
  background: rgba(255, 255, 255, .75);
  font-size: 18px;
  line-height: 1;
}

.s-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 0 0;
  margin: 0;
}

.s-drawer__link {
  display: block;
  margin: 0;
  padding: 11px 0;
  text-decoration: none;
  color: rgba(11, 31, 58, .90);
  font-weight: 700;
  border-radius: 10px;
  transition: background .25s var(--s-ease);
}

.s-drawer__link:hover {
  background: var(--s-soft);
}

.s-drawer__actions {
  margin-top: auto;
  display: grid;
  gap: 10px;
}

@media (max-width: 939px) {
  .s-nav {
    display: none
  }

  .s-burger {
    display: inline-flex
  }

  .s-header .container {
    padding: 0 16px
  }

  .s-header__inner {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    grid-template-areas: "menu logo actions";
    align-items: center;
    gap: 10px;
    height: auto;
    min-height: 60px;
    padding: 8px 0;
    box-sizing: border-box
  }

  .s-burger {
    grid-area: menu;
    justify-self: start;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    flex-shrink: 0
  }

  .s-header__brand {
    grid-area: logo;
    justify-self: start;
    min-width: 0;
    display: flex;
    justify-content: flex-start
  }

  .s-header__logo {
    padding: 5px;
    height: 40px;
    width: auto;
    max-width: min(200px, calc(100vw - 148px));
    object-fit: contain
  }

  .s-header__actions {
    grid-area: actions;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 0
  }

  .s-actionBtn--desktop,
  .s-iconBtn--call {
    display: none !important
  }

  .s-actionIcon {
    display: inline-flex
  }
}

@media (max-width: 480px) {
  .s-header .container {
    padding: 0 12px
  }

  .s-header__inner {
    gap: 8px;
    padding: 8px 0
  }

  .s-header__logo {
    padding: 5px;
    max-width: min(180px, calc(100vw - 132px))
  }

  .s-iconBtn {
    width: 38px;
    height: 38px
  }

  .s-iconBtn svg {
    width: 17px;
    height: 17px
  }
}

@media (prefers-reduced-motion: reduce) {

  .s-header,
  .s-header__bg,
  .s-nav__link::after,
  .s-btn,
  .s-drawer__overlay,
  .s-drawer__panel {
    transition: none !important
  }

  .s-btn:hover .btn__text-inner {
    transform: none
  }
}