:root {
  --ink: #111827;
  --muted: #5b6472;
  --line: #d8dde5;
  --paper: #f7f8f6;
  --white: #ffffff;
  --taxi: #f4c430;
  --green: #12745b;
  --green-dark: #0d5140;
  --steel: #27313f;
  --danger: #b42318;
  --warning-bg: #fff6d7;
  --success-bg: #dff4ee;
  --shadow: 0 18px 50px rgba(17, 24, 39, 0.13);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(216, 221, 229, 0.78);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.nav,
.footer-inner,
.page-shell,
.hero-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.brand-logo {
  width: 194px;
  height: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.nav-links a:not(.button),
.language-switch {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
}

.language-switch {
  border: 1px solid rgba(17, 24, 39, 0.16);
  border-radius: 8px;
  padding: 0 10px;
  color: var(--ink);
  background: #fff8df;
  font-weight: 900;
}

.button,
button.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  cursor: pointer;
  color: var(--white);
  background: var(--green);
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 12px 30px rgba(18, 116, 91, 0.22);
}

.button:hover {
  background: var(--green-dark);
}

.button.secondary {
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: none;
}

.button.danger {
  background: var(--danger);
  box-shadow: none;
}

.hero-shell {
  padding: 54px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--green-dark);
  background: var(--success-bg);
  font-size: 13px;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 880px;
  margin-bottom: 12px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
}

.lead {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}

.page-shell {
  padding: 24px 0 64px;
}

.panel,
.card,
.listing-card,
.form-panel {
  border: 1px solid rgba(216, 221, 229, 0.9);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 35px rgba(17, 24, 39, 0.06);
}

.panel,
.form-panel {
  padding: 24px;
}

.layout-two {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 24px;
  align-items: start;
}

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

.field {
  display: grid;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  color: var(--steel);
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

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

.hint {
  color: var(--muted);
  font-size: 13px;
}

.checkbox-line {
  margin: 18px 0;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.checkbox-line input {
  min-height: auto;
  margin-top: 4px;
}

.alert {
  margin-bottom: 18px;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--steel);
  background: var(--warning-bg);
  font-weight: 700;
}

.alert.success {
  background: var(--success-bg);
}

.alert.error {
  color: var(--danger);
  background: #fff1f0;
}

.status-row,
.actions-row,
.tag-row,
.listing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.actions-row {
  margin-top: 18px;
}

.tag {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 0 9px;
  color: var(--steel);
  background: #eef2f6;
  font-size: 12px;
  font-weight: 900;
}

.tag.verified {
  color: var(--green-dark);
  background: var(--success-bg);
}

.tag.locked {
  color: #8a5a00;
  background: var(--warning-bg);
}

.tag.danger {
  color: var(--danger);
  background: #fff1f0;
}

.listing-grid {
  display: grid;
  gap: 14px;
}

.listing-card {
  padding: 18px;
}

.listing-card h3 {
  margin: 12px 0 8px;
  font-size: 20px;
  letter-spacing: 0;
}

.listing-card p {
  color: var(--muted);
}

.listing-meta {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.sensitive-box {
  margin-top: 14px;
  border: 1px dashed rgba(18, 116, 91, 0.38);
  border-radius: 8px;
  padding: 14px;
  background: #fbfdfb;
}

.locked-box {
  margin-top: 14px;
  border: 1px dashed rgba(138, 90, 0, 0.35);
  border-radius: 8px;
  padding: 14px;
  color: #654200;
  background: var(--warning-bg);
  font-weight: 700;
}

.info-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-list li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #eef2f6;
}

.info-list li:last-child {
  border-bottom: 0;
}

.info-list strong {
  color: var(--steel);
}

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

.photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.empty {
  padding: 28px;
  color: var(--muted);
  text-align: center;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.footer-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

@media (max-width: 780px) {
  .nav {
    min-height: auto;
    padding: 12px 0;
    align-items: flex-start;
  }

  .brand-logo {
    width: 46px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    font-size: 13px;
  }

  .nav-links .button {
    min-height: 38px;
    padding: 0 12px;
  }

  .hero-grid,
  .layout-two,
  .form-grid,
  .filters-grid {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    padding-top: 36px;
  }

  .panel,
  .form-panel,
  .listing-card {
    padding: 18px;
  }

  .info-list li {
    grid-template-columns: 1fr;
    gap: 2px;
  }

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

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 0;
  }
}
