/* DESIGN SYSTEM: Bauhaus Tech / Constructivism */
:root {
  --orange: #ff4500;
  --blue: #002147;
  --gray: #f0f0f0;
  --black: #111111;
  --white: #ffffff;

  --font-main: "Public Sans", sans-serif;
  --font-head: "Teko", sans-serif;

  --border: 2px solid #000;
  --pad: 24px;
  --max-w: 1200px;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--white);
  color: var(--black);
  font-family: var(--font-main);
  line-height: 1.5;
  overflow-x: hidden;
}

/* UTILS */
a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}
ul {
  list-style: none;
}
img {
  width: 100%;
  display: block;
  filter: grayscale(100%);
  transition: 0.5s;
}
img:hover {
  filter: grayscale(0%);
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-head);
  text-transform: uppercase;
  line-height: 0.95;
  font-weight: 600;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.section {
  padding: 100px 0;
  border-bottom: var(--border);
}
.center {
  text-align: center;
}

/* BUTTONS */
.btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: var(--orange);
  color: var(--white);
  font-weight: 800;
  font-family: var(--font-main);
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: 0.2s;
}
.btn-primary:hover {
  background: var(--blue);
  color: var(--white);
}

.btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  background: transparent;
  color: var(--black);
  font-weight: 800;
  border: 2px solid var(--black);
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.2s;
}
.btn-secondary:hover {
  background: var(--black);
  color: var(--white);
}

.btn-box {
  background: var(--blue);
  color: #fff;
  padding: 10px 20px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
}
.btn-box:hover {
  background: var(--orange);
}

.link-arrow {
  font-weight: 800;
  text-decoration: underline;
  color: var(--blue);
}

/* HEADER */
.bau-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: var(--white);
  border-bottom: var(--border);
  display: flex;
  height: 80px;
  align-items: stretch;
}
.h-logo {
  display: flex;
  align-items: center;
  padding: 0 30px;
  border-right: var(--border);
  background: var(--gray);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 2rem;
}
.brand-svg {
  width: 40px;
  height: 40px;
}

.h-nav {
  flex-grow: 1;
  display: flex;
  align-items: center;
  padding-left: 40px;
}
.h-nav nav {
  display: flex;
  gap: 30px;
}
.h-nav a {
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.9rem;
}
.h-nav a:hover {
  color: var(--orange);
}

.h-action {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 30px;
  border-left: var(--border);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}
.burger span {
  width: 30px;
  height: 4px;
  background: var(--black);
}

