/* ===========================================
   Lotwood — Header 2026
   Mobile-first
   =========================================== */

/* --- Promo banner --- */
.promo-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: #2d3f53;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}

.promo-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 40px 10px 16px;
  position: relative;
}

.promo-bar-accent {
  color: #f0541e;
  font-weight: 700;
  font-size: 14px;
}

.promo-bar-close {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  transition: color 0.2s;
}

.promo-bar-close:hover {
  color: #fff;
  background: none;
}

body.has-promo .site-header {
  top: 36px;
}

body.has-promo #content,
body.has-promo .container {
  padding-top: 116px;
}

/* --- Main header bar --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: background-color 0.3s ease;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* --- Logo --- */
.site-logo {
  flex-shrink: 0;
  z-index: 10001;
}

.site-logo a {
  display: block;
}

.site-logo img {
  height: 32px;
  width: auto;
  display: block;
}

/* --- Desktop nav (hidden on mobile) --- */
.site-nav {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 32px;
}

.site-nav li a {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #1A1A1A;
  text-decoration: none;
  letter-spacing: 0.02em;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}

.site-nav li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #f0541e;
  transform: translateX(-50%);
  transition: width 0.25s ease;
}

.site-nav li a:hover {
  color: #f0541e;
}

.site-nav li a:hover::after {
  width: 100%;
}

/* --- Right side controls --- */
.site-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10001;
}

/* --- Phone icon (mobile only) --- */
.site-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #1A1A1A;
  font-size: 22px;
  transition: color 0.2s;
}

.site-phone:hover {
  color: #f0541e;
}

/* --- Language switcher --- */
#language {
  display: none;
}

.site-lang {
  display: none;
  align-items: center;
  gap: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
}

.site-lang a {
  color: #9CA3AF;
  text-decoration: none;
  padding: 4px 6px;
  border-radius: 4px;
  transition: color 0.2s, background-color 0.2s;
  cursor: pointer;
}

.site-lang a:hover {
  color: #1A1A1A;
}

.site-lang a.active {
  color: #1A1A1A;
  font-weight: 600;
}

.site-lang-sep {
  color: #D1D5DB;
  user-select: none;
}

/* --- Burger button --- */
.burger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  color: #1A1A1A;
  font-size: 24px;
  padding: 0;
  transition: color 0.2s;
  z-index: 10001;
}

.burger-btn:hover {
  color: #f0541e;
  background: none;
}

.burger-btn .ph-x {
  display: none;
}

.burger-btn.is-open .ph-list {
  display: none;
}

.burger-btn.is-open .ph-x {
  display: block;
}

/* --- Overlay --- */
.burger-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 9998;
}

.burger-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

/* --- Burger panel --- */
.burger-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 10000;
  overflow-y: auto;
  padding: 80px 24px 40px;
}

.burger-panel.is-open {
  transform: translateX(0);
}

/* --- Burger close button --- */
.burger-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: #1A1A1A;
  font-size: 24px;
  padding: 0;
  transition: color 0.2s;
  z-index: 1;
}

.burger-close:hover {
  color: #f0541e;
  background: none;
}

/* --- Burger nav --- */
.burger-nav {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.burger-nav-title {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #9CA3AF;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.burger-nav li a {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #1A1A1A;
  text-decoration: none;
  display: block;
  padding: 10px 0;
  transition: color 0.2s;
}

.burger-nav li a:hover {
  color: #f0541e;
}

/* --- Burger divider --- */
.burger-divider {
  height: 1px;
  background: #E5E7EB;
  margin: 8px 0 24px;
}

/* --- Burger contact info --- */
.burger-contact {
  margin-bottom: 24px;
}

.burger-contact a {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #1A1A1A;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  transition: color 0.2s;
}

.burger-contact a:hover {
  color: #f0541e;
}

.burger-contact i {
  font-size: 20px;
  color: #f0541e;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

/* --- Burger socials --- */
.burger-socials {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.burger-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f6f4f2;
  color: #1A1A1A;
  font-size: 20px;
  transition: background-color 0.2s, color 0.2s;
  text-decoration: none;
}

.burger-socials a:hover {
  background: #f0541e;
  color: #fff;
}

/* --- Burger language (mobile only) --- */
.burger-lang {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
}

.burger-lang a {
  color: #9CA3AF;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  transition: color 0.2s, background-color 0.2s;
  cursor: pointer;
}

.burger-lang a:hover {
  color: #1A1A1A;
}

.burger-lang a.active {
  color: #1A1A1A;
  font-weight: 600;
  background: #f6f4f2;
}

.burger-lang-sep {
  color: #D1D5DB;
  user-select: none;
}

/* --- Content offset for fixed header --- */
#content, .container {
  padding-top: 80px;
}

/* ===========================================
   Tablet — 600px+
   =========================================== */
@media (min-width: 600px) {
  .site-header-inner {
    padding: 0 24px;
  }

  .site-logo img {
    height: 32px;
  }

  .burger-panel {
    width: 380px;
    padding: 80px 32px 40px;
  }
}

/* ===========================================
   Desktop — 960px+
   =========================================== */
@media (min-width: 960px) {
  .site-header-inner {
    padding: 0 40px;
  }

  .site-logo img {
    height: 32px;
  }

  .site-nav {
    display: flex;
  }

  .site-phone {
    display: none;
  }

  .site-lang {
    display: flex;
  }

  .burger-panel {
    width: 60%;
    max-width: 700px;
    padding: 80px 48px 40px;
  }

  .burger-panel-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .burger-lang {
    display: none;
  }

  #content, .container {
    padding-top: 80px;
  }

  body.has-promo #content,
  body.has-promo .container {
    padding-top: 116px;
  }
}

/* ===========================================
   Large desktop — 1280px+
   =========================================== */
@media (min-width: 1280px) {
  .site-header-inner {
    max-width: 1400px;
  }

  .site-nav {
    gap: 40px;
  }

  .site-nav li a {
    font-size: 15px;
  }
}
