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

/* =========================================================
   MAMA CMS / NEW LINE MENU COMPONENT
   Standalone header + top nav + burger
   Visual values copied from the current New Line layout.
   ========================================================= */

.mama-menu-header,
.mama-menu-header * { box-sizing: border-box; }

.mama-menu-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 242, 239, .88);
  backdrop-filter: blur(18px);
  transition: box-shadow .25s ease, background .25s ease;
  font-family: Montserrat, Arial, sans-serif;
  color: #242424;
}

.mama-menu-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(40, 32, 30, .08);
  background: rgba(248, 242, 239, .96);
}

.mama-menu-header a { color: inherit; text-decoration: none; }
.mama-menu-header button { font: inherit; }

.mama-menu-header__inner {
  width: min(1224px, calc(100% - 64px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.mama-menu-logo {
  display: inline-flex;
  flex: 0 0 auto;
  width: 108px;
  height: 32px;
  background: url("assets/logo.svg") no-repeat 0 0 / 108px auto;
}

.mama-menu-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-right: auto;
  margin-left: 0;
}

.mama-menu-nav a,
.mama-menu-nav button {
  border: 0;
  padding: 0;
  background: transparent;
  color: #333;
  font: 500 16px/1 Montserrat, Arial, sans-serif;
  cursor: pointer;
  text-decoration: none;
}

.mama-menu-nav button:hover,
.mama-menu-nav a:hover { color: #fc4d6e; }

.mama-menu-nav .mama-menu-services {
  background: url("assets/menu.svg") no-repeat 0 0;
  height: 16px;
  padding-left: 36px;
}

.mama-menu-nav .mama-menu-services:hover {
  background: url("assets/menu.svg") no-repeat 0 -16px;
}

.mama-menu-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
}

.mama-menu-phone {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 500;
  white-space: nowrap;
}

.mama-menu-phone img {
  width: 36px;
  height: 36px;
  display: block;
}

.mama-menu-cta {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 0;
  padding: 0 22px;
  background: #fc4d6e;
  color: #fff !important;
  font: 500 14px/1 Montserrat, Arial, sans-serif;
  white-space: nowrap;
  cursor: pointer;
  transition: background .25s ease;
  box-shadow: none !important;
}

.mama-menu-cta:hover { background: #ef3f62; }

.mama-menu-burger {
  display: none;
  width: 32px;
  height: 24px;
  border: 0;
  padding: 0;
  background: url("/assets/img/menuburger.svg") no-repeat 0 0 / 32px 24px;
  cursor: pointer;
}

.nl-mega-lock .mama-menu-burger {
  background: url("assets/close.svg") no-repeat 0 0 / 24px 24px;
}

@media (max-width: 767px) {
  .mama-menu-header {
    position: relative;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none !important;
    z-index: 999999;
  }

  .mama-menu-header__inner {
    width: calc(100% - 32px);
    height: 66px;
    gap: 0;
    justify-content: space-between;
  }

  .mama-menu-nav,
  .mama-menu-actions { display: none; }

  .mama-menu-burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }
}

/* EXACT MEGA MENU FROM page.html PACKAGE */
/* =========================================================
   NEW LINE MEGA MENU
   Desktop + mobile
   ========================================================= */

:root {
  --nl-mm-bg: #f8f2ef;
  --nl-mm-surface: #ffffff;
  --nl-mm-surface-soft: #f6e2df;
  --nl-mm-surface-chip: #f7eae6;
  --nl-mm-text: #242424;
  --nl-mm-text-soft: #5b5757;
  --nl-mm-text-muted: #8a8282;
  --nl-mm-accent: #fc4d6e;
  --nl-mm-accent-hover: #ef3f62;
  --nl-mm-dark: #333333;
  --nl-mm-line: #e5dada;
  --nl-mm-shadow: 0 28px 80px rgba(45, 36, 34, .14);
  --nl-mm-radius: 28px;
  --nl-mm-radius-sm: 16px;
  --nl-mm-z: 999;
}

.nl-mega,
.nl-mega *,
.nl-mega *::before,
.nl-mega *::after {
  box-sizing: border-box;
}

.nl-mega[aria-hidden="true"] {
  pointer-events: none;
}

.nl-mega {
  position: fixed;
  z-index: var(--nl-mm-z);
  inset: 0;
  font-family: Montserrat, Arial, sans-serif;
  color: var(--nl-mm-text);
}

.nl-mega a {
  color: inherit;
  text-decoration: none;
}

.nl-mega button,
.nl-mega input,
.nl-mega textarea,
.nl-mega select {
  font: inherit;
}

.nl-mega svg,
.nl-mega img {
  display: block;
}

.nl-mega__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(33, 28, 27, .34);
  opacity: 0;
  transition: opacity .24s ease;
}

.nl-mega.is-open .nl-mega__backdrop {
  opacity: 1;
}

/* =========================================================
   DESKTOP
   ========================================================= */

.nl-mega__desktop {
  position: absolute;
  top: 72px;
  left: 50%;
  width: min(1224px, calc(100% - 64px));
  max-height: calc(100vh - 96px);
  overflow: auto;
  transform: translate(-50%, -16px);
  opacity: 0;
  visibility: hidden;
  background: var(--nl-mm-surface);
  border-radius: 32px;
  box-shadow: var(--nl-mm-shadow);
  transition:
    transform .28s cubic-bezier(.2,.75,.2,1),
    opacity .22s ease,
    visibility 0s linear .28s;
  outline: none;
}

.nl-mega.is-open .nl-mega__desktop.is-active {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.nl-mega__desktop-inner {
  padding: 28px;
}

.nl-mega__desktop-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.nl-mega__desktop-title {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 600;

}

.nl-mega__close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--nl-mm-surface-chip);
  color: var(--nl-mm-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.nl-mega__close:hover {
  background: #f1d9d6;
  transform: rotate(3deg);
}

.nl-mega__close svg {
  width: 100%;
  height: 100%;
}

.nl-mega__desktop-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 250px;
  gap: 24px;
  align-items: stretch;
}

/* categories */

.nl-mega__categories {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nl-mega__category {
  min-height: 56px;
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--nl-mm-text);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
  font-size: 14px!important;
  line-height: 20px;
  font-weight: 500;
  cursor: pointer;
  transition:
    background .2s ease,
    color .2s ease,
    transform .2s ease;
}

.nl-mega__category svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  opacity: .7;
}

