

/* =========================================================
   HEADER — values from Figma (1920 × 160)
   ========================================================= */
.gs-head {
  --gs-red: #d71111;
  --gs-dark: #2a2a30;
  --gs-ink: #111117;
  --gs-muted: #6d7076;
  --gs-pad: clamp(18px, 4.6875vw, 90px);      /* Figma: content starts at x 90 */

  /* sticky: the 50px top bar scrolls away, the menu bar stays at the top of the window */
  position: sticky;
  top: -50px;
  z-index: 100;
  width: 100%;
  font-family: "Manrope", sans-serif;
}
.gs-head *, .gs-head *::before, .gs-head *::after { box-sizing: border-box; }
.gs-head ul { margin: 0; padding: 0; list-style: none; }
.gs-head__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Top bar 50px: white left, red from x 432 with slanted edge ---------- */
.gs-head__top {
  position: relative;
  height: 50px;
  display: flex;
  align-items: center;
  padding: 0 var(--gs-pad);
  background: #fff;
  overflow: hidden;
}
.gs-head__top::before {                      /* Figma "bg": 1488 × 50 at x 432, #D71111 */
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 22.5%;
  right: 0;
  background: var(--gs-red);
  clip-path: polygon(24px 0, 100% 0, 100% 100%, 0 100%);
}
.gs-head__social { position: relative; display: flex; gap: 24px; }
.gs-head__social a { display: flex; color: var(--gs-ink); transition: color .2s ease; }
.gs-head__social a:hover, .gs-head__social a:focus-visible { color: var(--gs-red); }
.gs-head__social svg { width: 14px; height: 14px; fill: currentColor; }
.gs-head__ig { fill: none !important; stroke: currentColor; stroke-width: 2.4; }
.gs-head__ig-dot { fill: currentColor; stroke: none; }

.gs-head__hours {                             /* at x 481 = 432 + 49 */
  position: absolute;
  left: calc(22.5% + 49px);
  margin: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  white-space: nowrap;
}

/* ---------- Menu bar 110px ---------- */
.gs-head__bar {
  position: relative;
  height: 110px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 var(--gs-pad);
  background: var(--gs-ink);
}
/* left logo panel: #2A2A30, 0 → 22.5% */
.gs-head__bar::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 22.5%;
  background: var(--gs-dark);
  pointer-events: none;
}
/* right panel with slanted stripes: #18181E stripes + #2A2A30 from 75.26% */
.gs-head__bar::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 70.99%;
  right: 0;
  background:
    linear-gradient(115deg, transparent 0 6%, #18181e 6% 15.5%, transparent 15.5%),
    linear-gradient(115deg, transparent 0 13%, var(--gs-dark) 13%);
  pointer-events: none;
}

.gs-head__logo { position: relative; z-index: 1; flex: 0 0 auto; display: flex; }
.gs-head__logo img { display: block; width: clamp(150px, 11.15vw, 214px); height: auto; }

