:root {
  --bg: #eef5fb;
  --card: #ffffff;
  --text: #16324a;
  --muted: #607589;
  --line: #d9e6f2;
  --primary: #0b3f7a;
  --primary-2: #16589f;
  --light: #ecf4ff;
  --gold: #f4b400;
  --success-bg: #eef9f2;
  --success-text: #1a6a3a;
  --info-bg: #eef5ff;
  --info-text: #1e4d8a;
  --shadow: 0 16px 40px rgba(11, 63, 122, 0.08);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f6fbff 0%, var(--bg) 100%);
}

.page-shell {
  width: min(1100px, 92%);
  margin: 0 auto;
  padding: 28px 0 56px;
}

.hero {
  margin-bottom: 24px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.brand-row,
.slider-card,
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.brand-row {
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  width: 110px;
  height: 110px;
  object-fit: contain;
  flex-shrink: 0;
}

.eyebrow {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--primary-2);
  font-weight: 700;
}

h1 {
  margin: 0 0 12px;
  font-size: 2.4rem;
  line-height: 1.08;
  color: var(--primary);
}

.hero-text {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 620px;
}

.slider-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.slider-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.mini-label,
.slider-count {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 700;
}

.slider-content {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.review-avatar-wrap {
  flex-shrink: 0;
}

.review-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #e7f0fb;
  background: #f0f6fc;
}

.review-main {
  min-width: 0;
}

.stars {
  color: var(--gold);
  font-size: 1.15rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.slider-review-text {
  margin: 0 0 12px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  font-weight: 700;
}

.slider-review-name {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.slider-dots {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #cad8e6;
  cursor: pointer;
  transition: 0.2s ease;
  border: none;
  padding: 0;
}

.slider-dot.active {
  background: var(--primary-2);
  width: 26px;
}

.main-content {
  display: grid;
  gap: 22px;
}

.card {
  padding: 24px;
}

.action-cta {
  text-align: center;
  background: linear-gradient(135deg, #0b3f7a 0%, #16589f 100%);
  color: white;
}

.action-cta h2 {
  margin: 0 0 8px;
  color: white;
}

.action-cta p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.9);
}

.action-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.centered-buttons .btn-primary {
  background: white;
  color: #0b3f7a;
}

.centered-buttons .btn-secondary {
  background: rgba(255, 255, 255, 0.16);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn {
  appearance: none;
  border: none;
  border-radius: 999px;
  padding: 14px 20px;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-secondary {
  background: var(--light);
  color: var(--primary);
  border: 1px solid #cfe0f2;
}

.full-width {
  width: 100%;
}

details summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  font-weight: 700;
  color: var(--primary);
}

details summary::-webkit-details-marker {
  display: none;
}

.summary-arrow {
  font-size: 1.2rem;
  color: var(--muted);
}

.all-reviews {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.review-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fbfdff;
}

.review-item-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #e7f0fb;
}

.review-item-content p {
  margin: 0 0 8px;
  line-height: 1.55;
  font-weight: 700;
}

.review-item-content small {
  color: var(--muted);
  font-weight: 700;
}

.forms-grid {
  display: grid;
  gap: 22px;
}

.single-flow {
  grid-template-columns: 1fr;
}

#reviewFormCard,
#surveyFormCard {
  display: none;
}

.form-card h3 {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 1.3rem;
}

.section-subtext {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.6;
}

.field {
  margin-bottom: 16px;
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  color: var(--text);
}

input,
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #cfe0f2;
  border-radius: 14px;
  font-size: 1rem;
  background: #fff;
  color: var(--text);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #dbe9f7;
  border-color: #b9d1ea;
}

.fine-print {
  margin: 12px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.message {
  display: none;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.message.show {
  display: block;
}

.message.success {
  background: var(--success-bg);
  color: var(--success-text);
  border: 1px solid #d0ecd9;
}

.message.info {
  background: var(--info-bg);
  color: var(--info-text);
  border: 1px solid #d7e6fb;
}

.review-prompt {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.review-prompt p {
  margin: 0 0 14px;
  color: var(--text);
  font-weight: 700;
  line-height: 1.6;
}

.hidden {
  display: none;
}

@media (max-width: 920px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .page-shell {
    width: min(94%, 1100px);
    padding-top: 18px;
  }

  .brand-row {
    padding: 22px;
    flex-direction: column;
    text-align: center;
  }

  .slider-content,
  .review-item {
    flex-direction: column;
  }

  h1 {
    font-size: 2rem;
  }

  .action-buttons {
    width: 100%;
  }

  .action-buttons .btn {
    width: 100%;
  }
}