.ah-tcc--v2,
.ah-tcc--v2 * { box-sizing: border-box; }

.ah-tcc--v2 {
  --ah-ink: #263037;
  --ah-ink-lit: #33434e;
  --ah-muted: #5b656c;
  --ah-red: #c90018;
  --ah-red-dark: #a80014;
  --ah-line: #e1e5e8;
  padding: clamp(22px, 2.4vw, 32px);
  border: 1px solid var(--ah-line);
  border-radius: 12px;
  background: #f6f7f7;
  color: var(--ah-ink);
  font-family: inherit;
}

.ah-tcc--v2 .ah-tcc__title {
  margin: 0;
  color: var(--ah-ink);
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.025em;
}

.ah-tcc--v2 .ah-tcc__sub {
  margin: 8px 0 0;
  color: var(--ah-muted);
  font-size: 15px;
  line-height: 1.55;
}

.ah-tcc--v2 .ah-tcc__form {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: 16px 18px;
  align-items: start;
  margin: clamp(20px, 2.2vw, 26px) 0 0;
}

.ah-tcc--v2 .ah-tcc__field { min-width: 0; }
.ah-tcc--v2 .ah-tcc__field--town { position: relative; }

.ah-tcc--v2 .ah-tcc__label {
  display: block;
  margin-bottom: 7px;
  color: var(--ah-ink);
  font-size: 13.5px;
  font-weight: 750;
}

