/* ==========================================================================
   Hindustan Sanitary House — Global Site Shell Stylesheet
   Unifies Top Bar, Navigation, Announcement Bar, Mobile Menu Drawer, & Footer
   across all pages to match index.html exactly.
   ========================================================================== */

/* ---------- CSS VARIABLES ---------- */
:root {
  --bd: #5c2d0e;
  --br: #8b3d14;
  --am: #c8762a;
  --gl: #d4a853;
  --gd: #d4a853;
  --cr: #fdfbf7;
  --crd: #f7f2ea;
  --tx: #2a1505;
  --tm: #5a3a20;
  --tl: #8a6a50;
  --bo: rgba(92,45,14,0.14);
  --bol: rgba(92,45,14,0.07);
  --wh: #ffffff;
  --r: 8px;
  --rl: 16px;
  --s1: 0 2px 8px rgba(44,21,8,0.06);
  --s2: 0 6px 20px rgba(44,21,8,0.09);
  --s3: 0 12px 36px rgba(44,21,8,0.13);
  --s4: 0 20px 50px rgba(44,21,8,0.18);
  --s5: 0 30px 70px rgba(44,21,8,0.25);
}

/* ---------- TOP BAR ---------- */
.tb {
  background: var(--bd);
  padding: .42rem 0;
  border-bottom: 2px solid var(--am);
}
.tbi {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
}
.tbl {
  display: flex;
  gap: 1.4rem;
  align-items: center;
  flex-wrap: wrap;
}
.top-contact-rows {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  min-width: 0;
}
.top-contact-line {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  min-width: 0;
}
.ti {
  display: flex;
  align-items: center;
  gap: .38rem;
  color: rgba(255,255,255,.78);
  font-size: .8rem;
  transition: color .2s;
  text-decoration: none;
}
.ti:hover {
  color: var(--gl);
}
.ti svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.tbr {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}
.tbg {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.75);
  padding: .13rem .6rem;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 700;
}
.tbg.gold {
  background: rgba(212,168,83,.18);
  border-color: rgba(212,168,83,.38);
  color: var(--gl);
}

/* ---------- MAIN NAVIGATION ---------- */
nav#main-nav {
  background: var(--wh);
  border-bottom: 3px solid var(--br);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(44,21,8,.12);
}
.nv {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.nl {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
}
.nl img {
  height: 54px;
  width: auto;
  object-fit: contain;
  transition: transform .3s;
}
.nl:hover img {
  transform: scale(1.05);
}
.nlt .mn {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--bd);
  line-height: 1.25;
  display: block;
}
.nlt .sb {
  font-size: .72rem;
  color: var(--tl);
  letter-spacing: .5px;
  display: block;
}
.nm {
  display: flex;
  align-items: center;
  gap: .15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nm a {
  padding: .42rem .82rem;
  border-radius: var(--r);
  color: var(--tm);
  font-size: .88rem;
  font-weight: 700;
  transition: all .25s;
  position: relative;
  text-decoration: none;
}
.nm a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--am);
  transition: all .25s;
  transform: translateX(-50%);
}
.nm a:hover, .nm a.active {
  color: var(--br);
  background: var(--crd);
}
.nm a:hover::after, .nm a.active::after {
  width: 60%;
}
.nca {
  background: var(--br);
  color: #fff !important;
  padding: .5rem 1.2rem;
  border-radius: var(--r);
  font-size: .87rem;
  font-weight: 700;
  transition: all .25s;
  white-space: nowrap;
  box-shadow: var(--s2);
  text-decoration: none;
}
.nca:hover {
  background: var(--am);
  transform: translateY(-2px);
  box-shadow: var(--s4);
}
.hb {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .4rem;
  border: none;
  background: none;
}
.hb span {
  width: 24px;
  height: 2px;
  background: var(--br);
  display: block;
}

