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

:root {
  --red: #e8392f;
  --dark: #050505;
  --text: #111111;
  --muted: #6f6f6f;
  --light: #f7f7f7;
  --border: #e8e8e8;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: #ffffff;
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.page {
  width: min(2000px, 92%);
  margin: 18px auto 0;
}

.label {
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 12px;
}

.label span {
  color: #444;
  margin-left: 5px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 13px 22px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-red {
  background: var(--red);
  color: #ffffff;
}

.btn-white {
  background: #ffffff;
  color: #111111;
}

/* HERO */

.hero {
  min-height: 510px;
  border-radius: 18px;
  overflow: hidden;
  background: #000000;
  color: #ffffff;
  position: relative;
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.38;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.95),
    rgba(0, 0, 0, 0.64),
    rgba(0, 0, 0, 0.38)
  );
}

.hero-bg img {
  filter: blur(1px);
}

.navbar {
  position: relative;
  z-index: 2;
  padding: 28px 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  font-size: 24px;
  line-height: 1;
}

.brand img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 31px;
  font-size: 12px;
  font-weight: 700;
}

.nav-links a {
  transition: 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--red);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 38px 42px 0;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: end;
}

.hero-title {
  max-width: 680px;
  font-size: clamp(43px, 5.6vw, 72px);
  line-height: 1.03;
  letter-spacing: -3px;
  font-weight: 800;
}

.hero-side {
  max-width: 360px;
  margin-left: auto;
  padding-bottom: 5px;
}

.hero-side p {
  font-size: 16px;
  line-height: 1.55;
  margin-bottom: 26px;
  color: #f5f5f5;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-tags {
  position: relative;
  z-index: 2;
  padding: 42px 42px 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  font-size: 12px;
  font-weight: 600;
  color: #f3f3f3;
}

.hero-tags span::before {
  content: "+";
  color: var(--red);
  margin-right: 8px;
  font-weight: 800;
}

/* TRUST */

.trust {
  display: grid;
  grid-template-columns: 1.45fr repeat(6, 1fr);
  border-bottom: 1px solid var(--border);
  padding: 30px 0;
  align-items: center;
}

.trust p {
  max-width: 230px;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 600;
}

.trust-item {
  min-height: 50px;
  display: grid;
  place-items: center;
  border-left: 1px solid var(--border);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  padding: 0 12px;
}

/* ABOUT */

.about {
  padding: 60px 0 22px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 72px;
}

.about h2 {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.08;
  letter-spacing: -2.2px;
  font-weight: 800;
  max-width: 730px;
}

.about .fade {
  color: #8d8d8d;
  display: block;
  margin-top: 14px;
  font-weight: 500;
  letter-spacing: -1.4px;
}

.about-copy {
  padding-top: 30px;
}

.about-copy p {
  color: #222222;
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 18px;
  max-width: 360px;
  font-weight: 500;
}

.link-red {
  color: #111111;
  font-size: 13px;
  font-weight: 800;
  border-bottom: 1px dashed var(--red);
  padding-bottom: 8px;
  transition: 0.2s ease;
}

.link-red:hover {
  color: var(--red);
}

.image-row {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.image-card {
  height: 175px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background: #111111;
}

.image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.7));
}

