:root {
  --primary: #1a4a9b;
  --primary-dark: #123b7a;
  --accent: #7eaef6;
  --text: #1f2937;
  --muted: #5f6c7b;
  --bg-light: #f5f7fb;
  --bg-soft: #eef3ff;
  --white: #ffffff;
  --border: #e5e7eb;
  --success: #2d9c5d;
  --shadow: 0 16px 40px rgba(17, 24, 39, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg-light);
  color: var(--text);
  font: 16px/1.7 "Inter", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  box-shadow: 0 2px 14px rgba(17, 24, 39, 0.06);
}

.language-bar {
  display: flex;
  justify-content: flex-end;
  padding-top: 8px;
  font-size: 0.88rem;
}

.language-switcher {
  position: relative;
}

.language-options {
  position: absolute;
  right: 0;
  z-index: 11;
  min-width: 140px;
  padding: 6px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.language-options a {
  display: block;
  padding: 6px 10px;
  border-radius: 8px;
}

.language-options a:hover,
.language-options a[aria-current="page"] {
  background: var(--bg-soft);
  color: var(--primary);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 20px;
}

.logo {
  width: 200px;
  height: 50px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
  color: var(--primary);
}

.phone-pill,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.phone-pill,
.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.phone-pill:hover,
.btn-primary:hover {
  background: var(--primary-dark);
}

.menu-toggle {
  display: none;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
  font-size: 1.25rem;
}

.main {
  padding: 64px 0;
}

.intro {
  margin-bottom: 28px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3rem);
}

h2 {
  font-size: 1.45rem;
}

.lead {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
}

.review-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: start;
}

.panel,
.review-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.04);
}

.panel {
  padding: 28px;
}

.summary {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
}

.summary-score {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
}

.summary-stars,
.review-stars {
  color: #e4a11b;
  letter-spacing: 0.08em;
}

.summary-count {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.field {
  margin-bottom: 18px;
}

.field label,
.rating-label {
  display: block;
  margin-bottom: 7px;
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
  font: inherit;
}

.field input:focus,
.field textarea:focus {
  outline: 3px solid rgba(26, 74, 155, 0.16);
  border-color: var(--primary);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.star-picker {
  display: flex;
  gap: 6px;
}

.star-picker label {
  position: relative;
  color: #aab2bf;
  cursor: pointer;
  font-size: 2.2rem;
  line-height: 1;
}

.star-picker label:hover,
.star-picker label:has(input:checked),
.star-picker label.is-selected {
  color: #e4a11b;
}

.star-picker input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.star-picker label:focus-within {
  outline: 3px solid rgba(26, 74, 155, 0.3);
  outline-offset: 3px;
}

.public-notice {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--bg-soft);
  color: #24477e;
  font-size: 0.92rem;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0;
  font-size: 0.9rem;
}

.consent input {
  margin-top: 6px;
}

.form-status {
  min-height: 1.5em;
  margin: 14px 0 0;
  color: var(--primary-dark);
  font-weight: 600;
}

.form-status[data-state="error"] {
  color: #b42318;
}

.reviews-list {
  display: grid;
  gap: 14px;
}

.review-card {
  padding: 20px 22px;
}

.review-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.review-name {
  margin: 0;
  font-size: 1rem;
}

.review-date {
  color: var(--muted);
  font-size: 0.86rem;
}

.review-text {
  margin: 8px 0 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.empty-state {
  padding: 24px;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  color: var(--muted);
  text-align: center;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.footer {
  padding: 24px 0;
  background: #0f172a;
  color: #dfe7f4;
  text-align: center;
}

.footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .nav-menu {
    gap: 14px;
    font-size: 0.88rem;
  }

  .phone-pill {
    display: none;
  }
}

@media (max-width: 760px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    z-index: 12;
    align-items: flex-start;
    flex-direction: column;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-menu.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .review-layout {
    grid-template-columns: 1fr;
  }

  .main {
    padding: 42px 0;
  }

  .panel {
    padding: 22px;
  }
}
