:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #f1f5f9;

  --text: #0f172a;
  --text-soft: #334155;
  --muted: #64748b;

  --accent: #10b981;
  --accent-dark: #059669;
  --accent-soft: #d1fae5;

  --border: #e2e8f0;
  --border-strong: #cbd5e1;

  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;

  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 18px 50px rgba(15, 23, 42, 0.09);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
/*  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;*/
  font-family: "Manrope", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(1280px, 92%);
  margin: 0 auto;
}

/* HERO */

.hero {
  padding: 42px 0 30px;
}

.hero .container {
  background: var(--surface);
  box-sizing: border-box;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 46px;
  box-shadow: var(--shadow-sm);
}

.hero-badge {
  display: inline-flex;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 850;
}

.hero h1 {
  max-width: 840px;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 14px 0 18px;
}

.hero p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

/* CALCULATOR */

.calculator-panel {
  margin-bottom: 34px;
}

.main-calculator {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

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

.calculator-grid:has(.calculator-box:nth-child(3)) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.calculator-box {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  min-width: 0;
}

.calculator-box__header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 12px;
  min-height: 54px;
  margin-bottom: 16px;
}

.calculator-box__header label {
  font-weight: 850;
  color: var(--text);
  line-height: 1.15;
}

.calculator-box__header span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
  line-height: 1.15;
  padding-top: 3px;
}

.fancy-stepper {
  display: grid;
  grid-template-columns: 54px 1fr 54px;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 8px;
}

.stepper-button {
  width: 54px;
  height: 54px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: var(--surface);
  color: var(--text);
  font-size: 28px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.stepper-button:hover {
  border-color: var(--border-strong);
}

.stepper-input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  text-align: center;
  color: var(--text);
  font-size: 26px;
  font-weight: 850;
}

/* BUTTONS */

.button,
.calculator-submit {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-size: 15px;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(16, 185, 129, 0.22);
}

.button:hover,
.calculator-submit:hover {
  background: var(--accent-dark);
}

.calculator-submit {
  width: 100%;
  margin-top: 20px;
  font-size: 17px;
}

.calculator-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

/* OFFERS */

.offers-list {
  display: grid;
  gap: 14px;
  padding-bottom: 80px;
}

.offers-list.is-loading {
  opacity: 0.45;
  filter: blur(1px);
  pointer-events: none;
}

.loan-row {
  display: grid;
  grid-template-columns:
    46px
    minmax(230px, 1.25fr)
    minmax(160px, 0.75fr)
    minmax(500px, 1.8fr)
    180px;
  gap: 16px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  animation: rowEnter 0.28s ease both;
}

.loan-row:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.loan-row:first-child {
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 20px 60px rgba(16, 185, 129, 0.10);
}

.loan-rank {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--surface-soft);
  color: var(--text);
  font-weight: 850;
}

.loan-row:first-child .loan-rank {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

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

.bank-logo {
  width: 62px;
  height: 62px;
  object-fit: contain;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px;
  flex: 0 0 62px;
}

.loan-row__bank h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.loan-row__bank p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.loan-row__main {
  background: var(--accent-soft);
  border-radius: var(--radius-md);
  padding: 14px;
  min-width: 150px;
}

.loan-row__main span,
.loan-row__stats span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 6px;
}

.loan-row__main span {
  color: var(--accent-dark);
}

.loan-row__main strong {
  display: block;
  color: var(--accent-dark);
  font-size: 20px;
  font-weight: 850;
  line-height: 1.15;
}

.loan-row__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(145px, 1fr));
  gap: 10px;
}

.loan-row__stats div {
  background: var(--surface-soft);
  border-radius: var(--radius-md);
  padding: 14px;
  min-width: 0;
}

.loan-row__stats strong {
  display: block;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.16;
  word-break: normal;
  overflow-wrap: anywhere;
}

.loan-row__button {
  width: 180px;
  justify-self: end;
  white-space: nowrap;
}

/* ANIMATION */

@keyframes rowEnter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */

@media (max-width: 1360px) {
  .loan-row {
    grid-template-columns: 46px 1fr 180px;
  }

  .loan-row__main,
  .loan-row__stats {
    grid-column: 2 / -1;
  }

  .loan-row__stats {
    grid-template-columns: repeat(3, minmax(140px, 1fr));
  }

  .loan-row__button {
    grid-column: 3;
    grid-row: 1;
  }
}