.image-card h4 {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 18px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

/* NUMBERS */

.numbers {
  padding: 14px 0 54px;
}

.number-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.number-card {
  padding: 0 25px 0 0;
  border-right: 1px solid var(--border);
  min-height: 110px;
}

.number-card:not(:first-child) {
  padding-left: 25px;
}

.number-card:last-child {
  border-right: none;
}

.number-card h3 {
  font-size: 23px;
  margin-bottom: 13px;
  letter-spacing: -0.6px;
}

.number-card p {
  font-size: 12px;
  color: #666666;
  line-height: 1.55;
  max-width: 210px;
  font-weight: 500;
}

/* SERVICES */

.services {
  background: var(--dark);
  color: #ffffff;
  border-radius: 18px;
  padding: 28px 42px 46px;
  margin-bottom: 54px;
}

.services .label span {
  color: #cccccc;
}

.services-head {
  display: grid;
  grid-template-columns: 1fr 0.65fr;
  align-items: start;
  gap: 45px;
  margin-bottom: 34px;
}

.services h2,
.products h2,
.portfolio h2,
.process h2 {
  font-size: clamp(30px, 3.3vw, 43px);
  line-height: 1.05;
  letter-spacing: -1.8px;
  font-weight: 800;
}

.services-head p {
  color: #aaaaaa;
  font-size: 13px;
  line-height: 1.55;
  max-width: 390px;
  margin-left: auto;
  font-weight: 500;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid #252525;
  border-left: 1px solid #252525;
}

.service {
  min-height: 160px;
  padding: 24px 18px;
  border-right: 1px solid #252525;
  border-bottom: 1px solid #252525;
}

.service-icon {
  color: var(--red);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
}

.service h3 {
  font-size: 13px;
  line-height: 1.2;
  margin-bottom: 9px;
  font-weight: 800;
}

.service p {
  font-size: 11px;
  line-height: 1.55;
  color: #999999;
  font-weight: 500;
}

/* PRODUCTS */

.products {
  padding-bottom: 44px;
}

.products-head {
  display: grid;
  grid-template-columns: 1fr 0.65fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 25px;
}

.products-head p {
  font-size: 13px;
  color: #444444;
  line-height: 1.55;
  font-weight: 500;
  max-width: 400px;
  margin-left: auto;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.product {
  background: #f7f7f7;
  border-radius: 10px;
  padding: 30px 24px 24px;
  min-height: 215px;
}

.product-icon {
  color: var(--red);
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 28px;
}

.product h3 {
  font-size: 20px;
  margin-bottom: 11px;
  letter-spacing: -0.5px;
}

.product p {
  color: #555555;
  font-size: 12px;
  line-height: 1.55;
  margin-bottom: 18px;
  font-weight: 500;
}

.product a {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
}

/* COMMUNITY */

.community {
  min-height: 270px;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  background: #111111;
  color: #ffffff;
  padding: 38px 42px;
  margin-bottom: 48px;
}

.community-bg {
  position: absolute;
  inset: 0;
  opacity: 0.44;
}

.community-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(114, 0, 0, 0.45));
}

.community-content {
  position: relative;
  z-index: 2;
  max-width: 575px;
}

.community .label span {
  color: #dddddd;
}

.community h2 {
  font-size: clamp(32px, 4vw, 49px);
  line-height: 1.05;
  letter-spacing: -1.7px;
  margin-bottom: 16px;
}

.community p {
  font-size: 13px;
  line-height: 1.55;
  color: #f1f1f1;
  max-width: 530px;
  margin-bottom: 24px;
  font-weight: 500;
}

/* PORTFOLIO */

.portfolio {
  padding-bottom: 42px;
}

.portfolio-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(210px, 1fr));
  gap: 22px;
}

.work img {
  width: 100%;
  height: 230px;
  border-radius: 12px;
  margin-bottom: 18px;
  object-fit: cover;
  object-position: top center;
  background: #f3f3f3;
}

.work h3 {
  font-size: 15px;
  margin-bottom: 4px;
  letter-spacing: -0.2px;
}

.work small {
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
}

.work p {
  color: #666666;
  font-size: 11px;
  line-height: 1.55;
  margin: 10px 0 12px;
  font-weight: 500;
}

.work a {
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
}

/* PROCESS */

.process {
  padding-bottom: 45px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--border);
  margin-top: 22px;
  padding-top: 22px;
  gap: 30px;
}

