/* Mazura Legal — hand-written stylesheet. Values (colours, sizes, spacing,
   breakpoints 991 / 767 / 479) are measured from the original; see
   MEASURE-PRESERVE.md. */

@font-face {
  font-family: "Rethink Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/rethink-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Rethink Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/rethink-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --background: #edebe7;
  --body: #333;
  --title: #000;
  --border: #d8d4c5;
  --white: #fff;
  --primary: #16273f;
  --image-background: #f9f9f9;
}

*, *::before, *::after { box-sizing: border-box; }

html { height: 100%; -webkit-text-size-adjust: 100%; }

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100vh;
  background-color: var(--background);
  color: var(--body);
  font-family: "Rethink Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
}

main { flex: 1 0 auto; }

h1, h2, h3 { margin: 0; color: var(--title); font-weight: 400; }
h1 { font-size: 56px; line-height: 120%; }
h2 { font-size: 38px; line-height: 120%; }
h3 { font-size: 28px; line-height: 150%; }
p { margin: 0; }
img { max-width: 100%; vertical-align: middle; border: 0; }
a { color: inherit; }

.container {
  width: 100%;
  max-width: 1336px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* ---------- header / navigation ---------- */

.navbar {
  position: relative;
  z-index: 1000;
  padding: 10px 0;
  background-color: var(--primary);
  border-bottom: 1px solid #d8d4c51a;
}
.navbar-wrapper { display: flex; justify-content: space-between; align-items: center; }
.nav-logo { display: flex; color: var(--white); text-decoration: none; }
.text-logo { color: var(--white); font-size: 16px; line-height: 120%; }
.nav-menu { display: flex; align-items: center; column-gap: 40px; }
.nav-link {
  display: inline-block;
  padding: 0;
  color: var(--white);
  font-size: 12px;
  line-height: 120%;
  text-transform: uppercase;
  text-decoration: none;
}
.nav-link[aria-current="page"] { border-bottom: 1px solid var(--white); }
.nav-lang img { display: block; height: auto; }
.nav-btn {
  display: inline-block;
  padding: 9px 25px;
  color: var(--white);
  background-color: var(--primary);
  border: 1px solid #ffffff1a;
  border-radius: 100px;
  line-height: 120%;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}
.nav-btn:hover { background-color: var(--white); color: var(--primary); }

.menu-button {
  display: none;
  padding: 10px 0 10px 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.menu-button span { display: block; width: 28px; height: 1.5px; background-color: var(--white); }
.menu-button span + span { margin-top: 8px; }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  padding: 12px 50px 12px 26px;
  color: var(--white);
  font: inherit;
  font-size: 14px;
  line-height: 120%;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  background-color: var(--primary);
  background-image: url("/assets/img/arrow-right.svg");
  background-position: 80%;
  background-repeat: no-repeat;
  border: 1px solid #edebe733;
  border-radius: 100px;
  transition: opacity 0.2s, color 0.3s, background-color 0.3s;
}
.btn:hover {
  color: var(--primary);
  background-color: var(--background);
  background-image: url("/assets/img/arrow-right-blue.svg"), url("/assets/img/arrow-right.svg");
  background-position: 80%, 80%;
}
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ---------- hero ---------- */

.hero-section { padding-top: 120px; padding-bottom: 60px; color: var(--white); background-color: var(--primary); }
.hero-wrap { display: flex; align-items: center; column-gap: 60px; }
.hero-content { width: 100%; max-width: 638px; }
.hero-content-top { display: flex; flex-direction: column; row-gap: 12px; align-items: flex-start; }
.hero-wrapper { display: flex; flex-direction: column; row-gap: 10px; }
.hero-title { color: var(--white); font-size: 58px; }
.hero-btn-block { display: flex; align-items: center; column-gap: 25px; margin-top: 50px; }
.hero-img { width: 100%; max-width: 598px; }
.hero-image { display: block; width: 100%; height: 580px; object-fit: cover; background-color: #ffffff26; }

/* ---------- about ---------- */

.about { padding-top: 100px; padding-bottom: 100px; background-color: var(--background); }
.about-wrap { display: flex; align-items: center; column-gap: 60px; }
.about-image { width: 100%; max-width: 628px; height: 560px; background-color: var(--image-background); }
.about-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.about-right { display: flex; flex-direction: column; align-items: flex-start; width: 100%; max-width: 608px; }
.about-data { display: flex; flex-direction: column; row-gap: 20px; }
.about-title-wrap { display: flex; flex-direction: column; align-items: flex-start; row-gap: 6px; }
.page-subtitle {
  padding: 5px 15px;
  font-size: 12px;
  line-height: 100%;
  border: 1px solid var(--border);
  border-radius: 50px;
}
.about-text { display: flex; flex-direction: column; row-gap: 8px; }

/* ---------- contact ---------- */

.page-title { padding-top: 60px; padding-bottom: 40px; background-color: var(--primary); }
.page-heading { color: var(--white); font-size: 56px; line-height: 120%; }
.contact-section { padding-top: 20px; padding-bottom: 60px; color: var(--white); background-color: var(--primary); }
.cf-info { display: flex; flex-direction: column; row-gap: 40px; width: 100%; color: var(--white); }
.cf-info .paragraph { color: var(--white); }

.contact-info { display: flex; flex-wrap: wrap; column-gap: 100px; row-gap: 35px; }
.contact-list { display: flex; flex-direction: column; }
.body-small { color: var(--white); font-size: 14px; line-height: 150%; }
.contact-link { color: var(--white); font-size: 14px; line-height: 150%; text-decoration: none; }

/* ---------- footer ---------- */

.footer { padding-top: 40px; padding-bottom: 20px; color: var(--white); background-color: var(--primary); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 20px; border-top: 1px solid #fff3; }
.footer-right { display: flex; align-items: flex-end; column-gap: 20px; margin-left: auto; }
.footer-text { color: var(--white); font-size: 14px; }
.footer-text a { text-decoration: none; }
.footer-text a:hover { text-decoration: underline; }

/* ---------- legal page (privacy) ---------- */

.legal { padding-top: 80px; padding-bottom: 100px; background-color: var(--background); }
.legal-body { max-width: 640px; }
.legal-body h2 { margin-top: 48px; margin-bottom: 12px; font-size: 28px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p + p { margin-top: 12px; }
.legal-body a { color: var(--primary); }

/* ---------- 404 ---------- */

.error-page-wrap { display: flex; justify-content: center; align-items: center; width: 100%; height: 100vh; background-color: var(--background); }
.error-page-content { display: flex; flex-direction: column; align-items: center; text-align: center; }
.error-image { margin-bottom: 50px; }
.error-wrapper { display: flex; flex-direction: column; row-gap: 10px; margin-bottom: 40px; }
.error-wrapper .body-small { color: var(--title); }
.error-wrapper p + h2 { margin-top: 20px; }
.error-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.back-to-home { padding: 12px 26px 12px 50px; background-image: url("/assets/img/arrow-right.svg"); background-position: 26px; }
.back-to-home:hover { background-image: url("/assets/img/arrow-right-blue.svg"); background-position: 26px; }

/* ---------- breakpoints ---------- */

@media screen and (max-width: 991px) {
  h1, .page-heading { font-size: 40px; }
  h2 { font-size: 30px; }
  h3 { font-size: 26px; }

  .menu-button { display: block; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    min-width: 200px;
    margin-top: 1px;
    padding-bottom: 20px;
    background-color: var(--primary);
    box-shadow: 0 5px 5px #0003;
    text-align: left;
  }
  .navbar.is-open .nav-menu { display: block; }
  .nav-link { display: block; width: fit-content; padding: 10px 20px; font-size: 14px; }
  .nav-link[aria-current="page"] { border-bottom: 0; font-weight: 500; text-decoration: underline; }
  .nav-btn-wrap { padding-top: 10px; padding-left: 10px; }

  .hero-section { padding-top: 100px; }
  .hero-wrap { column-gap: 40px; }
  .hero-title { font-size: 42px; }
  .hero-btn-block { margin-top: 20px; }
  .hero-image { height: 400px; }

  .about-wrap { column-gap: 40px; }
  .about-right { max-width: none; }
  .about-image { height: 360px; }

  .contact-section { padding-bottom: 100px; }
  .cf-info { row-gap: 30px; }
}

@media screen and (max-width: 767px) {
  h1, .page-heading { font-size: 34px; }
  h2 { font-size: 28px; }

  .nav-btn-wrap { padding-left: 0; }
  .hero-section { padding-top: 80px; }
  .hero-wrap { flex-direction: column-reverse; row-gap: 30px; }
  .hero-image { height: 500px; }

  .about { padding-top: 80px; padding-bottom: 80px; }
  .about-wrap { flex-direction: column; row-gap: 30px; }
  .about-image { height: 420px; }

  .page-title { padding-top: 40px; }
  .contact-section { padding-bottom: 80px; }
  .contact-info { flex-direction: column; row-gap: 20px; }

  .footer-bottom { flex-direction: column; align-items: center; row-gap: 10px; }
  .footer-right { flex-wrap: wrap; justify-content: center; margin-left: 0; row-gap: 4px; }
  .footer-text { white-space: nowrap; }

  .legal { padding-top: 60px; padding-bottom: 80px; }
}

@media screen and (max-width: 479px) {
  .text-logo { word-break: normal; }
  .hero-btn-block { flex-direction: column; align-items: flex-start; row-gap: 20px; }
  .hero-image { height: 320px; }
  .about-image { height: 320px; }
  .footer-right { flex-direction: column; align-items: center; }
  .footer-text { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .btn, .nav-btn { transition: none; }
}
