:root {
  --bg: #050816;

  --text: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.75);

  --accent: #c51f2d;
  --accent-light: #ff4557;

  --card-bg: rgba(255, 255, 255, 0.06);
  --card-border: rgba(255, 255, 255, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;

  color: var(--text);

  background:
    linear-gradient(
      90deg,
      rgba(5, 8, 22, 0.92) 0%,
      rgba(5, 8, 22, 0.88) 45%,
      rgba(5, 8, 22, 0.8) 100%
    ),
    url('../assets/bg.jpg');

  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  overflow: hidden;
}

/* =========================
   Overlay
   ========================= */

.overlay {
  position: fixed;
  inset: 0;

  background: radial-gradient(circle at top right, rgba(197, 31, 45, 0.15), transparent 40%);

  pointer-events: none;
}

/* =========================
   Layout
   ========================= */

.page {
  position: relative;
  z-index: 2;

  height: 100vh;

  max-width: 1400px;
  margin: 0 auto;

  display: flex;
  flex-direction: column;

  padding: 28px 48px;
}

/* =========================
   Header
   ========================= */

header {
  flex-shrink: 0;
  margin-bottom: 20px;
}

.logo {
  width: 210px;
  height: auto;

  display: block;

  filter: brightness(0) invert(1);
}

/* =========================
   Main
   ========================= */

main {
  flex: 1;

  display: flex;
  align-items: center;
}

.left {
  max-width: 850px;
}

/* =========================
   Typography
   ========================= */

h1 {
  font-size: clamp(48px, 5vw, 78px);
  font-weight: 700;

  line-height: 1.05;

  margin-bottom: 20px;
}

.lead {
  font-size: 20px;
  font-weight: 600;

  margin-bottom: 18px;
}

.description {
  max-width: 760px;

  font-size: 16px;
  line-height: 1.7;

  color: var(--text-secondary);

  margin-bottom: 28px;
}

/* =========================
   Services
   ========================= */

.services {
  display: grid;

  grid-template-columns: repeat(2, minmax(220px, 320px));

  gap: 14px;
}

.service {
  display: flex;
  align-items: center;

  min-height: 72px;

  padding: 16px 22px;

  background: var(--card-bg);

  border: 1px solid var(--card-border);

  border-radius: 16px;

  backdrop-filter: blur(12px);

  font-size: 15px;
  font-weight: 600;

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.service:hover {
  transform: translateY(-2px);

  border-color: rgba(197, 31, 45, 0.45);

  background: rgba(255, 255, 255, 0.08);
}

/* =========================
   Footer
   ========================= */

footer {
  flex-shrink: 0;

  margin-top: auto;

  padding-top: 22px;

  border-top: 1px solid rgba(255, 255, 255, 0.08);

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 24px;
}

/* =========================
   Email
   ========================= */

.email {
  color: white;

  text-decoration: none;

  font-weight: 600;

  font-size: 15px;

  transition: 0.2s;
}

.email:hover {
  color: var(--accent-light);
}

/* =========================
   Social
   ========================= */

.social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social a {
  width: 40px;
  height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  border: 1px solid rgba(255, 255, 255, 0.15);

  background: rgba(255, 255, 255, 0.03);

  color: white;

  transition: all 0.25s ease;
}

.social a:hover {
  transform: translateY(-2px);

  border-color: var(--accent);

  background: rgba(197, 31, 45, 0.15);
}

.social svg {
  width: 18px;
  height: 18px;

  fill: currentColor;
}

/* =========================
   Copyright
   ========================= */

.copyright {
  color: rgba(255, 255, 255, 0.5);

  font-size: 14px;
}

/* =========================
   Laptop 1366x768
   ========================= */

@media (max-height: 850px) {
  .page {
    padding: 20px 40px;
  }

  .logo {
    width: 180px;
  }

  h1 {
    font-size: 60px;
    margin-bottom: 14px;
  }

  .lead {
    margin-bottom: 10px;
  }

  .description {
    margin-bottom: 20px;
  }

  .service {
    min-height: 64px;
    padding: 14px 18px;
  }
}

/* =========================
   Mobile
   ========================= */

@media (max-width: 768px) {
  body {
    overflow-y: auto;
  }

  .page {
    height: auto;
    min-height: 100vh;

    padding: 24px;
  }

  .logo {
    width: 170px;
  }

  h1 {
    font-size: 42px;
  }

  .lead {
    font-size: 18px;
  }

  .description {
    font-size: 15px;
  }

  .services {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