/* nav: 722 wide, centred, gap 38 */
.gs-head__nav { position: relative; z-index: 2; flex: 1 1 auto; display: flex; justify-content: center; }
.gs-head__menu { display: flex; align-items: center; gap: clamp(20px, 1.98vw, 38px); }
.gs-head__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border: 0;
  background: none;
  color: var(--gs-muted);
  font-family: "Urbanist", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 19px;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: color .2s ease;
}
.gs-head__link:hover, .gs-head__link:focus-visible, .gs-head__link[aria-current="page"] { color: #fff; }
.gs-head__caret {
  width: 10px; height: 6px;
  fill: none; stroke: var(--gs-red); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .2s ease;               /* points up like Figma */
}

/* Location dropdown */
.gs-head__has-sub { position: relative; }
.gs-head__sub {
  position: absolute;
  top: calc(100% + 36px);
  left: -24px;
  min-width: 220px;
  padding: 12px 0 !important;
  background: #fff;
  border-top: 3px solid var(--gs-red);
  box-shadow: 6px 6px 30px rgba(0,0,0,.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.gs-head__sub a {
  display: block;
  padding: 9px 24px;
  color: var(--gs-dark);
  font-family: "Urbanist", sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: color .2s ease, background .2s ease;
}
.gs-head__sub a:hover, .gs-head__sub a:focus-visible { color: var(--gs-red); background: #f6f6f6; }
.gs-head__has-sub.is-open .gs-head__sub { opacity: 1; visibility: visible; transform: none; }
.gs-head__has-sub.is-open .gs-head__caret { transform: rotate(180deg); }
@media (hover: hover) and (min-width: 1280px) {
  .gs-head__has-sub:hover .gs-head__sub { opacity: 1; visibility: visible; transform: none; }
  .gs-head__has-sub:hover .gs-head__caret { transform: rotate(180deg); }
  .gs-head__has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 40px; } /* hover bridge */
}

/* right: phone + divider + search */
.gs-head__right { position: relative; z-index: 2; flex: 0 0 auto; display: flex; align-items: center; gap: 22px; }
.gs-head__phone { display: flex; align-items: center; gap: 18px; text-decoration: none; }
.gs-head__phone-ico {
  width: 39px; height: 39px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gs-ink);
}
.gs-head__phone-ico svg { width: 18px; height: 18px; fill: none; stroke: var(--gs-red); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.gs-head__phone-text { display: flex; flex-direction: column; gap: 5px; }
.gs-head__phone-label { color: var(--gs-muted); font-size: 13px; line-height: 13px; }
.gs-head__phone-num { color: #fff; font-family: "Urbanist", sans-serif; font-weight: 700; font-size: 18px; line-height: 18px; white-space: nowrap; transition: color .2s ease; }
.gs-head__phone:hover .gs-head__phone-num { color: var(--gs-red); }

.gs-head__divider { width: 1px; height: 44px; background: var(--gs-red); opacity: .2; }

.gs-head__search-btn, .gs-head__burger {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  padding: 0; border: 0; background: none; cursor: pointer;
}
.gs-head__search-btn svg { width: 20px; height: 20px; fill: none; stroke: var(--gs-red); stroke-width: 2; stroke-linecap: round; }
.gs-head__search-btn:focus-visible, .gs-head__burger:focus-visible, .gs-head__link:focus-visible { outline: 2px solid var(--gs-red); outline-offset: 3px; }

/* hamburger (hidden on desktop) */
.gs-head__burger { display: none; flex-direction: column; gap: 5px; }
.gs-head__burger span { display: block; width: 24px; height: 2px; background: #fff; transition: transform .25s ease, opacity .25s ease; }
.gs-head__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.gs-head__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.gs-head__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* search panel */
.gs-head__search {
  position: absolute;
  top: 100%;
  right: var(--gs-pad);
  z-index: 5;
  display: flex;
  width: min(460px, calc(100% - 2 * var(--gs-pad)));
  background: #fff;
  box-shadow: 6px 6px 30px rgba(0,0,0,.16);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.gs-head__search.is-open { opacity: 1; visibility: visible; transform: none; }
.gs-head__search input {
  flex: 1; min-width: 0; height: 56px; padding: 0 20px;
  border: 0; outline: none; font: 500 15px "Manrope", sans-serif; color: var(--gs-dark);
}
.gs-head__search button {
  padding: 0 26px; border: 0; background: var(--gs-red); color: #fff;
  font: 700 15px "Manrope", sans-serif; cursor: pointer;
}

/* live suggestions under the search box */
.gs-head__suggest {
  position: absolute; top: 100%; left: 0; right: 0;
  max-height: min(70vh, 460px); overflow-y: auto;
  background: #fff; border-top: 1px solid #eceef1;
  box-shadow: 6px 14px 30px rgba(0,0,0,.18);
}
.gs-head__suggest[hidden] { display: none; }
.gs-head__sg {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 20px; text-decoration: none; color: var(--gs-dark);
  border-bottom: 1px solid #f1f2f4;
}
.gs-head__sg:hover, .gs-head__sg.is-active { background: #f6f6f8; }
.gs-head__sg-type {
  flex: 0 0 auto; min-width: 72px; margin-top: 2px; padding: 3px 8px;
  background: #fdecec; color: var(--gs-red);
  font: 700 11px/1.3 "Manrope", sans-serif; text-align: center; text-transform: uppercase; letter-spacing: .04em;
}
.gs-head__sg-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gs-head__sg-title { font: 700 15px/1.3 "Manrope", sans-serif; overflow-wrap: anywhere; }
.gs-head__sg-title mark { background: #fff1b8; color: inherit; padding: 0 1px; }
.gs-head__sg-text { color: #6d7076; font: 500 13px/1.45 "Manrope", sans-serif; overflow-wrap: anywhere; }
.gs-head__sg-all {
  display: block; padding: 13px 20px; text-align: center; text-decoration: none;
  color: var(--gs-red); font: 700 14px "Manrope", sans-serif;
}
.gs-head__sg-all:hover { background: #f6f6f8; }
.gs-head__sg-empty { margin: 0; padding: 18px 20px; color: #6d7076; font: 500 14px/1.5 "Manrope", sans-serif; }

/* =========================================================
   BELOW 1280 — hamburger menu
   ========================================================= */
@media (max-width: 1279.98px) {
  .gs-head__burger { display: flex; }
  .gs-head__bar { height: 90px; justify-content: space-between; }
  .gs-head__bar::after { left: auto; width: 34%; }
  .gs-head__nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    display: block;
    max-height: 0;
    overflow: hidden;
    background: var(--gs-ink);
    border-top: 1px solid rgba(255,255,255,.06);
    transition: max-height .35s ease;
  }
  .gs-head__nav.is-open { max-height: 80vh; overflow-y: auto; }
  .gs-head__menu { flex-direction: column; align-items: stretch; gap: 0; padding: 10px var(--gs-pad) 20px !important; }
  .gs-head__menu > li { border-bottom: 1px solid rgba(255,255,255,.06); }
  .gs-head__link { width: 100%; justify-content: space-between; padding: 16px 0; font-size: 17px; color: #d0d0d4; }
  .gs-head__sub {
    position: static;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0 !important;
    border: 0;
    box-shadow: none;
    background: transparent;
    opacity: 1; visibility: visible; transform: none;
    transition: max-height .3s ease;
  }
  .gs-head__has-sub.is-open .gs-head__sub { max-height: 600px; padding-bottom: 12px !important; }
  .gs-head__sub a { padding: 10px 16px; color: #a4a7ad; background: transparent; }
  .gs-head__sub a:hover { background: transparent; color: #fff; }
}

@media (max-width: 767.98px) {
  .gs-head { top: -44px; }
  .gs-head__top { justify-content: space-between; height: 44px; }
  .gs-head__top::before { left: auto; width: 58%; }
  .gs-head__social { gap: 16px; }
  .gs-head__hours { position: relative; left: auto; font-size: 12px; }
  .gs-head__bar { height: 76px; gap: 12px; }
  .gs-head__bar::before { width: 46%; clip-path: polygon(0 0, 100% 0, calc(100% - 22px) 100%, 0 100%); }
  .gs-head__bar::after { display: none; }
  .gs-head__logo img { width: 140px; }
  .gs-head__phone-text, .gs-head__divider { display: none; }
  .gs-head__right { gap: 6px; }
}
@media (max-width: 380px) {
  .gs-head__hours { font-size: 11px; }
  .gs-head__logo img { width: 124px; }
}

@media (prefers-reduced-motion: reduce) {
  .gs-head * { transition: none !important; }
}

/* social icon with no link set (editable in admin: Settings > Website Info) */
.gs-head__social .gs-soc-off { display: flex; color: var(--gs-ink); opacity: .35; cursor: default; }