/* MOBILE MENU */
.mob-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--blue);
  color: #fff;
  z-index: 200;
  transform: translateY(-100%);
  transition: 0.4s ease;
  padding: 40px;
  display: flex;
  flex-direction: column;
}
.mob-menu.active {
  transform: translateY(0);
}
.mm-header {
  display: flex;
  justify-content: space-between;
  border-bottom: 2px solid #fff;
  padding-bottom: 20px;
  margin-bottom: 40px;
  font-family: var(--font-head);
  font-size: 2rem;
}
#closeMenu {
  background: none;
  border: none;
  color: #fff;
  font-size: 3rem;
  cursor: pointer;
}
.mm-links a {
  display: block;
  font-family: var(--font-head);
  font-size: 3rem;
  margin-bottom: 10px;
  color: #fff;
  transition: 0.3s;
}
.mm-links a:hover {
  color: var(--orange);
  padding-left: 10px;
}
.mm-info {
  margin-top: auto;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* HERO */
.hero-bau {
  padding-top: 80px;
  min-height: 100vh;
  display: flex;
}
.hero-left {
  flex: 1;
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: var(--border);
  background: var(--white);
}
.tag-box {
  display: inline-block;
  background: var(--black);
  color: #fff;
  padding: 5px 10px;
  font-weight: 700;
  margin-bottom: 30px;
  align-self: flex-start;
}
.hero-title {
  font-size: clamp(3rem, 7vw, 6rem);
  margin-bottom: 30px;
  color: var(--blue);
}
.highlight {
  color: var(--orange);
}
.hero-desc p {
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: 40px;
  border-left: 4px solid var(--orange);
  padding-left: 20px;
}
.hero-btns {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-right {
  flex: 1;
  background: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.geo-composition {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.shape {
  position: absolute;
}
.s-circle {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--orange);
  top: 20%;
  right: 10%;
  z-index: 1;
}
.s-rect {
  width: 100px;
  height: 400px;
  background: var(--blue);
  bottom: 10%;
  left: 10%;
  z-index: 1;
}
.img-frame {
  position: relative;
  z-index: 2;
  width: 60%;
  height: 60%;
  border: var(--border);
  background: #fff;
  padding: 10px;
}
.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* MANIFESTO */
.split-panel {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
}
.sp-left h2 {
  font-size: 3rem;
  color: var(--blue);
}
.decor-line {
  width: 100%;
  height: 10px;
  background: var(--orange);
  margin-top: 20px;
}
.lead {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--black);
}
.sp-right p {
  margin-bottom: 20px;
  color: #444;
}

/* SERVICES */
.section-services {
  background: var(--gray);
}
.sec-header {
  margin-bottom: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: var(--border);
  padding-bottom: 20px;
}
.sec-header h3 {
  font-size: 3rem;
}
.srv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.srv-card {
  background: var(--white);
  border: var(--border);
  padding: 30px 20px;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
}
.srv-card:hover {
  transform: translateY(-10px);
  box-shadow: 10px 10px 0 var(--black);
}
.srv-icon {
  color: var(--orange);
  margin-bottom: 20px;
}
.srv-card h4 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}
.srv-card p {
  font-size: 0.9rem;
  color: #555;
}

/* BLOG */
.blog-list {
  border-top: var(--border);
}
.blog-row {
  display: grid;
  grid-template-columns: 150px 1fr 100px;
  gap: 20px;
  padding: 30px 0;
  border-bottom: var(--border);
  align-items: center;
}
.b-date {
  font-weight: 800;
  color: var(--blue);
}
.b-content h4 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}
.b-content p {
  font-size: 0.9rem;
  color: #666;
}
.btn-read {
  background: var(--black);
  color: #fff;
  padding: 5px 15px;
  font-weight: 700;
  font-family: var(--font-head);
  font-size: 1.2rem;
}
.btn-read:hover {
  background: var(--orange);
}

/* TYPO */
.section-typo {
  background: var(--blue);
  color: #fff;
  overflow: hidden;
  padding: 100px 0;
}
.typo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.big-word {
  font-family: var(--font-head);
  font-size: 12vw;
  line-height: 0.8;
  font-weight: 600;
  color: #fff;
}
.w2 {
  color: var(--orange);
  margin-left: 20%;
}
.w3 {
  color: var(--gray);
  align-self: flex-end;
  margin-right: 10%;
}

/* STEPS */
.steps-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 50px;
  border: var(--border);
}
.step-card {
  padding: 30px;
  border-right: var(--border);
  position: relative;
  background: #fff;
}
.step-card:last-child {
  border-right: none;
}
.step-num {
  font-size: 3rem;
  font-family: var(--font-head);
  color: var(--gray);
  position: absolute;
  top: 10px;
  right: 10px;
}
.step-card h4 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  margin-top: 20px;
  color: var(--blue);
}
.step-card p {
  font-size: 0.9rem;
}

/* BALANCE */
.bal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.bal-txt h3 {
  font-size: 3rem;
  margin-bottom: 30px;
  color: var(--blue);
}
.bau-list {
  margin-top: 30px;
  font-weight: 700;
  list-style: square;
  padding-left: 20px;
}
.bau-list li {
  margin-bottom: 10px;
  color: var(--orange);
}
.img-wrap {
  border: var(--border);
  padding: 10px;
  background: var(--gray);
  transform: rotate(-2deg);
}

/* FAQ */
.narrow {
  max-width: 800px;
  margin: 0 auto;
}
.acc-item {
  border-bottom: 2px solid #000;
}
.acc-head {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 0;
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}
.acc-head::after {
  content: "+";
  color: var(--orange);
  font-size: 1.5rem;
}
.acc-head.active::after {
  content: "-";
}
.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: 0.3s;
}
.acc-body p {
  padding-bottom: 20px;
  color: #444;
}