.process-icon {
  width: 54px;
  height: 54px;
  border: 1px solid #d9d9d9;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--red);
  font-size: 20px;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.step p {
  color: #666666;
  font-size: 11px;
  line-height: 1.5;
  font-weight: 500;
}

/* FOOTER */

.footer-cta {
  background: var(--dark);
  color: #ffffff;
  border-radius: 15px 15px 0 0;
  padding: 28px 42px;
  display: grid;
  grid-template-columns: 1.2fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.footer-cta h2 {
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -1.2px;
  max-width: 620px;
}

.footer-cta p {
  color: #bbbbbb;
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 18px;
  max-width: 390px;
}

footer {
  background: var(--dark);
  color: #ffffff;
  border-top: 1px solid #222222;
  border-radius: 0 0 15px 15px;
  padding: 28px 42px 34px;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
  font-weight: 800;
}

.footer-brand img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

footer p,
footer a {
  color: #aaaaaa;
  font-size: 12px;
  line-height: 1.8;
  font-weight: 500;
}

footer h4 {
  font-size: 13px;
  margin-bottom: 10px;
}

/* RESPONSIVE */

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero-inner,
  .about-grid,
  .services-head,
  .products-head,
  .footer-cta {
    grid-template-columns: 1fr;
  }

  .hero-side {
    margin-left: 0;
  }

  .trust {
    grid-template-columns: repeat(2, 1fr);
  }

  .image-row,
  .number-grid,
  .product-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  footer {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-head p,
  .services-head p {
    margin-left: 0;
  }
}

@media (max-width: 620px) {
  .page {
    width: 94%;
  }

  .navbar,
  .hero-inner,
  .hero-tags,
  .services,
  .community,
  .footer-cta,
  footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .navbar {
    gap: 16px;
  }

  .hero {
    min-height: auto;
  }

  .hero-title {
    letter-spacing: -1.6px;
  }

  .hero-tags,
  .trust,
  .image-row,
  .number-grid,
  .services-grid,
  .product-grid,
  .portfolio-grid,
  .process-grid,
  footer {
    grid-template-columns: 1fr;
  }

  .portfolio-head {
    align-items: start;
    flex-direction: column;
  }

  .number-card,
  .number-card:not(:first-child) {
    padding-left: 0;
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
  }

  .number-card:last-child {
    border-bottom: none;
  }

  .footer-cta h2 {
    font-size: 25px;
  }

  .brand span {
    display: none;
  }

  .portfolio-nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}

.portfolio-hero {
  padding: 50px 0;
  max-width: 900px;
}

.portfolio-hero h1 {
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 18px;
}

.portfolio-hero p {
  max-width: 650px;
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

.portfolio-list {
  padding-bottom: 70px;
}

.portfolio-list .portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.portfolio-list .work img {
  height: 280px;
  border-radius: 14px;
  margin-bottom: 18px;
}

@media (max-width: 980px) {
  .portfolio-list .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .portfolio-list .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-hero h1 {
    font-size: 38px;
  }
}

/* CONTACT PAGE FIX */

.portfolio-nav {
  background: #fff;
  color: #111;
  border-bottom: 1px solid var(--border);
  margin-bottom: 50px;
}

.portfolio-nav .label span {
  color: #444;
}

.contact-hero {
  padding: 40px 0 55px;
  max-width: 920px;
}

.contact-hero h1 {
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 18px;
  font-weight: 800;
}

.contact-hero p {
  max-width: 720px;
  font-size: 16px;
  color: #555;
  line-height: 1.7;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  padding-bottom: 70px;
}

.contact-info {
  display: grid;
  gap: 18px;
}

.contact-card {
  background: #f7f7f7;
  border-radius: 18px;
  padding: 28px;
}

.contact-card span {
  display: block;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 12px;
}

.contact-card h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.contact-card p,
.contact-card li {
  color: #555;
  font-size: 14px;
  line-height: 1.7;
}

.contact-card ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.contact-card li::before {
  content: "▣";
  color: var(--red);
  margin-right: 8px;
  font-size: 10px;
}

.contact-form-wrap {
  background: #f7f7f7;
  border-radius: 18px;
  padding: 34px;
}

.contact-form {
  display: grid;
  gap: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 12px;
  padding: 15px 16px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--red);
}

.contact-form button {
  width: fit-content;
  border: none;
  cursor: pointer;
}

@media (max-width: 980px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-hero {
    padding-top: 30px;
  }
}

@media (max-width: 620px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-card,
  .contact-form-wrap {
    padding: 22px;
  }
}
}