/* Amy Lim Law Header & Footer — recreated from the original Nuxt website */
html { scroll-behavior: smooth; }
body.allp-hf-active { margin: 0; }
body.allp-hf-active > header#site-header,
body.allp-hf-active > footer#site-footer,
body.allp-hf-active .site-header,
body.allp-hf-active .site-footer { display: none !important; }
body.allp-drawer-open { overflow: hidden; }
.allp-site-top, .allp-footer, .allp-site-top * , .allp-footer * { box-sizing: border-box; }
.allp-site-top, .allp-footer { font-family: var(--allp-font); }
/* The fixed header is taken out of normal document flow. Reserve its live measured
   height here so Elementor page content begins below the solid header instead of
   being hidden underneath it. */
.allp-site-top { min-height: var(--allp-header-height, 0px); }
.allp-container { width: min(calc(100% - 40px), var(--allp-width)); margin-inline: auto; }

.allp-header { position: fixed; inset: 0 0 auto; z-index: 10020; color: var(--allp-header-text); transition: .3s ease; }
.allp-topbar { background: var(--allp-topbar); color: var(--allp-topbar-text); }
.allp-topbar-row { min-height: 32px; display: flex; justify-content: flex-end; align-items: center; padding-top: var(--allp-topbar-pad); padding-bottom: var(--allp-topbar-pad); }
.allp-topbar-call { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; font-size: var(--allp-topbar-phone-size); font-weight: 500; line-height: 1; letter-spacing: .02em; }
.allp-topbar-call:hover { color: #fff; opacity: .84; }
.allp-topbar-phone-icon { width: var(--allp-topbar-icon-size); height: var(--allp-topbar-icon-size); flex: 0 0 var(--allp-topbar-icon-size); background: url('../images/phone-icon.png') center/contain no-repeat; }
.allp-main-header { padding: var(--allp-header-pad) 0 var(--allp-header-bottom-pad); transition: .3s ease; }
.allp-header.is-sticky .allp-main-header { padding: var(--allp-sticky-pad) 0; background: var(--allp-sticky); box-shadow: 0 3px 12px rgba(0,0,0,.18); }
.allp-header-row { display: flex; justify-content: space-between; align-items: center; }
.allp-brand { width: 25%; display: flex; align-items: center; }
.allp-brand a { display: inline-flex; }
.allp-logo { display: block; width: var(--allp-logo-desktop); height: auto; transition: width .35s ease; }
.allp-header.is-sticky .allp-logo { width: min(var(--allp-logo-desktop), 170px); }
.allp-header-right { width: 75%; display: flex; justify-content: flex-end; align-items: center; }
.allp-desktop-nav { margin-top: 0; }
.allp-menu { list-style: none; display: flex; align-items: center; justify-content: flex-end; padding: 0; margin: 0; }
.allp-menu li { margin: 0; padding: 0; }
.allp-menu a { display: block; padding: 0 24px; color: inherit; text-decoration: none; font-size: clamp(14px,1.15vw,18px); letter-spacing: 2px; line-height: 1; transition: color .25s ease; white-space: nowrap; }
.allp-menu li:last-child a { padding-right: 0; }
.allp-menu a:hover, .allp-menu .current-menu-item > a { color: var(--allp-primary); }
.allp-header.is-sticky .allp-menu a:hover { color: #d38eff; }

.allp-menu-toggle { display: none !important; width: 36px; height: 36px; border: 0; border-radius: 6px; padding: 7px; background: transparent !important; box-shadow: none !important; cursor: pointer; }
.allp-menu-toggle span { display: block; height: 2px; background: #fff; margin: 5px 0; }
.allp-menu-toggle:hover { background: var(--allp-dark) !important; }

.allp-mobile-drawer { position: fixed; z-index: 10040; inset: 0 auto 0 0; width: min(420px,90vw); height: 100vh; overflow-y: auto; background: #fff; color: #111; box-shadow: 4px 0 18px rgba(0,0,0,.25); transform: translateX(-105%); transition: transform .22s ease; }
.allp-mobile-drawer.is-open { transform: translateX(0); }
.allp-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid #ededed; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.allp-drawer-head img { width: 150px; display: block; }
.allp-drawer-close { border: 0; background: none; color: #111; font: 300 52px/40px Arial,sans-serif; cursor: pointer; }
.allp-mobile-drawer .allp-menu { display: block; padding: 0 16px; }
.allp-mobile-drawer .allp-menu a { color: #111; font-size: 14px; padding: 14px 0; border-bottom: 1px solid #ddd; }
.allp-mobile-drawer .allp-menu .current-menu-item > a { color: var(--allp-dark); font-weight: 700; }
.allp-drawer-contact { padding: 30px 16px 50px; font-size: 16px; }
.allp-drawer-contact h3 { margin: 22px 0 10px; font-size: 18px; }
.allp-drawer-contact p { margin: 0; line-height: 1.6; }
.allp-drawer-contact a { color: inherit; }
.allp-overlay { display: none; position: fixed; z-index: 10030; inset: 0; background: rgba(145,43,155,.23); }
.allp-overlay.is-open { display: block; }
.allp-back-top { position: fixed; z-index: 10010; right: 20px; bottom: 45px; width: 50px; height: 50px; display: none; align-items: center; justify-content: center; border-radius: 50%; color: #fff; background: var(--allp-primary); box-shadow: 0 4px 12px rgba(0,0,0,.22); text-decoration: none; font: 300 30px/1 Arial,sans-serif; }
.allp-back-top.is-visible { display: flex; }
.allp-back-top:hover { color: #fff; background: var(--allp-dark); }

.allp-footer { position: relative; z-index: 2; color: #fff; background: var(--allp-footer) url('../images/footer-map-bg.jpg') center right/cover no-repeat; }
.allp-footer-main { padding: var(--allp-footer-pad-desktop) 0; }
.allp-footer-bottom { background: var(--allp-copyright-bg); color: var(--allp-copyright-text); }
.allp-footer-bottom-row { min-height: 44px; display: flex; align-items: center; justify-content: center; text-align: center; padding-top: 12px; padding-bottom: 12px; }
.allp-footer-bottom p { margin: 0; color: inherit; font-size: 12px; font-weight: 400; line-height: 1.5; letter-spacing: .01em; }
.allp-footer-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 100px; }
.allp-footer h2 { margin: 0 0 25px; color: #fff; font-size: clamp(32px,2.6vw,36px); font-weight: 300; line-height: 1.25; }
.allp-footer h3 { margin: 0 0 18px; color: #fff; font-size: clamp(22px,2vw,25px); font-weight: 500; }
.allp-footer p { margin: 0; color: #fff; font-size: 18px; line-height: 1.75; }
.allp-footer a { color: #fff; }
.allp-footer-intro { margin-bottom: 40px !important; }
.allp-contact-block { margin-bottom: 40px; }
.allp-map-link-wrap { padding: 40px 50px 0; text-align: left; }
.allp-map-link { display: inline-flex; flex-direction: column; align-items: center; gap: 7px; font-size: 14px; letter-spacing: .05em; text-decoration: underline; }
.allp-map-link svg { width: 30px; fill: currentColor; }
.allp-map-link:hover { color: var(--allp-light); }
.allp-map-link-wrap small { display: block; margin-top: 65px; font-size: 13px; }
.allp-form-placeholder { padding: 18px; border: 1px dashed rgba(255,255,255,.6); border-radius: 6px; background: rgba(0,0,0,.12); }

/* Contact Form 7 styling to match the original form */
.allp-footer-form .wpcf7 p { margin: 0 0 14px; }
.allp-footer-form label { display: block; margin-bottom: 5px; color: #fff; font-size: 16px; }
.allp-footer-form input:not([type="submit"]), .allp-footer-form textarea, .allp-footer-form select { width: 100%; padding: 11px 12px; border: 1px solid #d1d5db; border-bottom-width: 2px; border-radius: 6px; background: #fff; color: #111; font: 400 14px/1.4 var(--allp-font); }
.allp-footer-form textarea { min-height: 120px; resize: vertical; }
.allp-footer-form input:focus, .allp-footer-form textarea:focus { outline: none; border-color: var(--allp-light); }
.allp-footer-form input[type="submit"] { margin-top: 30px; padding: 16px 60px; border: 0; border-radius: 999px; background: var(--allp-primary); color: #fff; font: 500 17px/1.2 var(--allp-font); letter-spacing: 2px; cursor: pointer; }
.allp-footer-form input[type="submit"]:hover { background: var(--allp-dark); }

@media (max-width: 1199px) {
  .allp-logo { width: var(--allp-logo-tablet); }
  .allp-menu a { padding-inline: 16px; }
  .allp-footer-grid { gap: 60px; }
}
@media (max-width: 1023px) {
  .allp-main-header { padding: 20px 0 var(--allp-header-bottom-pad); }
  .allp-header-row { align-items: center; }
  .allp-menu-toggle { display: block !important; flex: 0 0 36px; }
  .allp-brand { width: auto; flex: 1; justify-content: center; }
  .allp-logo { width: var(--allp-logo-tablet); margin-inline: auto; }
  .allp-header-right { width: auto; flex: 0 0 36px; }
  .allp-desktop-nav { display: none; }
  .allp-footer-grid { grid-template-columns: 1fr; gap: 70px; }
  .allp-map-link-wrap { padding-top: 30px; }
}
@media (max-width: 767px) {
  .allp-container { width: min(calc(100% - 40px), var(--allp-width)); }
  .allp-logo { width: var(--allp-logo-mobile); }
  .allp-header.is-sticky .allp-logo { width: min(var(--allp-logo-mobile),140px); }
  .allp-footer { background-position: right center; }
  .allp-footer-main { padding: var(--allp-footer-pad-mobile) 0; }
  .allp-footer h2 { font-size: 28px; }
  .allp-footer p { font-size: 16px; }
  .allp-map-link-wrap { padding: 30px 0 0; text-align: center; }
  .allp-map-link-wrap small { margin-top: 45px; }
  .allp-footer-form input[type="submit"] { width: 100%; }
  .allp-back-top { bottom: 60px; }
  .allp-topbar-row { justify-content: center; }
  .allp-topbar-call { font-size: min(var(--allp-topbar-phone-size), 15px); }
}

/* Copyright-only footer introduced in v1.3 */
.allp-footer-copyright-only { background: var(--allp-copyright-bg); }
.allp-footer-copyright-only .allp-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }

/* Mobile navigation overhaul — v1.3.2 */
.allp-menu a:hover,
.allp-menu .current-menu-item > a,
.allp-menu .current-menu-ancestor > a,
.allp-menu .current_page_item > a,
.allp-menu .current_page_ancestor > a {
  color: var(--allp-active-menu);
}

.allp-menu-toggle,
.allp-drawer-close {
  -webkit-appearance: none !important;
  appearance: none !important;
  border: 0 !important;
  outline: 0;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
.allp-menu-toggle:hover,
.allp-menu-toggle:active,
.allp-menu-toggle:focus,
.allp-drawer-close:hover,
.allp-drawer-close:active,
.allp-drawer-close:focus {
  border: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}
.allp-menu-toggle:focus-visible,
.allp-drawer-close:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
.allp-menu-toggle {
  position: relative;
  width: 42px;
  height: 42px;
  padding: 9px !important;
  border-radius: 0 !important;
}
.allp-menu-toggle span {
  width: 24px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: var(--allp-header-text);
  pointer-events: none;
}

@media (max-width: 1023px) {
  body.allp-drawer-open { overflow: hidden; }

  .allp-mobile-drawer {
    inset: 0;
    width: 100vw;
    max-width: none;
    height: 100dvh;
    min-height: 100vh;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    background: #fff;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    transform: none;
    transition: opacity .22s ease, visibility 0s linear .22s;
  }
  .allp-mobile-drawer.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .22s ease;
  }
  .allp-drawer-head {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 24px 64px 18px;
    border: 0;
    box-shadow: none;
  }
  .allp-drawer-head img {
    width: var(--allp-logo-mobile);
    max-width: 190px;
    height: auto;
  }
  .allp-drawer-close {
    position: absolute;
    top: 18px;
    right: 20px;
    width: 44px;
    height: 44px;
    padding: 0 !important;
    border-radius: 0 !important;
    color: #111;
    font: 300 46px/42px Arial, sans-serif;
    text-align: center;
    cursor: pointer;
  }
  .allp-mobile-drawer nav,
  .allp-drawer-contact {
    width: min(100% - 48px, 680px);
    margin-inline: auto;
    text-align: center;
  }
  .allp-mobile-drawer .allp-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 20px 0 0;
  }
  .allp-mobile-drawer .allp-menu li {
    width: 100%;
    text-align: center;
  }
  .allp-mobile-drawer .allp-menu a {
    display: block;
    width: 100%;
    padding: 13px 8px;
    border: 0;
    color: #111;
    font-size: clamp(18px, 4.6vw, 24px);
    line-height: 1.35;
    letter-spacing: 1.5px;
    white-space: normal;
  }
  .allp-mobile-drawer .allp-menu a:hover,
  .allp-mobile-drawer .allp-menu .current-menu-item > a,
  .allp-mobile-drawer .allp-menu .current-menu-ancestor > a,
  .allp-mobile-drawer .allp-menu .current_page_item > a,
  .allp-mobile-drawer .allp-menu .current_page_ancestor > a {
    color: var(--allp-active-menu);
  }
  .allp-drawer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 22px 0 50px;
    font-size: 15px;
  }
  .allp-drawer-contact h3,
  .allp-drawer-contact p {
    width: 100%;
    text-align: center;
  }
  .allp-drawer-contact h3 {
    margin: 20px 0 8px;
  }
  .allp-drawer-contact p {
    margin: 0;
    line-height: 1.7;
  }
  .allp-overlay,
  .allp-overlay.is-open {
    display: none !important;
  }
}

/* Corporate palette refresh — v1.4.0 */
.allp-header {
  color: var(--allp-header-text);
}
.allp-main-header {
  background: var(--allp-background);
  border-bottom: 1px solid color-mix(in srgb, var(--allp-neutral) 36%, transparent);
}
.allp-header.is-sticky .allp-main-header {
  background: var(--allp-sticky);
  border-bottom-color: color-mix(in srgb, var(--allp-neutral) 46%, transparent);
  box-shadow: 0 8px 24px rgba(36, 59, 90, .10);
}
.allp-menu a {
  color: var(--allp-text);
  font-weight: 500;
}
.allp-menu a:hover,
.allp-menu .current-menu-item > a,
.allp-menu .current-menu-ancestor > a,
.allp-menu .current_page_item > a,
.allp-menu .current_page_ancestor > a,
.allp-header.is-sticky .allp-menu a:hover {
  color: var(--allp-active-menu);
}
.allp-menu .current-menu-item > a,
.allp-menu .current-menu-ancestor > a,
.allp-menu .current_page_item > a,
.allp-menu .current_page_ancestor > a {
  font-weight: 600;
}
.allp-topbar-call:hover {
  color: #fff;
  opacity: .9;
}
.allp-menu-toggle span {
  background: var(--allp-primary);
}
.allp-mobile-drawer {
  background: var(--allp-background);
  color: var(--allp-text);
}
.allp-drawer-head {
  border-bottom-color: color-mix(in srgb, var(--allp-neutral) 34%, transparent);
}
.allp-drawer-close,
.allp-mobile-drawer .allp-menu a {
  color: var(--allp-text);
}
.allp-mobile-drawer .allp-menu a:hover,
.allp-mobile-drawer .allp-menu .current-menu-item > a,
.allp-mobile-drawer .allp-menu .current-menu-ancestor > a,
.allp-mobile-drawer .allp-menu .current_page_item > a,
.allp-mobile-drawer .allp-menu .current_page_ancestor > a {
  color: var(--allp-primary);
}
.allp-drawer-contact h3 {
  color: var(--allp-primary);
}
.allp-overlay {
  background: rgba(36, 59, 90, .24);
}
.allp-back-top {
  background: var(--allp-primary);
}
.allp-back-top:hover {
  background: var(--allp-secondary);
}
.allp-footer,
.allp-footer-copyright-only,
.allp-footer-bottom {
  background-color: var(--allp-primary);
}
.allp-footer-copyright-only .allp-footer-bottom {
  border-top-color: rgba(255,255,255,.14);
}
.allp-footer-bottom p {
  letter-spacing: .02em;
}

@media (max-width: 1023px) {
  .allp-mobile-drawer {
    background: var(--allp-background);
  }
}
