/* ============================================================
   SHARED – used by every page (nav + footer + floats)
============================================================ */
:root {
  --black:      #080808;
  --dark:       #111111;
  --dark-2:     #1a1a1a;
  --mid:        #444444;
  --grey:       #888888;
  --off-white:  #f7f6f4;
  --white:      #ffffff;
  --border-l:   rgba(0,0,0,0.09);
  --serif: 'Lora', Georgia, serif;
  --sans:  'Lora', Georgia, serif;
  --nav-h: 76px;
  --ease:  cubic-bezier(0.25,0.46,0.45,0.94);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--sans); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
button { font-family: var(--sans); cursor: pointer; border: none; background: none; }
img, svg { display: block; max-width: 100%; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── NAVBAR ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: var(--white);
  border-bottom: 1px solid var(--border-l);
  transition: background .4s, box-shadow .4s;
}
.nav.stuck {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(18px);
  box-shadow: 0 2px 20px rgba(0,0,0,.07);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Logo */
.nav-logo { display: flex; flex-direction: column; }
.nav-logo-name {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.1;
  letter-spacing: .3px;
}
.nav-logo-tag {
  font-size: 9.5px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: 3px;
}

/* Links */
.nav-links { display: flex; gap: 34px; list-style: none; }
.nav-links a,
.nav-link-btn {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--mid);
  padding-bottom: 3px;
  position: relative;
  transition: color .3s;
  font-family: var(--sans);
  background: transparent;
  border: none;
}
.nav-links a::after,
.nav-link-btn::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--dark);
  transition: width .3s;
}
.nav-links a:hover,
.nav-link-btn:hover { color: var(--dark); }
.nav-links a:hover::after,
.nav-link-btn:hover::after { width: 100%; }

/* Products dropdown */
.nav-products { position: relative; }
.nav-link-btn { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.nav-link-btn svg { width: 12px; height: 12px; transition: transform .25s; }
.nav-link-btn[aria-expanded="true"] svg { transform: rotate(180deg); }

.products-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 230px;
  background: #f4f4f4;
  border: 1px solid #d6d6d6;
  box-shadow: 0 12px 24px rgba(0,0,0,.12);
  border-radius: 6px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 1002;
  max-height: 360px;
  overflow-y: auto;
}
.products-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.products-menu a {
  display: block;
  padding: 9px 12px;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  color: #1f2937;
  transition: background .2s;
}
.products-menu a::after { display: none; }
.products-menu a:hover { background: #e8e8e8; }

/* Call button */
.nav-call {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  padding: 9px 20px;
  border: 1.5px solid rgba(0,0,0,.18);
  transition: border-color .3s, background .3s, color .3s;
}
.nav-call:hover { border-color: var(--dark); background: var(--dark); color: var(--white); }

.mob-head-products {
  display: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--mid);
  padding: 6px 8px;
  border-bottom: 1px solid transparent;
  transition: color .3s, border-color .3s;
  align-items: center;
  gap: 4px;
}
.mob-head-products svg { width: 13px; height: 13px; transition: transform .25s; }
.mob-head-products[aria-expanded="true"] svg { transform: rotate(180deg); }
.mob-head-products:hover {
  color: var(--dark);
  border-bottom-color: var(--dark);
}

.mob-head-products-menu {
  display: none;
  position: fixed;
  top: calc(var(--nav-h) + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(92vw, 260px);
  background: #f4f4f4;
  border: 1px solid #d6d6d6;
  box-shadow: 0 12px 24px rgba(0,0,0,.12);
  border-radius: 6px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 1003;
  max-height: 360px;
  overflow-y: auto;
}
.mob-head-products-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.mob-head-products-menu a {
  display: block;
  padding: 9px 12px;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  color: #1f2937;
  transition: background .2s;
}
.mob-head-products-menu a:hover { background: #e8e8e8; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 23px;
  height: 1.5px;
  background: var(--dark);
  transition: all .35s;
}
.hamburger.on span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.on span:nth-child(2) { opacity: 0; }
.hamburger.on span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mob-menu {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s;
}
.mob-menu.open { opacity: 1; pointer-events: all; }
.mob-menu a {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--dark);
  padding: 14px 0;
  text-align: center;
  width: 260px;
  border-bottom: 1px solid var(--border-l);
  transition: color .3s;
}
.mob-menu a:last-child { border: none; }
.mob-menu a:hover { color: var(--grey); }

.mob-products-toggle {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--dark);
  padding: 14px 0;
  text-align: center;
  width: 260px;
  border-bottom: 1px solid var(--border-l);
  transition: color .3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.mob-products-toggle svg { width: 18px; height: 18px; transition: transform .25s; }