@media (max-width: 1120px) {
  .calculator-grid,
  .calculator-grid:has(.calculator-box:nth-child(3)) {
    grid-template-columns: 1fr;
  }

  .loan-row {
    grid-template-columns: 46px 1fr;
  }

  .loan-row__main,
  .loan-row__stats,
  .loan-row__button {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .loan-row__button {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 28px 0 22px;
  }

  .hero .container {
    padding: 30px 22px;
    border-radius: var(--radius-lg);
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero p {
    font-size: 17px;
  }

  .main-calculator {
    padding: 18px;
    border-radius: var(--radius-lg);
  }

  .calculator-box {
    padding: 16px;
  }

  .calculator-box__header {
    flex-direction: column;
    gap: 4px;
  }

  .calculator-box__header span {
    white-space: normal;
  }

  .fancy-stepper {
    grid-template-columns: 48px 1fr 48px;
  }

  .stepper-button {
    width: 48px;
    height: 48px;
  }

  .stepper-input {
    font-size: 22px;
  }

  .loan-row {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .loan-rank {
    display: none;
  }

  .loan-row__bank {
    align-items: flex-start;
  }

  .loan-row__main,
  .loan-row__stats,
  .loan-row__button {
    grid-column: 1 / -1;
  }

  .loan-row__stats {
    grid-template-columns: 1fr;
  }

  .loan-row__button {
    width: 100%;
  }
}

/* HOME */

.home-hero {
  padding: 42px 0 28px;
}

.home-hero__inner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 56px;
  box-shadow: var(--shadow-sm);
}

.home-hero h1 {
  max-width: 860px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 16px 0 18px;
}

.home-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
  margin: 0;
}

.home-hero__button {
  margin-top: 28px;
}

.home-section {
  padding: 16px 0 80px;
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading span {
  color: var(--accent-dark);
  font-weight: 850;
}

.section-heading h2 {
  margin: 6px 0 0;
  font-size: 34px;
  letter-spacing: -0.035em;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.category-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.category-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.category-card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--surface-soft);
  font-size: 24px;
  margin-bottom: 18px;
}

.category-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.category-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .category-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .home-hero__inner {
    padding: 32px 22px;
  }

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

@media (prefers-reduced-motion: reduce) {
  .loan-row,
  .button,
  .calculator-submit,
  .stepper-button {
    animation: none !important;
    transition: none !important;
  }
}

/* TRUST STRIP */

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  margin-bottom: 34px;
  box-shadow: var(--shadow-sm);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 24px;
  border-right: 1px solid var(--border);
}

.trust-item:first-child {
  padding-left: 0;
}

.trust-item:last-child {
  border-right: 0;
  padding-right: 0;
}

.trust-icon {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 28px;
  font-weight: 900;
}

.trust-item h3 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.trust-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

@media (max-width: 1100px) {
  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 0;
  }

  .trust-item:nth-child(2) {
    border-right: 0;
    padding-right: 0;
  }

  .trust-item:nth-child(3) {
    padding-left: 0;
  }
}

@media (max-width: 640px) {
  .trust-strip {
    grid-template-columns: 1fr;
    padding: 22px;
    gap: 18px;
  }

  .trust-item {
    border-right: 0;
    padding: 0;
  }
}
/* XML OFFERS */

.xml-offer-row {
  display: grid;
  grid-template-columns: 46px minmax(260px, 1fr) minmax(420px, 1.6fr) 190px;
  gap: 18px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  animation: rowEnter 0.28s ease both;
}

.xml-offer-row:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.xml-offer-row:first-child {
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 20px 60px rgba(16, 185, 129, 0.10);
}

.xml-highlights {
  display: grid;
  gap: 8px;
}

.xml-highlight {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
}

.xml-highlight__icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
}

@media (max-width: 1120px) {
  .xml-offer-row {
    grid-template-columns: 46px 1fr 190px;
  }

  .xml-highlights {
    grid-column: 2 / -1;
  }

  .xml-offer-row .loan-row__button {
    grid-column: 3;
    grid-row: 1;
  }
}

@media (max-width: 768px) {
  .xml-offer-row {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .xml-offer-row .loan-rank {
    display: none;
  }

  .xml-highlights,
  .xml-offer-row .loan-row__button {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .xml-offer-row .loan-row__button {
    width: 100%;
  }
}
/* ACCOUNT FILTERS */

.account-filter-panel {
  margin-bottom: 28px;
}

.account-filter-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.account-filter-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 82px;
  padding: 16px;
  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
}

.account-filter-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.account-filter-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--surface);
  font-size: 22px;
  box-shadow: var(--shadow-sm);
}

.account-filter-card strong {
  display: block;
  font-size: 16px;
  line-height: 1.15;
}

.account-filter-card small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.25;
}

.account-filter-card:has(input:checked) {
  background: var(--accent-soft);
  border-color: rgba(16, 185, 129, 0.55);
}

.account-filter-card:has(input:checked) .account-filter-icon {
  color: var(--accent-dark);
}

.account-filter-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.filter-submit {
  min-height: 54px;
  padding: 14px 24px;
}

.filter-clear {
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.filter-clear:hover {
  color: var(--text);
}

@media (max-width: 980px) {
  .account-filter-form {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .account-filter-form {
    grid-template-columns: 1fr;
  }

  .account-filter-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-submit,
  .filter-clear {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}
.account-filter-panel {
  margin-bottom: 28px;
}

.account-filter-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.account-filter-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 82px;
  padding: 16px;
  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
}

.account-filter-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.account-filter-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--surface);
  font-size: 22px;
  box-shadow: var(--shadow-sm);
}

.account-filter-card strong {
  display: block;
  font-size: 16px;
  line-height: 1.15;
}

