:root {
  color-scheme: only light;
  --bg: #f4f1ea;
  --bg-soft: #f0f6f4;
  --surface: #ffffff;
  --surface-alt: #f9f6f1;
  --text: #0f1f2b;
  --text-muted: #5a6b76;
  --accent: #f2a444;
  --accent-dark: #cf7c1f;
  --accent-2: #1e8f7a;
  --accent-3: #10324b;
  --border: rgba(15, 31, 43, 0.12);
  --shadow: 0 24px 60px rgba(16, 50, 75, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
}

.page {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 20%, rgba(242, 164, 68, 0.18), transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(30, 143, 122, 0.18), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(16, 50, 75, 0.12), transparent 55%),
    linear-gradient(180deg, #f7f1e8 0%, #f0f6f4 60%, #f7f1e8 100%);
}

.page::before,
.page::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.25;
  z-index: 0;
  animation: float 12s ease-in-out infinite;
}

.page::before {
  top: 120px;
  left: -120px;
  background: rgba(242, 164, 68, 0.35);
}

.page::after {
  bottom: 160px;
  right: -120px;
  background: rgba(30, 143, 122, 0.35);
  animation-delay: 2s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-18px);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 6vw;
  backdrop-filter: blur(18px);
  background: rgba(244, 241, 234, 0.75);
  border-bottom: 1px solid rgba(15, 31, 43, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: clamp(160px, 18vw, 240px);
  height: auto;
  flex-shrink: 0;
}

.brand-copy {
  min-width: 0;
}

.brand-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.nav {
  display: flex;
  gap: 18px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(16, 50, 75, 0.08);
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-btn.is-active {
  background: var(--accent-3);
  color: #fff;
}

.nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 14px;
}

.text-link {
  color: var(--accent-3);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
}

.text-link:hover {
  text-decoration: underline;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--text);
  box-shadow: 0 12px 30px rgba(242, 164, 68, 0.35);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(16, 50, 75, 0.08);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(16, 50, 75, 0.16);
}

.btn.is-disabled {
  opacity: 0.55;
  pointer-events: none;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 40px;
  padding: 60px 6vw 40px;
}

.hero h1 {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  margin: 12px 0;
}

.hero p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 540px;
}

.pill {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(16, 50, 75, 0.08);
  font-size: 12px;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin: 22px 0;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.stat-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.stat-title {
  font-size: 12px;
  color: var(--text-muted);
}

.stat-value {
  font-size: 20px;
  font-weight: 700;
}

.stat-note {
  font-size: 12px;
  color: var(--text-muted);
}

.hero-panel {
  align-self: start;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

.panel-title {
  font-size: 18px;
  font-weight: 700;
}

.panel-sub {
  font-size: 14px;
  color: var(--text-muted);
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-muted);
}

input,
select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 14px;
  background: #fff;
}

.panel-foot {
  font-size: 12px;
  color: var(--text-muted);
}

.section {
  padding: 50px 6vw;
  position: relative;
  z-index: 1;
}

.section.accent {
  background: var(--surface-alt);
  border-top: 1px solid rgba(15, 31, 43, 0.08);
  border-bottom: 1px solid rgba(15, 31, 43, 0.08);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.section-head h2 {
  font-family: "Unbounded", sans-serif;
  margin: 0 0 8px;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  max-width: 640px;
}

.section-badge {
  background: rgba(30, 143, 122, 0.12);
  color: var(--accent-2);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
}

.offer-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.view-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(16, 50, 75, 0.08);
}

.view-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.view-btn.is-active {
  background: var(--accent-3);
  color: #fff;
}

.sort-field {
  display: flex;
  align-items: center;
  gap: 10px;
}

