:root {
  /* NEOBRUTALISM PALETTE */
  --bg-main: #fffdf5; /* Warm Cream */
  --bg-dark: #1a1a1a;

  --coral: #ff6f61;
  --yellow: #ffd700;
  --blue: #003366;

  --text-dark: #1a1a1a;
  --text-muted: #4a4a4a;
  --text-white: #ffffff;

  --border-width: 3px;
  --shadow: 8px 8px 0px #000000;
  --shadow-small: 4px 4px 0px #000000;

  --font-main: "Inter", system-ui, -apple-system, sans-serif;
  --container: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main);
  color: var(--text-dark);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4 {
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}
h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}
.highlight {
  color: var(--blue);
  background: var(--yellow);
  padding: 0 10px;
}

/* UTILS */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 120px 0;
}
.bg-coral {
  background-color: var(--coral);
  color: var(--text-white);
}
.bg-yellow {
  background-color: var(--yellow);
}
.bg-blue {
  background-color: var(--blue);
  color: var(--text-white);
}
.bg-dark {
  background-color: var(--bg-dark);
  color: var(--text-white);
}
.bg-paper {
  background-color: #f0eee4;
}
.border-top {
  border-top: var(--border-width) solid #000;
}
.border-bottom {
  border-bottom: var(--border-width) solid #000;
}
.center {
  text-align: center;
}
.max-800 {
  max-width: 800px;
  margin: 0 auto;
}
.text-white {
  color: #fff !important;
}

.step-num {
  display: inline-block;
  padding: 5px 15px;
  background: #000;
  color: #fff;
  font-weight: 700;
  margin-bottom: 20px;
}

/* HEADER */
.header {
  background: var(--bg-main);
  border-bottom: var(--border-width) solid #000;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header__wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #000;
}
.logo-dot {
  width: 20px;
  height: 20px;
  background: var(--coral);
  border: 2px solid #000;
  border-radius: 50%;
}
.logo-text {
  font-weight: 900;
  letter-spacing: 1px;
  font-size: 1.2rem;
}

.nav {
  display: flex;
  gap: 30px;
}
.nav a {
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: #000;
  text-decoration: none;
  transition: 0.2s;
}
.nav a:hover {
  color: var(--coral);
}

.burger-btn {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}
.line {
  width: 30px;
  height: 3px;
  background: #000;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--yellow);
  z-index: 99;
  transform: translateX(100%);
  transition: 0.4s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}
.mobile-nav a {
  font-size: 2rem;
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none;
  color: #000;
}

/* HERO */
.hero {
  padding: 100px 0;
  border-bottom: var(--border-width) solid #000;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}
.badge-new {
  display: inline-block;
  padding: 5px 15px;
  border: 2px solid #000;
  font-weight: 800;
  font-size: 0.8rem;
  margin-bottom: 20px;
}
.hero-paragraphs {
  margin-top: 30px;
}
.hero-paragraphs p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.image-frame {
  position: relative;
  border: var(--border-width) solid #000;
  box-shadow: var(--shadow);
  background: #fff;
  height: 400px;
}
.placeholder-img {
  width: 100%;
  height: 100%;
  background-image: url("./image/system-administrator-ai-server.jpg");
  background-size: cover;
  background-position: center;
}
.decor-circle {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--coral);
  border: var(--border-width) solid #000;
  z-index: -1;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 15px 35px;
  border: var(--border-width) solid #000;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.2s;
  text-decoration: none;
  color: #000;
  background: #fff;
  box-shadow: var(--shadow-small);
}
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px #000;
}
.btn--nav {
  background: var(--yellow);
  padding: 10px 20px;
  font-size: 0.8rem;

  @media (max-width: 500px) {
    display: none;
  }
}
.btn--form {
  background: var(--yellow);
  width: 100%;
  font-size: 1.1rem;
}
.btn--small {
  padding: 10px 20px;
  font-size: 0.8rem;
}

/* PHILOSOPHY GRID */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}
.p-card {
  background: #fff;
  padding: 40px;
  border: var(--border-width) solid #000;
  box-shadow: var(--shadow);
  color: #000;
}
.p-card h3 {
  color: var(--coral);
}

