
:root{
  --blue:#0b5aa8;
  --blue-deep:#0d3158;
  --blue-soft:#edf5ff;
  --red:#d83434;
  --red-deep:#b22222;
  --green:#15a36d;
  --gold:#e3b338;
  --bg:#f4f8fc;
  --surface:#ffffff;
  --surface-alt:#f8fbff;
  --line:#d9e4f0;
  --text:#10263d;
  --muted:#60748a;
  --shadow:0 20px 48px rgba(8,37,71,.08);
  --radius:26px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,Segoe UI,Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
}
.container{width:min(1220px,calc(100% - 32px));margin:0 auto}
.hero{
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.12) 0, rgba(255,255,255,.12) 180px, transparent 181px),
    linear-gradient(135deg,#0d3158 0%,#0c4d8f 46%,#0f67b8 100%);
  color:#fff;
  padding:78px 0 92px;
}
.hero-inner{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(300px,.85fr);
  gap:28px;
  align-items:center;
}
.eyebrow,.section-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.15);
  color:#fff;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  font-size:12px;
}
.section-kicker{
  background:#eaf3ff;
  color:var(--blue);
  border:1px solid #d6e7ff;
}
.hero h1{
  margin:18px 0 14px;
  font-size:clamp(2.4rem,5vw,4.3rem);
  line-height:1.05;
  letter-spacing:-.03em;
}
.hero-copy{
  max-width:760px;
  color:#e8f0f7;
  font-size:1.08rem;
  line-height:1.8;
  margin:0;
}
.hero-actions,.action-group,.footer-links{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
}
.hero-actions{margin-top:28px}
.hero-panel-card,
.stat-card,
.filter-panel,
.meta-note,
.review-card,
.carousel-card,
.empty-state,
.admin-card,
.hint-card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.hero-panel-card{
  padding:24px;
  color:var(--text);
}
.panel-label{
  color:var(--blue);
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase;
  font-size:12px;
  margin-bottom:10px;
}
.integrity-list{
  margin:0;
  padding-left:18px;
  color:#42586e;
  line-height:1.75;
}
.integrity-list strong{color:var(--blue-deep)}
.link-arrow{
  display:inline-block;
  margin-top:16px;
  font-weight:800;
  color:var(--blue);
  text-decoration:none;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  text-decoration:none;
  border:0;
  cursor:pointer;
  border-radius:16px;
  padding:13px 18px;
  font-weight:800;
  transition:transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.btn:hover{transform:translateY(-1px)}
.btn-primary{
  background:linear-gradient(135deg,var(--red),#ea4a4a);
  color:#fff;
}
.btn-primary:hover{background:linear-gradient(135deg,var(--red-deep),#d93d3d)}
.btn-secondary{
  background:rgba(255,255,255,.14);
  color:#fff;
  border:1px solid rgba(255,255,255,.2);
}
.btn-outline{
  background:#fff;
  color:var(--blue);
  border:1px solid var(--line);
}
.btn-small{padding:11px 14px}
.stats-wrap{margin-top:-44px;padding-bottom:14px}
.stats-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}
.stat-card{padding:24px 22px}
.stat-label{
  color:#64809b;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:800;
}
.stat-value{
  font-size:2.3rem;
  font-weight:900;
  margin-top:6px;
  color:var(--blue-deep);
}
.carousel-section,.controls,.reviews-section{padding:28px 0 56px}
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
  margin-bottom:22px;
}
.section-head.split{align-items:center}
.section-head h2{
  margin:8px 0 8px;
  font-size:clamp(1.9rem,3vw,2.6rem);
  color:var(--blue-deep);
}
.section-head p{
  margin:0;
  color:var(--muted);
  line-height:1.75;
}
.review-carousel{
  position:relative;
  overflow:hidden;
}
.review-carousel-track{position:relative;min-height:390px}
.carousel-card{
  display:none;
  padding:30px;
  background:
    linear-gradient(180deg,#fff 0%,#fbfdff 100%);
}
.carousel-card.is-active{display:block}
.review-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:18px;
}
.review-card{
  padding:24px;
  display:flex;
  flex-direction:column;
  min-height:330px;
  background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);
}
.card-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
}
.badge{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:8px 12px;
  font-size:12px;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.badge-hp{background:#eaf3ff;color:var(--blue)}
.badge-tp{background:#e9fbf3;color:#108556}
.badge-gg{background:#fff3e2;color:#9b5b00}
.mini-label{
  color:var(--muted);
  font-size:12px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.stars{
  color:var(--gold);
  font-size:18px;
  letter-spacing:2px;
  margin:18px 0 10px;
}
.review-card h3,.carousel-card h3{
  margin:0 0 10px;
  font-size:1.55rem;
  line-height:1.35;
  color:var(--blue-deep);
}
.review-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  color:var(--muted);
  font-size:14px;
  margin-bottom:14px;
}
.review-body{
  flex:1;
  color:#23384e;
  line-height:1.85;
  font-size:15px;
}
.card-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  border-top:1px solid #edf2f7;
  margin-top:20px;
  padding-top:18px;
}
.kind-pill{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  background:#f4f8fd;
  color:#4f6c88;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.carousel-controls{display:flex;gap:10px}
.carousel-btn{
  width:48px;
  height:48px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--blue-deep);
  font-size:24px;
  font-weight:900;
  cursor:pointer;
}
.carousel-dots{
  display:flex;
  justify-content:center;
  gap:10px;
  margin-top:16px;
}
.carousel-dot{
  width:11px;
  height:11px;
  border-radius:999px;
  border:0;
  background:#c8d6e5;
  cursor:pointer;
}
.carousel-dot.is-active{background:var(--red)}
.filter-panel{
  padding:18px;
  display:grid;
  grid-template-columns:220px 1fr auto;
  gap:14px;
}
.filter-group{display:flex;flex-direction:column;gap:8px}
.filter-group.grow{min-width:0}
.filter-group label{
  font-size:13px;
  color:var(--blue-deep);
  font-weight:800;
}
input[type="text"],input[type="password"],textarea,select{
  width:100%;
  border:1px solid #cfdceb;
  border-radius:16px;
  padding:14px 16px;
  font:inherit;
  color:var(--text);
  background:#fff;
}
textarea{min-height:180px}
.filter-group.action{justify-content:flex-end}
.meta-note{
  margin-top:16px;
  padding:18px;
  color:#4f647a;
  line-height:1.75;
}
.ghost-link{
  text-decoration:none;
  font-weight:800;
  color:var(--blue);
}
.site-footer{
  background:#0d2237;
  color:#dbe6f0;
  padding:26px 0;
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
}
.footer-links a{
  color:#fff;
  text-decoration:none;
  font-weight:700;
}
.empty-state{padding:28px}
.empty-state h3{margin:0 0 8px;color:var(--blue-deep)}
.source-google .badge-gg{box-shadow:0 0 0 3px rgba(255,243,226,.8)}
.source-trustpilot .badge-tp{box-shadow:0 0 0 3px rgba(233,251,243,.8)}
.source-hellopeter .badge-hp{box-shadow:0 0 0 3px rgba(234,243,255,.8)}

.admin-body{background:#eef4fb}
.admin-shell{min-height:100vh;display:grid;place-items:center;padding:28px 16px}
.admin-card{padding:28px;width:min(1120px,100%)}
.admin-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:18px}
.notice{border-radius:18px;padding:14px 16px;margin-bottom:16px;font-weight:700}
.notice.success{background:#edf9f2;color:#0b7b43;border:1px solid #bee7cf}
.notice.error{background:#fff1f1;color:#a52828;border:1px solid #f1c3c3}
.login-form{max-width:760px;display:grid;gap:12px}
.json-editor{min-height:520px;font-family:Consolas,Monaco,monospace;line-height:1.5;resize:vertical}
.hint-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin-top:20px}
.hint-card{padding:18px}
.hint-card h3{margin:0 0 8px;color:var(--blue-deep)}
.hint-card p{margin:0;color:#516477;line-height:1.7}

@media (max-width: 980px){
  .hero-inner{grid-template-columns:1fr}
  .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 860px){
  .filter-panel{grid-template-columns:1fr}
  .filter-group.action .btn{width:100%}
  .review-carousel-track{min-height:460px}
}
@media (max-width: 640px){
  .hero{padding:52px 0 80px}
  .stats-grid{grid-template-columns:1fr}
  .stat-value{font-size:2rem}
  .section-head h2{font-size:2rem}
  .review-card,.carousel-card{padding:22px}
  .card-actions,.hero-actions,.carousel-controls,.action-group,.footer-links{flex-direction:column;align-items:stretch}
  .carousel-btn,.btn{width:100%}
}