.nl-mega__category:hover {
  background: var(--nl-mm-surface-soft);
}

.nl-mega__category.is-active {
  background: var(--nl-mm-dark);
  color: #fff;
}

.nl-mega__category.is-active svg {
  opacity: 1;
}

.nl-mega__category--link {
  margin-top: auto;
  background: var(--nl-mm-surface-chip);
}

/* panels */

.nl-mega__panels {
  min-width: 0;
  position: relative;
}

.nl-mega__panel {
  min-height: 352px;
  height: 100%;
  border-radius: 24px;
  background: var(--nl-mm-bg);
  padding: 24px;
}

.nl-mega__panel[hidden] {
  display: none;
}

.nl-mega__panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.nl-mega__eyebrow {
  display: none;
  margin-bottom: 8px;
  color: var(--nl-mm-text-muted);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.nl-mega__panel-title {
  margin: 0;
  font-size: 24px;
  line-height: 36px;
  font-weight: 600;
  letter-spacing: -.035em;
}

.nl-mega__all-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--nl-mm-surface);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease;
  margin-top: 2px;
}

.nl-mega__all-link:hover {
  color: var(--nl-mm-accent);
}

.nl-mega__all-link svg {
  width: 18px;
  height: 18px;
}

.nl-mega__links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 34px;
}

.nl-mega__links-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nl-mega__service-link {
  min-height: 46px;
  border-radius: 8px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  color: var(--nl-mm-text-soft);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 500;
  transition:
    background .2s ease,
    color .2s ease,
    transform .2s ease;
}

.nl-mega__service-link:hover {
  background: var(--nl-mm-surface);
  color: var(--nl-mm-accent);
  transform: translateX(2px);
}

/* aside */

.nl-mega__aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nl-mega__price-card,
.nl-mega__consultation-card {
  border-radius: 24px;
  padding: 24px;
}

.nl-mega__price-card {
  min-height: 228px;
  background: var(--nl-mm-surface-soft);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease;
}

.nl-mega__price-card:hover {
  transform: translateY(-2px);
}

.nl-mega__price-label {
  display: inline-flex;
  align-self: flex-start;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--nl-mm-accent);
  font-size: 12px;
  font-weight: 600;
}

.nl-mega__price-title {
  margin-top: 20px;
  font-size: 24px;
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -.035em;
}

.nl-mega__price-copy {
  margin-top: 12px;
  color: var(--nl-mm-text-soft);
  font-size: 14px;
  line-height: 1.5;
}

.nl-mega__price-action {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--nl-mm-accent);
  font-size: 14px;
  font-weight: 600;
  margin-top: 16px;
}

.nl-mega__price-action svg {
  width: 18px;
  height: 18px;
}

.nl-mega__consultation-card {
  width: 100%;
  min-height: 108px;
  border: 0;
  background: var(--nl-mm-accent);
  color: #fff;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: background .2s ease, transform .2s ease;
}

.nl-mega__consultation-card:hover {
  background: var(--nl-mm-accent-hover);
  transform: translateY(-1px);
}

.nl-mega__consultation-card strong {
  font-size: 17px;
  line-height: 1.3;
  font-weight: 600;
}

.nl-mega__consultation-card span {
  margin-top: 8px;
  color: rgba(255,255,255,.84);
  font-size: 13px;
  line-height: 1.45;
}

/* =========================================================
   MOBILE
   ========================================================= */

.nl-mega__mobile {
  display: none;
}

