/* Prime Smile header — match Base44 */
.ps-site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  transition: background-color .45s ease, backdrop-filter .45s ease, padding .45s ease, box-shadow .45s ease;
  background: transparent;
  padding: 1.15rem 0;
}
.ps-site-header.is-scrolled,
.ps-site-header.ps-site-header--solid {
  background: rgba(10, 20, 40, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.7rem 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

/* Fixed header needs page offset on non-hero templates (blog archive/single) */
body.ps-blog-layout,
body.home.ps-blog-layout,
body.blog,
body.single-post,
body.archive {
  padding-top: 5.5rem;
}
.ps-site-header__inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
@media (min-width: 640px) {
  .ps-site-header__inner { padding: 0 2rem; }
}
.ps-site-header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.ps-site-header__logo-frame {
  height: 3rem;
  width: 5.75rem;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 0 0 1px rgba(197, 160, 89, 0.3);
}
@media (min-width: 640px) {
  .ps-site-header__logo-frame {
    height: 3.5rem;
    width: 6.875rem;
  }
}
.ps-site-header__logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ps-site-header__nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}
@media (min-width: 1024px) {
  .ps-site-header__nav { display: flex; }
}
.ps-site-header__nav a {
  position: relative;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color .2s ease;
  white-space: nowrap;
}
.ps-site-header__nav a:hover,
.ps-site-header__nav a:focus {
  color: #fff;
}
.ps-site-header__nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -0.25rem;
  height: 1px;
  width: 0;
  background: #C5A059;
  transition: width .2s ease;
}
.ps-site-header__nav a:hover::after {
  width: 100%;
}
.ps-site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.ps-lang {
  position: relative;
}
.ps-lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: border-color .2s ease, color .2s ease;
}
.ps-lang__btn:hover,
.ps-lang__btn[aria-expanded="true"] {
  border-color: rgba(197, 160, 89, 0.6);
  color: #fff;
}
.ps-lang__btn svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}
.ps-lang__btn .ps-lang__chevron {
  width: 0.875rem;
  height: 0.875rem;
  transition: transform .2s ease;
}
.ps-lang__btn[aria-expanded="true"] .ps-lang__chevron {
  transform: rotate(180deg);
}
.ps-lang__code {
  display: none;
}
@media (min-width: 640px) {
  .ps-lang__code { display: inline; }
}
.ps-lang__menu {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 0.5rem);
  min-width: 10rem;
  padding: 0.4rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 20, 40, 0.96);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  display: none;
  z-index: 120;
}
.ps-lang__menu.is-open { display: block; }
.ps-lang__menu a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 0.5rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.875rem;
}
.ps-lang__menu a:hover,
.ps-lang__menu a.is-current {
  background: rgba(197, 160, 89, 0.15);
  color: #fff;
}
.ps-header-cta {
  display: none;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  background: #C5A059;
  color: #0A1428 !important;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: background .2s ease;
}
.ps-header-cta:hover {
  background: #d4b06a;
  color: #0A1428 !important;
}
.ps-header-cta svg {
  width: 1rem;
  height: 1rem;
}
@media (min-width: 640px) {
  .ps-header-cta { display: inline-flex; }
}
.ps-header-burger {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: #fff;
  cursor: pointer;
}
@media (min-width: 1024px) {
  .ps-header-burger { display: none; }
}
.ps-mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(10, 20, 40, 0.97);
  padding: 5rem 1.5rem 2rem;
}
.ps-mobile-nav.is-open { display: block; }
.ps-mobile-nav a {
  display: block;
  padding: 0.9rem 0;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 1.05rem;
}
.ps-mobile-nav__close {
  position: absolute;
  top: 1.25rem;
  inset-inline-end: 1.25rem;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Offset admin bar */
.admin-bar .ps-site-header { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .ps-site-header { top: 46px; }
}

/* Keep Elementor header location wrapper transparent */
.elementor-location-header,
.elementor-location-header > .elementor,
.elementor-location-header .elementor-section,
.elementor-location-header .e-con {
  background: transparent !important;
}
.elementor-location-header .elementor-widget-html {
  width: 100%;
}
