/* ---- Variables ---- */
:root{
  --teal:#099488;
  --teal-700:#07756C;
  --green:#11a56b;
  --purple:#8a3ffc;
  --white:#ffffff;
  --text:#0f172a;
  --muted:#475569;
  --bg:#f6f9fb;
  --card:#ffffff;
  --shadow:0 10px 30px rgba(2,24,15,0.08);
}
*{box-sizing:border-box}
body{
  margin:0;
  font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,Arial,Helvetica,sans-serif;
  color:var(--text);
  background:var(--bg);
}
.container{max-width:1200px;margin:0 auto;padding:48px 24px;}
.muted{color:var(--muted)}
.center{text-align:center}

/* ---- Hero ---- */
.rev-hero{background:var(--teal);color:#e6fffa;}
.hero-inner{display:flex;flex-direction:column;align-items:center;text-align:center;gap:16px;padding:72px 24px;}
.rating-row{display:flex;align-items:center;gap:12px;font-weight:700;font-size:20px;}
.stars{display:inline-flex;gap:6px}
.star{width:22px;height:22px;fill:#ffe18b;opacity:0.95}
.hero-title{font-size:44px;line-height:1.1;margin:0;font-weight:800;color:#fff;}
.hero-sub{max-width:900px;margin:0;color:#e7fffb}

/* ---- Trust heading ---- */
.trust h2{font-size:32px;margin:0 0 12px;font-weight:800}
.trust p{max-width:900px}

/* ---- Reviews grid ---- */
.reviews-wrap{padding-top:0}
.review-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.review-card{
  background:var(--card);
  border-radius:16px;
  padding:24px;
  box-shadow:var(--shadow);
}
.review-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.stars-row{display:flex;gap:4px}
.date{font-size:14px;color:var(--muted)}
.quote{font-size:18px;line-height:1.6;margin:8px 0 20px;color:#24323f}
.byline .name{font-weight:700}
.byline .role{color:var(--teal-700);font-size:14px;margin-top:4px}

/* ---- Metrics ---- */
.metrics{padding-top:8px}
.metrics-row{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.metric{background:#fff;border-radius:16px;padding:28px;text-align:center;box-shadow:var(--shadow)}
.icon-badge{width:64px;height:64px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#e9faf6;font-size:28px;margin-bottom:10px}
.metric-num{font-size:32px;font-weight:800}
.metric-label{font-size:14px}

/* ---- Why choose ---- */
.why h2{font-size:32px;margin:0 0 8px;text-align:center;font-weight:800}
.why-row{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:24px}
.why-item{background:#fff;border-radius:16px;padding:24px;box-shadow:var(--shadow)}
.why-icon{width:72px;height:72px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin-bottom:10px;background:#eef5ff;font-size:26px}
.why-icon.teal{background:#e6fffb}
.why-icon.green{background:#e6f8ef}
.why-icon.purple{background:#f3eaff}

/* ---- Submit form ---- */
.submit-review{background:var(--teal);}
.form-card{background:#fff;border-radius:20px;margin-top:-40px;box-shadow:var(--shadow)}
.review-form{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:8px}
.review-form .field{display:flex;flex-direction:column;gap:6px}
.review-form .field:nth-child(3){grid-column:1/-1}
label{font-weight:600}
input,select,textarea{border:1px solid #d7e0e5;border-radius:12px;padding:12px 14px;font:inherit}
textarea{resize:vertical}
.btn-primary{background:var(--teal);color:#fff;border:none;border-radius:12px;padding:12px 18px;font-weight:700;cursor:pointer;grid-column:1/-1}
.btn-primary:hover{background:var(--teal-700)}

/* ---- CTA ---- */
.cta{background:var(--soft);color:#e8fffc}
.cta-inner{display:flex;flex-direction:column;align-items:center;text-align:center;gap:16px}
.cta h2{font-size:34px;margin:0;font-weight:800;color:#fff}
.cta-actions{display:flex;gap:14px;margin-top:8px}
.btn-secondary{background:#fff;color:var(--teal);padding:12px 18px;border-radius:12px;text-decoration:none;font-weight:700}
.btn-outline{border:2px solid #fff;color:#fff;padding:10px 18px;border-radius:12px;text-decoration:none;font-weight:700}

/* ---- Responsive ---- */
@media (max-width: 1000px){
  .review-grid{grid-template-columns:1fr 1fr}
  .metrics-row, .why-row{grid-template-columns:1fr 1fr}
}
@media (max-width: 640px){
  .review-grid{grid-template-columns:1fr}
  .metrics-row, .why-row{grid-template-columns:1fr}
  .hero-title{font-size:34px}
  .review-form{grid-template-columns:1fr}
}
.star {
  width: 20px;
  height: 20px;
  margin-right: 2px;
}
.star.filled {
  fill: gold;
}
.star.empty {
  fill: #ccc;
}
.toggle-btn {
  background: none;
  border: none;
  color: var(--teal);
  cursor: pointer;
  font-weight: 600;
  margin-top: 6px;
}

.toggle-btn:hover {
  text-decoration: underline;
}
.rev-hero {
  padding-top: 80px;  /* pushes content down inside section */
  padding-bottom: 40px; /* optional, for spacing below */
  text-align: center; /* keeps text centered */
}
