/* Privacy & Cookies — page styles
   Built to match existing Simulares pages (light background, serif headings, dashed dividers).
*/

.policy-page{
  background: var(--bg-page, #f7f9fc);
  color: #0c1630;
}

/* Hero */
.policy-hero{
  background: #f7f9fc;
  padding: 54px 0 30px;
}

.policy-hero__title{
  margin: 0;
  text-align: center;
  font-family: var(--font-serif, "IBM Plex Serif", serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
  font-size: clamp(40px, 4.6vw, 64px);
  color: #0c1630;
}

.policy-hero__subtitle{
  margin: 20px auto 0;
  max-width: 78ch;
  text-align: center;
  font-family: var(--font-sans, "IBM Plex Sans", sans-serif);
  font-weight: 400;
  font-size: clamp(18px, 2.1vw, 30px);
  line-height: 1.6;
  color: rgba(12,22,48,0.62);
}

.policy-hero__divider{
  margin-top: 34px;
  border-top: 1px dashed rgba(12,22,48,0.14);
}

/* Sections */
.policy-section{
  background: #f7f9fc;
  padding: 34px 0 64px;
}

.policy-lead{
  margin: 0;
  font-family: var(--font-sans, "IBM Plex Sans", sans-serif);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.55;
  color: rgba(12,22,48,0.62);
  max-width: 72ch;
}

.policy-grid{
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

.policy-block{
  background: rgba(255,255,255,0.70);
  border: 1px solid rgba(12,22,48,0.06);
  border-radius: 14px;
  padding: 18px 18px 16px;
  box-shadow: 0 18px 60px rgba(12,22,48,0.06);
}

.policy-wide{
  margin-top: 26px;
  background: rgba(255,255,255,0.70);
  border: 1px solid rgba(12,22,48,0.06);
  border-radius: 14px;
  padding: 18px 18px 16px;
  box-shadow: 0 18px 60px rgba(12,22,48,0.06);
}

.policy-h{
  margin: 0 0 14px;
  font-family: var(--font-serif, "IBM Plex Serif", serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-size: 28px;
  line-height: 1.15;
  color: #0c1630;
}

.accent {
  color: #F59E0B;
}

.policy-h--spaced{ margin-top: 22px; }

.policy-subh{
  margin: 14px 0 8px;
  font-family: var(--font-sans, "IBM Plex Sans", sans-serif);
  font-weight: 700;
  font-size: 20px;
  line-height: 2;
  color: rgba(12,22,48,0.78);
}

.policy-p{
  margin: 0 0 12px;
  font-family: var(--font-sans, "IBM Plex Sans", sans-serif);
  font-weight: 400;
  font-size: 20px;
  line-height: 2.2;
  color: rgba(12,22,48,0.55);
}

.policy-p--lead{
  margin-top: 30px;
  font-weight: 600;
}

.policy-list{
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  font-family: var(--font-sans, "IBM Plex Sans", sans-serif);
  font-weight: 400;
  font-size: 20px;
  line-height: 2;
  color: rgba(12,22,48,0.55);
}

.policy-contact{
  margin: 18px 0 0;
  font-family: var(--font-sans, "IBM Plex Sans", sans-serif);
  font-size: 22px;
  line-height: 1.45;
  color: rgba(12,22,48,0.62);
}

.policy-email{
  color: inherit;
  text-decoration: none;
}

.policy-email:hover{
  text-decoration: underline;
}

.policy-divider{
  margin-top: 34px;
  border-top: 1px dashed rgba(12,22,48,0.14);
}

.policy-divider--end{
  margin-top: 56px;
}

/* Cookies section tweaks */
.policy-section--cookies{
  padding-top: 54px;
}


.policy-title{
  margin: 0;
  text-align: center;
  font-family: var(--font-serif, "IBM Plex Serif", serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.12;
  color: #0c1630;
}

/* Desktop */
@media (min-width: 992px){
  .policy-section{ padding: 54px 0 86px; }

  .policy-grid{
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
  }

  .policy-block,
  .policy-wide{
    padding: 22px 22px 20px;
  }

  .policy-h{ font-size: 32px; }
}

/* Mobile */
@media (max-width: 900px){
  .policy-hero{ padding: 34px 0 22px; }
  .policy-hero__divider{ margin-top: 22px; }

  .policy-lead{
    font-size: 20px;
  }

  .policy-contact{
    font-size: 20px;
  }

  .policy-block,
  .policy-wide{
    padding: 16px 14px 14px;
  }

  .policy-h{
    font-size: 26px;
  }
}

/* =========================
   Imported from about.css (for consistent layout)
   - Privacy & Cookies sections
   - Footer
   ========================= */

/* =========================
   About — Section 2 (Privacy)
========================= */
.about-privacy{
  background: #f7f9fc;
  padding: 96px 0 86px;
  color: #0c1630;
}

.about-privacy__title{
  margin: 0 auto;
  text-align: center;
  font-family: "IBM Plex Serif", serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
  font-size: clamp(34px, 4vw, 56px);
  max-width: 22ch;
}

.about-privacy__accent{
  color: #F59E0B; /* оранжевый как в макете */
}

.about-privacy__lead{
  margin: 26px auto 0;
  text-align: center;
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 400;
  line-height: 1.6;
  font-size: clamp(18px, 2.1vw, 30px);
  color: rgba(12, 22, 48, 0.62);
  max-width: 64ch;
}

.about-privacy__body{
  margin: 54px auto 0;
  max-width: 980px;
  font-family: "IBM Plex Sans", sans-serif;
}

.about-privacy__label{
  margin: 0 0 14px;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(12, 22, 48, 0.55);
}

.about-privacy__list{
  margin: 0 0 18px;
  padding-left: 18px;
  font-size: 20px;
  line-height: 1.7;
  color: rgba(12, 22, 48, 0.52);
}

.about-privacy__list li{
  margin: 6px 0;
}

.about-privacy__note{
  margin: 0;
  font-size: 20px;
  line-height: 1.7;
  color: rgba(12, 22, 48, 0.52);
  max-width: 92ch;
}

.about-privacy__contact{
  margin: 44px 0 0;
  font-size: 22px;
  line-height: 1.45;
  color: rgba(12, 22, 48, 0.62);
}

.about-privacy__email{
  color: inherit;          /* чтобы не было “синей ссылки” */
  text-decoration: none;
}

.about-privacy__email:hover{
  text-decoration: underline;
}

.about-privacy__rule{
  margin: 70px 0 0;
  border-top: 1px dashed rgba(12, 22, 48, 0.12);
}

/* Mobile */
@media (max-width: 900px){
  .about-privacy{
    padding: 72px 0 72px;
  }

  .about-privacy__title{
    max-width: 16ch;
  }

  .about-privacy__body{
    margin-top: 34px;
  }

  .about-privacy__label{
    font-size: 18px;
  }

  .about-privacy__contact{
    font-size: 20px;
  }
}

/* =========================
   About — Section 3 (Cookies)
========================= */

.about-policy--cookies{
  background: #f7f9fc;
  padding: 84px 0 64px;
}

.about-policy--cookies .policy-title{
  margin: 0;
  text-align: center;
  font-family: "IBM Plex Serif", serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #0c1630;
  font-size: clamp(40px, 4.6vw, 64px);
}

.about-policy--cookies .accent{
  color: #f59e0b; /* твой оранжевый акцент */
}

.about-policy--cookies .policy-body{
  margin-top: 48px;
  max-width: 760px;     /* как в макете: блок не по центру, а слева */
  margin-right: auto;
  margin-left: 0;
}

.about-policy--cookies .policy-lead{
  margin: 0 0 18px 0;
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 600;
  color: rgba(12, 22, 48, 0.55);
  font-size: 24px;
  line-height: 32px;
}

.about-policy--cookies .policy-list{
  margin: 0 0 34px 0;
  padding-left: 22px;
  color: rgba(12, 22, 48, 0.55);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 20px;
  line-height: 1.7;
}

.about-policy--cookies .policy-text{
  margin: 0;
  color: rgba(12, 22, 48, 0.55);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 18px;
  line-height: 1.7;
}

.about-policy--cookies .policy-divider{
  margin-top: 56px;
  border-top: 1px dashed rgba(12, 22, 48, 0.14);
}

/* Mobile */
@media (max-width: 900px){
  .about-policy--cookies{
    padding: 56px 0 48px;
  }

  .about-policy--cookies .policy-body{
    max-width: none;
    margin-top: 28px;
  }

  .about-policy--cookies .policy-lead{
    font-size: 34px; /* как на мобилке в макете */
    line-height: 1.2;
    margin-bottom: 18px;
  }

  .about-policy--cookies .policy-list{
    font-size: 24px;
  }

  .about-policy--cookies .policy-text{
    font-size: 24px;
  }
}

.site-footer{
  position: relative;
  color: rgba(255,255,255,0.92);
  background: #050a16;
  padding: 76px 0 34px;
  overflow: hidden;
  border-top: 1px dashed rgba(255,255,255,0.18);
  isolation: isolate;
}

/* background image overlay (optional, for exact макет) */
.site-footer::after{
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/figma/футер/footer-stars.png");
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  pointer-events: none;
}


/* keep content above bg */
.site-footer > .container{
  position: relative;
  z-index: 2; /* выше ::before и ::after */
}

.footer-top{
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: start;
}

.footer-title{
  margin: 0;
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-weight: 400;
  letter-spacing: 0.2px;
  font-size: 56px;
  line-height: 1.08;
  color: rgba(255,255,255,0.92);
  max-width: 520px;
}

.footer-cols{
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 46px;
}

.footer-h{
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
}

.footer-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.footer-link{
  color: rgba(255,255,255,0.62);
  text-decoration: none; /* чтобы не было underline */
  font-size: 16px;
  line-height: 1.55;
}

.footer-link:hover{
  color: rgba(255,255,255,0.86);
  text-decoration: none;
}

/* Bottom row */
.footer-bottom{
  margin-top: 78px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}

.footer-brand{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.footer-brand-text{
  font-weight: 600;
  letter-spacing: 0.8px;
  font-size: 30px;
  color: rgba(255,255,255,0.96);
}

.footer-brand-accent{
  color: #0065FF;
}

.footer-mid{
  display: inline-flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
  white-space: nowrap;
}

.footer-social{
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.site-footer::before{
  content: "";
  position: absolute;
  inset: 0;

  background-image: url("../images/figma/футер/footer-stars.png");
  background-repeat: repeat;
  background-size: 900px 900px;
  background-position: center;

  opacity: 0.35;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
}

.footer-social-link{
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.92);
  text-decoration: none;
}

.footer-social-link svg{
  width: 22px;
  height: 22px;
}

.footer-loc{
  color: rgba(255,255,255,0.70);
  font-size: 16px;
}

.footer-copy{
  text-align: right;
  color: rgba(255,255,255,0.70);
  font-size: 14px;
  white-space: nowrap;
}

/* Mobile */
@media (max-width: 768px){
  .site-footer{
    padding: 64px 0 28px;
  }

  .footer-top{
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-title{
    font-size: 34px;
    line-height: 1.18;
    max-width: 320px;
  }

  .footer-cols{
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-h{
    font-size: 18px;
    margin-bottom: 12px;
  }

  .footer-link{
    font-size: 16px;
  }

  .footer-bottom{
    margin-top: 34px;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
  }

  .footer-mid{
    justify-content: flex-start;
  }

  .footer-copy{
    text-align: left;
  }

  .site-footer::before{
  background-size: 700px 700px;
  opacity: 0.28;
    }

}
