/* =========================
   CSS VARIABLES
   ========================= */
:root{
  --bg: #ffffff;
  --bg-alt: #C4BDB2;
  --ink: #0b0b0b;
  --muted: #4c4c4c;
  --hairline: #dedede;

  --wrap: 1200px;
  --narrow: 980px;

  --display: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* =========================
   GLOBAL RESETS
   ========================= */
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--body);
  color:var(--ink);
  background:var(--bg);
}

/* =========================
   ACCESSIBILITY
   ========================= */
.sr-only{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}

/* =========================
   LAYOUT HELPERS
   ========================= */
.wrap{
  width: min(var(--wrap), calc(100% - 40px));
  margin: 0 auto;
}
.narrow{
  width: min(var(--narrow), 100%);
}
.center{ text-align:center; }

/* =========================
   BASE TYPOGRAPHY
   ========================= */
a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; }

.small{ font-size: 13px; color: var(--muted); }

/* =========================
   BUTTONS
   ========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 14px 18px;
  border: 1px solid var(--hairline);
  background: transparent;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: .01em;
  border-radius: 0;
  cursor:pointer;
}
.btn:hover{ transform: translateY(-1px); text-decoration:none; }
.btn:active{ transform: translateY(0); }

.btn-primary{
  background: var(--ink);
  color:#fff;
  border-color: var(--ink);
}
.btn-primary:hover{ background:#111; border-color:#111; }

.btn-secondary{
  background: transparent;
  color: var(--ink);
}
.btn-large{ padding: 16px 22px; font-size: 16px; }

/* =========================
   HEADER
   ========================= */
.header{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #E3DCD1;
  padding: 14px 0;
  border-bottom: 10px solid var(--muted);
  box-shadow: 0 20px 10px rgba(0,0,0,.06);
}

.header__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header__logo{
  width: 180px;
  height: auto;
  display: block;
}

.header__nav{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
  align-items: center;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: .01em;
}

.header__nav a{
  padding: 10px 12px;
  border: 1px solid var(--bg-alt);
  text-decoration: none;
  color: var(--ink);
}

.header__nav a:hover{
  background: #000;
  color: #fff;
  border-color: #000;
  text-decoration: none;
}

.header__toggle{
  display: none;
  border: 1px solid var(--hairline);
  background: transparent;
  padding: 12px 14px;
  font-family: var(--display);
  font-weight: 700;
  cursor: pointer;
}

/* Mobile nav behavior */
@media (max-width: 860px){
  .header__toggle{ 
    display: inline-flex; 
    justify-content: center;
  }
  
  .header__nav{ 
    display: none; 
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border-top: 1px solid var(--hairline);
    padding: 20px;
    flex-direction: column;
  }
  
  .header__nav.is-open{ 
    display: flex;
  }
  
  .header__inner{
    flex-wrap: wrap;
  }
}

/* =========================
   FOOTER
   ========================= */
.footer{
  border-top: 10px solid var(--muted);
  padding: 60px 0 40px;
  background: #E3DCD1;
}

.trust{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.trust__item{
  border: 1px solid var(--hairline);
  padding: 22px;
  background: #fff;
  text-decoration: none;
  color: var(--ink);
  display: block;
  transition: background 0.2s ease;
}
.trust__item:hover{
  background: var(--bg-alt);
  text-decoration: none;
}
.trust__title{
  font-family: var(--display);
  font-weight: 900;
  font-size: 18px;
  margin-bottom: 8px;
}
.trust__num{
  font-size: 26px;
  letter-spacing: -0.01em;
}
.trust__desc{
  color: var(--muted);
  line-height: 1.6;
}
@media (max-width: 1100px){
  .trust{ grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 560px){
  .trust{ grid-template-columns: 1fr; }
}

.footer-grid{
  display:grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 18px;
  margin-top: 10px;
}
.footer-col h3{
  font-family: var(--display);
  font-weight: 900;
  margin: 0 0 10px;
  font-size: 16px;
}
.footer-logo{
  width: min(240px, 100%);
  height:auto;
  display:block;
  margin-bottom: 12px;
}
.footer-desc{
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}
.footer-links{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap: 8px;
}
.footer-links a{
  color: var(--ink);
  text-decoration:none;
}
.footer-links a:hover{ text-decoration: underline; }

.badges{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.footer .badge{
  border: 1px solid var(--hairline);
  padding: 8px 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: #fff;
  color: var(--ink);
  border-radius: 0;
  position: static;
  transform: none;
}

.footer-bottom{
  border-top: 1px solid var(--hairline);
  margin-top: 26px;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p{
  margin: 0;
}
.footer-bottom__links a{
  color: var(--muted);
  text-decoration:none;
}
.footer-bottom__links a:hover{ text-decoration: underline; }

@media (max-width: 1100px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px){
  .footer-grid{ grid-template-columns: 1fr; }
  .footer-bottom{
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================
   FINAL CTA SECTION
   ========================= */
.final{
  padding: 110px 0;
}
.final h2{
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(34px, 3.5vw, 54px);
  line-height: 1.1;
  margin: 0 0 10px;
}
.final p{
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.7;
}
.hero-actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 0 14px;
}
.hero-meta{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: .02em;
}

/* =========================
   FLOATING TO-TOP ARROW
   ========================= */
.to-top{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  display:grid;
  place-items:center;
  border: 1px solid var(--hairline);
  background: rgba(255,255,255,.95);
  font-family: var(--display);
  font-weight: 900;
  border-radius: 0;
  z-index: 950;
}
.to-top:hover{
  background:#000;
  color:#fff;
  border-color:#000;
  text-decoration:none;
}