@media (max-width: 767px) {
  .nl-mega__desktop {
    display: none !important;
  }

  .nl-mega__mobile {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    background: var(--nl-mm-bg);
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition:
      transform .3s cubic-bezier(.2,.75,.2,1),
      opacity .2s ease,
      visibility 0s linear .3s;
    outline: none;
  }

  .nl-mega.is-open .nl-mega__mobile.is-active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
  }

  .nl-mega__backdrop {
    display: none;
  }

  .nl-mega__mobile-header {
    min-height: 68px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--nl-mm-line);
    background: rgba(248,242,239,.94);
    backdrop-filter: blur(14px);
    flex: 0 0 auto;
  }

  .nl-mega__mobile-logo {
    display: inline-flex;
    align-items: center;
  }

  .nl-mega__mobile-logo img {
    width: 108px;
    height: auto;
  }

  .nl-mega__mobile-close {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: var(--nl-mm-surface-chip);
    color: var(--nl-mm-dark);
    padding: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
	z-index:99999999
  }

  .nl-mega__mobile-close svg {
    width: 100%;
    height: 100%;
  }

  .nl-mega__mobile-viewport {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
  }

  .nl-mega__mobile-screen {
    position: absolute;
    inset: 0;
    padding: 20px 16px max(24px, env(safe-area-inset-bottom));
    overflow-y: auto;
    background: var(--nl-mm-bg);
    transform: translateX(100%);
    opacity: 0;
    transition:
      transform .28s cubic-bezier(.2,.75,.2,1),
      opacity .2s ease;
  }

  .nl-mega__mobile-screen[hidden] {
    display: block;
    visibility: hidden;
  }

  .nl-mega__mobile-screen.is-active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .nl-mega__mobile-screen.is-before {
    transform: translateX(-24%);
    opacity: .4;
    visibility: visible;
  }

  .nl-mega__mobile-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .nl-mega__mobile-main-item,
  .nl-mega__mobile-category {
    width: 100%;
    min-height: 58px;
    border: 0;
    border-bottom: 1px solid var(--nl-mm-line);
    background: transparent;
    color: var(--nl-mm-text);
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-size: 18px!important;
    line-height: 1.3;
    font-weight: 500!important;
    text-align: left;
    cursor: pointer;
  }

  .nl-mega__mobile-main-item svg,
  .nl-mega__mobile-category svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
  }

  .nl-mega__mobile-contact {
    margin-top: 34px;
    padding: 24px;
    border-radius: 24px;
    background: var(--nl-mm-surface);
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .nl-mega__mobile-contact a {
    font-size: 19px;
    font-weight: 600;
  }

  .nl-mega__mobile-contact span {
    color: var(--nl-mm-text-soft);
    font-size: 14px;
    line-height: 1.45;
  }

  .nl-mega__mobile-cta {
    width: 100%;
    min-height: 60px;
    margin-top: 18px;
    border: 0;
    border-radius: 16px;
    background: var(--nl-mm-accent);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
  }

  .nl-mega__mobile-screen-head {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
  }

  .nl-mega__mobile-screen-head h2 {
    margin: 0;
    font-size: 25px;
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -.035em;
  }

  .nl-mega__mobile-back {
    min-height: 40px;
    border: 0;
    border-radius: 999px;
    background: var(--nl-mm-surface);
    color: var(--nl-mm-text);
    padding: 0 12px 0 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
  }

  .nl-mega__mobile-back svg {
    width: 19px;
    height: 19px;
  }

  .nl-mega__mobile-categories,
  .nl-mega__mobile-services {
    display: flex;
    flex-direction: column;
  }

  .nl-mega__mobile-services a {
    min-height: 56px;
    border-bottom: 1px solid var(--nl-mm-line);
    display: flex;
    align-items: center;
    color: var(--nl-mm-text-soft);
    font-size: 16px;
    line-height: 1.35;
    font-weight: 500;
    transition: color .2s ease;
  }

  .nl-mega__mobile-services a:active {
    color: var(--nl-mm-accent);
  }
}

/* =========================================================
   RESPONSIVE DESKTOP/TABLET
   ========================================================= */

@media (min-width: 768px) and (max-width: 1120px) {
  .nl-mega__desktop {
    width: calc(100% - 32px);
  }

  .nl-mega__desktop-grid {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .nl-mega__aside {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .nl-mega__price-card {
    min-height: 140px;
  }

  .nl-mega__consultation-card {
    min-height: 140px;
  }
}

@media (min-width: 768px) and (max-width: 900px) {
  .nl-mega__desktop-grid {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 16px;
  }

  .nl-mega__desktop-inner {
    padding: 20px;
  }

  .nl-mega__panel {
    padding: 24px;
  }

  .nl-mega__panel-title {
    font-size: 24px;
  }

  .nl-mega__links-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* =========================================================
   ACCESSIBILITY / STATES
   ========================================================= */

body.nl-mega-lock {
  overflow: hidden;
}

.nl-mega :focus-visible {
  outline: 2px solid var(--nl-mm-accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .nl-mega__backdrop,
  .nl-mega__desktop,
  .nl-mega__mobile,
  .nl-mega__mobile-screen,
  .nl-mega__category,
  .nl-mega__service-link,
  .nl-mega__price-card,
  .nl-mega__consultation-card {
    transition: none !important;
  }
}

