@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Sora:wght@500;600;700&display=swap");
:root {
  --bg: #0b0d0f;
  --surface: #12161a;
  --card: #191f24;
  --line: #293038;
  --text: #f5f7f8;
  --muted: #c5cbd0;
  --dim: #7f8992;
  --red: #e63946;
  --red-hi: #ff4d5a;
  --max: 1180px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--muted);
  font-family: Manrope, Arial, sans-serif;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 75%);
  z-index: -1;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--text);
  font-family: Sora, Arial, sans-serif;
  line-height: 1.12;
  letter-spacing: -0.03em;
}
h1 {
  font-size: clamp(2.7rem, 7vw, 6.4rem);
}
h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}
h3 {
  font-size: 1.2rem;
}
p {
  margin: 0 0 1rem;
}
a {
  color: inherit;
  text-decoration: none;
}
.container {
  width: min(var(--max), calc(100% - 3rem));
  margin: auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 13, 15, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.04em;
}
.brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--red-hi);
}
.nav-toggle {
  display: none;
  background: none;
  color: var(--text);
  border: 1px solid var(--line);
  padding: 0.55rem;
  border-radius: 8px;
  font-size: 1.3rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.9rem 1.25rem;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
  font-weight: 800;
  font-size: 0.86rem;
  transition: 0.25s;
}
.btn.active {
  color: #fff !important;
}
.btn:hover {
  background: var(--red-hi);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(230, 57, 70, 0.24);
}
.btn.secondary {
  background: transparent;
  border-color: #3a424a;
}
.btn.secondary:hover {
  background: rgba(230, 57, 70, 0.08);
  border-color: var(--red);
}
.eyebrow {
  display: inline-flex;
  gap: 0.5rem;
  color: var(--red-hi);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.eyebrow:before {
  content: "//";
}
.section {
  padding: 7rem 0;
}
.section.alt {
  background: var(--surface);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 2.8rem;
}
.section-head p {
  max-width: 560px;
}
.hero {
  min-height: 680px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 75% 44%,
      rgba(230, 57, 70, 0.17),
      transparent 29%
    ),
    linear-gradient(110deg, rgba(11, 13, 15, 0.98) 15%, rgba(11, 13, 15, 0.75)),
    url("/images/1.jpg") center/cover;
}
.hero:after {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(230, 57, 70, 0.3);
  border-radius: 50%;
  right: 7%;
  top: 15%;
  box-shadow:
    0 0 0 50px rgba(230, 57, 70, 0.025),
    0 0 0 100px rgba(230, 57, 70, 0.018);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 790px;
}
.hero h1 {
  max-width: 800px;
}
.hero h1 span {
  color: var(--red-hi);
}
.hero p {
  font-size: 1.12rem;
  max-width: 650px;
  margin: 1.7rem 0 2rem;
}
.actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.grid {
  display: grid;
  gap: 1rem;
}
.services-grid {
  grid-template-columns: repeat(3, 1fr);
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.6rem;
  transition: 0.3s;
}
.card:hover {
  border-color: rgba(230, 57, 70, 0.55);
  transform: translateY(-6px);
  box-shadow: 0 12px 45px rgba(0, 0, 0, 0.2);
}
.service-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.icon {
  color: var(--red-hi);
  font-size: 1.4rem;
  margin-bottom: 1.7rem;
}
.arrow {
  color: var(--red-hi);
  font-size: 1.4rem;
  transition: 0.25s;
}
.card:hover .arrow {
  transform: translateX(6px);
}
.tag-list {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1.1rem;
}
.tag {
  font-size: 0.72rem;
  color: #ff6b75;
  background: rgba(230, 57, 70, 0.1);
  border: 1px solid rgba(230, 57, 70, 0.3);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split-visual {
  min-height: 380px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(140deg, rgba(230, 57, 70, 0.18), transparent 45%),
    url("/images/2.jpg") center/cover;
  position: relative;
}
.split-visual:before {
  content: "SYSTEM / 2026";
  position: absolute;
  bottom: 1.3rem;
  left: 1.3rem;
  color: var(--red-hi);
  font: 700 0.7rem Manrope;
  letter-spacing: 0.15em;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.pillar {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.pillar strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.step {
  border-top: 2px solid var(--red);
  padding-top: 1.2rem;
}
.step b {
  color: var(--red-hi);
  font-size: 0.75rem;
}
.step h3 {
  margin: 0.65rem 0;
}
.projects {
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
}
.team-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.project {
  padding: 0;
  overflow: hidden;
}
.project-image {
  height: 320px;
  background:
    linear-gradient(135deg, rgba(230, 57, 70, 0.35), rgba(18, 22, 26, 0.3)),
    url("/images/3.jpg") center/cover;
}
.project:not(.team-card):nth-child(2) .project-image {
  background-image:
    linear-gradient(135deg, rgba(230, 57, 70, 0.3), rgba(18, 22, 26, 0.3)),
    url("/images/4.jpg");
}
.project:not(.team-card):nth-child(3) .project-image {
  background-image:
    linear-gradient(135deg, rgba(230, 57, 70, 0.25), rgba(18, 22, 26, 0.3)),
    url("/images/5.jpg");
}
.project:not(.team-card):nth-child(4) .project-image {
  background-image:
    linear-gradient(135deg, rgba(230, 57, 70, 0.25), rgba(18, 22, 26, 0.3)),
    url("/images/12.jpg");
}
.project-content {
  padding: 1.4rem;
}
.team-grid .project-image {
  height: 300px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}
.stat {
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--line);
}
.stat:last-child {
  border: 0;
}
.stat strong {
  display: block;
  color: var(--red-hi);
  font: 700 clamp(2rem, 4vw, 3.4rem) Sora;
}
.stat span {
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--dim);
}
.page-hero {
  padding: 7rem 0 5rem;
  background: radial-gradient(
    circle at 80% 20%,
    rgba(230, 57, 70, 0.14),
    transparent 30%
  );
}
.page-hero p {
  max-width: 650px;
  margin-top: 1.4rem;
  font-size: 1.1rem;
}
.service-list {
  display: grid;
  gap: 1rem;
}
.service-row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}
.service-row ul {
  columns: 2;
  margin: 0;
  padding-left: 1.2rem;
}
.service-row li {
  margin: 0.35rem 0;
}
.faq {
  border-top: 1px solid var(--line);
}
details {
  border-bottom: 1px solid var(--line);
  padding: 1.2rem 0;
}
summary {
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}
.form-card,
.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2rem;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
label {
  display: grid;
  gap: 0.45rem;
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 700;
}
input,
textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: #0f1316;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 9px;
  font: inherit;
}
textarea {
  min-height: 150px;
  resize: vertical;
}
.full {
  grid-column: 1/-1;
}
.map {
  min-height: 280px;
  margin-top: 1rem;
  border-radius: 14px;
  background:
    linear-gradient(
      45deg,
      transparent 47%,
      rgba(230, 57, 70, 0.25) 48%,
      transparent 50%
    ),
    linear-gradient(135deg, #1b242b, #111518);
  display: grid;
  place-items: center;
  color: var(--red-hi);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.legal {
  max-width: 850px;
}
.legal h2 {
  font-size: 1.45rem;
  margin: 2.4rem 0 0.8rem;
}
.legal p,
.legal li {
  color: var(--muted);
}
.legal ul {
  padding-left: 1.4rem;
}
.cta {
  padding: 4rem;
  border-radius: 24px;
  background: linear-gradient(120deg, #eef1f3, #cbd5da);
  color: #303940;
}
.cta h2 {
  color: #101519;
  max-width: 600px;
}
.cta p {
  color: #4e5960;
  max-width: 580px;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 3.5rem 0 1.5rem;
  background: #080a0c;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
}
.site-footer h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.site-footer p,
.site-footer a {
  font-size: 0.85rem;
  color: var(--dim);
}
.site-footer a:hover {
  color: var(--red-hi);
}
.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  font-size: 0.75rem;
  color: var(--dim);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.toast {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 30;
  max-width: 360px;
  padding: 1.1rem 1.25rem;
  background: #f5f7f8;
  color: #182026;
  border-left: 4px solid var(--red);
  border-radius: 10px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.4);
  transform: translateY(150%);
  transition: 0.35s;
}
.toast.show {
  transform: translateY(0);
}
.toast strong {
  display: block;
  margin-bottom: 0.2rem;
}
.reveal {
  animation: rise 0.7s both;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
@media (max-width: 991px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .container {
    width: calc(100% - 2rem);
  }
  .section {
    padding: 3rem 0;
  }
  .form-card,
  .contact-card {
    padding: 1rem;
  }
  .container.cta {
    padding: 1rem;
  }
  .page-hero {
    padding: 3rem 0;
  }
  .nav {
    height: 68px;
  }
  .nav-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    padding: 1rem;
    background: #0b0d0f;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links .btn {
    width: 100%;
  }
  .hero {
    min-height: 600px;
  }
  .section-head,
  .split {
    display: block;
  }
  .section-head p {
    margin-top: 1rem;
  }
  .services-grid,
  .process,
  .contact-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:nth-child(2) {
    border-right: 0;
  }
  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .pillars,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .full {
    grid-column: auto;
  }
  .service-row {
    grid-template-columns: 1fr;
  }
  .service-row ul {
    columns: 1;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-bottom {
    display: block;
  }
  .footer-bottom span {
    display: block;
    margin-top: 0.5rem;
  }
  .split-visual {
    margin-top: 2rem;
    min-height: 280px;
  }
}
