.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  padding: 32px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 9, 113, .2);
  box-shadow: var(--shadow-md);
}

.contact-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: rgba(0, 9, 113, .07);
  color: var(--navy);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}

.contact-card:hover .contact-card__icon { background: var(--red); color: #fff; }

.contact-card__icon svg { width: 22px; height: 22px; }

.contact-card h2 { font-size: 1.0625rem; }

.contact-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: .9375rem;
}

.contact-card__meta {
  margin-top: auto;
  padding-top: 16px;
  color: var(--faint) !important;
  font-size: .8125rem !important;
}

.contact-card__main {
  margin-top: auto;
  padding-top: 18px;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  transition: color .24s var(--ease);
}

.contact-card__main:hover { color: var(--red); }

.formnote {
  margin-bottom: 26px;
  padding: 22px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
}

.formnote strong {
  display: block;
  color: var(--navy);
  font-size: 1rem;
}

.formnote p {
  margin-top: 8px;
  color: var(--muted);
  font-size: .9375rem;
}

.formnote--ok { border-left: 3px solid #1c8c4a; }

.formnote--bad { border-left: 3px solid var(--red); }

.complaint {
  margin-top: 40px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.complaint__tabs {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line-soft);
}

.complaint__tab {
  flex: 1 1 200px;
  padding: 20px 24px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: var(--bg-soft);
  color: var(--muted);
  font: inherit;
  font-size: .9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: color .24s var(--ease), background-color .24s var(--ease), border-color .24s var(--ease);
}

.complaint__tab:hover { color: var(--navy); }

.complaint__tab.is-active {
  background: #fff;
  color: var(--navy);
  border-bottom-color: var(--red);
}

.complaint__pane {
  display: none;
  padding: 34px 36px 36px;
}

.complaint__pane.is-active { display: block; }

.complaint__lead {
  margin-bottom: 26px;
  color: var(--muted);
  font-size: .9375rem;
}

.field { margin-bottom: 20px; }

.field label {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: .875rem;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: .9375rem;
  transition: border-color .24s var(--ease), box-shadow .24s var(--ease);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0, 9, 113, .1);
}

.field.is-bad input,
.field.is-bad textarea { border-color: var(--red); }

.field.is-bad input:focus,
.field.is-bad textarea:focus { box-shadow: 0 0 0 3px rgba(255, 24, 69, .12); }

.field__hint,
.field__error {
  display: block;
  margin-top: 7px;
  font-size: .8125rem;
}

.field__hint { color: var(--faint); }

.field__error { color: var(--red); font-weight: 500; }

.check {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: .8125rem;
  line-height: 1.6;
  cursor: pointer;
}

.check input {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--red);
}

.check.is-bad { color: var(--red); }

.complaint__submit { margin-top: 26px; }

.complaint .g-recaptcha { margin: 24px 0 4px; }

@media (max-width: 780px) {
  .complaint__pane { padding: 26px 22px 30px; }
  .complaint__tab { flex-basis: 100%; }
  .contact-card { padding: 26px 24px; }
}

.cxsteps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 20px 36px;
  list-style: none;
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-soft);
  counter-reset: cx;
}

.cxsteps li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border-radius: 100px;
  color: var(--faint);
  font-size: .8125rem;
  font-weight: 600;
  counter-increment: cx;
}

.cxsteps li::before {
  content: counter(cx);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 3, 36, .08);
  font-size: .75rem;
}

.cxsteps li.is-active {
  background: #fff;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.cxsteps li.is-active::before { background: var(--red); color: #fff; }

.cxselect {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: .9375rem;
}

.cxcode {
  max-width: 220px;
  letter-spacing: .5em;
  font-size: 1.25rem !important;
  font-weight: 700;
  text-align: center;
}

.cxactions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.cxlink {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-size: .8125rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.cxlink:hover { color: var(--red); }

.cxlist { margin: 0; padding: 0; list-style: none; }

.cxlist li + li { margin-top: 10px; }

.cxrow {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .24s var(--ease), box-shadow .24s var(--ease), transform .24s var(--ease);
}

.cxrow:hover {
  border-color: rgba(0, 9, 113, .3);
  box-shadow: var(--shadow-sm);
  transform: translateX(3px);
}

.cxrow__main { flex: 1 1 auto; min-width: 0; }

.cxrow__main strong {
  display: block;
  color: var(--navy);
  font-size: .9375rem;
}

.cxrow__main span {
  display: block;
  margin-top: 4px;
  color: var(--faint);
  font-size: .8125rem;
}

.cxrow__state {
  flex: none;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: .75rem;
  font-weight: 600;
}

.cxempty {
  padding: 22px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: .9375rem;
}

.cxverdict {
  padding: 24px 26px;
  border-radius: var(--radius);
  border-left: 3px solid var(--navy);
  background: var(--bg-soft);
}

.cxverdict strong {
  display: block;
  color: var(--navy);
  font-size: 1.0625rem;
}

.cxverdict p {
  margin-top: 10px;
  color: var(--muted);
  font-size: .9375rem;
  line-height: 1.7;
}

.cxverdict--seller { border-left-color: var(--red); }
.cxverdict--bad    { border-left-color: var(--red); }
.cxverdict--wait   { border-left-color: #b8860b; }
.cxverdict--code   { border-left-color: #1c8c4a; }

.cxfacts {
  margin: 26px 0 0;
  border-top: 1px solid var(--line-soft);
}

.cxfacts > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line-soft);
}

.cxfacts dt {
  flex: 0 0 190px;
  color: var(--faint);
  font-size: .8125rem;
}

.cxfacts dd {
  flex: 1 1 200px;
  margin: 0;
  color: var(--ink);
  font-size: .9375rem;
}

.cxcodeout {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 6px;
  background: var(--deep);
  color: #fff;
  font-weight: 700;
  letter-spacing: .12em;
}

.cxshop {
  margin-top: 26px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.cxshop strong { color: var(--navy); }

.cxshop p {
  margin-top: 8px;
  color: var(--muted);
  font-size: .9375rem;
}

.cxshop ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.cxshop li {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
  font-size: .9375rem;
}

.cxshop li span {
  flex: 0 0 110px;
  color: var(--faint);
  font-size: .8125rem;
}

.cxshop a { color: var(--navy); font-weight: 600; }

.cxshop a:hover { color: var(--red); }

.cxform {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
}

@media (max-width: 780px) {
  .cxsteps { padding: 16px 22px; }
  .cxfacts dt { flex-basis: 100%; }
  .cxrow { flex-wrap: wrap; gap: 10px; }
}

.cxnames {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}

.cxfile {
  padding: 12px 16px !important;
  font-size: .875rem !important;
  cursor: pointer;
}

.cxfile::file-selector-button {
  margin-right: 14px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-soft);
  color: var(--navy);
  font: inherit;
  font-size: .8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .24s var(--ease), color .24s var(--ease), border-color .24s var(--ease);
}

.cxfile:hover::file-selector-button {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

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