/* ==========================================================
   GoldBest Services - Site chrome: header, footer, buttons, colour tokens
   Used by EVERY page (generated pages and the older pages), so the navbar
   and footer are identical everywhere. Page sections live in site.css.
   ========================================================== */

:root {
  --navy: #0b2545;
  --navy-2: #13325f;
  --navy-deep: #071a36;
  --steel: #1c4580;
  --ink: #3f4d61;
  --ink-2: #24344b;
  --muted: #6b7c93;
  --gold: #ebb741;
  --gold-hover: #dfa92c;
  --gold-text: #c08d1a;
  --gold-soft: #fcefc9;
  --ice: #e8f0fb;
  --bg: #f6f9fd;
  --line: #e6ecf4;
  --wa: #25d366;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 10px 30px -14px rgba(11, 37, 69, .2), 0 0 0 1px var(--line);
  --shadow-lg: 0 24px 50px -24px rgba(11, 37, 69, .35);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.topbar, .site-header, .site-foot, .wa-float { font-family: var(--font); -webkit-font-smoothing: antialiased; }
.topbar *, .site-header *, .site-foot *,
.topbar *::before, .site-header *::before, .site-foot *::before,
.topbar *::after, .site-header *::after, .site-foot *::after { box-sizing: border-box; }
.site-header img, .site-foot img { max-width: 100%; }
.topbar a, .site-header a, .site-foot a { color: inherit; }   /* older pages have no global link colour reset */
.ico { display: block; flex: none; width: 1em; height: 1em; }
.wrap {
  width: min(1240px, 100% - 48px);
  margin: 0 auto;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}


/* ---------- Buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 18px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 26px;
  border: 1.5px solid transparent;
  border-radius: 10px;
  font: 700 15.5px/1.2 var(--font);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s;
}
.btn .ico { width: 22px; height: 22px; }
.btn .ico--arrow { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .ico--arrow { transform: translateX(3px); }
.btn:focus-visible { outline: 3px solid var(--steel); outline-offset: 3px; }
.btn--gold { background: var(--gold); color: #141c2b; box-shadow: 0 8px 20px -10px rgba(214, 160, 40, .7); }
.btn--gold:hover { background: var(--gold-hover); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--steel); }
.btn--outline { border-color: var(--navy); background: rgba(255, 255, 255, .7); color: var(--navy); }
.btn--outline:hover { background: #fff; }
.btn--outline .ico--wa { color: var(--wa); }
.btn--light { border-color: rgba(255, 255, 255, .75); color: #fff; }
.btn--light:hover { background: rgba(255, 255, 255, .1); }
.btn--white { border-color: var(--line); background: #fff; color: var(--navy); }
.btn--white .ico--wa { color: var(--wa); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}
.link-arrow .ico { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--gold-text); }
.link-arrow:hover .ico { transform: translateX(3px); }


/* ==========================================================
   Header
   ========================================================== */
.topbar {
  background: var(--navy);
  font-size: 13px;
  font-weight: 500;
  color: #e3ebf6;
}
.topbar .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 24px;
  min-height: 42px;
  padding: 6px 0;
}
.topbar__group { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item .ico { width: 16px; height: 16px; }
.topbar__group > * + * { padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, .22); }
.topbar__social { display: inline-flex; gap: 16px; }
.topbar a { text-decoration: none; transition: color .2s; }
.topbar a:hover { color: var(--gold); }
.topbar__social .ico { width: 17px; height: 17px; }

