/* =====================================================
   EASY MOBILITY — PRIVACY POLICY & LEGAL PAGES CSS
   STANDARDIZED WITH INDEX, PRODUCT, BUY & CONTACT
===================================================== */

:root {
  --ink: #17302C;
  --ink-soft: #3B534E;
  --paper: #EEEFE6;
  --paper-raised: #E4E7DC;
  --amber: #C68A3E;
  --amber-deep: #A66E2A;
  --white: #FBFBF7;
  --green: #397554;
  --line: rgba(23, 48, 44, 0.14);

  --body: 'Inter', Arial, Helvetica, sans-serif;
  --disp: 'Fraunces', Georgia, serif;
  --mono: 'IBM Plex Mono', monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

.container,
.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =====================================================
   HEADER & NAVBAR (Matches index, product, buy, contact)
===================================================== */

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(238, 239, 230, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.navbar,
nav {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: relative;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--disp);
  font-size: 20px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo img {
  display: block;
  position: relative;
  top: -10px;
  width: auto;
  max-height: 48px;
  object-fit: contain;
}

.nav-links,
.navlinks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
}

.nav-links a,
.navlinks a {
  display: block;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  opacity: 0.78;
  white-space: nowrap;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-links a:hover,
.navlinks a:hover,
.nav-links a.active,
.navlinks a.active {
  color: var(--amber-deep);
  opacity: 1;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 21px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.btn-primary:hover {
  background: var(--amber-deep);
  border-color: var(--amber-deep);
  color: #fff;
  transform: translateY(-1px);
}

.desktop-buy {
  flex-shrink: 0;
}

/* =====================================================
   HAMBURGER ANIMATION & MOBILE DRAWER
===================================================== */

.menu-toggle {
  display: none;
  width: 32px;
  height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  z-index: 1100;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.25s ease;
  transform-origin: center;
}

.menu-toggle.active .bar1,
.menu-toggle.active span:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg) !important;
}

.menu-toggle.active .bar2,
.menu-toggle.active span:nth-child(2) {
  opacity: 0 !important;
}

.menu-toggle.active .bar3,
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg) !important;
}

@media (max-width: 992px) {
  .desktop-buy {
    display: none !important;
  }

  .menu-toggle {
    display: flex !important;
    margin-left: auto;
  }

  .nav-links,
  .navlinks {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #ffffff !important;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.15);
    padding: 12px 24px 24px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    z-index: 9999;
    border-top: 1px solid #e2e8f0;
  }

  .nav-links.active,
  .navlinks.active {
    display: flex !important;
  }

  .nav-links a,
  .navlinks a {
    width: 100%;
    padding: 12px 0;
    font-size: 15px;
    opacity: 1;
    border-bottom: 1px solid #f1f5f9;
  }
}

/* =====================================================
   PAGE HERO
===================================================== */

.page-hero {
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(228, 231, 220, 0.55), rgba(238, 239, 230, 0));
}

.page-hero-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--amber-deep);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 8px;
}

.page-hero h1 {
  font-family: var(--disp);
  font-size: clamp(34px, 5vw, 50px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 6px 0 14px;
}

.page-hero p {
  color: var(--ink-soft);
  font-size: 16px;
  margin: 0 auto;
  max-width: 620px;
}

/* =====================================================
   POLICY LAYOUT & ARTICLE
===================================================== */

.policy-section {
  padding: 55px 0 85px;
}

.policy-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 45px;
  align-items: start;
}

.policy-sidebar {
  position: sticky;
  top: 95px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}

.policy-sidebar-title {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  font-weight: 600;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.policy-sidebar a {
  display: block;
  font-size: 13.5px;
  color: var(--ink-soft);
  padding: 6px 0;
  border-bottom: 1px solid rgba(23, 48, 44, 0.06);
  transition: color 0.2s ease, transform 0.2s ease;
}

.policy-sidebar a:last-child {
  border-bottom: 0;
}

.policy-sidebar a:hover {
  color: var(--amber-deep);
  transform: translateX(3px);
}

.policy-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 45px;
  box-shadow: 0 15px 45px rgba(23, 48, 44, 0.04);
}

.policy-meta {
  display: inline-flex;
  align-items: center;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 7px 14px;
  margin-bottom: 24px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.policy-card h2 {
  font-family: var(--disp);
  font-size: 26px;
  margin: 34px 0 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  scroll-margin-top: 100px;
}

.policy-card h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.policy-card p {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.68;
  margin: 0 0 16px;
}

.policy-card ul {
  margin: 0 0 20px 20px;
  padding: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.65;
}

.policy-card li {
  margin-bottom: 8px;
}

.policy-card strong {
  color: var(--ink);
}

.policy-card a {
  color: var(--amber-deep);
  font-weight: 600;
  text-decoration: underline;
}

.policy-contact {
  margin-top: 30px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px 26px;
}

.policy-contact strong {
  display: block;
  font-family: var(--disp);
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--ink);
}

.policy-contact p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

/* =========================================================
   FOOTER (Standardized 2-Column Mobile Grid)
========================================================= */

footer {
  background: #102622;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 50px 0 25px;
}

.footer-inner,
footer > .wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 45px;
  align-items: start;
}

.footer-logo {
  margin-bottom: 16px;
}

.footer-logo img {
  max-height: 44px;
}

.footer-grid p {
  color: #b8d0cc;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 12px;
}

.footer-grid h4 {
  margin: 0 0 16px;
  color: #8fa8a3;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li {
  margin-bottom: 9px;
  font-size: 14px;
}

.footer-grid a {
  color: #c4d5d2;
  transition: color 0.2s ease;
}

.footer-grid a:hover {
  color: #ffffff;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
  font-size: 16px;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 35px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #8fa8a3;
  font-size: 12px;
}

/* =========================================================
   FLOATING WHATSAPP BUTTON (FORCE BOTTOM-RIGHT PIN)
========================================================= */

html body #WAButton,
html body #WAButton.floating-wpp,
html body .floating-wpp,
html body div.floating-wpp {
  position: fixed !important;
  right: 20px !important;
  left: auto !important;
  bottom: 25px !important;
  z-index: 99999 !important;
  pointer-events: auto !important;
}

html body #WAButton .floating-wpp-button,
html body .floating-wpp .floating-wpp-button {
  position: relative !important;
  left: auto !important;
  right: 0 !important;
  cursor: pointer !important;
}

html body #WAButton .floating-wpp-popup,
html body .floating-wpp .floating-wpp-popup {
  position: absolute !important;
  right: 0 !important;
  left: auto !important;
  bottom: 74px !important;
  z-index: 100000 !important;
}

/* =========================================================
   RESPONSIVENESS
========================================================= */

@media (max-width: 900px) {
  .policy-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .policy-sidebar {
    position: static;
  }

  .policy-card {
    padding: 34px 24px;
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 45px 0 30px;
  }

  .policy-section {
    padding: 35px 0 65px;
  }

  .policy-card {
    padding: 26px 18px;
  }

  footer {
    padding: 35px 0 20px !important;
  }

  .footer-inner,
  footer > .wrap {
    padding: 0 16px !important;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px 16px !important;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1 !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  .footer-bottom {
    margin-top: 22px !important;
    padding-top: 14px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
    font-size: 11px !important;
  }

  html body #WAButton,
  html body #WAButton.floating-wpp,
  html body div.floating-wpp {
    right: 16px !important;
    left: auto !important;
    bottom: 20px !important;
  }

  html body #WAButton .floating-wpp-popup,
  html body .floating-wpp .floating-wpp-popup {
    bottom: 68px !important;
    right: 0 !important;
    width: 285px !important;
  }
}