/**
 * AVENCE Kirkatwadi — shared site header (top bar + main nav)
 * Linked from all pages; paths relative to site root.
 */
:root {
  --site-header-h: 118px;
  --hdr-topbar-h: 40px;
}

html {
  scroll-padding-top: var(--site-header-h, 118px);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #0d0d14;
  border-bottom: 1px solid rgba(201, 168, 76, 0.18);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.35);
}

.site-header.is-scrolled {
  border-bottom-color: rgba(201, 168, 76, 0.28);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
}

.site-header-spacer {
  height: var(--site-header-h);
  flex-shrink: 0;
}

/* ─── Top info bar ─── */
.site-header .topbar {
  background: #12121a;
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
  padding: 9px 0;
  font-size: 12px;
  letter-spacing: 0.03em;
}

.site-header .topbar .inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.site-header .tb-left {
  display: flex;
  align-items: center;
  gap: 22px 28px;
  flex-wrap: wrap;
}

.site-header .tb-phones {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.site-header .tb-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
  white-space: nowrap;
}

.site-header .tb-email {
  color: #d4e0f5;
  font-weight: 500;
}

.site-header .tb-email:hover {
  color: #c9a84c;
}

.site-header .tb-phone {
  color: #f2ece8;
  font-weight: 500;
}

.site-header .tb-phone:hover {
  color: #e8b4bc;
}

.site-header .tb-ico {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: 0.95;
}

.site-header .tb-email .tb-ico {
  color: #c9a84c;
}

.site-header .tb-phone .tb-ico {
  color: #d89aa3;
}

.site-header .tb-right {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-header .tb-hours,
.site-header .tb-addr {
  color: rgba(248, 245, 238, 0.88);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.site-header .tb-hours {
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(232, 228, 220, 0.92);
}

.site-header .tb-addr {
  font-weight: 400;
  letter-spacing: 0.04em;
  max-width: 320px;
  text-align: right;
}

/* ─── Main navigation row ─── */
.site-header .main-nav {
  position: relative;
  padding: 8px 0 10px;
  background: #ffffff;
}

.site-header .main-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.site-header.is-scrolled .main-nav {
  background: #ffffff;
  backdrop-filter: none;
}

.site-header .main-nav-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.site-header .logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 70px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(24px, 2.8vw, 30px);
  font-weight: 600;
  color: #0d0d14;
  text-decoration: none;
  letter-spacing: 0.06em;
  line-height: 1.05;
}

.site-header .logo-image {
  display: block;
  height: 120px;
  width: auto;
}

.site-header .logo span {
  color: #c9a84c;
}

.site-header .logo small {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(13, 13, 20, 0.7);
  margin-top: 4px;
}

.site-header .nav-links {
  display: flex;
  gap: 8px 32px;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
}

.site-header .nav-links a {
  color: #0d0d14;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
}

.site-header .nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #c9a84c;
  transition: width 0.3s ease;
}

.site-header .nav-links a:hover,
.site-header .nav-links a.active {
  color: #c9a84c;
}

.site-header .nav-links a:hover::after,
.site-header .nav-links a.active::after {
  width: 100%;
}

.site-header .nav-cta {
  background: #c9a84c !important;
  color: #0d0d14 !important;
  padding: 12px 26px !important;
  border-radius: 2px;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase;
  font-size: 11px !important;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease !important;
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.25);
}

.site-header .nav-cta::after {
  display: none !important;
}

.site-header .nav-cta:hover {
  background: #e8c97a !important;
  color: #0d0d14 !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(201, 168, 76, 0.35);
}

.site-header .nav-cta.active {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35), 0 4px 20px rgba(201, 168, 76, 0.3);
}

.site-header .hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
  background: transparent;
  border: none;
}

.site-header .hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #e8e4dc;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #0d0d14;
  z-index: 1100;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 28px;
  transform: translateX(100%);
  transition: transform 0.4s ease;
}

.mobile-nav.open {
  display: flex;
  transform: translateX(0);
}

.mobile-nav a {
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  color: #e8e4dc;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.mobile-nav a:hover {
  color: #c9a84c;
}

.mobile-close {
  position: absolute;
  top: 28px;
  right: 32px;
  background: none;
  border: none;
  color: #e8e4dc;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
}

@media (max-width: 992px) {
  :root {
    --site-header-h: 108px;
  }

  .site-header .tb-addr {
    text-align: left;
    max-width: none;
  }

  .site-header .topbar .inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .site-header .tb-right {
    width: 100%;
    justify-content: flex-start;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  :root {
    --site-header-h: 96px;
  }

  .site-header .topbar .inner,
  .site-header .main-nav-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .site-header .tb-left .tb-email {
    font-size: 11px;
  }

  .site-header .tb-phones {
    gap: 12px;
  }

  .site-header .tb-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .site-header .nav-links {
    display: none;
  }

  .site-header .hamburger {
    display: flex;
  }

  .site-header .logo small {
    font-size: 8px;
    letter-spacing: 0.16em;
  }
}