/* ---------- MOBILE MENU DRAWER ---------- */
.mmov {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 10001;
  backdrop-filter: blur(4px);
}
.mmov.open {
  display: block;
}
.mmpanel {
  position: fixed;
  top: 0;
  right: -320px;
  width: 290px;
  height: 100%;
  background: #fff;
  z-index: 10002;
  transition: right .3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 24px rgba(0,0,0,.22);
}
.mmpanel.open {
  right: 0;
}
.mmhdr {
  background: var(--bd);
  padding: 1.1rem 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--am);
}
.mmhdr-brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: .95rem;
  font-weight: 700;
}
.mmcls {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}
.mmlinks {
  display: flex;
  flex-direction: column;
  padding: .8rem 1rem;
  gap: .25rem;
  flex: 1;
  overflow-y: auto;
}
.mmlinks a {
  padding: .65rem .85rem;
  border-radius: var(--r);
  color: var(--tm);
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none;
  transition: all .2s;
  border-bottom: 1px solid var(--crd);
}
.mmlinks a:hover {
  background: var(--crd);
  color: var(--br);
}
.mmcta {
  padding: 1.2rem;
  border-top: 1px solid var(--bol);
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.mmcta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .65rem;
  border-radius: var(--r);
  font-weight: 700;
  font-size: .88rem;
  text-decoration: none;
  transition: all .25s;
}
.mmcta .mc1 {
  background: var(--br);
  color: #fff;
}
.mmcta .mc1:hover {
  background: var(--am);
}
.mmcta .mc2 {
  background: #25d366;
  color: #fff;
}
.mmcta .mc2:hover {
  background: #20ba59;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--bd);
  color: rgba(255,255,255,.75);
  margin-top: 4rem;
}
.ft-main {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.ft-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.8fr 1.4fr;
  gap: 3rem;
}
.ft-logo-wrap {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 1rem;
}
.ft-logo-wrap img {
  height: 56px;
  width: auto;
  border-radius: 8px;
}
.ft-brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}
.ft-tagline {
  font-size: .75rem;
  color: var(--gl);
  letter-spacing: .5px;
}
.ft-about {
  font-size: .84rem;
  line-height: 1.7;
  color: rgba(255,255,255,.7);
  margin-bottom: 1.2rem;
}
.ft-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.ft-badge {
  background: rgba(255,255,255,.08);
  color: var(--gl);
  font-size: .72rem;
  font-weight: 700;
  padding: .25rem .7rem;
  border-radius: 20px;
  border: 1px solid rgba(212,168,83,.25);
}
.ft-col-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.2rem;
}
.ft-contact-list {
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.ft-ci {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
}
.ft-cico {
  font-size: 1rem;
  color: var(--gl);
  line-height: 1.3;
}
.ft-cv {
  font-size: .84rem;
  color: rgba(255,255,255,.8);
  line-height: 1.5;
}
.ft-link {
  color: rgba(255,255,255,.8);
  transition: color .2s;
  text-decoration: none;
}
.ft-link:hover {
  color: var(--gl);
}
.ft-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: .6rem;
  padding: .45rem 1rem;
  background: var(--am);
  border-radius: 6px;
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s;
}
.ft-map-btn:hover {
  background: var(--gl);
  color: var(--bd);
}
.ft-gbp-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: .5rem;
  margin-left: .5rem;
  padding: .45rem .9rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 6px;
  color: rgba(255,255,255,.8);
  font-size: .78rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s;
}
.ft-gbp-link:hover {
  background: rgba(255,255,255,.14);
  color: #fff;
  border-color: var(--gl);
}
.ft-bottom {
  padding: 1.4rem 0;
  background: rgba(0,0,0,.28);
}
.ft-bottom-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .78rem;
}
.ft-copy {
  color: rgba(255,255,255,.6);
}
.ft-copy strong {
  color: rgba(255,255,255,.9);
}
.ft-copy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  align-items: center;
  color: rgba(255,255,255,.5);
}
.ft-copy-links span {
  font-size: .74rem;
  color: rgba(255,255,255,.6);
}
.ft-legal-link {
  color: var(--gl);
  text-decoration: none;
  cursor: pointer;
  transition: color .2s;
}
.ft-legal-link:hover {
  color: #fff;
  text-decoration: underline;
}
.ft-design {
  color: rgba(255,255,255,.45);
  font-size: .78rem;
}

/* ---------- RESPONSIVE BREAKPOINTS ---------- */
@media (max-width: 900px) {
  .nm, .nca {
    display: none;
  }
  .hb {
    display: flex;
  }
  .ft-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .ft-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: .75rem;
  }
}
