:root {
  color-scheme:dark;
  --bg:#141414;
  --card:#1e1e1e;
  --text:#f3ede2;
  --muted:#a09c95;
  --accent:#e06d3b;
  --line:rgba(243,237,226,.1);
  --max:1080px;
}

* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:82px
}
body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:Inter,Manrope,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height:1.55;
  -webkit-font-smoothing:antialiased
}
a {
  color:inherit;
  text-decoration:none
}
button,input,textarea {
  font:inherit
}
.wrap {
  width:min(var(--max),calc(100% - 48px));
  margin-inline:auto
}
.header {
  position:sticky;
  top:0;
  z-index:5;
  background:rgba(20,20,20,.9);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line)
}
.nav {
  height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between
}
.logo {
  font-size:.9rem;
  font-weight:800;
  letter-spacing:.16em
}
.button {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:9px;
  padding:13px 19px;
  border:1px solid transparent;
  border-radius:6px;
  background:var(--accent);
  color:#171310;
  font-size:.88rem;
  font-weight:700;
  cursor:pointer;
  transition:background .2s,transform .2s
}
.button:hover {
  background:#ee8152;
  transform:translateY(-1px)
}
.button-outline {
  background:transparent;
  border-color:var(--line);
  color:var(--text)
}
.button-outline:hover {
  background:var(--card);
  border-color:#ffffff35
}
.hero {
  padding:100px 0 92px;
  position:relative;
  overflow:hidden
}
.hero:after {
  content:"";
  position:absolute;
  z-index:-1;
  width:520px;
  height:520px;
  right:-200px;
  top:-240px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(224,109,59,.12),transparent 68%)
}
.eyebrow {
  color:var(--accent);
  font-size:.73rem;
  font-weight:750;
  letter-spacing:.15em;
  text-transform:uppercase
}
.hero h1 {
  max-width:820px;
  margin:21px 0 19px;
  font-size:clamp(2.8rem,7.4vw,5.65rem);
  line-height:.99;
  letter-spacing:-.065em
}
.hero h1 span {
  color:var(--accent)
}
.hero p {
  max-width:670px;
  color:var(--muted);
  font-size:1.04rem;
  margin:0
}
.hero .button {
  margin-top:29px
}
.section {
  padding:82px 0
}
.section-head {
  max-width:620px;
  margin-bottom:32px
}
.section h2 {
  font-size:clamp(2rem,4.5vw,3.25rem);
  line-height:1.07;
  letter-spacing:-.05em;
  margin:13px 0
}
.section-head p {
  color:var(--muted);
  margin:0
}
.offer-grid {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:13px
}
.offer {
  background:var(--card);
  border:1px solid var(--line);
  border-radius:8px;
  padding:23px;
  display:grid;
  grid-template-columns:40px 1fr;
  gap:14px
}
.number {
  color:var(--accent);
  font-size:.75rem;
  font-weight:750;
  letter-spacing:.1em;
  padding-top:3px
}
.offer h3,.reason h3 {
  font-size:1rem;
  margin:0 0 6px
}
.offer p,.reason p {
  font-size:.85rem;
  color:var(--muted);
  margin:0
}
.offer.notice-card {
  border-color:rgba(224,109,59,.26)
}
.why {
  background:#181817;
  border-block:1px solid rgba(243,237,226,.04)
}
.reasons {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:13px
}
.reason {
  background:var(--card);
  border:1px solid var(--line);
  border-radius:8px;
  padding:24px;
  min-height:165px
}
.reason-mark {
  width:28px;
  height:2px;
  background:var(--accent);
  margin-bottom:22px
}
.form-section {
  padding:92px 0
}
.form-layout {
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:70px;
  align-items:start
}
.form-intro h2 {
  margin-top:14px
}
.form-intro p {
  color:var(--muted);
  font-size:.9rem;
  max-width:340px
}
.form-box {
  padding:27px;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:9px
}
.field {
  margin-bottom:17px
}
.field label {
  display:block;
  font-size:.77rem;
  font-weight:650;
  margin-bottom:8px
}
.field input,.field textarea {
  display:block;
  width:100%;
  border:1px solid rgba(243,237,226,.14);
  border-radius:5px;
  background:#171716;
  color:var(--text);
  padding:12px 13px;
  outline:0;
  transition:border-color .2s,box-shadow .2s
}
.field input {
  height:47px
}
.field textarea {
  min-height:76px;
  resize:vertical
}
.field input::placeholder,.field textarea::placeholder {
  color:#77736c
}
.field input:focus,.field textarea:focus {
  border-color:var(--accent);
  box-shadow:0 0 0 3px rgba(224,109,59,.12)
}
.notice {
  margin:5px 0 19px;
  padding:12px 13px;
  background:rgba(224,109,59,.08);
  border-left:2px solid var(--accent);
  color:#c7c0b6;
  font-size:.76rem
}
.submit {
  width:100%
}
.success {
  display:none;
  margin-top:15px;
  padding:13px;
  border:1px solid rgba(134,173,119,.4);
  border-radius:5px;
  background:rgba(134,173,119,.09);
  color:#dbe9d4;
  font-size:.84rem
}
.success.show {
  display:block;
  animation:fade .25s ease
}
@keyframes fade {
  from {
    opacity:0;
    transform:translateY(4px)
  }
  to {
    opacity:1;
    transform:translateY(0)
  }
}
footer {
  border-top:1px solid var(--line);
  padding:23px 0;
  color:var(--muted);
  font-size:.75rem
}
.footer-row {
  display:flex;
  justify-content:space-between;
  gap:18px
}
.footer-row strong {
  color:var(--text);
  font-weight:750;
  letter-spacing:.12em
}
@media(max-width:720px) {
  .wrap {
    width:calc(100% - 36px)
  }
  .nav {
    height:64px
  }
  .hero {
    padding:72px 0 65px
  }
  .hero h1 {
    font-size:clamp(2.7rem,12vw,4.2rem)
  }
  .hero p {
    font-size:.96rem
  }
  .section {
    padding:65px 0
  }
  .offer-grid,.reasons {
    grid-template-columns:1fr
  }
  .offer {
    padding:20px
  }
  .reason {
    min-height:0;
    padding:21px
  }
  .reason-mark {
    margin-bottom:16px
  }
  .form-section {
    padding:68px 0
  }
  .form-layout {
    grid-template-columns:1fr;
    gap:18px
  }
  .form-intro p {
    max-width:500px
  }
  .form-box {
    padding:20px
  }
  .footer-row {
    flex-direction:column;
    gap:8px
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    scroll-behavior:auto!important;
    animation-duration:.01ms!important;
    transition-duration:.01ms!important
  }
}
[hidden] {
  display:none!important
}
.crm-page {
  min-height:100vh
}
.crm-label {
  font-size:.65rem;
  color:var(--accent);
  letter-spacing:.08em;
  margin-left:7px
}
.crm-main {
  padding-top:55px;
  padding-bottom:80px
}
.crm-main h1 {
  font-size:clamp(2rem,4vw,3rem);
  letter-spacing:-.05em;
  margin:9px 0
}
.login-panel {
  max-width:420px;
  margin:8vh auto 0;
  padding:30px;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:9px
}
.login-panel label {
  display:block;
  font-size:.8rem;
  margin:15px 0 6px
}
.login-panel input,.crm-toolbar input,.crm-toolbar select {
  height:44px;
  width:100%;
  padding:0 12px;
  background:#171716;
  border:1px solid var(--line);
  border-radius:5px;
  color:var(--text);
  outline:0
}
.login-panel input:focus,.crm-toolbar input:focus,.crm-toolbar select:focus {
  border-color:var(--accent)
}
.login-panel button {
  width:100%;
  margin-top:20px
}
.crm-error {
  color:#ef8d7c;
  font-size:.82rem;
  min-height:1em
}
.crm-title {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:24px
}
.crm-title p,.crm-hint {
  color:var(--muted);
  font-size:.82rem;
  margin:4px 0
}
.crm-toolbar {
  display:grid;
  grid-template-columns:1fr 190px auto;
  gap:10px;
  margin-bottom:14px
}
.crm-toolbar .button {
  padding:9px 14px
}
.table-wrap {
  overflow:auto;
  border:1px solid var(--line);
  border-radius:7px;
  background:var(--card)
}
table {
  width:100%;
  border-collapse:collapse;
  min-width:770px;
  text-align:left
}
th,td {
  padding:13px 14px;
  border-bottom:1px solid var(--line);
  font-size:.8rem;
  vertical-align:middle
}
th {
  color:var(--muted);
  font-size:.7rem;
  font-weight:650;
  letter-spacing:.03em
}
tbody tr:last-child td {
  border-bottom:0
}
td {
  color:#ddd7cd
}
td a {
  color:var(--accent)
}
.car-cell {
  min-width:210px;
  max-width:330px
}
.status-select {
  padding:7px 26px 7px 9px;
  max-width:135px;
  background:#171716;
  border:1px solid var(--line);
  border-radius:4px;
  color:var(--text)
}
.crm-hint {
  margin-top:14px
}
@media(max-width:720px) {
  .crm-main {
    padding-top:37px
  }
  .crm-title {
    align-items:flex-start;
    flex-direction:column
  }
  .crm-toolbar {
    grid-template-columns:1fr 1fr
  }
  .crm-toolbar input {
    grid-column:1/-1
  }
  .crm-toolbar .button {
    min-height:42px
  }
  .login-panel {
    margin-top:4vh;
    padding:23px
  }
}
.optional {
  font-size:.69rem;
  color:var(--muted);
  font-weight:400
}
.crm-header-actions {
  display:flex;
  align-items:center;
  gap:12px
}
.language-switch {
  display:flex;
  padding:3px;
  border:1px solid var(--line);
  border-radius:6px;
  background:var(--card)
}
.language-switch button {
  border:0;
  background:transparent;
  color:var(--muted);
  padding:6px 9px;
  border-radius:4px;
  font-size:.7rem;
  font-weight:750;
  cursor:pointer
}
.language-switch button[aria-pressed="true"] {
  background:var(--accent);
  color:#171310
}
.status-select,#filter {
  -webkit-appearance:none;
  -moz-appearance:none;
  appearance:none;
  padding:9px 38px 9px 11px;
  min-width:126px;
  max-width:160px;
  background-color:#171716;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23a09c95' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 13px center;
  border:1px solid var(--line);
  border-radius:5px;
  color:var(--text);
  font-size:.78rem;
  cursor:pointer
}
.status-select {
  min-height:36px
}
.status-select:focus,#filter:focus {
  outline:1px solid var(--accent);
  outline-offset:1px
}
.row-actions {
  display:flex;
  align-items:center;
  gap:8px
}
.delete-lead {
  width:34px;
  height:34px;
  flex:none;
  display:grid;
  place-items:center;
  padding:0;
  border:1px solid rgba(224,109,59,.35);
  border-radius:5px;
  background:rgba(224,109,59,.08);
  color:#f08a62;
  font-size:1.3rem;
  line-height:1;
  cursor:pointer;
  transition:background .18s,border-color .18s
}
.delete-lead svg {
  display:block;
  width:16px;
  height:16px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round
}
.delete-lead:hover {
  background:rgba(224,109,59,.2);
  border-color:var(--accent)
}
.crm-toolbar #filter {
  max-width:none
}
@media(max-width:720px) {
  .crm-main {
    width:calc(100% - 28px);
    padding-top:30px;
    padding-bottom:45px
  }
  .crm-header-actions {
    gap:8px
  }
  .crm-header-actions>.button {
    padding:9px 11px
  }
  .crm-title {
    gap:13px
  }
  .crm-title>.button {
    width:100%
  }
  .crm-toolbar {
    grid-template-columns:1fr
  }
  .crm-toolbar input {
    grid-column:auto
  }
  .crm-toolbar .button {
    width:100%
  }
  .table-wrap {
    overflow:visible;
    border:0;
    background:transparent
  }
  table {
    display:block;
    min-width:0;
    width:100%
  }
  thead {
    display:none
  }
  tbody {
    display:grid;
    gap:12px
  }
  tbody tr {
    display:block;
    padding:5px 14px;
    background:var(--card);
    border:1px solid var(--line);
    border-radius:8px
  }
  tbody tr:last-child td {
    border-bottom:1px solid var(--line)
  }
  tbody tr td:last-child {
    border-bottom:0
  }
  td[data-label] {
    display:block;
    padding:11px 0;
    border-bottom:1px solid var(--line);
    font-size:.84rem;
    overflow-wrap:anywhere
  }
  td[data-label]::before {
    content:attr(data-label);
    display:block;
    margin-bottom:4px;
    color:var(--muted);
    font-size:.66rem;
    font-weight:700;
    letter-spacing:.06em;
    text-transform:uppercase
  }
  .car-cell {
    min-width:0;
    max-width:none
  }
  .row-actions {
    justify-content:flex-start
  }
  .status-select {
    width:min(100%,210px);
    max-width:none;
    min-height:39px
  }
  .crm-hint {
    line-height:1.6
  }
}
