/* =====================================================
   CONTACT PAGE — co-* component system
   Depends on: app-light.css (tokens only)
   ===================================================== */

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

@media (min-width: 1200px) {
  .co-shell { padding-left: 48px; padding-right: 48px; }
}

/* ---- Hero ---- */
.co-hero {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,255,255,.84));
  border: 1px solid rgba(245,158,11,.16);
  border-radius: 22px;
  padding: 24px 22px;
  margin: 16px 0 12px;
  box-shadow: 0 16px 44px rgba(0,0,0,.07);
  position: relative;
  overflow: hidden;
}

.co-hero::before {
  content: "";
  position: absolute;
  top: -50px; right: -50px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(245,158,11,.13), transparent 70%);
  pointer-events: none;
}

.co-hero__icon {
  flex: 0 0 54px;
  width: 54px; height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(245,158,11,.18), rgba(217,119,6,.12));
  border: 1px solid rgba(245,158,11,.28);
  color: var(--accent2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.co-hero__title {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 950;
  color: var(--text);
  line-height: 1.15;
}

.co-hero__sub {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.55;
  max-width: 620px;
}

/* ---- Info chips ---- */
.co-info-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

@media (max-width: 767px) {
  .co-info-bar { grid-template-columns: 1fr; }
}

.co-info-chip {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255,255,255,.90);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 8px 22px rgba(0,0,0,.05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.co-info-chip:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(0,0,0,.09);
  border-color: rgba(245,158,11,.28);
}

.co-info-chip__icon {
  flex: 0 0 40px;
  width: 40px; height: 40px;
  border-radius: 13px;
  background: rgba(245,158,11,.12);
  border: 1px solid rgba(245,158,11,.22);
  color: var(--accent2);
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
}

.co-info-chip__label {
  font-size: .72rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: var(--muted);
  line-height: 1;
}

.co-info-chip__val {
  margin-top: 5px;
  font-weight: 800;
  color: var(--text);
  font-size: .88rem;
  line-height: 1.35;
}

/* ---- Main grid ---- */
.co-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 20px;
  align-items: start;
}

@media (max-width: 991px) {
  .co-grid { grid-template-columns: 1fr; }
  .co-grid .co-card:last-child { order: -1; }
}

/* ---- Card ---- */
.co-card {
  background: linear-gradient(180deg, rgba(255,255,255,.97), rgba(255,255,255,.85));
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 16px 44px rgba(0,0,0,.07);
  overflow: hidden;
}

.co-card__head {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0,0,0,.06);
  background: rgba(0,0,0,.015);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.co-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: .80rem;
  font-weight: 900;
  border: 1px solid rgba(0,0,0,.10);
  background: #fff;
  color: var(--text);
  white-space: nowrap;
}

.co-badge--info {
  border-color: rgba(13,110,253,.18);
  background: rgba(13,110,253,.07);
  color: rgba(13,110,253,1);
}

.co-badge--ok {
  border-color: rgba(34,197,94,.18);
  background: rgba(34,197,94,.07);
  color: rgba(22,163,74,1);
}

.co-badge--accent {
  border-color: rgba(245,158,11,.28);
  background: rgba(245,158,11,.10);
  color: var(--accent2);
}

.co-card__body { padding: 16px; }

/* ---- Branch cards ---- */
.co-locations {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.co-branch {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.88);
  box-shadow: 0 8px 20px rgba(0,0,0,.04);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.co-branch:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(0,0,0,.08);
  border-color: rgba(245,158,11,.30);
}

.co-branch__icon {
  flex: 0 0 40px;
  width: 40px; height: 40px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(245,158,11,.16), rgba(217,119,6,.10));
  border: 1px solid rgba(245,158,11,.22);
  color: var(--accent2);
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
  margin-top: 1px;
}

.co-branch__name {
  font-weight: 950;
  color: var(--text);
  font-size: .94rem;
  line-height: 1.2;
}

.co-branch__addr {
  margin-top: 5px;
  color: var(--muted);
  font-size: .83rem;
  font-weight: 700;
  line-height: 1.4;
}

.co-branch__addr i {
  color: rgba(245,158,11,.70);
  margin-right: 3px;
}

.co-branch__tel {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 9px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 900;
  background: rgba(245,158,11,.10);
  border: 1px solid rgba(245,158,11,.22);
  color: var(--accent2);
  text-decoration: none;
  transition: background .15s ease, box-shadow .15s ease;
}

.co-branch__tel:hover {
  background: rgba(245,158,11,.20);
  color: var(--accent2);
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(217,119,6,.16);
}

/* Empty state */
.co-empty {
  padding: 28px 14px;
  text-align: center;
  color: var(--muted);
  font-weight: 800;
  font-size: .9rem;
  border: 1.5px dashed var(--line);
  border-radius: 16px;
}

/* ---- Contact form ---- */
.co-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

@media (max-width: 575px) {
  .co-form-grid { grid-template-columns: 1fr; }
  .co-field--full { grid-column: auto; }
}

.co-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.co-field label {
  font-size: .76rem;
  font-weight: 950;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.co-field label i {
  color: var(--accent2);
}

.co-input {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.88);
  color: var(--text);
  padding: 12px 14px;
  font-size: .92rem;
  font-weight: 700;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.co-input:focus {
  border-color: rgba(245,158,11,.50);
  box-shadow: 0 0 0 4px rgba(245,158,11,.14);
}

.co-input::placeholder {
  color: rgba(15,23,42,.35);
  font-weight: 500;
}

.co-input--ta {
  min-height: 130px;
  resize: vertical;
}

/* Submit button */
.co-submit {
  width: 100%;
  border: 0;
  border-radius: 16px;
  padding: 14px;
  font-size: .95rem;
  font-weight: 950;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #1c0e00;
  box-shadow: 0 12px 28px rgba(217,119,6,.22);
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.co-submit:not([disabled]):hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(217,119,6,.32);
}

.co-submit[disabled] {
  opacity: .50;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

@media (max-width: 575px) {
  .co-hero { flex-direction: column; gap: 12px; }
  .co-hero__title { font-size: 1.35rem; }
  .co-shell { padding-left: 14px; padding-right: 14px; }
}
