/* ArtAcademy contacts (desktop 257:4 + mobile 257:150) */

.aa-ct-hero {
  background: linear-gradient(180deg, var(--aa-bg) 0%, var(--aa-surface-2) 100%);
  padding: 64px 0 48px;
}

.aa-ct-hero .aa-breadcrumbs {
  margin-bottom: 24px;
}

.aa-ct-hero__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.aa-ct-hero__copy {
  flex: 1 1 0;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.aa-ct-hero__title {
  margin: 0;
  font-family: var(--aa-serif);
  font-weight: 400;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.1;
  color: var(--aa-text);
}

.aa-ct-hero__lead {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--aa-muted);
}

.aa-ct-hero__deco {
  flex: 0 0 auto;
  width: min(340px, 36%);
  height: 160px;
  border: 2px solid var(--aa-border-strong);
  border-radius: var(--aa-radius);
  overflow: hidden;
  background: var(--aa-surface-2);
}

.aa-ct-hero__deco img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aa-ct-cards {
  padding: 48px 0;
}

.aa-ct-cards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.aa-ct-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  background: var(--aa-surface);
  border: 2px solid var(--aa-border-strong);
  border-radius: 20px;
  box-shadow: 0 6px 8px rgba(192, 92, 62, 0.02);
}

.aa-ct-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  padding: 14px;
  box-sizing: border-box;
  border: 1.5px solid var(--aa-accent);
  border-radius: 16px;
  background: var(--aa-surface-2);
}

.aa-ct-card__icon img {
  display: block;
  width: 20px;
  height: 20px;
}

.aa-ct-card__label {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--aa-text);
  line-height: 1.3;
}

.aa-ct-card__value {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--aa-muted);
  line-height: 1.35;
}

.aa-ct-card__value a {
  color: inherit;
  text-decoration: none;
}

.aa-ct-card__value a:hover {
  color: var(--aa-accent);
}

.aa-ct-card__note {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  color: var(--aa-muted);
  line-height: 1.4;
}

.aa-ct-feedback {
  padding: 48px 0 80px;
}

.aa-ct-feedback__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.aa-ct-map {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.aa-ct-map__frame {
  position: relative;
  width: 100%;
  height: 480px;
  border: 2px solid var(--aa-border-strong);
  border-radius: var(--aa-radius);
  overflow: hidden;
  background: var(--aa-surface-2);
}

.aa-ct-map__frame img,
.aa-ct-map__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.aa-ct-map__note {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--aa-muted);
}

.aa-ct-form-card {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 48px;
  background: var(--aa-surface);
  border: 2px solid var(--aa-border-strong);
  border-radius: var(--aa-radius);
  box-shadow: 0 12px 16px rgba(192, 92, 62, 0.03);
  min-width: 0;
}

.aa-ct-form-card__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aa-ct-form-card__title {
  margin: 0;
  font-family: var(--aa-serif);
  font-weight: 400;
  font-size: 48px;
  line-height: 1.15;
  color: var(--aa-text);
}

.aa-ct-alert {
  margin: 0;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.45;
}

.aa-ct-alert--success {
  background: rgba(192, 92, 62, 0.1);
  border: 1px solid rgba(192, 92, 62, 0.28);
  color: var(--aa-accent);
}

.aa-ct-alert--danger {
  background: rgba(180, 35, 24, 0.08);
  border: 1px solid rgba(180, 35, 24, 0.25);
  color: #b42318;
}

.aa-ct-alert ul {
  margin: 0;
  padding-left: 1.1em;
}

.aa-ct-fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.aa-ct-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.aa-ct-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aa-ct-field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--aa-text);
}

.aa-ct-field label .req {
  color: var(--aa-accent);
}

.aa-ct-field input,
.aa-ct-field textarea {
  width: 100%;
  padding: 14px 20px;
  border: 1.5px solid var(--aa-border-strong);
  border-radius: 12px;
  background: var(--aa-surface);
  font-family: var(--aa-sans);
  font-size: 14px;
  color: var(--aa-text);
  outline: none;
  resize: vertical;
}

.aa-ct-field input {
  height: 48px;
  padding-top: 0;
  padding-bottom: 0;
}

.aa-ct-field textarea {
  min-height: 120px;
}

.aa-ct-field input::placeholder,
.aa-ct-field textarea::placeholder {
  color: var(--aa-muted);
}

