:root {
  --bg: #071527;
  --bg-soft: #0d2038;
  --panel: rgba(255, 255, 255, 0.07);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --text: #f4f7fb;
  --muted: #b7c4d6;
  --line: rgba(255, 255, 255, 0.14);
  --accent: #53d2ff;
  --accent-2: #88f0c2;
  --dark-text: #0b1829;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(83, 210, 255, 0.25), transparent 30%),
    radial-gradient(circle at 84% 18%, rgba(136, 240, 194, 0.18), transparent 28%),
    linear-gradient(135deg, #061120 0%, #071527 45%, #0e2947 100%);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 5;
}

.logo {
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.35rem;
}

.logo::after { content: " Kft."; color: var(--accent); font-weight: 600; }

nav { display: flex; gap: 24px; }
nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}
nav a:hover { color: var(--text); }

.hero, .section, .footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero {
  min-height: 74vh;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 54px;
  align-items: center;
  padding: 62px 0 92px;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 800;
  margin: 0 0 18px;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
  max-width: 780px;
  margin-bottom: 28px;
}

.lead {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.2rem;
}

.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid var(--line);
}

.btn.primary { background: var(--text); color: var(--dark-text); }
.btn.secondary { color: var(--text); background: rgba(255,255,255,0.06); }
.btn:hover { transform: translateY(-1px); }

.hero-card {
  min-height: 430px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--panel-strong), rgba(255,255,255,0.03));
  border-radius: 34px;
  padding: 36px;
  box-shadow: 0 30px 90px rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  opacity: 0.9;
  filter: blur(6px);
  margin: 0 auto 48px;
}

.card-number, .service-card span {
  color: var(--accent-2);
  font-weight: 800;
  letter-spacing: 0.1em;
}

.hero-card h2 { font-size: 2.1rem; letter-spacing: -0.04em; margin: 14px 0; }
.hero-card p { color: var(--muted); margin-bottom: 0; }

.section { padding: 96px 0; border-top: 1px solid var(--line); }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section h2 { font-size: clamp(2rem, 4vw, 4rem); line-height: 1; letter-spacing: -0.06em; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card, .project-panel, .about {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 28px;
  padding: 28px;
}
.service-card h3 { margin: 42px 0 12px; font-size: 1.25rem; }
.service-card p, .project-panel p, .about p { color: var(--muted); }

.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 42px; align-items: start; }
.project-panel h3 { font-size: 2rem; margin-bottom: 16px; }
ul { padding-left: 20px; margin-bottom: 0; color: var(--muted); }
li { margin: 8px 0; }

.about { max-width: 980px; margin-left: 0; }
.about h2 { margin-bottom: 22px; }

.footer {
  padding: 70px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  border-top: 1px solid var(--line);
}
.footer h2 { font-size: clamp(2rem, 4vw, 4rem); line-height: 1; letter-spacing: -0.06em; }
.footer p { color: var(--muted); }
.contact-card {
  justify-self: end;
  width: min(100%, 460px);
  display: grid;
  gap: 8px;
  padding: 28px;
  border-radius: 28px;
  background: var(--text);
  color: var(--dark-text);
}
.contact-card span { color: #41546e; }

@media (max-width: 900px) {
  .site-header { align-items: flex-start; gap: 18px; flex-direction: column; }
  nav { flex-wrap: wrap; gap: 14px; }
  .hero, .split, .footer { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 32px; }
  .contact-card { justify-self: stretch; }
}

@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  h1 { font-size: 3.2rem; }
  .hero-card { min-height: 320px; }
}
