/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; background: #f7f8fc; color: #1a1a2e; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* === NAVBAR === */
.navbar { background: #fff; border-bottom: 1px solid #e8eaf0; position: sticky; top: 0; z-index: 100; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-size: 1.3rem; font-weight: 700; color: #3b5bdb; }
.nav-links { list-style: none; display: flex; gap: 28px; }
.nav-links a { font-size: 0.95rem; font-weight: 500; color: #444; transition: color 0.2s; }
.nav-links a:hover { color: #3b5bdb; }

/* === HERO === */
.hero { background: linear-gradient(135deg, #3b5bdb 0%, #5c7cfa 60%, #74c0fc 100%); color: #fff; padding: 80px 0 60px; }
.hero-content { text-align: center; }
.hero h1 { font-size: 2.6rem; font-weight: 700; line-height: 1.2; margin-bottom: 16px; }
.highlight { background: rgba(255,255,255,0.25); border-radius: 6px; padding: 0 6px; }
.hero-sub { font-size: 1.1rem; opacity: 0.92; margin-bottom: 36px; }
.hero-search { display: flex; max-width: 560px; margin: 0 auto; gap: 10px; }
.hero-search input { flex: 1; padding: 14px 18px; border-radius: 10px; border: none; font-size: 1rem; outline: none; }
.hero-search button { padding: 14px 26px; background: #1c7ed6; color: #fff; border: none; border-radius: 10px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: background 0.2s; white-space: nowrap; }
.hero-search button:hover { background: #1864ab; }

/* === STATS BAR === */
.stats-bar { background: #fff; border-bottom: 1px solid #e8eaf0; padding: 22px 0; }
.stats-inner { display: flex; justify-content: center; gap: 60px; }
.stat { display: flex; flex-direction: column; align-items: center; }
.stat-num { font-size: 2rem; font-weight: 700; color: #3b5bdb; }
.stat-label { font-size: 0.85rem; color: #888; text-transform: uppercase; letter-spacing: 0.05em; }

/* === SECTIONS === */
.section { padding: 64px 0; }
.section-alt { background: #eef2ff; }
.section-title { font-size: 1.8rem; font-weight: 700; margin-bottom: 8px; }
.section-sub { color: #666; margin-bottom: 32px; }

/* === REVIEW GRID === */
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; margin-top: 28px; }
.review-card { background: #fff; border-radius: 14px; padding: 24px; box-shadow: 0 2px 12px rgba(0,0,0,0.07); border: 1px solid #e8eaf0; transition: transform 0.2s, box-shadow 0.2s; }
.review-card:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(59,91,219,0.12); }
.card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.card-company { font-size: 1.1rem; font-weight: 700; color: #1a1a2e; }
.card-stars { color: #f59f00; font-size: 1.2rem; letter-spacing: 2px; }
.card-meta { font-size: 0.82rem; color: #999; margin-bottom: 14px; }
.card-meta span { margin-right: 12px; }
.card-section-label { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: #888; margin-top: 10px; margin-bottom: 3px; }
.card-text { font-size: 0.92rem; color: #444; }
.badge-poleca { display: inline-block; margin-top: 14px; background: #d3f9d8; color: #2f9e44; padding: 3px 10px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }
.badge-nie { background: #ffe3e3; color: #c92a2a; }
.empty-state { grid-column: 1/-1; text-align: center; color: #aaa; padding: 60px 0; font-size: 1.1rem; }

/* === FORM === */
.review-form { background: #fff; border-radius: 16px; padding: 36px; box-shadow: 0 2px 16px rgba(0,0,0,0.07); border: 1px solid #e8eaf0; max-width: 780px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { margin-bottom: 20px; }
.form-group label { font-size: 0.88rem; font-weight: 600; color: #333; }
.form-group input, .form-group textarea, .form-group select { border: 1.5px solid #dee2e6; border-radius: 8px; padding: 10px 14px; font-size: 0.95rem; font-family: inherit; outline: none; transition: border-color 0.2s; resize: vertical; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: #3b5bdb; }
.checkbox-group label { flex-direction: row; align-items: center; gap: 10px; cursor: pointer; font-weight: 500; }
.checkbox-group input[type=checkbox] { width: 18px; height: 18px; accent-color: #3b5bdb; cursor: pointer; }
.star-rating { display: flex; gap: 6px; font-size: 1.8rem; cursor: pointer; }
.star { color: #dee2e6; transition: color 0.15s; user-select: none; }
.star.active, .star:hover { color: #f59f00; }
.btn-primary { margin-top: 10px; padding: 14px 36px; background: #3b5bdb; color: #fff; border: none; border-radius: 10px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: background 0.2s; }
.btn-primary:hover { background: #2f4ac2; }
.form-msg { margin-top: 16px; font-size: 0.95rem; font-weight: 500; }
.form-msg.success { color: #2f9e44; }
.form-msg.error { color: #c92a2a; }

/* === FAQ === */
.faq-list { max-width: 720px; display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.faq-item { background: #fff; border-radius: 10px; border: 1px solid #e8eaf0; overflow: hidden; }
.faq-q { width: 100%; background: none; border: none; padding: 18px 22px; font-size: 1rem; font-weight: 600; text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: #1a1a2e; }
.faq-q span { font-size: 1.3rem; color: #3b5bdb; transition: transform 0.2s; }
.faq-a { display: none; padding: 0 22px 18px; font-size: 0.93rem; color: #555; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q span { transform: rotate(45deg); }

/* === FOOTER === */
.footer { background: #1a1a2e; color: #aaa; padding: 28px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: #aaa; font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }

/* === RESPONSIVE === */
@media (max-width: 680px) {
  .hero h1 { font-size: 1.8rem; }
  .hero-search { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .stats-inner { gap: 30px; }
  .footer-inner { flex-direction: column; text-align: center; }
}

.alert-success { background: #d3f9d8; color: #2f9e44; text-align: center; padding: 14px; font-weight: 600; font-size: 1rem; }
.clear-search { display: inline-block; margin-bottom: 16px; color: #3b5bdb; font-size: 0.9rem; }
.form-msg.error { color: #c92a2a; margin-top: 8px; }
