:root{
  --bg: #ffffff;
  --text: #0b0f18;
  --muted: #465064;
  --muted2: #6b7280;
  --border: #e6e8ee;
  --soft: #f7f7f9;

  /* Rentec-like red accent */
  --red: #b91c1c;        /* primary accent */
  --redDark: #7f1d1d;    /* hover */
  --redSoft: #fff1f2;    /* subtle background */
  --max: 1100px;
}


/* ===== Anchor offset fix for fixed header ===== */
:root{
  /* Adjust to match your real fixed header height */
  --header-offset: 92px;
}

/* Modern fix */
.legal-block{
  scroll-margin-top: calc(var(--header-offset) + 16px);
}

/* Fallback fix for older browsers */
.legal-block:target::before{
  content:"";
  display:block;
  height: calc(var(--header-offset) + 16px);
  margin-top: calc((var(--header-offset) + 16px) * -1);
}



*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.55;
}

a{ color: inherit; text-decoration: none; }
a:hover{ color: var(--red); }

.container{
  width: 100%;
  max-width: var(--max);
  padding: 0 18px;
  margin: 0 auto;
}

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 14px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
}

.brand img{
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 10px;
  background: var(--soft);
  border: 1px solid var(--border);
}

.brand-name {
  font-weight: 800;
  letter-spacing: 0.3px;
  font-size: 1.3rem;
}


.brand-tag{
  font-size: 12px;
  color: var(--muted2);
  margin-top: 1px;
}

.nav{
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  color: var(--muted);
}

.nav a{
  padding: 8px 2px;
}

.nav a.active{
  color: var(--red);
  font-weight: 600;
}

.header-actions{
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--border);
  background: white;
  color: var(--text);
  transition: 120ms ease-in-out;
}

.btn:hover{
  border-color: #d8dbe5;
  transform: translateY(-1px);
}

.btn-primary{
  background: var(--red);
  color: white;
  border-color: var(--red);
}

.btn-primary:hover{
  background: var(--redDark);
  border-color: var(--redDark);
  color: white;
}

.menu-btn{
  display: none;
}

/* Mobile nav */
.mobile-nav{
  display: none;
  border-top: 1px solid var(--border);
  padding: 10px 0 14px 0;
}

.mobile-nav a{
  display: block;
  padding: 12px 10px;
  border-radius: 12px;
  color: var(--muted);
}

.mobile-nav a:hover{
  background: var(--soft);
  color: var(--red);
}

/* Hero */
.hero{
  padding: 64px 0 42px 0;
}

.kicker{
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted2);
}

.hero h1{
  margin: 12px 0 0 0;
  font-size: 44px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero p{
  margin: 16px 0 0 0;
  color: var(--muted);
  font-size: 16px;
  max-width: 62ch;
}

.hero-actions{
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Sections */
.section{
  padding: 56px 0;
  border-top: 1px solid var(--border);
}

.section.soft{
  background: var(--soft);
}

.section.red-soft{
  background: var(--redSoft);
}

.section h2{
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.section .lead{
  margin-top: 12px;
  color: var(--muted);
  max-width: 75ch;
}

.card{
  margin-top: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  background: white;
}

.card .label{
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted2);
  font-weight: 700;
}

.card p{
  margin: 10px 0 0 0;
  color: var(--muted);
}

/* Simple list */
.list{
  margin: 14px 0 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.list li{ margin: 8px 0; }

/* Forms */
.form{
  margin-top: 18px;
  display: grid;
  gap: 12px;
  max-width: 620px;
}

.field label{
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.field input,
.field textarea,
.field select{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  outline: none;
  font-size: 14px;
  background: white;
}

.field input:focus,
.field textarea:focus,
.field select:focus{
  border-color: rgba(185, 28, 28, 0.45);
  box-shadow: 0 0 0 4px rgba(185, 28, 28, 0.10);
}

.field textarea{
  min-height: 140px;
  resize: vertical;
}

/* Footer */
.site-footer{
  border-top: 1px solid var(--border);
  background: #0b0f18;
  color: rgba(255,255,255,0.9);
}

.footer-inner{
  padding: 34px 0;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-brand{
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-brand img{
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
}

.footer-title{
  font-weight: 700;
  font-size: 14px;
}

.footer-sub{
  font-size: 12px;
  opacity: 0.75;
  margin-top: 2px;
}

.footer-links{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  opacity: 0.85;
}

.footer-links a{
  padding: 6px 8px;
  border-radius: 10px;
}

.footer-links a:hover{
  background: rgba(255,255,255,0.06);
  color: white;
}

.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 14px 0 20px 0;
  font-size: 12px;
  opacity: 0.75;
}

.footer-bottom p{
  margin: 6px 0;
  max-width: auto;
}



/*new css*/
.footer-contact {
  font-size: 13px;
  line-height: 1.6;
}

.footer-contact i {
  margin-right: 8px;
  color: #c40000; /* subtle brand accent */
}

.footer-contact a {
  color: inherit;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-address {
  margin-bottom: 10px;
}


/* ===== Privacy Policy Page Styles (Creative, clean) ===== */

.legal-grid{
  display:grid;
  grid-template-columns: 1.65fr 0.85fr;
  gap: 24px;
  align-items:start;
}

.legal-top{
  border: 1px solid rgba(255,255,255,0.08);
  background:
  radial-gradient(
    1200px 400px at 10% 0%,
    rgba(247, 247, 249, 0.95),
    transparent 50%
  ),
  rgba(255, 255, 255, 0.03);

  border-radius: 18px;
  padding: 18px;
  margin-bottom: 16px;
}

.legal-badge{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.2px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
}

.legal-meta{
  margin-top: 10px;
  opacity: 0.9;
}

.legal-meta-label{
  opacity: 0.85;
}

.legal-meta-value{
  font-weight: 700;
  margin-left: 6px;
}

.legal-intro{
  margin-top: 12px;
  line-height: 1.65;
  opacity: 0.92;
}

/* Main card */
.legal-card{
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 18px;
}

/* Section blocks */
.legal-block{
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.legal-block:first-child{
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

.legal-block h2{
  font-size: 18px;
  margin: 0 0 10px;
  letter-spacing: 0.2px;
}

.legal-card p{
  opacity: 0.92;
  line-height: 1.65;
  margin: 0 0 14px;
}

.legal-list{
  margin: 0 0 14px 18px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.legal-list li{
  opacity: 0.92;
  line-height: 1.55;
}

.legal-contact a{
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Aside */
.legal-aside{
  position: sticky;
  top: calc(var(--header-offset) + 14px);
}

.aside-card{
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  border-radius: 18px;
  padding: 14px;
}

.aside-title{
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: 0.2px;
}

.aside-links{
  display:grid;
  gap: 8px;
}

.aside-links a{
  display:block;
  padding: 10px 10px;
  border-radius: 12px;
  text-decoration: none;
  opacity: 0.9;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.01);
}

.aside-links a:hover{
  opacity: 1;
  background: rgba(255,255,255,0.05);
}

.aside-tip{
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
  opacity: 0.85;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 900px){
  .legal-grid{
    grid-template-columns: 1fr;
  }
  .legal-aside{
    position: static;
    top: auto;
  }
}



/* Responsive */
@media (max-width: 860px){
  .nav{ display: none; }
  .menu-btn{
    display: inline-flex;
  }
  .hero h1{ font-size: 36px; }
}

@media (max-width: 520px){
  .hero{ padding: 52px 0 34px 0; }
  .hero h1{ font-size: 30px; }
  .btn{ width: 100%; }
  .header-actions .btn-primary{ display: none; } /* keep header tight on very small screens */
}
