* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}

body {
  margin: 0;
  font-family: Inter, sans-serif;
  color: white;
  background: #050708;
}

a {
  text-decoration: none;
  color: inherit;
}

.bg {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(5,7,8,0.42), rgba(5,7,8,0.72)),
    url("assets/it-background.png");
  background-size: cover;
  background-position: center;
  z-index: -2;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 14px 30px;
}

.logo-bubble {
  background: rgba(5,7,8,0.75);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
}

.logo-bubble img {
  width: 180px;
}

nav {
  justify-self: center;
  display: flex;
  gap: 6px;
  background: rgba(5,7,8,0.7);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 6px;
}

nav a {
  padding: 8px 14px;
  border-radius: 20px;
  color: #aaa;
  font-weight: 700;
}

nav a:hover {
  background: #00e0c0;
  color: black;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #00e0c0;
  padding: 11px 19px;
  border-radius: 999px;
  font-weight: 900;
  color: #031312;
  transition: 0.2s ease;
}

.btn:hover {
  background: #5fffe8;
  transform: translateY(-2px);
}

.btn.outline {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.22);
  color: white;
}

.hero,
.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 64px;
  align-items: center;
  padding: 65px 0 90px;
}

.hero-text {
  max-width: 650px;
}

.pill {
  display: inline-flex;
  margin-bottom: 24px;
  color: #a7fff2;
  background: rgba(0, 224, 192, 0.13);
  border: 1px solid rgba(0, 224, 192, 0.26);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 5.5vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.hero p {
  max-width: 610px;
  margin: 24px 0 0;
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.65;
}

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-card {
  width: 100%;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding: 30px;
  border-radius: 28px;
  text-align: center;
  background: linear-gradient(145deg, rgba(255,255,255,0.09), rgba(255,255,255,0.025));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 30px 90px rgba(0,0,0,0.35);
  backdrop-filter: blur(18px);
}

.hero-card img {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  display: block;
}

.hero-card p {
  margin: 0;
  color: #b8c2cc;
  font-size: 17px;
  font-weight: 700;
}

.section {
  padding: 90px 0;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}

.section-copy span {
  display: inline-block;
  margin-bottom: 13px;
  color: #5fffe8;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-copy h2 {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.section-copy p {
  margin: 18px 0 0;
  color: #cbd5e1;
  font-size: 17px;
  line-height: 1.7;
}

.section-image {
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.11);
  box-shadow: 0 28px 75px rgba(0,0,0,0.3);
}

.section-image img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}

.service-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.card,
form {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.11);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 55px rgba(0,0,0,0.18);
}

.card {
  min-height: 180px;
  padding: 22px;
  border-radius: 22px;
  transition: 0.22s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(0,224,192,0.45);
  background: rgba(0,224,192,0.08);
}

.card h3 {
  margin: 0;
  font-size: 19px;
}

.card p {
  margin: 13px 0 0;
  color: #b8c2cc;
  font-size: 15px;
  line-height: 1.6;
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: start;
}

form {
  display: grid;
  gap: 14px;
  padding: 28px;
  border-radius: 28px;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.34);
  color: white;
  border-radius: 16px;
  padding: 15px 16px;
  font: inherit;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: rgba(0,224,192,0.65);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

button {
  background: #00e0c0;
  color: #031312;
  border: none;
  padding: 15px;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  font: inherit;
}

button:hover {
  background: #5fffe8;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 34px;
  }

  .hero-text,
  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .actions {
    justify-content: center;
  }

  .hero-card {
    max-width: 420px;
    margin: 0 auto;
  }

  .split-section,
  .contact {
    grid-template-columns: 1fr;
  }

  .services-layout .section-image {
    order: 2;
  }

  .services-layout .section-copy {
    order: 1;
  }
}

@media (max-width: 640px) {
  .header-btn {
    display: none;
  }

  header {
    padding: 12px 16px;
  }

  .logo-bubble img {
    width: 170px;
  }

  .hero,
  .section {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    padding: 48px 0 70px;
  }

  .hero-card {
    min-height: auto;
    padding: 24px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .section-image img {
    min-height: 260px;
  }

  .actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}