.aa-ct-field input:focus,
.aa-ct-field textarea:focus {
  border-color: var(--aa-accent);
}

.aa-ct-field input.is-invalid,
.aa-ct-field textarea.is-invalid {
  border-color: #b42318;
}

.aa-ct-invalid {
  font-size: 12px;
  color: #b42318;
}

.aa-ct-check {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 400;
  color: var(--aa-muted);
  cursor: pointer;
  user-select: none;
}

.aa-ct-check input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.aa-ct-check__box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-radius: 4px;
  border: 1.5px solid var(--aa-border-strong);
  background: var(--aa-bg);
}

.aa-ct-check__box img {
  display: none;
  width: 12px;
  height: 12px;
}

.aa-ct-check input:checked + .aa-ct-check__box {
  background: var(--aa-accent);
  border-color: var(--aa-accent);
}

.aa-ct-check input:checked + .aa-ct-check__box img {
  display: block;
}

.aa-ct-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: flex-start;
  min-height: 52px;
  padding: 16px 32px;
  border: 0;
  border-radius: var(--aa-pill);
  background: var(--aa-accent);
  color: var(--aa-on-accent);
  font-family: var(--aa-sans);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.aa-ct-submit img {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.aa-ct-submit:hover {
  opacity: 0.92;
}

@media (max-width: 1100px) {
  .aa-ct-hero__deco {
    display: none;
  }

  .aa-ct-cards__grid {
    grid-template-columns: 1fr;
  }

  .aa-ct-feedback__row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .aa-ct-map__frame {
    height: 320px;
  }
}

/* Mobile: artacademy-contacts-mobile */
@media (max-width: 700px) {
  .aa-ct-hero {
    padding: 24px 0 32px;
  }

  .aa-ct-hero .aa-breadcrumbs {
    margin-bottom: 0;
    font-size: 12px;
  }

  .aa-ct-hero__row {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .aa-ct-hero__copy {
    max-width: none;
    gap: 12px;
  }

  .aa-ct-hero__title {
    font-size: 38px;
    line-height: 1.15;
  }

  .aa-ct-hero__lead {
    font-size: 14px;
    line-height: 1.5;
  }

  .aa-ct-hero__deco {
    display: block;
    width: 100%;
    height: 140px;
    border-radius: 16px;
    border-width: 1.5px;
  }

  .aa-ct-cards {
    padding: 24px 0;
  }

  .aa-ct-cards__grid {
    gap: 16px;
  }

  .aa-ct-card {
    gap: 12px;
    padding: 20px;
    border-radius: 16px;
    border-width: 1.5px;
  }

  .aa-ct-card__icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    padding: 10px;
    border-radius: 12px;
  }

  .aa-ct-card__label {
    font-size: 13px;
    margin-bottom: 4px;
  }

  .aa-ct-card__value {
    font-size: 15px;
    margin-bottom: 4px;
  }

  .aa-ct-card__note {
    font-size: 13px;
  }

  .aa-ct-feedback {
    padding: 24px 0 48px;
  }

  .aa-ct-feedback__row {
    gap: 32px;
  }

  .aa-ct-map {
    gap: 12px;
  }

  .aa-ct-map__frame {
    height: 260px;
    border-radius: 16px;
    border-width: 1.5px;
  }

  .aa-ct-map__note {
    font-size: 13px;
  }

  .aa-ct-form-card {
    gap: 24px;
    padding: 24px;
    border-radius: 20px;
    border-width: 1.5px;
  }

  .aa-ct-form-card__head {
    gap: 4px;
  }

  .aa-ct-form-card__head .aa-kicker {
    font-size: 12px;
  }

  .aa-ct-form-card__title {
    font-size: 32px;
  }

  .aa-ct-fields {
    gap: 16px;
  }

  .aa-ct-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .aa-ct-field {
    gap: 6px;
  }

  .aa-ct-field label {
    font-size: 13px;
  }

  .aa-ct-field input,
  .aa-ct-field textarea {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13px;
  }

  .aa-ct-field input {
    height: 44px;
  }

  .aa-ct-field textarea {
    min-height: 100px;
  }

  .aa-ct-check {
    gap: 10px;
    font-size: 11px;
  }

  .aa-ct-check__box {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }

  .aa-ct-submit {
    width: 100%;
    align-self: stretch;
    padding: 14px 24px;
    font-size: 15px;
  }
}