.account-filter-card small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.25;
}

.account-filter-card:has(input:checked) {
  background: var(--accent-soft);
  border-color: rgba(16, 185, 129, 0.55);
}

.account-filter-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.filter-submit {
  min-height: 54px;
  padding: 14px 24px;
}

.filter-clear {
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.account-highlights {
  grid-column: 2 / -2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: -4px;
}

.account-highlight {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 800;
}

.account-highlight span {
  color: var(--accent-dark);
  font-weight: 900;
}

@media (max-width: 1360px) {
  .account-highlights {
    grid-column: 2 / -1;
  }
}

@media (max-width: 980px) {
  .account-filter-form {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .account-highlights {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .account-filter-form {
    grid-template-columns: 1fr;
  }

  .account-filter-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-submit,
  .filter-clear {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}
.savings-sort-form {
  grid-template-columns: repeat(3, 1fr) auto;
}

.savings-sort-clear {
  align-self: center;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .savings-sort-form {
    grid-template-columns: 1fr;
  }

  .savings-sort-clear {
    text-align: center;
  }
}
.redirect-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 60px 0;
}

.redirect-card {
  width: min(520px, 92%);
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px 32px;
  box-shadow: var(--shadow-md);
}

.redirect-loader {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 26px;
}

.redirect-loader span {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--accent);
  animation: redirectPulse 0.9s infinite ease-in-out;
}

.redirect-loader span:nth-child(2) {
  animation-delay: 0.15s;
}

.redirect-loader span:nth-child(3) {
  animation-delay: 0.3s;
}

.redirect-card h1 {
  margin: 0 0 10px;
  font-size: 34px;
  letter-spacing: -0.035em;
}

.redirect-card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

@keyframes redirectPulse {
  0%, 100% {
    transform: scale(0.75);
    opacity: 0.45;
  }

  50% {
    transform: scale(1.25);
    opacity: 1;
  }
}
/* FOOTER */

.site-footer {
  margin-top: 70px;
  padding: 46px 0;
  background: #0f172a;
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 34px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white;
  text-decoration: none;
  font-size: 22px;
  font-weight: 900;
}

.site-footer p {
  max-width: 460px;
  color: #cbd5e1;
  line-height: 1.6;
}

.site-footer h3 {
  margin: 0 0 14px;
  font-size: 16px;
}

.site-footer a {
  display: block;
  color: #cbd5e1;
  text-decoration: none;
  margin-bottom: 10px;
  font-weight: 700;
}

.site-footer a:hover {
  color: white;
}

/* COOKIES */

.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2000;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  padding: 20px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.22);
}

.cookie-banner.is-hidden {
  display: none;
}

.cookie-banner strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
}

.cookie-banner p {
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.45;
}

.cookie-banner a {
  color: var(--accent-dark);
  font-weight: 850;
  text-decoration: none;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.cookie-secondary {
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--text);
  font-weight: 850;
  cursor: pointer;
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    display: grid;
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-actions .button,
  .cookie-secondary {
    width: 100%;
  }
}
.legal-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 34px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 60px;
}

.legal-content h2 {
  margin-top: 0;
}

.legal-content p {
  color: var(--muted);
  line-height: 1.7;
}

.contact-form {
  display: grid;
  gap: 16px;
  max-width: 640px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 850;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
}

.site-footer {
  margin-top: 80px;
  padding: 54px 0 26px;
  background: #0f172a;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 42px;
  align-items: start;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.footer-logo-text {
  font-family: "Manrope", sans-serif;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: #fff;
  line-height: 1;
}

.footer-logo-text span {
  color: #22c55e;
}

.site-footer p {
  max-width: 520px;
  color: #cbd5e1;
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
}

.site-footer h3 {
  margin: 0 0 16px;
  color: #22c55e;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.faq-section {
  padding: 24px 0 80px;
}

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

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  cursor: pointer;
  font-size: 17px;
  font-weight: 900;
  color: var(--text);
}

.faq-item p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.site-footer a {
  display: block;
  color: #cbd5e1;
  text-decoration: none;
  margin-bottom: 11px;
  font-weight: 750;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(203, 213, 225, 0.18);
  color: #94a3b8;
  font-size: 14px;
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-logo-text {
    font-size: 28px;
  }
}
.faq-section {
  margin-top: 34px;
  padding: 0 0 80px;
}

.faq-section .section-heading {
  margin-bottom: 22px;
}

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

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 26px;
  font-size: 18px;
  font-weight: 900;
  color: var(--text);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: "+";
  display: inline-block;
  width: 22px;
  color: var(--accent-dark);
  font-weight: 900;
}

.faq-item[open] summary::before {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 26px 24px 48px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 16px;
}
.form-success {
  padding: 14px 18px;
  border-radius: 16px;
  background: #ecfdf5;
  color: #047857;
  font-weight: 800;
}

.form-error {
  padding: 14px 18px;
  border-radius: 16px;
  background: #fef2f2;
  color: #b91c1c;
  font-weight: 800;
}