.offer-count {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

.filter-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.filter-check {
  display: flex;
  align-items: flex-end;
  padding-bottom: 4px;
}

.filter-check label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.offer-view {
  display: grid;
  gap: 16px;
}

.offer-grid.is-hidden {
  display: none;
}

.offer-table-wrap {
  display: none;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.offer-table-wrap.is-active {
  display: block;
}

.offer-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.offer-table th,
.offer-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(15, 31, 43, 0.08);
  text-align: left;
}

.offer-table th {
  background: rgba(16, 50, 75, 0.06);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.table-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
}

.table-brand span {
  font-weight: 600;
  line-height: 1.35;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.offer-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.offer-passport {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  background: rgba(16, 50, 75, 0.04);
  border-radius: var(--radius-sm);
  padding: 12px;
}

.passport-item {
  display: grid;
  gap: 4px;
}

.passport-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.passport-value {
  font-size: 13px;
  font-weight: 600;
}

.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(16, 50, 75, 0.18);
}

.offer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.offer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.offer-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--logo-a), var(--logo-b));
  color: #fff;
  font-family: "Unbounded", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(15, 31, 43, 0.2);
  flex-shrink: 0;
}

.offer-logo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.24), transparent 50%);
}

.offer-logo-small {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  font-size: 9px;
}

.offer-name {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.badge {
  background: rgba(16, 50, 75, 0.1);
  color: var(--accent-3);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.offer-meta {
  font-size: 13px;
  color: var(--text-muted);
}

.offer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  background: rgba(242, 164, 68, 0.18);
  color: var(--accent-dark);
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
}

.offer-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.offer-cost {
  display: grid;
  gap: 4px;
  background: rgba(242, 164, 68, 0.12);
  border-radius: var(--radius-sm);
  padding: 12px;
}

.offer-cost-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-dark);
}

.offer-cost-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-3);
}

.offer-cost-note {
  font-size: 11px;
  color: var(--text-muted);
}

.offer-license {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.offer-note {
  font-size: 11px;
  color: var(--text-muted);
}

.offer-disclaimer {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-muted);
}

.calc {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
}

.calc-card,
.calc-result {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}

.result-title {
  font-size: 14px;
  color: var(--text-muted);
}

.result-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-3);
}

.result-note,
.result-info {
  font-size: 12px;
  color: var(--text-muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.step-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.step-meta {
  margin-top: 12px;
  font-size: 12px;
  color: var(--accent-3);
  font-weight: 700;
}

.prequal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 20px;
}

.prequal-card,
.prequal-result {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}

.prequal-result.is-high {
  border-color: rgba(30, 143, 122, 0.4);
}

.prequal-result.is-medium {
  border-color: rgba(242, 164, 68, 0.4);
}

.prequal-result.is-low {
  border-color: rgba(211, 92, 75, 0.4);
}

.prequal-foot {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

.ratings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.rating-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
}

.rating-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.rating-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.rating-name {
  font-weight: 700;
}

.rating-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.rating-score {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-2);
}

.rating-reviews {
  font-size: 12px;
  color: var(--text-muted);
}

.rating-quote {
  font-size: 13px;
  color: var(--text);
  background: rgba(16, 50, 75, 0.04);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
}

.rating-card details {
  font-size: 12px;
  color: var(--text-muted);
}

.rating-details {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.ratings-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-muted);
}

.safety-grid,
.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.safety-card,
.guide-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
}

.safety-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 13px;
}

.guide-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
}

.step-index {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-2);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 12px;
}

.lead-form {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

.lead-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.lead-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.lead-note {
  font-size: 13px;
  color: var(--accent-3);
  font-weight: 600;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.legal {
  background: #f7f1e8;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.legal-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.footer {
  padding: 30px 6vw 50px;
  border-top: 1px solid rgba(15, 31, 43, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer a {
  text-decoration: none;
  color: var(--text-muted);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-logo {
    width: min(220px, 62vw);
  }

  .nav {
    flex-wrap: wrap;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .prequal {
    grid-template-columns: 1fr;
  }

  .calc {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
  }

  .hero {
    padding-top: 30px;
  }

  .panel-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .offer-table-wrap {
    overflow-x: auto;
  }
}
