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

:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-light: #eff6ff;
  --dark: #0f172a;
  --gray: #64748b;
  --light: #f8fafc;
  --border: #e2e8f0;
  --green: #22c55e;
  --yellow: #eab308;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: #fff;
  line-height: 1.6;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- NAV --- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
#navbar.scrolled { box-shadow: var(--shadow); }

.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1rem 20px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.logo span { color: var(--blue); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin-left: auto;
}
.nav-links a {
  text-decoration: none;
  color: var(--gray);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--blue); }

.nav-cta { margin-left: 1rem; }

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  margin-left: auto;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1rem 20px;
  gap: 1rem;
  border-top: 1px solid var(--border);
}
.mobile-menu a {
  text-decoration: none;
  color: var(--gray);
  font-weight: 500;
}
.mobile-menu.open { display: flex; }

/* --- BUTTONS --- */
.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  padding: 0.65rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }

.btn-ghost {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  color: #fff;
  padding: 0.65rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.3);
  transition: background 0.2s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.22); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--blue);
  padding: 0.65rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid var(--blue);
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--blue); color: #fff; }

.btn-lg { padding: 0.85rem 1.8rem; font-size: 1rem; }
.btn-full { width: 100%; text-align: center; }

.btn-urgent {
  display: inline-block;
  background: #fff;
  color: #dc2626;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: opacity 0.2s;
}
.btn-urgent:hover { opacity: 0.9; }

/* --- HERO --- */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 60%, #1d4ed8 100%);
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(37,99,235,0.3) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(37,99,235,0.3);
  color: #93c5fd;
  border: 1px solid rgba(147,197,253,0.3);
  padding: 0.35rem 1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 1.2rem;
}
.hero h1 span { color: #60a5fa; }

.hero-sub {
  font-size: 1.15rem;
  color: #94a3b8;
  max-width: 560px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.stat { display: flex; flex-direction: column; }
.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.stat-label { font-size: 0.85rem; color: #64748b; margin-top: 0.25rem; }

/* --- URGENT BAR --- */
.urgent-bar {
  background: #dc2626;
  padding: 0.9rem 0;
}
.urgent-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.urgent-bar span {
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
}

/* --- SECTION --- */
.section {
  padding: 90px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.5rem;
}
.section-header p {
  color: var(--gray);
  font-size: 1.05rem;
}

/* --- SERVICES --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.service-card.featured {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.service-card.featured p { color: #bfdbfe; }
.service-card.featured .service-list { color: #e0f2fe; }

.service-icon { font-size: 2.5rem; }

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--gray);
  flex: 1;
}
.service-list li::before { content: "✓ "; color: var(--green); font-weight: 700; }
.service-card.featured .service-list li::before { color: #a7f3d0; }

/* --- WHY --- */
.why-section { background: var(--light); }

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-inner h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 2rem;
}

.why-items { display: flex; flex-direction: column; gap: 1.5rem; }

.why-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.why-icon {
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.why-item h4 { font-weight: 700; margin-bottom: 0.2rem; }
.why-item p { color: var(--gray); font-size: 0.9rem; }

.why-image { display: flex; justify-content: center; }

.image-card {
  background: var(--dark);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  width: 320px;
}

.mockup-screen {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.mockup-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #e2e8f0;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.6rem 0.8rem;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot.green { background: #22c55e; box-shadow: 0 0 6px #22c55e; }
.dot.blue { background: #60a5fa; box-shadow: 0 0 6px #60a5fa; }
.dot.yellow { background: #fbbf24; box-shadow: 0 0 6px #fbbf24; }

.mockup-label {
  text-align: center;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 500;
}

/* --- PORTFOLIO --- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.portfolio-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.portfolio-card:hover { box-shadow: var(--shadow-lg); }

.portfolio-img {
  height: 180px;
  background-size: cover;
  background-position: center;
}
.p1 { background: linear-gradient(135deg, #1e3a5f, #2563eb); }
.p2 { background: linear-gradient(135deg, #0f2027, #203a43, #2c5364); }
.p3 { background: linear-gradient(135deg, #134e4a, #0d9488); }

.portfolio-info { padding: 1.5rem; }

.portfolio-tag {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.portfolio-info h4 { font-weight: 700; margin-bottom: 0.5rem; }
.portfolio-info p { color: var(--gray); font-size: 0.9rem; margin-bottom: 0.75rem; }

.portfolio-value {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green);
}

/* --- CENNIK --- */
.cennik-section { background: var(--light); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.pricing-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px var(--blue);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-card h3 { font-size: 1.15rem; font-weight: 700; }

.price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}
.price span { font-size: 1rem; font-weight: 400; color: var(--gray); }
.price-note { font-size: 0.8rem; color: var(--gray); }

.pricing-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
  flex: 1;
}

.pricing-note {
  text-align: center;
  color: var(--gray);
  font-size: 0.9rem;
  padding: 1rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* --- REVIEWS --- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.review-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.stars { color: #fbbf24; font-size: 1.1rem; margin-bottom: 0.75rem; }
.review-card p { color: var(--gray); font-size: 0.95rem; margin-bottom: 1rem; font-style: italic; }
.reviewer { font-size: 0.85rem; font-weight: 600; }

/* --- REZERWACJA --- */
.rezerwacja-section { background: var(--dark); }
.rezerwacja-section .section-header h2 { color: #fff; }
.rezerwacja-section .section-header p { color: #94a3b8; }

.form-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.booking-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group label {
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
}
.form-group select option { background: #1e293b; color: #fff; }
.form-group textarea { resize: vertical; min-height: 100px; }

.form-note {
  text-align: center;
  color: #475569;
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

.form-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  color: #fff;
}
.form-success.visible { display: block; }
.success-icon { font-size: 3rem; margin-bottom: 1rem; }
.form-success h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.form-success p { color: #94a3b8; margin-bottom: 0.5rem; }
.form-success a { color: #60a5fa; }

/* --- FOOTER --- */
.footer {
  background: #0a0f1e;
  padding: 4rem 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p {
  color: #475569;
  font-size: 0.9rem;
  margin: 0.75rem 0 1rem;
  max-width: 280px;
}

.social-links { display: flex; gap: 1rem; }
.social-links a {
  color: #475569;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.2s;
}
.social-links a:hover { color: #60a5fa; }

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-links h4 { color: #fff; font-weight: 700; margin-bottom: 0.5rem; }
.footer-links a {
  color: #475569;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: #94a3b8; }

.footer-bottom {
  padding: 1.5rem 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom span { color: #334155; font-size: 0.8rem; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: block; }

  .hero { padding: 100px 0 60px; }
  .hero-stats { gap: 1.5rem; }

  .form-row { grid-template-columns: 1fr; }

  .why-inner { grid-template-columns: 1fr; }
  .why-image { display: none; }

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }

  .hero-actions { flex-direction: column; }
  .btn-lg { text-align: center; }
}

@media (max-width: 480px) {
  .section { padding: 60px 0; }
  .booking-form { padding: 1.5rem; }
  .hero-stats { flex-direction: column; gap: 1rem; }
}