/* FORM */
.form-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.form-desc h2 {
  font-size: 3.5rem;
  color: var(--orange);
  margin-bottom: 20px;
}
.contact-data {
  margin-top: 40px;
  border: var(--border);
  padding: 20px;
  font-weight: 800;
  background: var(--gray);
}
.bau-form {
  background: var(--blue);
  padding: 40px;
  color: #fff;
  border: var(--border);
  box-shadow: 20px 20px 0 var(--orange);
}
.inp-group {
  margin-bottom: 20px;
}
.inp-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--gray);
}
.inp-group input {
  width: 100%;
  padding: 15px;
  border: none;
  font-family: var(--font-main);
}
.inp-group input:focus {
  outline: 2px solid var(--orange);
}
.chk-group {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  font-size: 0.8rem;
}
.chk-group a {
  color: var(--orange);
  text-decoration: underline;
}
.btn-submit {
  width: 100%;
  padding: 15px;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
}
.btn-submit:hover {
  background: #fff;
  color: var(--orange);
}

/* FOOTER */
.bau-footer {
  background: var(--black);
  color: var(--gray);
  padding: 80px 0 20px;
}
.f-cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
}
.f-logo {
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--orange);
  display: block;
  margin-bottom: 10px;
}
.f-item h5 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 1rem;
}
.f-item a,
.f-item p {
  display: block;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: #aaa;
}
.f-item a:hover {
  color: var(--orange);
}
.f-btm {
  text-align: center;
  margin-top: 60px;
  font-size: 0.8rem;
  border-top: 1px solid #333;
  padding-top: 20px;
}

/* COOKIE */
.cookie-modal {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 300px;
  background: var(--white);
  border: var(--border);
  padding: 20px;
  z-index: 500;
  display: none;
  box-shadow: 10px 10px 0 var(--blue);
}
.cb-inner p {
  margin-bottom: 15px;
  font-weight: 700;
}
#acceptCookie {
  width: 100%;
  padding: 10px;
  background: var(--blue);
  color: #fff;
  border: none;
  font-weight: 800;
  cursor: pointer;
}

/* ADAPTIVE FIXES */
@media (max-width: 992px) {
  .desktop-only,
  .btn-box {
    display: none;
  }
  .burger {
    display: flex;
  }

  .hero-bau {
    flex-direction: column;
    padding-top: 80px;
  }
  .hero-left {
    border-right: none;
    border-bottom: var(--border);
    padding: 40px 20px;
  }
  .hero-right {
    height: 400px;
  }
  .s-circle {
    width: 200px;
    height: 200px;
  }
  .s-rect {
    height: 200px;
  }

  .split-panel {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .srv-grid {
    grid-template-columns: 1fr;
  }
  .blog-row {
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: left;
  }
  .b-act {
    justify-self: start;
  }

  .steps-wrapper {
    grid-template-columns: 1fr;
  }
  .step-card {
    border-right: none;
    border-bottom: var(--border);
  }

  .bal-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .bal-img {
    order: -1;
  }

  .form-cols {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .f-cols {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .sec-header h3,
  .sp-left h2 {
    font-size: 2.2rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  .brand {
    font-size: 1.5rem;
  }
}

.pages {
  padding: 120px 0;
}

.pages-wrap {
  max-width: 1000px;
  padding: 0 20px;
  margin: 0 auto 20px;
}

.pages h1 {
  font-size: 40px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 40px;
  text-align: center;
}

.text-wrapper {
  background: #f8fafc;
  padding: 50px 40px;
  border-radius: 20px;
  line-height: 1.8;
}

.text-wrapper h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  margin-top: 40px;
  margin-bottom: 15px;
  border-bottom: 2px solid rgba(99, 102, 241, 0.2);
  padding-bottom: 5px;
}

.text-wrapper h3 {
  color: #000000;
  margin-bottom: 20px;
}

.text-wrapper p {
  color: #64748b;
  margin-bottom: 20px;
}

.text-wrapper ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.text-wrapper ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
  color: #1e293b;
}

.text-wrapper ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  font-size: 20px;
  line-height: 1;
  color: var(--primary);
  top: 0;
}

.text-wrapper strong {
  color: var(--color-error);
}

.text-wrapper a {
  color: #001eff;
  text-decoration: underline;
  font-weight: 600;
}

.text-wrapper ol {
  display: flex;
  flex-direction: column;
  padding: 20px;
  color: #000000;
}

.margin {
  margin: 120px 0 50px;
  font-size: 40px;
  color: var(--accent);
}

@media (max-width: 768px) {
  .pages {
    padding: 100px 0 60px;
  }
  .pages h1 {
    font-size: 22px;
    margin-bottom: 30px;
  }
  .text-wrapper {
    padding: 30px 20px;
  }
  .text-wrapper h2 {
    font-size: 24px;
    margin-top: 30px;
  }
  .margin {
    font-size: 28px;
  }
}
