:root {
  --primary: #e30613;
  /* czerwień jak na wizytówce */
  --primary-dark: #b0000e;
  --bg: #111111;
  /* ciemne, asfaltowe tło */
  --text: #ffffff;
  --muted: #dddddd;
  --white: #ffffff;
  --border: #444444;
  --max-width: 1100px;
  --accent-yellow: #ffd800;
  /* żółty z wizytówki */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: radial-gradient(circle at top, #333333 0%, #111111 45%, #000000 100%);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* LOADING */
.loading {
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--muted);
}

/* NAVBAR */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(90deg, #000000 0%, #1a1a1a 50%, #000000 100%);
  border-bottom: 2px solid #ff0000;
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1rem;
}

.logo {
  font-weight: 800;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #ffffff;
}

.logo span {
  color: var(--accent-yellow);
  font-weight: 800;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-size: 0.95rem;
}

.nav-links a {
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: #f5f5f5;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-yellow), var(--primary));
  transition: width 0.2s ease-out;
}

.nav-links a.active::after,
.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-yellow), #ff9900);
  color: #000000;
  font-weight: 800;
  text-transform: uppercase;
  border: 1px solid #000000;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
}

.nav-cta:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

/* SECTIONS */
.page-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.2rem 1rem 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* HERO */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff0000, #aa0000);
  color: #ffffff;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background-color: var(--accent-yellow);
}

.hero h1 {
  font-size: clamp(2.1rem, 3.3vw, 2.7rem);
  margin-bottom: 0.7rem;
  text-transform: uppercase;
}

.hero h1 span {
  color: var(--accent-yellow);
}

.hero p {
  color: var(--muted);
  margin-bottom: 0.9rem;
  font-size: 1rem;
}

.hero-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1.1rem;
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}

.hero-list li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #ffffff;
}

.hero-bullet {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0c7a0c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #ffffff;
  border: 1px solid #ffffff;
}

.hero-list li.highlight {
  background: linear-gradient(90deg, var(--accent-yellow) 0%, #ffb800 100%);
  color: #000000;
  border-radius: 4px;
  padding: 0.2rem 0.4rem;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
}

.btn-primary {
  background: linear-gradient(90deg, var(--accent-yellow), #ff9900);
  color: #000000;
  padding: 0.75rem 1.8rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.8);
  transition: var(--transition);
}

.btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn-text {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--accent-yellow);
  font-size: 0.9rem;
  text-decoration: underline;
}

.hero-note {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.hero-card {
  background: linear-gradient(145deg, #2a2a2a 0%, #121212 45%, #2a0000 100%);
  border-radius: 1rem;
  padding: 1.2rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.9);
  border: 1px solid #555555;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
  font-size: 0.8rem;
  color: #ffffff;
}

.hero-tag {
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background-color: #ffd800;
  color: #000000;
  font-size: 0.75rem;
  font-weight: 700;
}

.hero-car {
  height: 150px;
  border-radius: 0.8rem;
  background: radial-gradient(circle at 10% 20%, #555555 0%, #111111 55%, #000000 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.7rem 0;
  border: 1px solid #444444;
}

.hero-card-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #f5f5f5;
}

/* ABOUT */
.section-title {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.section-subtitle {
  color: var(--accent-yellow);
  font-size: 0.9rem;
  margin-bottom: 1.3rem;
  font-weight: 600;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.about-text p {
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.about-highlights {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.4rem;
}

.about-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 0.5rem;
  align-items: start;
}

.about-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff0000, #aa0000);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #ffffff;
}

.about-item h3 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
  color: var(--accent-yellow);
}

.about-item p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.about-item.highlight {
  background: linear-gradient(90deg, var(--accent-yellow), #ffb800);
  padding: 0.4rem 0.5rem;
  border-radius: 4px;
  color: #000000;
}

.about-item.highlight h3 {
  color: #000000;
}

.about-aside {
  background: linear-gradient(145deg, #2a2a2a 0%, #121212 100%);
  border-radius: 0.9rem;
  padding: 1.2rem;
  border: 1px solid #555555;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.8);
  font-size: 0.86rem;
  color: var(--muted);
}

.about-aside strong {
  color: var(--accent-yellow);
}

/* CONTACT */
.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1.5rem;
  align-items: start;
}

form {
  background: linear-gradient(145deg, #2a2a2a 0%, #141414 100%);
  border-radius: 0.9rem;
  padding: 1.5rem;
  border: 1px solid #555555;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.9);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.form-group {
  margin-bottom: 0.7rem;
  font-size: 0.85rem;
}

label {
  display: block;
  margin-bottom: 0.2rem;
  font-weight: 600;
  color: #ffffff;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.45rem 0.55rem;
  border-radius: 0.4rem;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 0.86rem;
  outline: none;
  background-color: #111111;
  color: #ffffff;
  transition: var(--transition);
}

input::placeholder,
textarea::placeholder {
  color: #777777;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent-yellow);
  box-shadow: 0 0 0 3px rgba(255, 216, 0, 0.25);
}

textarea {
  resize: vertical;
  min-height: 70px;
}

.form-hint {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.1rem;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--muted);
  margin: 1rem 0;
}

.checkbox-group input {
  width: auto;
  margin-top: 0.1rem;
}

.response-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 1rem;
}

.form-aside-card {
  background: linear-gradient(145deg, #2a2a2a 0%, #141414 100%);
  border-radius: 0.9rem;
  padding: 1.5rem;
  border: 1px solid #555555;
  display: grid;
  gap: 1rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.9);
}

.form-aside-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 0.5rem;
}

.form-aside-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-yellow), #ff9900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #000000;
}

.form-aside-item h3 {
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
  color: var(--accent-yellow);
}

.form-aside-item p {
  font-size: 0.82rem;
  color: var(--muted);
}

/* FOOTER */
footer {
  border-top: 2px solid #ff0000;
  margin-top: 2rem;
  background-color: #000000;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.7rem 1rem 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* RESPONSYWNOŚĆ */
@media (max-width: 900px) {

  .hero,
  .about-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .nav {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-end;
    gap: 1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-list {
    grid-template-columns: 1fr;
  }
}