:root {
  --bg: #0b0e12;
  --text: #fff;
  --muted: #a9b7c6;
  --primary: #00b2ff;
  --card: #0f141c;
  --border: #18202b;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica Neue,
    Arial,
    Noto Sans;
  color: var(--text);
  background:
    radial-gradient(
      circle at 110% -10%,
      rgba(0, 178, 255, 0.08),
      transparent 40%
    ),
    var(--bg);
  line-height: 1.6;
}

section {
  padding: 60px 0;
}

a {
  color: var(--text);
  text-decoration: none;
}

.container {
  max-width: 1200px;
  padding: 0 24px;
  margin: 0 auto;
}

/* Components */
.btn {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 12px;
  background: var(--primary);
  color: #001018;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition:
    transform 0.15s ease,
    filter 0.2s ease;
  cursor: pointer;
  border: none;
}
.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}
.btn.ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.tag {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--muted);
}
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 700;
}
.small {
  font-size: 0.92rem;
  color: var(--muted);
}
ul.clean {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
ul.clean li {
  margin: 6px 0;
}
hr.sep {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 28px 0;
}

/* Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(11, 14, 18, 0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.3px;
}
.logo img {
  height: 64px;
  width: auto;
}
.logo span {
  opacity: 0;
}
nav a {
  margin-left: 18px;
  opacity: 0.9;
}
nav a:hover {
  opacity: 1;
}
.socials {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: 24px;
}
.socials a {
  margin-left: 0;
}
.socials a svg {
  width: 24px;
  height: 24px;
  color: var(--text);
  opacity: 0.85;
  transition: all 0.2s ease;
}
.socials a:hover svg {
  opacity: 1;
  transform: translateY(-2px);
  color: var(--primary);
}

/* Common Grid & Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.card {
  grid-column: span 6;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow);
  transition: all 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
  border-color: #223046;
}
.card h3 {
  margin: 10px 0 8px;
  font-size: 1.25rem;
}
.card p {
  color: var(--muted);
}
.card .more {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--primary);
}
.card .more svg {
  width: 18px;
  height: 18px;
}

/* Base Form Styles */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.full-width {
  grid-column: span 2;
}
label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
input,
select,
textarea {
  width: 100%;
  padding: 12px 16px;
  background: #141a23;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 178, 255, 0.1);
}

/* Reviews */
.reviews-container {
  margin-top: 48px;
  border-top: 1px solid var(--border);
  padding-top: 48px;
}
.reviews-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.rating-summary {
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.star-icon {
  color: #ffb400;
  width: 20px;
  height: 20px;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.review-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.author-img {
  width: 40px;
  height: 40px;
  background: var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
}
.review-text {
  font-size: 0.95rem;
  color: var(--muted);
  font-style: italic;
  line-height: 1.5;
}

/* Footer Shared */
footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  padding: 28px 0 60px;
}

footer .cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

/* Burger */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0 20px 0 0;
  z-index: 100;
}

.menu-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--text);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-menu a {
  margin-left: 24px;
  font-weight: 500;
  transition: color 0.2s;
}

.small-nav {
  color: #a9b7c6;
  font-size: 0.9rem;
  margin: 20px auto 0;
}

@media (max-width: 860px) {
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: rgba(15, 20, 28, 0.98);
    backdrop-filter: blur(15px);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1);
    border-left: 1px solid var(--border);
    padding: 40px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu a {
    margin: 0;
    font-size: 1.5rem;
    width: 100%;
    text-align: center;
  }

  .socials {
    margin-left: 0 !important;
    margin-top: 20px;
    gap: 30px !important;
  }

  h3 {
    font-size: 1.15rem !important;
    line-height: 1.3 !important;
  }

  .faq-item h3 {
    font-size: 1.1rem;
    gap: 10px;
    margin-bottom: 8px;
  }

  .pricing-table-header h3 {
    font-size: 1.1rem;
  }
  .small-nav a {
    margin: 0;
  }

  .small-nav {
    margin-bottom: 10px;
  }

  h1 {
    font-size: 1.5rem !important;
    line-height: 1.2;
  }

  h2 {
    font-size: 1.3rem !important;
    line-height: 1.1;
  }

  .lead {
    font-size: 1rem;
  }
  .wycena_form {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .form-group,
  .full-width,
  .btn_form {
    grid-column: span 1 !important;
  }

  .btn_form {
    width: 100%;
    justify-self: stretch;
  }
  .form-section {
    margin-top: 20px;
    padding: 15px 0;
  }

  .grid {
    grid-template-columns: 1fr !important;
  }
  section {
    padding: 10px 0 30px 0;
  }
  .hide-mobile {
    display: none;
  }
}

@media (min-width: 861px) {
  .hide-desktop {
    display: none;
  }
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 900px;
  margin-bottom: 40px;
}

/* Image Gallery */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.image-gallery img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero {
  position: relative;
  padding: 40px 0 40px;
  background:
    linear-gradient(to bottom, rgba(11, 14, 18, 0.7), var(--bg)),
    linear-gradient(to right, rgba(11, 14, 18, 0.9), rgba(11, 14, 18, 0.2)),
    url("./image/przygotowanie_do_sprzedazy_4.jpeg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.wycena_form {
  backdrop-filter: blur(10px);
  background: rgba(15, 20, 28, 0.85) !important;
}

.hero h1 {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.1;
  margin: 0.2em 0;
}

.hero p {
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--muted);
}
.hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 860px) {
  .hero {
    background:
      linear-gradient(to bottom, rgba(11, 14, 18, 0.8), var(--bg)),
      url("./image/przygotowanie_do_sprzedazy_4.jpeg");
    background-size: cover;
    text-align: center;
  }

  .hero .actions {
    justify-content: center;
  }
}

.pdr_mini_card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mini-form-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0;
  color: var(--text);
}

.mini-form-subtitle {
  color: var(--muted);
  margin-bottom: 8px;
  font-size: 0.95rem !important;
}

.mini-form-phone {
  margin-bottom: 24px;
}

.gold-phone-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  color: var(--primary);
}

.gold-phone-link span {
  font-size: 2rem;
  font-weight: 700;
}

.wycena_form_mini {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wycena_form_mini input {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  padding: 16px;
  border-radius: 12px;
  color: #fff;
  font-size: 1rem;
}

.btn_gold_submit {
  padding: 16px !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
  cursor: pointer;
  border: none;
  transition: filter 0.2s;
}

.btn_gold_submit:hover {
  filter: brightness(1.1);
}

.mini-form-footer {
  font-size: 0.75rem !important;
  color: rgba(255, 255, 255, 0.3);
  margin: 0;
}

@media (max-width: 600px) {
  .gold-phone-link span {
    font-size: 1.6rem;
  }
  .mini-form-title {
    font-size: 1.3rem;
  }
  .pdr_mini_card {
    padding: 24px 20px;
  }
}