.mob-products-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mob-products-toggle:hover { color: var(--grey); }

.mob-products {
  width: 260px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.mob-products.open { max-height: 320px; overflow-y: auto; }
.mob-products a {
  width: 100%;
  border-bottom: 1px solid var(--border-l);
  padding: 8px 0;
  font-size: 15px;
  font-weight: 500;
}
.mob-products a:last-child { border-bottom: 1px solid var(--border-l); }

/* ── FOOTER ── */
.footer { background: var(--black); color: var(--white); padding: 76px 0 0; margin-top: 80px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 56px;
  padding-bottom: 56px;
}
.foot-brand-name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 3px;
}
.foot-brand-tag {
  font-size: 9.5px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 18px;
}
.foot-desc { font-size: 12.5px; color: rgba(255,255,255,.38); line-height: 1.9; margin-bottom: 24px; }
.foot-socials { display: flex; gap: 10px; }
.foot-social {
  width: 35px; height: 35px;
  border: 1px solid rgba(255,255,255,.13);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.4);
  transition: border-color .3s, color .3s, background .3s;
}
.foot-social:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,.05); }

.foot-col-title {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 22px;
}
.foot-links { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.foot-links a { font-size: 12.5px; color: rgba(255,255,255,.38); transition: color .3s; }
.foot-links a:hover { color: var(--white); }

.foot-citem { display: flex; gap: 11px; margin-bottom: 14px; align-items: flex-start; }
.foot-citem svg { width: 14px; height: 14px; color: var(--grey); flex-shrink: 0; margin-top: 2px; }
.foot-citem span { font-size: 12.5px; color: rgba(255,255,255,.38); line-height: 1.6; }

.foot-nl-title { font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--white); font-weight: 600; margin: 22px 0 8px; }
.foot-nl-desc { font-size: 11.5px; color: rgba(255,255,255,.3); margin-bottom: 13px; }
.nl-form { display: flex; }
.nl-input {
  flex: 1;
  padding: 11px 15px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-right: none;
  color: var(--white);
  font-family: var(--sans);
  font-size: 12.5px;
  outline: none;
}
.nl-input::placeholder { color: rgba(255,255,255,.2); }
.nl-input:focus { border-color: rgba(255,255,255,.3); }
.nl-btn {
  padding: 11px 18px;
  background: var(--white);
  border: 1px solid var(--white);
  color: var(--dark);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: var(--sans);
  cursor: pointer;
  transition: background .3s, color .3s;
}
.nl-btn:hover { background: transparent; color: var(--white); }

.foot-divider { height: 1px; background: rgba(255,255,255,.06); }
.foot-bottom {
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.foot-copy, .foot-powered { font-size: 11.5px; color: rgba(255,255,255,.25); }

/* ── FLOATING BUTTONS ── */
.call-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 998;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  transition: transform .3s, box-shadow .3s;
}
.call-btn:hover { transform: scale(1.1); box-shadow: 0 12px 32px rgba(0,0,0,.32); }
.call-btn svg { width: 24px; height: 24px; stroke: white; }

.wa-btn {
  position: fixed;
  bottom: 30px; right: 30px;
  z-index: 998;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.4);
  transition: transform .3s, box-shadow .3s;
}
.wa-btn:hover { transform: scale(1.1); box-shadow: 0 12px 32px rgba(37,211,102,.5); }
.wa-btn svg { width: 28px; height: 28px; fill: white; }

.btt {
  position: fixed;
  bottom: 100px; right: 30px;
  z-index: 997;
  width: 42px; height: 42px;
  background: var(--dark);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s;
  cursor: pointer;
}
.btt.show { opacity: 1; pointer-events: all; transform: none; }
.btt svg { width: 17px; height: 17px; }

/* page body offset so content clears fixed nav */
.page-body { padding-top: calc(var(--nav-h) + 40px); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  :root { --nav-h: 66px; }
  .nav-links, .nav-call { display: none; }
  .mob-head-products { display: inline-flex; align-items: center; }
  .mob-head-products-menu { display: block; }
  .hamburger { display: flex; }
  .mob-menu  { display: flex; }
  .call-btn { width: 52px; height: 52px; left: 18px; bottom: 22px; }
  .wa-btn { width: 52px; height: 52px; right: 18px; bottom: 22px; }
  .wa-btn svg { width: 26px; height: 26px; }
  .btt { right: 18px; bottom: 84px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .foot-bottom { flex-direction: column; text-align: center; }
}