.ah-tcc--v2 .ah-tcc__input {
  width: 100%;
  height: 52px;
  padding: 0 15px;
  border: 1px solid #dce1e4;
  border-radius: 11px;
  background: #fff;
  color: var(--ah-ink);
  font: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.ah-tcc--v2 .ah-tcc__input::placeholder { color: #9aa4aa; }
.ah-tcc--v2 .ah-tcc__input:focus-visible {
  border-color: var(--ah-ink);
  box-shadow: 0 0 0 3px rgba(38,48,55,.14);
}
.ah-tcc--v2 .ah-tcc__input[aria-invalid="true"] {
  border-color: var(--ah-red);
  background: #fffafa;
}

.ah-tcc--v2 .ah-tcc__suggest {
  position: absolute;
  z-index: 8;
  left: 0;
  right: 0;
  top: calc(100% - 4px);
  margin: 0;
  padding: 6px 0;
  list-style: none;
  max-height: 260px;
  overflow: auto;
  border: 1px solid var(--ah-line);
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 16px 32px rgba(38,48,55,.14);
}
.ah-tcc--v2 .ah-tcc__suggest[hidden] { display: none; }
.ah-tcc--v2 .ah-tcc__suggest-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 14px;
  cursor: pointer;
}
.ah-tcc--v2 .ah-tcc__suggest-item:hover,
.ah-tcc--v2 .ah-tcc__suggest-item:focus {
  background: #f1f3f4;
}
.ah-tcc--v2 .ah-tcc__suggest-item strong {
  color: var(--ah-ink);
  font-size: 15px;
  font-weight: 800;
}
.ah-tcc--v2 .ah-tcc__suggest-item span {
  color: var(--ah-muted);
  font-size: 12.5px;
}

.ah-tcc--v2 .ah-tcc__error {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 8px 0 0;
  color: #a1121f;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}
.ah-tcc--v2 .ah-tcc__error[hidden] { display: none; }

.ah-tcc--v2 .ah-tcc__submit {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.ah-tcc--v2 .ah-tcc__go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 30px;
  border: 0;
  border-radius: 12px;
  background: var(--ah-ink);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(38,48,55,.18);
  transition: background .2s ease, transform .2s ease;
}
.ah-tcc--v2 .ah-tcc__go:hover { background: var(--ah-ink-lit); }
.ah-tcc--v2 .ah-tcc__go:focus-visible {
  outline: 3px solid rgba(38,48,55,.45);
  outline-offset: 3px;
}

.ah-tcc--v2 .ah-tcc__result { margin: 0; }
.ah-tcc--v2 .ah-tcc__result:empty { display: none; }
.ah-tcc--v2 .ah-tcc__result:focus { outline: none; }

.ah-tcc--v2 .ah-tcc__status {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 20px;
  padding: 20px 20px 18px;
  border: 1px solid var(--ah-line);
  border-radius: 12px;
  background: #fff;
}
.ah-tcc--v2 .ah-tcc__status--ok {
  border-color: #1f8a45;
  background: #e5f6eb;
  box-shadow: inset 6px 0 0 #1f8a45;
}
.ah-tcc--v2 .ah-tcc__status--few {
  border-color: #c90018;
  background: #fde8eb;
  box-shadow: inset 6px 0 0 #c90018;
}
.ah-tcc--v2 .ah-tcc__status--far {
  border-color: #e09a12;
  background: #fff4dc;
  box-shadow: inset 6px 0 0 #d4880a;
}
.ah-tcc--v2 .ah-tcc__status-ico {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  color: #fff;
}
.ah-tcc--v2 .ah-tcc__status--ok .ah-tcc__status-ico { background: #1f8a45; }
.ah-tcc--v2 .ah-tcc__status--few .ah-tcc__status-ico { background: #c90018; }
.ah-tcc--v2 .ah-tcc__status--far .ah-tcc__status-ico { background: #d4880a; }
.ah-tcc--v2 .ah-tcc__status-ico svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ah-tcc--v2 .ah-tcc__status-body { min-width: 0; }
.ah-tcc--v2 .ah-tcc__status-label {
  display: block;
  margin: 0 0 6px;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ah-tcc--v2 .ah-tcc__status--ok .ah-tcc__status-label { color: #0f6b32; }
.ah-tcc--v2 .ah-tcc__status--few .ah-tcc__status-label { color: #a30014; }
.ah-tcc--v2 .ah-tcc__status--far .ah-tcc__status-label { color: #8a4e00; }
.ah-tcc--v2 .ah-tcc__status-title {
  margin: 0;
  color: var(--ah-ink);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.25;
  font-weight: 800;
}
.ah-tcc--v2 .ah-tcc__status--ok .ah-tcc__status-title { color: #0f6b32; }
.ah-tcc--v2 .ah-tcc__status--few .ah-tcc__status-title { color: #a30014; }
.ah-tcc--v2 .ah-tcc__status--far .ah-tcc__status-title { color: #8a4e00; }
.ah-tcc--v2 .ah-tcc__status-note {
  margin: 8px 0 0;
  color: rgba(38,48,55,.78);
  font-size: 15px;
  line-height: 1.5;
}

.ah-tcc--v2 .ah-tcc__recap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 14px 0 0;
}
.ah-tcc--v2 .ah-tcc__recap-item {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 6px 11px;
  border: 1px solid rgba(38,48,55,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.75);
  font-size: 13px;
}
.ah-tcc--v2 .ah-tcc__recap-key { color: var(--ah-muted); font-weight: 650; }
.ah-tcc--v2 .ah-tcc__recap-val { color: var(--ah-ink); font-weight: 800; }

.ah-tcc--v2 .ah-tcc__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  width: fit-content;
  max-width: 100%;
  margin-top: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  background: linear-gradient(150deg, #2E3940 0%, #1A2025 100%);
  color: #fff !important;
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.ah-tcc--v2 .ah-tcc__cta:hover,
.ah-tcc--v2 .ah-tcc__cta:focus-visible {
  background: linear-gradient(150deg, #3A4750 0%, #232C33 100%);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(26,32,37,.26);
}
.ah-tcc--v2 .ah-tcc__cta:focus-visible {
  outline: 3px solid rgba(38,48,55,.45);
  outline-offset: 3px;
}
.ah-tcc--v2 .ah-tcc__cta-ico {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--ah-red);
  color: #fff;
}
.ah-tcc--v2 .ah-tcc__cta:hover .ah-tcc__cta-ico { background: var(--ah-red-dark); }
.ah-tcc--v2 .ah-tcc__cta-ico svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ah-tcc--v2 .ah-tcc__cta-label,
.ah-tcc--v2 .ah-tcc__cta-phone {
  color: #fff;
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.25;
  font-weight: 800;
  white-space: nowrap;
}
.ah-tcc--v2 .ah-tcc__cta-label {
  letter-spacing: .06em;
  text-transform: uppercase;
}
.ah-tcc--v2 .ah-tcc__cta:hover .ah-tcc__cta-label,
.ah-tcc--v2 .ah-tcc__cta:hover .ah-tcc__cta-phone { color: #FF6B78; }

.ah-tcc--v2 .ah-tcc__count-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ah-tcc--v2 .ah-tcc__count-row .ah-tcc__input {
  flex: 1 1 auto;
  min-width: 0;
}
.ah-tcc--v2 .ah-tcc__clear {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid #dce1e4;
  border-radius: 11px;
  background: #fff;
  color: var(--ah-ink);
  cursor: pointer;
}
.ah-tcc--v2 .ah-tcc__clear[hidden] { display: none; }
.ah-tcc--v2 .ah-tcc__clear:hover { background: #d5dbde; }
.ah-tcc--v2 .ah-tcc__clear:focus-visible {
  outline: 2px solid var(--ah-ink);
  outline-offset: 2px;
}
.ah-tcc--v2 .ah-tcc__clear svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}

.ah-tcc--v2 .ah-tcc__disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--ah-line);
  color: var(--ah-muted);
  font-size: 13px;
  line-height: 1.55;
}
.ah-tcc--v2 .ah-tcc__disclaimer-ico {
  display: flex;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: var(--ah-ink);
}
.ah-tcc--v2 .ah-tcc__disclaimer-ico svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

@media (max-width: 720px) {
  .ah-tcc--v2 .ah-tcc__form { grid-template-columns: 1fr; }
  .ah-tcc--v2 .ah-tcc__go,
  .ah-tcc--v2 .ah-tcc__cta { width: 100%; }
}