/* MATRIX */
.matrix-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.matrix-list {
  list-style: none;
  margin-top: 30px;
}
.matrix-list li {
  margin-bottom: 20px;
  padding-left: 20px;
  border-left: 5px solid var(--coral);
}
.grid-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.box {
  height: 150px;
  border: var(--border-width) solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  background: #fff;
  box-shadow: var(--shadow-small);
}
.box-1 {
  background: var(--coral);
  color: #fff;
}
.box-4 {
  background: var(--yellow);
}

/* TOPICS */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
}
.topic-item {
  background: #fff;
  border: var(--border-width) solid #000;
  padding: 30px;
  transition: 0.3s;
  height: 100%;
}
.topic-item:hover {
  transform: rotate(-2deg);
  border-color: var(--blue);
}
.ti-icon {
  width: 50px;
  height: 50px;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

/* METHOD */
.layout-2col {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.method-illustration {
  position: relative;
  height: 300px;
  background-image: url("./image/abstract-technology-background\ \(1\).jpg");
  background-size: cover;
  background-position: center;
  border: var(--border-width) solid #000;
  box-shadow: var(--shadow);
}
.method-steps {
  margin: 30px 0;
}
.ms-item {
  margin-bottom: 20px;
  padding: 15px;
  background: var(--bg-paper);
  border-left: 10px solid var(--blue);
}

.expertise-content p {
  color: var(--bg-main);
}

/* ACCORDION */
.accordion {
  margin-top: 50px;
  border-top: var(--border-width) solid #000;
}
.acc-item {
  border-bottom: var(--border-width) solid #000;
}
.acc-header {
  padding: 25px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
  font-size: 1.2rem;
}
.acc-content {
  max-height: 0;
  overflow: hidden;
  transition: 0.4s ease-out;
}
.acc-content p {
  padding-bottom: 30px;
}

/* FORM */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact-badges {
  display: flex;
  gap: 10px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.c-badge {
  padding: 8px 15px;
  border: 2px solid #000;
  font-weight: 800;
  font-size: 0.8rem;
  background: var(--yellow);
}

.neobrutal-form {
  background: #fff;
  border: var(--border-width) solid #000;
  padding: 50px;
  box-shadow: var(--shadow);
}
.form-group {
  margin-bottom: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.neobrutal-form label {
  display: block;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 8px;
}
.header-right {
  display: flex;
  gap: 20px;
  align-items: center;
}
.neobrutal-form input {
  width: 100%;
  padding: 15px;
  border: var(--border-width) solid #000;
  border-radius: 0;
  font-family: inherit;
  font-size: 1rem;
}
.neobrutal-form input:focus {
  outline: none;
  background: #f0f0f0;
}
.checkbox-group {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.8rem;
  margin-bottom: 30px;
  flex-direction: row;
}

.checkbox-group label {
  display: flex;
  gap: 8px;
  align-items: center;
  cursor: pointer;
  min-width: 0;
}

.checkbox-group .checkbox-text {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.checkbox-text a {
  color: var(--blue);
  text-decoration: underline;
}
.captcha-txt {
  color: var(--coral);
  font-weight: 900;
}

/* FOOTER */
.footer {
  padding: 80px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}
.f-col h4 {
  margin-bottom: 20px;
  font-size: 1rem;
  color: var(--yellow);
}
.f-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
}
.footer a:hover {
  color: var(--yellow);
}
.footer-bottom {
  text-align: center;
  border-top: 1px solid #444;
  padding-top: 30px;
  font-size: 0.8rem;
  opacity: 0.6;
}

/* COOKIE */
.cookie-bar {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 350px;
  background: #fff;
  border: var(--border-width) solid #000;
  padding: 25px;
  z-index: 200;
  display: none;
  box-shadow: var(--shadow);
}

.f-col p {
  color: #ccc;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.f-col-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero__grid,
  .matrix-layout,
  .layout-2col,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .philosophy-grid {
    grid-template-columns: 1fr;
  }
  .topics-grid {
    grid-template-columns: 1fr 1fr;
  }
  .desktop-nav {
    display: none;
  }
  .burger-btn {
    display: flex;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .topics-grid,
  .footer-grid,
  .form-row {
    grid-template-columns: 1fr;
  }
  .neobrutal-form {
    padding: 25px;
  }
  .decor-circle {
    display: none;
  }
}

.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;
}

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