@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&display=swap');

  #headerr {
    --sun: #FFC81E;
    --orange: #F5921E;
    --outline: #E4572E;
    --blue-dark: #2B4FA8;
    --logo-bg: #F4EEE4; /* фонът на логото */

    position: relative;
    z-index: 100;
    background: var(--logo-bg);
    box-shadow: 0 4px 14px rgba(74, 52, 38, .15);
  }
  #headerr *, #headerr *::before, #headerr *::after { box-sizing: border-box; }

  /* Дъга най-долу, като в логото */
  #headerr::after {
    content: "";
    display: block;
    height: 8px;
    background: linear-gradient(90deg,
      #D93A3A 0 14.28%, #F5921E 0 28.56%, #FFC81E 0 42.84%,
      #2E9B4F 0 57.12%, #4FB3E8 0 71.4%, #2B4FA8 0 85.68%, #8A5CC0 0);
  }

  #headerr .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
  #headerr .wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 90px;
  }
  #headerr .clear { display: none; }

  /* Лого */
  #headerr #logo { display: flex; align-items: center; gap: 16px; }
  #headerr #logo h1 { margin: 0; line-height: 0; }
  #headerr #logo img {
    display: block;
    height: 70px;
    width: auto;
    max-width: 100%;
    transition: transform .3s;
  }
  #headerr #logo a:hover img { transform: rotate(-4deg) scale(1.06); }

  /* Бутон хамбургер (само мобилно) */
  #headerr #menu-switch {
    display: none;
    cursor: pointer;
    width: 48px; height: 48px;
    align-items: center; justify-content: center;
    border: 3px solid var(--outline);
    border-radius: 50%;
    font-size: 1.3rem;
    background: #fff;
  }
  /* презаписва inline белия цвят, за да се вижда на светъл фон */
  #headerr .hamburger-icon { color: var(--outline) !important; }

  /* Меню */
  #headerr #menu ul {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
  }
  #headerr #menu br { display: none; }
  #headerr #menu a {
    display: block;
    padding: 9px 18px;
    border-radius: 30px;
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--outline);
    text-decoration: none;
    transition: background .2s, color .2s, transform .2s;
  }
  #headerr #menu a:hover,
  #headerr #menu a:focus-visible {
    background: var(--sun);
    color: #fff;
    transform: translateY(-2px);
  }
  #headerr #menu a.active { background: rgba(245,146,30,.18); }

  /* "Обади се" – бутон */
  #headerr #menu li:last-child { margin-left: 10px; }
  #headerr #menu li:last-child a {
    background: var(--outline);
    color: #fff;
    border: 3px solid var(--outline);
    box-shadow: 0 4px 0 var(--orange);
  }
  #headerr #menu li:last-child a:hover {
    background: var(--sun);
    border-color: var(--orange);
    color: var(--outline);
    box-shadow: 0 4px 0 var(--orange);
  }

  /* Адаптивност */
  @media (max-width: 960px) {
    #headerr .wrapper { flex-wrap: wrap; min-height: 76px; padding: 8px 0; }
    #headerr #logo { width: 100%; justify-content: space-between; }
    #headerr #logo img { height: 58px; }
    #headerr #menu-switch { display: flex; }

    #headerr #menu { display: none; width: 100%; padding-bottom: 14px; }
    #headerr.menu-open #menu { display: block; }
    #headerr #menu ul { flex-direction: column; align-items: stretch; gap: 8px; }
    #headerr #menu a { text-align: center; background: rgba(245,146,30,.12); }
    #headerr #menu li:last-child { margin: 6px 0 0; }
    #headerr #menu li:last-child a { background: var(--outline); }
  }