/* Contact page: form card + "prefer to talk" panel + map. Uses the --as-* tokens from artha-services.css. */
.ac2 {
  padding: clamp(56px, 6vw, 110px) 0;
}
.ac2-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
}
.ac2-lead {
  margin: 14px 0 28px;
  max-width: 620px;
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.7;
  color: var(--as-muted);
}

/* form card */
.ac2-card {
  padding: clamp(22px, 2.6vw, 40px);
  border-radius: 24px;
  border: 1px solid var(--as-line);
  background: #fff;
  box-shadow: 0 30px 60px -38px rgba(11, 37, 69, 0.35);
}
.ac2-hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.ac2-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}
.ac2-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ac2-field.is-wide {
  grid-column: 1 / -1;
}
.ac2-field > span:not(.ac2-error) {
  font-size: 14px;
  font-weight: 700;
  color: var(--as-ink);
}
.ac2-field em {
  font-style: normal;
  font-weight: 500;
  color: #98A2B3;
}
.ac2-field input,
.ac2-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--as-line);
  border-radius: 12px;
  background: var(--as-tint);
  font: 500 15px var(--font-primary, inherit);
  color: var(--as-ink);
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.ac2-field textarea {
  resize: vertical;
  min-height: 110px;
}
.ac2-field input::placeholder,
.ac2-field textarea::placeholder {
  color: #A6AFBD;
}
.ac2-field input:focus,
.ac2-field textarea:focus {
  border-color: var(--as-navy);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 184, 0, 0.22);
}
.ac2-field.has-error input {
  border-color: #D92D20;
}
.ac2-error {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 600;
  color: #D92D20;
}

/* interest chips */
.ac2-chips {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}
.ac2-chips legend {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--as-ink);
}
.ac2-chips > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ac2-chips button {
  padding: 10px 16px;
  border: 1.5px solid var(--as-line);
  border-radius: 30px;
  background: #fff;
  font: 600 14px var(--font-primary, inherit);
  color: var(--as-ink);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.ac2-chips button:hover {
  border-color: var(--as-navy);
  transform: translateY(-1px);
}
.ac2-chips button.is-on {
  background: var(--as-navy);
  border-color: var(--as-navy);
  color: #fff;
}
.ac2-chips button.is-on::before {
  content: "\2713  ";
  color: var(--as-accent);
}
.ac2-chips .ac2-error {
  margin-top: 8px;
}

.ac2-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 18px 0 6px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--as-muted);
  cursor: pointer;
}
.ac2-consent input {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--as-navy);
}
.ac2-submit {
  margin-top: 18px;
  width: 100%;
  min-height: 54px;
  font-size: 16px;
}
.ac2-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

/* success */
.ac2-done {
  padding: 30px 10px;
  text-align: center;
  animation: ac2-pop 0.5s ease;
}
.ac2-done-icon {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--as-accent);
  color: var(--as-navy);
  font-size: 30px;
  font-weight: 800;
}
.ac2-done h3 {
  margin: 0 0 8px;
  font-size: 22px;
  color: var(--as-ink);
}
.ac2-done p {
  margin: 0;
  color: var(--as-muted);
}
@keyframes ac2-pop {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* right side */
.ac2-side {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 16px;
}
.ac2-side-card {
  padding: clamp(24px, 2.6vw, 36px);
  border-radius: 24px;
  background: radial-gradient(420px 240px at 100% 0%, rgba(255, 184, 0, 0.18), transparent 60%), var(--as-navy);
  color: #fff;
}
.ac2-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
}
.ac2-badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3DDC97;
  box-shadow: 0 0 0 0 rgba(61, 220, 151, 0.6);
  animation: ac2-pulse 1.8s infinite;
}
@keyframes ac2-pulse {
  70% {
    box-shadow: 0 0 0 8px rgba(61, 220, 151, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(61, 220, 151, 0);
  }
}
.ac2-side-card h3 {
  margin: 18px 0 6px;
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 800;
  color: #fff;
}
.ac2-side-card > p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.72);
}
.ac2-ways {
  display: grid;
  gap: 10px;
}
.ac2-way {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.ac2-way:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--as-accent);
  transform: translateX(4px);
}
.ac2-way > span:last-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.ac2-way small {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.65);
}
.ac2-way b {
  font-size: 16px;
  overflow-wrap: anywhere;
}
.ac2-way-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--as-accent);
  color: var(--as-navy);
}
.ac2-info {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.ac2-info div {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.82);
}
.ac2-info svg {
  flex: none;
  color: var(--as-accent);
}
.ac2-grievance {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--as-tint);
  border: 1px solid var(--as-line);
  font-size: 14px;
  color: var(--as-muted);
}
.ac2-grievance b {
  color: var(--as-ink);
}
.ac2-grievance small {
  font-size: 13px;
}
.ac2-grievance a {
  color: var(--as-navy);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--as-accent);
}

/* map */
.ac2-map {
  margin-top: clamp(32px, 4vw, 64px);
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--as-line);
  background: #fff;
}
.ac2-map-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
}
.ac2-map-head h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  color: var(--as-ink);
}
.ac2-map-head p {
  margin: 2px 0 0;
  font-size: 14px;
  color: var(--as-muted);
}
.ac2-map iframe {
  display: block;
  width: 100%;
  height: clamp(280px, 30vw, 420px);
  border: 0;
}
.ac2-map-empty {
  display: grid;
  place-items: center;
  height: 220px;
  background:
    repeating-linear-gradient(45deg, rgba(11, 37, 69, 0.03) 0 12px, transparent 12px 24px),
    var(--as-tint);
  font-weight: 600;
  color: var(--as-muted);
  text-align: center;
  padding: 0 20px;
}

@media (max-width: 991px) {
  .ac2-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .ac2-side {
    position: static;
  }
}
@media (max-width: 575px) {
  .ac2-fields {
    grid-template-columns: minmax(0, 1fr);
  }
  .ac2-card,
  .ac2-side-card,
  .ac2-map {
    border-radius: 20px;
  }
  .ac2-way:hover {
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ac2-badge i {
    animation: none;
  }
}
