/* LaserWorx — laserworx.pl */

:root {
  --bg: #08121a;
  --bg-elev: #0e1d28;
  --bg-card: #11222e;
  --line: #1e3442;
  --text: #e8f1f5;
  --muted: #9bb1bd;
  --mint: #5fe6c0;
  --mint-dim: #3fbfa0;
  --lavender: #c6b6f7;
  --peach: #f5b98a;
  --radius: 14px;
  --maxw: 1080px;
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 12% -5%, rgba(95, 230, 192, 0.10), transparent 60%),
    radial-gradient(700px 500px at 95% 8%, rgba(198, 182, 247, 0.08), transparent 60%);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--mint);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 50;
  background: var(--mint);
  color: #06121a;
  padding: 10px 16px;
  border-radius: 8px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8, 18, 26, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 1.15rem;
}

.brand:hover {
  text-decoration: none;
}

.brand .mark {
  width: 34px;
  height: 34px;
  flex: none;
}

.brand b {
  font-weight: 700;
}

.brand .accent {
  color: var(--mint);
}

.nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
}

.nav a[aria-current="page"] {
  color: var(--mint);
  background: rgba(95, 230, 192, 0.10);
}

/* ---------- Sections ---------- */

main {
  display: block;
}

section {
  padding: 72px 0;
  border-bottom: 1px solid rgba(30, 52, 66, 0.6);
}

section:last-of-type {
  border-bottom: 0;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mint);
  margin: 0 0 14px;
  font-weight: 600;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

p {
  margin: 0 0 18px;
  color: #cfdde5;
}

.lead {
  font-size: clamp(1.05rem, 2.2vw, 1.22rem);
  color: var(--muted);
  max-width: 62ch;
}

.section-intro {
  max-width: 64ch;
  color: var(--muted);
}

/* ---------- Hero ---------- */

.hero {
  padding: clamp(64px, 11vw, 120px) 0 clamp(56px, 8vw, 96px);
}

.hero h1 span {
  color: var(--mint);
}

.hero .lead {
  margin-bottom: 32px;
}

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

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--mint);
  color: #06121a;
}

.btn-primary:hover {
  background: #7df0cf;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--mint);
  color: var(--mint);
}

.hero-meta {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-meta span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  flex: none;
}

/* ---------- Grid & cards ---------- */

.grid {
  display: grid;
  gap: 20px;
  margin-top: 36px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.card:hover {
  border-color: rgba(95, 230, 192, 0.45);
  transform: translateY(-2px);
}

.card h3 {
  color: var(--text);
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}

.card .icon {
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  color: var(--mint);
}

.tags {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags li {
  font-size: 0.8rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
}

/* ---------- Project ---------- */

.project {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
  margin-top: 36px;
}

.project .shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.project .shots img {
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.badge-mint {
  background: rgba(95, 230, 192, 0.12);
  color: var(--mint);
}

.badge-lav {
  background: rgba(198, 182, 247, 0.12);
  color: var(--lavender);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.feature-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.97rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid var(--mint);
}

.shot-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
  margin-top: 36px;
}

.shot-gallery figure {
  margin: 0;
}

.shot-gallery img {
  border-radius: 14px;
  border: 1px solid var(--line);
  width: 100%;
}

.shot-gallery figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.next-up {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-left: 3px solid var(--lavender);
  border-radius: var(--radius);
  padding: 28px 26px;
  margin-top: 36px;
}

.next-up p:last-child {
  margin-bottom: 0;
}

/* ---------- Contact ---------- */

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
}

.data-list {
  margin: 0;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 14px 28px;
  align-items: baseline;
}

.data-list dt {
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.data-list dd {
  margin: 0;
  font-size: 1.02rem;
  color: var(--text);
}

.data-list dd strong {
  font-weight: 600;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--mint);
}

/* ---------- Legal page ---------- */

.legal h2 {
  margin-top: 40px;
  font-size: 1.35rem;
}

.legal ul {
  color: var(--muted);
  padding-left: 22px;
}

.legal li {
  margin-bottom: 8px;
}

.page-head {
  padding: clamp(52px, 8vw, 84px) 0 24px;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .project {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .project .shots {
    max-width: 480px;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  section {
    padding: 56px 0;
  }

  .site-header .wrap {
    min-height: auto;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .nav a {
    padding: 8px 10px;
  }

  .data-list {
    grid-template-columns: 1fr;
    gap: 4px 0;
  }

  .data-list dd {
    margin-bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