.site-header {
  position: relative;
  z-index: 60;
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 104px;
}
.nav.wrap { width: min(1400px, 100% - 48px); }
.nav__logo { flex: none; }
.nav__logo img { display: block; width: 176px; height: auto; }   /* the SVG has no intrinsic size: set the width */
.nav__menu {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.nav__menu > li { position: relative; }
.nav__menu > li > a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 38px 0;
  font-size: 15px;
  font-weight: 500;
  color: #1a2336;
  text-decoration: none;
  white-space: nowrap;
}
.nav__menu > li > a .ico { width: 14px; height: 14px; transition: transform .2s; }
.nav__menu > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .2s;
}
.nav__menu > li:hover > a::after,
.nav__menu > li.is-current > a::after { transform: scaleX(1); }
.nav__menu > li.is-current > a { font-weight: 700; color: var(--navy); }
.nav__menu > li:hover > a .ico { transform: rotate(180deg); }
.nav__drop {
  position: absolute;
  top: calc(100% - 20px);
  left: -18px;
  display: grid;
  grid-template-rows: repeat(6, auto);  /* 11 links: 6 in the first column, 5 in the second */
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  column-gap: 6px;
  width: max-content;
  margin: 0;
  padding: 10px;
  list-style: none;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 20px 44px rgba(11, 37, 69, .14), 0 0 0 1px var(--line);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.nav__menu > li:hover > .nav__drop,
.nav__menu > li:focus-within > .nav__drop { opacity: 1; visibility: visible; transform: none; }
.nav__drop a {
  white-space: nowrap;                /* one line per link, so every row has the same height */
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #1a2336;
  text-decoration: none;
}
.nav__drop a:hover { background: var(--bg); color: var(--gold-text); }
.nav__overview { display: none; }
.nav__cta { flex: none; }
.nav__cta .btn { min-height: 58px; padding: 0 30px; font-size: 16px; }
.nav__toggle,
.nav__burger { display: none; }


/* ==========================================================
   Footer
   ========================================================== */
.site-foot {
  background: radial-gradient(50% 60% at 100% 0%, rgba(30, 90, 160, .25), rgba(30, 90, 160, 0) 70%), #07172f;
  color: #b8c6da;
}
.site-foot a { color: inherit; text-decoration: none; transition: color .2s; }
.site-foot a:hover { color: var(--gold); }
.foot {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.1fr 1.4fr;
  padding: 64px 0 44px;
}
.foot > * + * { padding-left: 40px; border-left: 1px solid rgba(255, 255, 255, .09); }
.foot > * { padding-right: 24px; }
.foot__logo img { display: block; width: 230px; height: auto; }
.foot__about { margin: 20px 0 22px; font-size: 15px; line-height: 1.6; color: #d7e1ee; }
.foot__social { display: flex; gap: 12px; margin: 0; padding: 0; list-style: none; }
.foot__social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  color: #fff;
}
.foot__social a:hover { background: var(--gold); color: var(--navy); }
.foot__social .ico { width: 19px; height: 19px; }
.foot__title {
  margin: 0 0 24px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}
.foot__title::after {
  content: "";
  display: block;
  width: 32px;
  height: 2.5px;
  margin-top: 10px;
  border-radius: 2px;
  background: var(--gold);
}
.foot__links { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; font-size: 15px; color: #d7e1ee; }
.foot__contact { display: grid; gap: 15px; margin: 0; padding: 0; list-style: none; font-size: 15px; color: #e3ebf6; }
.foot__contact li { display: flex; gap: 14px; }
.foot__contact .ico { width: 22px; height: 22px; color: var(--gold); }
.foot__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .09);
  font-size: 14px;
  color: #d7e1ee;
}
.foot__legal { display: flex; gap: 16px; }
.foot__legal span + span { padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, .3); }

/* floating WhatsApp */
.wa-float {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa);
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .6);
  color: #fff;
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float .ico { width: 30px; height: 30px; }

/* old SEO keyword blocks carried over from the previous pages stay hidden */
.seo-hidden { display: none; }


/* ---------- Responsive ---------- */
@media (max-width: 1439px) {
  .nav { gap: 18px; }
  .nav__logo img { width: 150px; }
  .nav__menu { gap: 18px; }
  .nav__menu > li > a { font-size: 14px; }
  .nav__cta .btn { min-height: 52px; padding: 0 18px; font-size: 15px; }
}

@media (max-width: 1280px) {
  /* burger menu */
  .nav { flex-wrap: wrap; min-height: 84px; row-gap: 0; }
  .nav__logo img { width: 140px; }
  .nav__toggle { display: block; }
  .nav__burger {
    display: grid;
    place-items: center;
    order: 3;
    width: 46px;
    height: 46px;
    margin-block: 19px;
    flex: none;
    color: var(--gold);
    background: var(--navy);
    border: 1px solid var(--navy);
    border-radius: 14px;
    cursor: pointer;
    transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
  }
  .nav__burger:hover { transform: translateY(-1px); }
  .nav__burger:active { transform: scale(.95); }
  .nav__burger span { position: relative; width: 24px; height: 18px; }
  .nav__burger span::before,
  .nav__burger span::after {
    content: "";
    position: absolute;
    right: 0;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: top .3s ease, width .3s ease, transform .3s ease;
  }
  .nav__burger span::before { top: 4px; width: 24px; }
  .nav__burger span::after { top: 12px; width: 16px; }
  .nav__toggle:checked + .nav__burger { background: var(--gold); border-color: var(--gold); color: var(--navy); }
  .nav__toggle:checked + .nav__burger span::before { top: 8px; transform: rotate(45deg); }
  .nav__toggle:checked + .nav__burger span::after { top: 8px; width: 24px; transform: rotate(-45deg); }
  .nav__cta { order: 2; margin-left: auto; }
  .nav__menu {
    display: flex;
    order: 4;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    border-top: 0 solid transparent;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: max-height .4s cubic-bezier(.22, 1, .36, 1), padding .4s ease,
      opacity .25s ease, transform .35s ease, border-color .25s ease, visibility 0s .4s;
  }
  .nav__toggle:checked ~ .nav__menu {
    /* Grow with the links; the document scrolls instead of clipping a nested panel. */
    max-height: var(--menu-height, none);
    padding: 6px 0 14px;
    border-top-width: 1px;
    border-color: var(--line);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition-delay: 0s;
  }
  .nav__toggle:focus-visible + .nav__burger { outline: 3px solid var(--steel); outline-offset: 3px; }
  .nav__menu > li { flex: 0 0 auto; }
  .nav__menu > li > a { padding: 13px 4px; }
  .nav__menu > li > a::after { display: none; }
  .nav__drop {
    position: static;
    width: auto;
    padding: 0 0 0 10px;
    max-height: 0;
    overflow: hidden;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    grid-template-rows: none;
    grid-auto-flow: row;
    grid-auto-columns: auto;
    transition: max-height .3s ease, padding .3s ease, opacity .2s ease, visibility 0s .3s;
  }
  .nav__menu > li:not(.is-submenu-open) > .nav__drop { opacity: 0; visibility: hidden; }
  .nav__menu > li.is-submenu-open > .nav__drop {
    max-height: var(--submenu-height, 900px);
    padding-bottom: 8px;
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
  }
  .nav__menu > li:not(.is-submenu-open) > a .ico { transform: none; }
  .nav__menu > li.is-submenu-open > a .ico { transform: rotate(180deg); }
  .nav__overview { display: list-item; }
  .nav__toggle:not(:checked) ~ .nav__menu .nav__drop { visibility: hidden; }
  .nav__drop a { white-space: normal; }
}

@media (max-width: 1080px) {
  .foot { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .foot > :nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 900px) {
  .topbar__tagline { display: none; }
}

@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  .topbar { display: none; }
  .nav.wrap { width: calc(100% - 32px); }
  .nav { column-gap: 10px; row-gap: 0; }
  .nav__logo img { width: 132px; }
  .nav__cta .btn { width: 46px; min-height: 46px; padding: 0; }
  .nav__cta .btn span { display: none; }
  .nav__burger { flex: none; }
  .foot { grid-template-columns: 1fr; }
  .foot > * + * { padding-left: 0; border-left: 0; }
  .wa-float { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .nav__drop,
  .nav__menu > li > a .ico,
  .nav__menu,
  .nav__burger,
  .nav__burger span::before,
  .nav__burger span::after { transition: none; }
}
